Open
Description
Reference:
Schema:
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"if": {
"properties": {
"foo": { "const": "then" }
},
"required": ["foo"]
},
"else": {
"properties": {
"baz": { "type": "string" }
},
"required": ["baz"]
},
"unevaluatedProperties": false
}
Instance:
"tests": [
{
"description": "when if is true and has no unevaluated properties",
"data": {
"foo": "then",
"bar": "bar"
},
"valid": false
},
...
]
The description of the above test states that it has no unevaluated properties, but isn't the bar
property here unevaluated?