The home of JSON Schema validation right in your browser 🚧 Alpha 🚧 draft-7 only
Valid JSON:
xxxxxxxxxx
{
"$ref": "#/definitions/root",
"definitions": {
"root": {
"properties": {
"name": {
"type": "string"
},
"children": {
"type": "array",
"items": {
"$ref": "#/definitions/block"
}
}
},
"required": [
"name",
"children"
]
},
"block": {
"properties": {
"name": {
"type": "string"
},
"children": {
"type": "array",
"items": {
"$ref": "#/definitions/block"
}
}
},
"required": [
"name"
]
}
}
}
Valid JSON:
xxxxxxxxxx
{
"name": "group8",
"children": [
{
"name": "group7"
},
{
"something": "else",
"Not": "name"
}
]
}
jsonschema.dev@relequestual Thanks to Sponsors: