1502
1502
</t >
1503
1503
<t >
1504
1504
Further examples of such non-canonical URIs, as well as the appropriate
1505
- canonical URIs to use instead, are provided in section
1505
+ canonical URIs to use instead, are provided in appendix
1506
1506
<xref target =" idExamples" format =" counter" ></xref >.
1507
1507
</t >
1508
1508
</section >
1839
1839
on the trust that the validator has in the schema. Such URIs and schemas
1840
1840
can be supplied to an implementation prior to processing instances, or may
1841
1841
be noted within a schema document as it is processed, producing associations
1842
- as shown in section <xref target =" idExamples" format =" counter" ></xref >.
1842
+ as shown in appendix <xref target =" idExamples" format =" counter" ></xref >.
1843
1843
</t >
1844
1844
<t >
1845
1845
A schema MAY (and likely will) have multiple URIs, but there is no way for a
@@ -3351,8 +3351,7 @@ User-Agent: product-name/5.4.1 so-cool-json-schema/1.0.2 curl/7.43.0
3351
3351
Pointers</xref > (relative to the root schema) have the following
3352
3352
base URIs, and are identifiable by any listed URI in accordance with
3353
3353
sections <xref target =" fragments" format =" counter" ></xref > and
3354
- <xref target =" embedded" format =" counter" ></xref > above. As previously
3355
- noted, support for non-canonical URIs is OPTIONAL.
3354
+ <xref target =" embedded" format =" counter" ></xref > above.
3356
3355
</t >
3357
3356
<t >
3358
3357
<list style =" hanging" >
@@ -3439,7 +3438,7 @@ User-Agent: product-name/5.4.1 so-cool-json-schema/1.0.2 curl/7.43.0
3439
3438
<section title =" Working with vocabularies" >
3440
3439
<section title =" Best practices for vocabulary and meta-schema authors" >
3441
3440
<t >
3442
- Vocabulary authors SHOULD
3441
+ Vocabulary authors should
3443
3442
take care to avoid keyword name collisions if the vocabulary is intended
3444
3443
for broad use, and potentially combined with other vocabularies. JSON
3445
3444
Schema does not provide any formal namespacing system, but also does
@@ -3452,25 +3451,25 @@ User-Agent: product-name/5.4.1 so-cool-json-schema/1.0.2 curl/7.43.0
3452
3451
vocabulary, or by using a keyword from another vocabulary with
3453
3452
a restricted or expanded set of acceptable values. Not all such
3454
3453
vocabulary re-use will result in a new vocabulary that is compatible
3455
- with the vocabulary on which it is built. Vocabulary authors SHOULD
3454
+ with the vocabulary on which it is built. Vocabulary authors should
3456
3455
clearly document what level of compatibility, if any, is expected.
3457
3456
</t >
3458
3457
<t >
3459
- Meta-schema authors SHOULD NOT use "$vocabulary" to combine multiple
3458
+ Meta-schema authors should not use "$vocabulary" to combine multiple
3460
3459
vocabularies that define conflicting syntax or semantics for the same
3461
3460
keyword. As semantic conflicts are not generally detectable through
3462
3461
schema validation, implementations are not expected to detect such
3463
3462
conflicts. If conflicting vocabularies are declared, the resulting
3464
3463
behavior is undefined.
3465
3464
</t >
3466
3465
<t >
3467
- Vocabulary authors SHOULD provide a meta-schema that validates the
3466
+ Vocabulary authors should provide a meta-schema that validates the
3468
3467
expected usage of the vocabulary's keywords on their own. Such meta-schemas
3469
- SHOULD NOT forbid additional keywords, and MUST NOT forbid any
3468
+ should not forbid additional keywords, and must not forbid any
3470
3469
keywords from the Core vocabulary.
3471
3470
</t >
3472
3471
<t >
3473
- It is RECOMMENDED that meta-schema authors reference each vocabulary's
3472
+ It is recommended that meta-schema authors reference each vocabulary's
3474
3473
meta-schema using the <xref target =" allOf" >"allOf"</xref > keyword,
3475
3474
although other mechanisms for constructing the meta-schema may be
3476
3475
appropriate for certain use cases.
@@ -3482,14 +3481,14 @@ User-Agent: product-name/5.4.1 so-cool-json-schema/1.0.2 curl/7.43.0
3482
3481
which extends the Validation meta-schema.
3483
3482
</t >
3484
3483
<t >
3485
- Meta-schemas MAY impose additional constraints, including describing
3484
+ Meta-schemas may impose additional constraints, including describing
3486
3485
keywords not present in any vocabulary, beyond what the meta-schemas
3487
3486
associated with the declared vocabularies describe. This allows for
3488
3487
restricting usage to a subset of a vocabulary, and for validating
3489
3488
locally defined keywords not intended for re-use.
3490
3489
</t >
3491
3490
<t >
3492
- However, meta-schemas SHOULD NOT contradict any vocabularies that
3491
+ However, meta-schemas should not contradict any vocabularies that
3493
3492
they declare, such as by requiring a different JSON type than
3494
3493
the vocabulary expects. The resulting behavior is undefined.
3495
3494
</t >
0 commit comments