|
2528 | 2528 | <t>
|
2529 | 2529 | "unevaluatedProperties", whose behavior is defined in terms of
|
2530 | 2530 | annotations from "properties", "patternProperties",
|
2531 |
| - "additionalProperties" and itself |
| 2531 | + "additionalProperties", "contains", and itself |
2532 | 2532 | </t>
|
2533 | 2533 | </list>
|
2534 | 2534 | </t>
|
|
2584 | 2584 | The behavior of this keyword depends on the annotation results of
|
2585 | 2585 | adjacent keywords that apply to the instance location being validated.
|
2586 | 2586 | 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 |
2588 | 2588 | 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 |
2590 | 2590 | result from any and all adjacent
|
2591 | 2591 | <xref target="in-place">in-place applicator</xref> keywords.
|
2592 | 2592 | This includes but is not limited to the in-place applicators
|
|
2595 | 2595 | <t>
|
2596 | 2596 | Validation with "unevaluatedProperties" applies only to the child
|
2597 | 2597 | values of instance names that do not appear in the "properties",
|
2598 |
| - "patternProperties", "additionalProperties", or |
| 2598 | + "patternProperties", "additionalProperties", "contains", or |
2599 | 2599 | "unevaluatedProperties" annotation results that apply to the
|
2600 | 2600 | instance location being validated.
|
2601 | 2601 | </t>
|
|
2605 | 2605 | </t>
|
2606 | 2606 | <t>
|
2607 | 2607 | 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 |
2609 | 2609 | be evaluated. Authors of extension keywords MUST NOT define an in-place
|
2610 | 2610 | applicator that would need to be evaluated after this keyword.
|
2611 | 2611 | </t>
|
|
0 commit comments