Schema Data Generator Component
Generate validated mock records from a JSON Schema inside a data pipeline.
Last updated:
The Schema Data Generator creates repeatable test data from a JSON Schema. It reuses the same generator and validation rules as the standalone JSON Schema Fake Data Generator. Connect a Schema Generator or another JSON-producing node to its left input to use that upstream schema; when no input is connected, the schema stored in this node is used.
Configuration
| Property | Type | Description |
|---|---|---|
Schema | string | Fallback JSON Schema stored in the pipeline manifest. A connected schema input takes precedence. |
Record Count | number | Number of records to generate, from 1 to 50. |
Seed | number | Optional seed for repeatable output. |
Default Array Size | number | Fallback item count for arrays without minItems or maxItems. |
Generate Optional | boolean | Whether optional properties should be generated. |
Execution
When the pipeline runs, the node parses and compiles the schema, generates the requested records, and validates every record before exposing its output. If the schema is invalid or a generated record fails validation, the node reports an error and does not emit unverified data.
The output is always an array containing the generated records. Connect it to Filter, Transform, Validator, Table View, Export, or Mock API nodes.
For an end-to-end flow, connect JSON Input → Schema Generator → Schema Data. The Schema Generator infers a draft 2020-12 schema from the input object, array, or NDJSON records, and Schema Data then generates and validates the requested number of records from that schema.
Reproducibility and limits
Use a fixed seed when a test fixture must be reproducible. The generator keeps the standalone tool's limits: 1–50 records per run and the same bounded schema, array, string, and nesting safeguards. All processing happens in the browser.
Try it now
Open Data Pipelines and drag Schema Data from the Sources group onto the canvas.