Guide · Data Tools / Data & Spreadsheet
About JSON Schema Draft-07 Generator
Infer a Draft-07 JSON Schema complete with type definitions, nested properties, array item shapes, and required key lists from sample JSON.
When to use this tool
Speeds up API contract documentation and Ajv request validation setup when starting from a live payload example.
How to use JSON Schema Draft-07 Generator
- Paste representative JSON into Sample JSON.
- Generate the Draft-07 JSON Schema.
- Copy and refine optional format, enum, or min/max constraints.
Supported inputs, options, and outputs
- Input: Sample JSON object or array.
- Output: Valid Draft-07 JSON Schema document.
Accuracy notes and limitations
- A single sample cannot detect nullable or optional properties automatically—review required[] arrays when fields vary across requests.
- Empty arrays default to untyped items until populated with a sample element.
Privacy and browser processing
CSV, JSON, YAML, XML, and tabular datasets are parsed and transformed inside browser memory—no rows, schemas, or archive files leave your device. Hosted deployments load cookie-free analytics and Google Fonts.
Read the full IJM Privacy Policy or browse all Data Tools.