The home of JSON Schema validation right in your browser 🚧 Alpha 🚧 draft-7 only
Valid JSON:
xxxxxxxxxx
{
"type": "object",
"properties": {
"id": { "type": "integer" },
"url": { "type": "string" },
"profile": { "type": "string" },
"rate": { "type": "string" },
"trick": { "type": "boolean" },
"tag": { "type": "string" },
"type": { "type": "string" },
"name": { "type": "string" },
"code": { "type": "string" }
},
"additionalProperties": false,
"required": [
"url",
"profile"
],
"anyOf": [
false,
false,
{
"properties": {
"profile": {
"const": "profile3",
"id": true
}
},
"additionalProperties": false
}
]
}
Valid JSON:
xxxxxxxxxx
{
"url": "url",
"profile": "profile3",
"code": ""
}
boolean schema is false.
false schema at "#/anyOf/0/false schema"
Instance location: ""
boolean schema is false.
false schema at "#/anyOf/1/false schema"
Instance location: ""
should NOT have additional properties.
additionalProperties at "#/anyOf/2/additionalProperties"
Instance location: ""
should NOT have additional properties.
additionalProperties at "#/anyOf/2/additionalProperties"
Instance location: ""
should match some schema in anyOf.
anyOf at "#/anyOf"
Instance location: ""
jsonschema.dev@relequestual Thanks to Sponsors: