|
885 | 885 | </section>
|
886 | 886 | <section title='The "$vocabulary" Keyword'>
|
887 | 887 | <t>
|
888 |
| - The "$vocabulary" keyword, which appears in a meta-schema, declares |
| 888 | + The "$vocabulary" keyword, which appears in a meta-schema, identifies |
889 | 889 | what sets of keywords are expected to be used in schemas described
|
890 | 890 | by that meta-schema, and with what semantics. This is conceptually
|
891 | 891 | analogous to how most other keywords used in meta-schemas describe
|
892 | 892 | the syntax of keywords used in schemas described by that meta-schema.
|
893 | 893 | </t>
|
894 | 894 | <t>
|
895 | 895 | The value of this keyword MUST be an object. The property names in the
|
896 |
| - object MUST be URIs, (containing a scheme) and this URI MUST be normalized. |
| 896 | + object MUST be URIs (containing a scheme) and this URI MUST be normalized. |
| 897 | + Each URI that appears as a property name identifies a specific set of |
| 898 | + keywords and their semantics. |
| 899 | + </t> |
| 900 | + <t> |
897 | 901 | The URI MAY be a URL, but the nature of the retrievable resources is
|
898 | 902 | currently undefined, and reserved for future use. Vocabulary authors
|
899 | 903 | SHOULD NOT serve a document at that URL. A server MAY respond with
|
|
943 | 947 | behavior based on the meta-schema if it is recognized from the
|
944 | 948 | URI value of the referring schema's "$schema" keyword.
|
945 | 949 | If the meta-schema, as referenced by the schema, is not recognized,
|
946 |
| - then implementations MAY assume the use of all vocabularies in this |
| 950 | + then implementations MUST assume the use of the core vocabulary, |
| 951 | + and SHOULD assume the use of all vocabularies in this |
947 | 952 | specification and the companion Validation specification.
|
948 | 953 | </t>
|
949 | 954 | </section>
|
|
1876 | 1881 | The current URI for the corresponding meta-schema is:
|
1877 | 1882 | <eref target="https://json-schema.org/draft-08/applicator"/>.
|
1878 | 1883 | </t>
|
| 1884 | + <t> |
| 1885 | + Meta-schemas that do not use "$vocabulary" SHOULD be considered to |
| 1886 | + use this vocabulary as if its URI were present with a value of false. |
| 1887 | + </t> |
1879 | 1888 | <section title="Keyword Independence">
|
1880 | 1889 | <t>
|
1881 | 1890 | Schema keywords typically operate independently, without
|
|
0 commit comments