Closed
Description
unevaluatedItems
should apply if there is a single-schema items
which fails to apply. Conversely, unevaluatedItems
should be ignored if a single-schema items
applies successfully.
Given the following:
{
"unevaluatedItems": {"type": "boolean"},
"anyOf": [
{
"items": {"type": "string"}
},
true
]
}
-
[true, false]
should pass -
["yes", "no"]
should pass -
["yes", false]
should fail