-
Notifications
You must be signed in to change notification settings - Fork 398
Open
Description
Errors get only shown on the highest level, errors more nested get ignored, until the outer errors are fixed.
Schema:
{
"type": "object",
"title": "The Root Schema",
"properties": {
"country": {
"type": "string",
"maxLength": 2
},
"id": {
"type": "string",
"maxLength": 3
},
"state": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 16
},
"id": {
"type": "string",
"maxLength": 16
}
}
}
}
}
}
{
"country": "BbE",
"id": "BEC",
"state": [
{
"name": "sadasd",
"id": "1235613"
},
{
"name": "asdasd",
"id": "415sdddddddddd6348"
}
]
}
Should raise multiple errors on this json file (2nd state id is too long as well), but only raises 1 error. If you fix the country length, the 2nd get error gets shown
Metadata
Metadata
Assignees
Labels
No labels