data_sample_data_generator
Create demo datasets for nine predefined business shapes including users, orders, and products. Output as JSON, NDJSON, CSV, or TSV with optional seed for reproducibility.
Instructions
Sample Data Generator. Generate ready-made demo datasets for nine fixed business shapes (users, orders, products, log_lines, transactions, inventory, tickets, employees, analytics_events), each with a curated column set, emitted as JSON, NDJSON, CSV (RFC 4180), or TSV. Pick this when you want a recognisable, opinionated table for one of those shapes; use data_faker to compose arbitrary field-by-field records, data_random_data_generator for schema-driven random rows, or data_mock_api_generator to stand up mock endpoints. Runs locally: read-only, non-destructive, contacts no external service, and rate-limited (60 requests/minute for anonymous callers). Output is NON-deterministic by default (cryptographic randomness); pass a string seed for reproducible rows. Returns the formatted output string plus the parsed records array.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shape | Yes | Dataset preset to generate; each shape has a fixed column set. | |
| count | No | Number of records to generate (1 to 500). | |
| seed | No | Optional seed string for reproducible output (max 1024 chars); omit or null for cryptographic randomness. | |
| format | No | Output serialisation: json (pretty array), ndjson (one object per line), csv (RFC 4180), or tsv. | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | Whether generation succeeded. | |
| shape | No | The shape preset that was generated. | |
| count | No | Number of records returned. | |
| format | No | The output format applied (json, ndjson, csv, or tsv). | |
| output | No | The serialised dataset in the requested format. | |
| records | No | The generated records as objects, before serialisation. |