data_random_data_generator
Generate custom fake records from a user-defined field schema, returning random values for 22 field types in JSON, NDJSON, CSV, or TSV. Supports optional seed for reproducible output.
Instructions
Generate Custom Random Fake Records. Generate fake records from a user-defined field schema, returning random values for 22 field types (first_name, last_name, full_name, email, phone, company, street_address, city, state, zip, country, country_code, iso_date, iso_datetime, uuid, integer, float, boolean, word, sentence, paragraph, enum) as JSON, NDJSON, CSV (RFC 4180), or TSV. Output is non-deterministic (CSPRNG via crypto.getRandomValues) unless a seed string is supplied, in which case generation is fully reproducible via deterministic xoshiro128** (never use seeded output for tokens, salts, keys, IVs, or nonces). Use this when you control the exact record schema (field names and per-field types/options). Use data_data_faker instead for realistic Faker.js-style preset fields chosen by name without per-field options; use data_sample_data_generator for ready-made curated demo datasets (users, orders, products, logs); use math_random_number_generator when you only need standalone random numbers, not records. Re
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Field schema: 1 to 50 field specifications. Each row of output contains one value per field. Field names must be unique. | |
| count | Yes | Number of records to generate. Required, 1 to 1000. | |
| seed | No | Optional seed (max 1024 chars). Omit or null for non-deterministic CSPRNG output; supply to get deterministic reproducible output. Do not use seeded output for security tokens. | |
| format | No | Output serialization for the output field. Default json (pretty-printed). csv is RFC 4180. | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | True on success; false with an error string on bad input. | |
| count | No | Number of records generated (echoes the request count). | |
| fields | No | Normalised field specifications used, each with name, type, and resolved options. | |
| format | No | Output format used (json, ndjson, csv, or tsv). | |
| output | No | Records serialized as a single string in the chosen format. | |
| records | No | Parsed records; each item is an object keyed by field name. |