The home of JSON Schema validation right in your browser 🚧 Alpha 🚧 draft-7 only
Valid JSON:
xxxxxxxxxx
{
"$schema": "http://json-schema.org/draft-07/schema",
"definitions": {
"grandParentToChild": {
"properties": {
"grandParent": {
"properties": {
"parent": {
"properties": {
"child": {
"properties": {
"name": {
"type": "string"
}
}
}
}
}
}
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/grandParentToChild"
}
],
"additionalProperties": {
"$ref": "#"
},
"items": {
"$ref": "#"
}
}
Valid JSON:
xxxxxxxxxx
{
"grandParent": {
"parent": {
"child": {
"name": "bob"
}
}
},
"foo": {
"bar": [
{
"baz": {
"grandParent": {
"parent": {
"child": {
"name": 123
}
}
}
}
}
]
}
}
jsonschema.dev@relequestual Thanks to Sponsors: