Paste a JSON instance to recursively infer a Draft-07 Schema, with options for required fields, descriptions and additional properties
FAQ
How is the Schema inferred from JSON?
Inference is recursive: objects produce properties, arrays merge their element types and fall back to anyOf on mismatch, and numbers without a fractional part become integer. Nesting at any depth is supported.
Why is my property description not applied?
Descriptions use one line per entry in the form path = description. Dot paths target nested properties and brackets address array items. A line is ignored when its path does not match the JSON, so check the spelling of the path.
All data is processed locally in your browser. Nothing is uploaded.