Search for a developer tool
Paste an array of several records for a better schema: keys found in every record become required, the rest optional, and mixed types are listed together.
JSON Schema Generator writes a JSON Schema from example data, so you don't have to type one by hand. Paste a single object or, better, an array of several records: it works out each key's type (telling integers from decimals), spots common string formats such as email, date, date-time, URL and UUID, and marks keys required when every record has them. Values that vary — a name that is sometimes null, a field that is sometimes a number and sometimes a string — are listed together. Options let you skip required keys, turn off format detection, forbid unknown keys or add a title. Open the result in JSON Validator to check your data against it. Everything runs in your browser.
Related Tools