1494
1494
</t >
1495
1495
<t >
1496
1496
Further examples of such non-canonical URIs, as well as the appropriate
1497
- canonical URIs to use instead, are provided in section
1497
+ canonical URIs to use instead, are provided in appendix
1498
1498
<xref target =" idExamples" format =" counter" ></xref >.
1499
1499
</t >
1500
1500
</section >
1831
1831
on the trust that the validator has in the schema. Such URIs and schemas
1832
1832
can be supplied to an implementation prior to processing instances, or may
1833
1833
be noted within a schema document as it is processed, producing associations
1834
- as shown in section <xref target =" idExamples" format =" counter" ></xref >.
1834
+ as shown in appendix <xref target =" idExamples" format =" counter" ></xref >.
1835
1835
</t >
1836
1836
<t >
1837
1837
A schema MAY (and likely will) have multiple URIs, but there is no way for a
@@ -3330,8 +3330,7 @@ User-Agent: product-name/5.4.1 so-cool-json-schema/1.0.2 curl/7.43.0
3330
3330
Pointers</xref > (relative to the root schema) have the following
3331
3331
base URIs, and are identifiable by any listed URI in accordance with
3332
3332
sections <xref target =" fragments" format =" counter" ></xref > and
3333
- <xref target =" embedded" format =" counter" ></xref > above. As previously
3334
- noted, support for non-canonical URIs is OPTIONAL.
3333
+ <xref target =" embedded" format =" counter" ></xref > above.
3335
3334
</t >
3336
3335
<t >
3337
3336
<list style =" hanging" >
@@ -3418,7 +3417,7 @@ User-Agent: product-name/5.4.1 so-cool-json-schema/1.0.2 curl/7.43.0
3418
3417
<section title =" Working with vocabularies" >
3419
3418
<section title =" Best practices for vocabulary and meta-schema authors" >
3420
3419
<t >
3421
- Vocabulary authors SHOULD
3420
+ Vocabulary authors should
3422
3421
take care to avoid keyword name collisions if the vocabulary is intended
3423
3422
for broad use, and potentially combined with other vocabularies. JSON
3424
3423
Schema does not provide any formal namespacing system, but also does
@@ -3431,25 +3430,25 @@ User-Agent: product-name/5.4.1 so-cool-json-schema/1.0.2 curl/7.43.0
3431
3430
vocabulary, or by using a keyword from another vocabulary with
3432
3431
a restricted or expanded set of acceptable values. Not all such
3433
3432
vocabulary re-use will result in a new vocabulary that is compatible
3434
- with the vocabulary on which it is built. Vocabulary authors SHOULD
3433
+ with the vocabulary on which it is built. Vocabulary authors should
3435
3434
clearly document what level of compatibility, if any, is expected.
3436
3435
</t >
3437
3436
<t >
3438
- Meta-schema authors SHOULD NOT use "$vocabulary" to combine multiple
3437
+ Meta-schema authors should not use "$vocabulary" to combine multiple
3439
3438
vocabularies that define conflicting syntax or semantics for the same
3440
3439
keyword. As semantic conflicts are not generally detectable through
3441
3440
schema validation, implementations are not expected to detect such
3442
3441
conflicts. If conflicting vocabularies are declared, the resulting
3443
3442
behavior is undefined.
3444
3443
</t >
3445
3444
<t >
3446
- Vocabulary authors SHOULD provide a meta-schema that validates the
3445
+ Vocabulary authors should provide a meta-schema that validates the
3447
3446
expected usage of the vocabulary's keywords on their own. Such meta-schemas
3448
- SHOULD NOT forbid additional keywords, and MUST NOT forbid any
3447
+ should not forbid additional keywords, and must not forbid any
3449
3448
keywords from the Core vocabulary.
3450
3449
</t >
3451
3450
<t >
3452
- It is RECOMMENDED that meta-schema authors reference each vocabulary's
3451
+ It is recommended that meta-schema authors reference each vocabulary's
3453
3452
meta-schema using the <xref target =" allOf" >"allOf"</xref > keyword,
3454
3453
although other mechanisms for constructing the meta-schema may be
3455
3454
appropriate for certain use cases.
@@ -3461,14 +3460,14 @@ User-Agent: product-name/5.4.1 so-cool-json-schema/1.0.2 curl/7.43.0
3461
3460
which extends the Validation meta-schema.
3462
3461
</t >
3463
3462
<t >
3464
- Meta-schemas MAY impose additional constraints, including describing
3463
+ Meta-schemas may impose additional constraints, including describing
3465
3464
keywords not present in any vocabulary, beyond what the meta-schemas
3466
3465
associated with the declared vocabularies describe. This allows for
3467
3466
restricting usage to a subset of a vocabulary, and for validating
3468
3467
locally defined keywords not intended for re-use.
3469
3468
</t >
3470
3469
<t >
3471
- However, meta-schemas SHOULD NOT contradict any vocabularies that
3470
+ However, meta-schemas should not contradict any vocabularies that
3472
3471
they declare, such as by requiring a different JSON type than
3473
3472
the vocabulary expects. The resulting behavior is undefined.
3474
3473
</t >
0 commit comments