|
1228 | 1228 | The "$schema" keyword SHOULD be used in the document root schema object, |
1229 | 1229 | and MAY be used in the root schema objects of embedded schema resources. |
1230 | 1230 | It MUST NOT appear in non-resource root schema objects. If absent from |
1231 | | - the document root schema, the resulting behavior is implementation-defined. |
| 1231 | + the document root schema, the resulting behavior is implementation-defined, |
| 1232 | + but MUST fall within the following options: |
| 1233 | + <ul> |
| 1234 | + <li>Refuse to process the schema, as with unsupported required |
| 1235 | + vocabularies</li> |
| 1236 | + <li>Assume a specific, documented meta-schema</li> |
| 1237 | + <li>Document the process by which it examines the schema and determines |
| 1238 | + which of a specific set of meta-schemas to assume</li> |
| 1239 | + </ul> |
1232 | 1240 | </t> |
1233 | 1241 | <t> |
1234 | 1242 | Values for this property are defined elsewhere in this and other documents, |
@@ -3547,9 +3555,9 @@ https://example.com/schemas/common#/$defs/allOf/1 |
3547 | 3555 | <t> |
3548 | 3556 | Instances and schemas are both frequently written by untrusted third parties, to be |
3549 | 3557 | deployed on public Internet servers. |
3550 | | - Validators should take care that the parsing and validating against schemas does not consume excessive |
3551 | | - system resources. |
3552 | | - Validators MUST NOT fall into an infinite loop. |
| 3558 | + Implementations should take care that the parsing and evaluating against schemas |
| 3559 | + does not consume excessive system resources. |
| 3560 | + Implementations MUST NOT fall into an infinite loop. |
3553 | 3561 | </t> |
3554 | 3562 | <t> |
3555 | 3563 | A malicious party could cause an implementation to repeatedly collect a copy |
|
0 commit comments