The home of JSON Schema validation right in your browser 🚧 Alpha 🚧 draft-7 only
Valid JSON:
xxxxxxxxxx
{
"allOf": [
{
"if": {
"required": [
"f1"
]
},
"then": {
"not": {
"required": [
"f2", "f3"
]
}
},
"else": false
},
{
"if": {
"required": [
"f3"
]
},
"then": {
"not": {
"required": [
"f2", "f1"
]
}
},
"else": false
},
{
"if": {
"required": [
"f2"
]
},
"then": {
"not": {
"required": [
"f3", "f1"
]
}
},
"else": false
}
]
}
​
Valid JSON:
xxxxxxxxxx
{
"f1":"John",
"f2":"whatever"
}
​
boolean schema is false.
false schema at "#/allOf/1/else/false schema"
Instance location: ""
should match "else" schema.
if at "#/allOf/1/if"
Instance location: ""
jsonschema.dev@relequestual Thanks to Sponsors: