Closed
Description
Consider the following schema and instance:
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
"allOf":[
{
"properties": {
"foo": true
}
},
{
"unevaluatedProperties": false
}
]
}
{
"foo": 1
}
This instance should be invalid because #/allOf/1/unevaluatedProperties
can't see outside of its local subschema and has no idea that foo
has already been evaluated.
Additionally, Section 9.2.1 is non-specific as to whether the applicator keywords are to be evaluated in sequence.
There may be other similar cases involving these applicators.
Metadata
Metadata
Assignees
Labels
No labels