Using JSON Schema Sample Generator
Inspect nested arrays and empty containers before treating a derived path or schema as complete. Dots in original key names can be ambiguous in dotted paths. One sample object cannot establish which fields are required across an entire dataset.
Example input
- Input
{"name":"Mina","scores":[4,8],"active":true}
Example result
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"scores": {
"type": "array"
},
"active": {
"type": "boolean"
}
}
}Read next · How to Choose the Right Online Tool
Input reference
- Input
- Enter multiline text. Field hint — Enter or paste your input here….
- Additional value (if needed)
- Enter text. Field hint — Optional second value.
Continue your task
- Binary Text Converter — Convert text to binary and binary back to text.
- JSON Formatter & Validator — Beautify, minify and validate JSON.
- JSON to CSV Converter — Convert arrays of JSON objects to CSV.