Metadata Overview
metadata provides configuration options that control model behavior and organization.
Overview
Section titled “Overview”The metadata section is defined within a model and supports configuration options:
model example { metadata { count: 10 tags: { "service": "user", "team": "backend" } }
fields { // field definitions }
gens { // generator implementations }}Sets a default number of records that will be generated when no explicit count is provided.
Basic Usage
Section titled “Basic Usage”metadata { count: 5}Command Behavior
Section titled “Command Behavior”Allows you to label models with string key-value pairs, which can be used to filter the models to generate the data for.
Basic Usage
Section titled “Basic Usage”metadata { tags: { "service": "delivery", "team": "backend", "environment": "production" }}