Generate a JSON Schema from JSON
Infer a JSON Schema (draft 2020-12) from a JSON sample: types, properties, required keys, array items and common string formats.
Infer a JSON Schema (draft 2020-12) from a JSON sample: types, properties, required keys, array items and common string formats.
Runs entirely in your browser: nothing you type is sent or stored.
type, whole numbers being integer and the others number.properties, all of them required.items schema: a property is required only when every item has it, and values of different types give a list of types such as ["string", "null"].format.required the properties that are optional in reality.enum for closed lists of values, minimum or maxLength for limits."additionalProperties": false to reject unknown properties.description to each property: editors and documentation tools show it.