|
704 | 704 | <t>
|
705 | 705 | Because annotation collection can add significant cost in terms of both
|
706 | 706 | computation and memory, implementations MAY opt out of this feature.
|
707 |
| - Keywords known to an implementation to have assertion or applicator behavior |
708 |
| - that depend on annotation results MUST then be treated as errors, unless |
709 |
| - an alternate implementation producing the same behavior is available. |
710 |
| - Keywords of this sort SHOULD describe reasonable alternate approaches |
711 |
| - when appropriate. This approach is demonstrated by the |
| 707 | + Keywords that are specified in terms of collected annotations SHOULD |
| 708 | + describe reasonable alternate approaches when appropriate. |
| 709 | + This approach is demonstrated by the |
712 | 710 | "<xref target="items" format="title"/>" and
|
713 | 711 | "<xref target="additionalProperties" format="title"/>" keywords in this
|
714 | 712 | document.
|
715 | 713 | </t>
|
| 714 | + <t> |
| 715 | + Note that when no such alternate approach is possible for a keyword, |
| 716 | + implementations that do not support annotation collections will not |
| 717 | + be able to support those keywords or vocabularies that contain them. |
| 718 | + </t> |
716 | 719 | </section>
|
717 | 720 | <section title="Identifiers" anchor="identifiers">
|
718 | 721 | <t>
|
|
2535 | 2538 | Omitting this keyword has the same assertion behavior as
|
2536 | 2539 | an empty schema.
|
2537 | 2540 | </t>
|
2538 |
| - <t> |
2539 |
| - Implementations that do not collect annotations MUST raise an error |
2540 |
| - upon encountering this keyword. |
2541 |
| - </t> |
2542 | 2541 | </section>
|
2543 | 2542 |
|
2544 | 2543 | <section title="unevaluatedProperties" anchor="unevaluatedProperties">
|
|
2585 | 2584 | Omitting this keyword has the same assertion behavior as
|
2586 | 2585 | an empty schema.
|
2587 | 2586 | </t>
|
2588 |
| - <t> |
2589 |
| - Implementations that do not collect annotations MUST raise an error |
2590 |
| - upon encountering this keyword. |
2591 |
| - </t> |
2592 | 2587 | </section>
|
2593 | 2588 | </section>
|
2594 | 2589 |
|
|
0 commit comments