JSON Schema Generator
Build a JSON Schema from an example of your JSON data. The schema shows each field and its type.
1 Paste or type your text
2 Your answer
Your answer shows here as you type.
How to use the JSON Schema Generator
- Paste an example of your JSON.
- The schema shows straight away.
- Copy the schema and add your own rules.
Frequently asked questions
What is a JSON Schema?
It is a description of what JSON data should look like, including the field names and their types.
Why are all the fields required?
Every field in the example is marked as required. Remove a name from the required list if that field is optional. For arrays, the type comes from the first item only.
Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.