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#",
"type": "object",
"properties": {
"add": {
"type": "object",
"patternProperties": {
"^VOF979[0-9]{11}-NDG[0-9]{2}$": {
"description": "Some description",
"type": "string",
"maxLength": 2
}
},
"additionalProperties": false
}
},
"additionalProperties": false,
"minProperties": 1
}
Valid JSON:
xxxxxxxxxx
{
"add": {"VOF98999990005235-NDG01": "121"}
}
should NOT have additional properties.
additionalProperties at "#/properties/add/additionalProperties"
Instance location: "/add"
jsonschema.dev@relequestual Thanks to Sponsors: