Skip to content

Commit 13a58c7

Browse files
committed
Add "contains" to keywords that effect "unevaluatedProperties"
1 parent 5f783b8 commit 13a58c7

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
@@ -2528,7 +2528,7 @@
25282528
<t>
25292529
"unevaluatedProperties", whose behavior is defined in terms of
25302530
annotations from "properties", "patternProperties",
2531-
"additionalProperties" and itself
2531+
"additionalProperties", "contains", and itself
25322532
</t>
25332533
</list>
25342534
</t>
@@ -2584,9 +2584,9 @@
25842584
The behavior of this keyword depends on the annotation results of
25852585
adjacent keywords that apply to the instance ___location being validated.
25862586
Specifically, the annotations from "properties", "patternProperties",
2587-
and "additionalProperties", which can come from those keywords when
2587+
"contains", and "additionalProperties", which can come from those keywords when
25882588
they are adjacent to the "unevaluatedProperties" keyword. Those
2589-
three annotations, as well as "unevaluatedProperties", can also
2589+
four annotations, as well as "unevaluatedProperties", can also
25902590
result from any and all adjacent
25912591
<xref target="in-place">in-place applicator</xref> keywords.
25922592
This includes but is not limited to the in-place applicators
@@ -2595,7 +2595,7 @@
25952595
<t>
25962596
Validation with "unevaluatedProperties" applies only to the child
25972597
values of instance names that do not appear in the "properties",
2598-
"patternProperties", "additionalProperties", or
2598+
"patternProperties", "additionalProperties", "contains", or
25992599
"unevaluatedProperties" annotation results that apply to the
26002600
instance ___location being validated.
26012601
</t>
@@ -2605,7 +2605,7 @@
26052605
</t>
26062606
<t>
26072607
This means that "properties", "patternProperties", "additionalProperties",
2608-
and all in-place applicators MUST be evaluated before this keyword can
2608+
"contains" and all in-place applicators MUST be evaluated before this keyword can
26092609
be evaluated. Authors of extension keywords MUST NOT define an in-place
26102610
applicator that would need to be evaluated after this keyword.
26112611
</t>

0 commit comments

Comments
 (0)