|
1058 | 1058 | </t> |
1059 | 1059 | <t> |
1060 | 1060 | The current URI for the Core vocabulary is: |
1061 | | - <eref target="https://json-schema.org/draft-08/vocabularies/core"/>. |
| 1061 | + <eref target="https://json-schema.org/draft/2019-03/vocab/core"/>. |
1062 | 1062 | </t> |
1063 | 1063 | <t> |
1064 | 1064 | The current URI for the corresponding meta-schema is: |
1065 | | - <eref target="https://json-schema.org/draft-08/core"/>. |
| 1065 | + <eref target="https://json-schema.org/draft/2019/03/meta/core"/>. |
| 1066 | + </t> |
| 1067 | + <t> |
| 1068 | + Updated vocabulary and meta-schema URIs MAY be published between |
| 1069 | + specification drafts in order to correct errors. Implementations |
| 1070 | + SHOULD consider URIs dated after this specification draft and |
| 1071 | + before the next to indicate the same syntax and semantics |
| 1072 | + as those listed here. |
1066 | 1073 | </t> |
1067 | 1074 | </section> |
1068 | 1075 | <section title="Example Meta-Schema With Vocabulary Declarations" |
|
1081 | 1088 | <artwork> |
1082 | 1089 | <![CDATA[ |
1083 | 1090 | { |
1084 | | - "$schema": "https://json-schema.org/draft-08/core-app-example#", |
1085 | | - "$id": "https://json-schema.org/draft-08/core-app-example", |
| 1091 | + "$schema": "https://json-schema.org/draft/2019-03/core-app-example#", |
| 1092 | + "$id": "https://json-schema.org/draft/2019-03/core-app-example", |
1086 | 1093 | "$recursiveAnchor": true, |
1087 | 1094 | "$vocabulary": { |
1088 | | - "https://json-schema.org/draft-08/vocabularies/core": true, |
1089 | | - "https://json-schema.org/draft-08/vocabularies/applicator": true |
| 1095 | + "https://json-schema.org/draft/2019-03/vocab/core": true, |
| 1096 | + "https://json-schema.org/draft/2019-03/vocab/applicator": true |
1090 | 1097 | }, |
1091 | 1098 | "allOf": [ |
1092 | | - {"$ref": "https://json-schema.org/draft-08/core"}, |
1093 | | - {"$ref": "https://json-schema.org/draft-08/applicator"} |
| 1099 | + {"$ref": "https://json-schema.org/draft/2019-03/meta/core"}, |
| 1100 | + {"$ref": "https://json-schema.org/draft/2019-03/meta/applicator"} |
1094 | 1101 | ], |
1095 | 1102 | "patternProperties": { |
1096 | 1103 | "^unevaluated.*$": false |
|
1352 | 1359 | <artwork> |
1353 | 1360 | <![CDATA[ |
1354 | 1361 | { |
1355 | | - "$schema": "http://json-schema.org/draft-08/schema#", |
| 1362 | + "$schema": "http://json-schema.org/draft/2019-03/schema#", |
1356 | 1363 | "$id": "https://example.com/original", |
1357 | 1364 |
|
1358 | 1365 | "properties": { |
|
1366 | 1373 | } |
1367 | 1374 |
|
1368 | 1375 | { |
1369 | | - "$schema": "http://json-schema.org/draft-08/schema#", |
| 1376 | + "$schema": "http://json-schema.org/draft/2019-03/schema#", |
1370 | 1377 | "$id": "https://example.com/extension", |
1371 | 1378 |
|
1372 | 1379 | "$ref": "original", |
|
1465 | 1472 | <artwork> |
1466 | 1473 | <![CDATA[ |
1467 | 1474 | { |
1468 | | - "$schema": "http://json-schema.org/draft-08/schema#", |
| 1475 | + "$schema": "http://json-schema.org/draft/2019-03/schema#", |
1469 | 1476 | "$id": "https://example.com/original", |
1470 | 1477 | "$recursiveAnchor": true, |
1471 | 1478 |
|
|
1480 | 1487 | } |
1481 | 1488 |
|
1482 | 1489 | { |
1483 | | - "$schema": "http://json-schema.org/draft-08/schema#", |
| 1490 | + "$schema": "http://json-schema.org/draft/2019-03/schema#", |
1484 | 1491 | "$id": "https://example.com/extension", |
1485 | 1492 | "$recursiveAnchor": true, |
1486 | 1493 |
|
|
1881 | 1888 | This section defines a vocabulary of applicator keywords that |
1882 | 1889 | are RECOMMENDED for use as the basis of other vocabularies. |
1883 | 1890 | </t> |
| 1891 | + <t> |
| 1892 | + Meta-schemas that do not use "$vocabulary" SHOULD be considered to |
| 1893 | + require this vocabulary as if its URI were present with a value of true. |
| 1894 | + </t> |
1884 | 1895 | <t> |
1885 | 1896 | The current URI for this vocabulary, known as the Applicator vocabulary, is: |
1886 | | - <eref target="https://json-schema.org/draft-08/vocabularies/applicator"/>. |
| 1897 | + <eref target="https://json-schema.org/draft/2019-03/vocab/applicator"/>. |
1887 | 1898 | </t> |
1888 | 1899 | <t> |
1889 | 1900 | The current URI for the corresponding meta-schema is: |
1890 | | - <eref target="https://json-schema.org/draft-08/applicator"/>. |
| 1901 | + <eref target="https://json-schema.org/draft/2019-03/meta/applicator"/>. |
1891 | 1902 | </t> |
1892 | 1903 | <t> |
1893 | | - Meta-schemas that do not use "$vocabulary" SHOULD be considered to |
1894 | | - require this vocabulary as if its URI were present with a value of true. |
| 1904 | + Updated vocabulary and meta-schema URIs MAY be published between |
| 1905 | + specification drafts in order to correct errors. Implementations |
| 1906 | + SHOULD consider URIs dated after this specification draft and |
| 1907 | + before the next to indicate the same syntax and semantics |
| 1908 | + as those listed here. |
1895 | 1909 | </t> |
1896 | 1910 | <section title="Keyword Independence"> |
1897 | 1911 | <t> |
|
2479 | 2493 | <figure> |
2480 | 2494 | <artwork> |
2481 | 2495 | <![CDATA[ |
2482 | | -http://json-schema.org/draft-08/schema#/$defs/nonNegativeInteger/minimum |
| 2496 | +http://json-schema.org/draft/2019-03/schema#/$defs/nonNegativeInteger/minimum |
2483 | 2497 | ]]> |
2484 | 2498 | </artwork> |
2485 | 2499 | </figure> |
@@ -2555,7 +2569,7 @@ http://json-schema.org/draft-08/schema#/$defs/nonNegativeInteger/minimum |
2555 | 2569 | <![CDATA[ |
2556 | 2570 | { |
2557 | 2571 | "$id": "http://example.com/polygon#", |
2558 | | - "$schema": "http://json-schema.org/draft-08/schema#", |
| 2572 | + "$schema": "http://json-schema.org/draft/2019-03/schema#", |
2559 | 2573 | "$defs": { |
2560 | 2574 | "point": { |
2561 | 2575 | "type": "object", |
@@ -2766,16 +2780,16 @@ http://json-schema.org/draft-08/schema#/$defs/nonNegativeInteger/minimum |
2766 | 2780 | </t> |
2767 | 2781 | <t> |
2768 | 2782 | Because this output structure can be quite large, a smaller example is given |
2769 | | - here for brevity. The full output structure of the example above can be found |
2770 | | - <eref target="standardized-output-verbose.json">here</eref>. |
| 2783 | + here for brevity. The URI of the full output structure of the example above is: |
| 2784 | + <eref target="https://json-schema.org/draft/2019-03/output/verbose-example"/>. |
2771 | 2785 | </t> |
2772 | 2786 | <figure> |
2773 | 2787 | <artwork> |
2774 | 2788 | <![CDATA[ |
2775 | 2789 | // schema |
2776 | 2790 | { |
2777 | 2791 | "$id": "http://example.com/polygon#", |
2778 | | - "$schema": "http://json-schema.org/draft-08/schema#", |
| 2792 | + "$schema": "http://json-schema.org/draft/2019-03/schema#", |
2779 | 2793 | "type": "object", |
2780 | 2794 | "properties": { |
2781 | 2795 | "validProp": true, |
@@ -2825,10 +2839,11 @@ http://json-schema.org/draft-08/schema#/$defs/nonNegativeInteger/minimum |
2825 | 2839 | </figure> |
2826 | 2840 | </section> |
2827 | 2841 |
|
2828 | | - <section title="Output validation schema"> |
| 2842 | + <section title="Output validation schemas"> |
2829 | 2843 | <t> |
2830 | | - For convenience, a JSON Schema has been provided to validate output generated |
2831 | | - by implementations. It can be found <eref target="schema-output.json">here</eref>. |
| 2844 | + For convenience, JSON Schema has been provided to validate output generated |
| 2845 | + by implementations. Its URI is: |
| 2846 | + <eref target="https://json-schema.org/draft/2019-03/output/schema"/>. |
2832 | 2847 | </t> |
2833 | 2848 | </section> |
2834 | 2849 |
|
|
0 commit comments