mock_from_schema
Read-only
Generate realistic mock data from a JSON Schema. Supports all common types (string, number, integer, boolean, array, object, null), format hints (email, date, date-time, uri, uuid), enum, const, and nested schemas.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Optional seed string for deterministic output (uses first char codes) | |
| count | No | Number of mock objects to generate (default: 1, max: 20) | |
| schema | Yes | The JSON Schema to generate from — a JSON string, or the schema object itself. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| results | No |