Skip to content

Commit dbe4e00

Browse files
committed
Add "contains" to keywords that effect "unevaluatedProperties"
1 parent 531ee15 commit dbe4e00

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

jsonschema-core.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2581,7 +2581,7 @@
25812581
<t>
25822582
"unevaluatedProperties", whose behavior is defined in terms of
25832583
annotations from "properties", "patternProperties",
2584-
"additionalProperties" and itself
2584+
"additionalProperties", "contains", and itself
25852585
</t>
25862586
</list>
25872587
</t>
@@ -2638,9 +2638,9 @@
26382638
The behavior of this keyword depends on the annotation results of
26392639
adjacent keywords that apply to the instance ___location being validated.
26402640
Specifically, the annotations from "properties", "patternProperties",
2641-
and "additionalProperties", which can come from those keywords when
2641+
"contains", and "additionalProperties", which can come from those keywords when
26422642
they are adjacent to the "unevaluatedProperties" keyword. Those
2643-
three annotations, as well as "unevaluatedProperties", can also
2643+
four annotations, as well as "unevaluatedProperties", can also
26442644
result from any and all adjacent
26452645
<xref target="in-place">in-place applicator</xref> keywords.
26462646
This includes but is not limited to the in-place applicators
@@ -2649,7 +2649,7 @@
26492649
<t>
26502650
Validation with "unevaluatedProperties" applies only to the child
26512651
values of instance names that do not appear in the "properties",
2652-
"patternProperties", "additionalProperties", or
2652+
"patternProperties", "additionalProperties", "contains", or
26532653
"unevaluatedProperties" annotation results that apply to the
26542654
instance ___location being validated.
26552655
</t>
@@ -2659,7 +2659,7 @@
26592659
</t>
26602660
<t>
26612661
This means that "properties", "patternProperties", "additionalProperties",
2662-
and all in-place applicators MUST be evaluated before this keyword can
2662+
"contains" and all in-place applicators MUST be evaluated before this keyword can
26632663
be evaluated. Authors of extension keywords MUST NOT define an in-place
26642664
applicator that would need to be evaluated after this keyword.
26652665
</t>

0 commit comments

Comments
 (0)