|
1856 | 1856 | <t> |
1857 | 1857 | The bundling process for creating a Compound Schema Document is defined as taking |
1858 | 1858 | references (such as "$ref") to an external Schema Resource and embedding the referenced |
1859 | | - Schema Resources within the referring document. Bundling is done in such a way that |
| 1859 | + Schema Resources within the referring document. Bundling SHOULD be done in such a way that |
1860 | 1860 | all URIs (used for referencing) in the base document and any referenced/embedded |
1861 | 1861 | documents do not require altering. |
1862 | 1862 | </t> |
1863 | 1863 | <t> |
1864 | | - Each embedded JSON Schema Resource MUST identify itself with an absolute URI using the "$id" keyword, |
| 1864 | + Each embedded JSON Schema Resource MUST identify itself with a URI using the "$id" keyword, |
1865 | 1865 | and SHOULD make use of the "$schema" keyword to identify the dialect it is using, in the root of the |
1866 | | - schema resource. |
| 1866 | + schema resource. It is RECOMMENDED that the URI identifier value of "$id" be an Absolute URI. |
1867 | 1867 | </t> |
1868 | 1868 | <t> |
1869 | 1869 | When the Schema Resource referenced by a by-reference applicator is bundled, the Schema Resource |
|
1874 | 1874 | bundling process. |
1875 | 1875 | </t> |
1876 | 1876 | <t> |
1877 | | - Bundled Schema Resource MUST NOT be bundled by replacing the schema object from which it was |
| 1877 | + Schema Resources MUST NOT be bundled by replacing the schema object from which it was |
1878 | 1878 | referenced, or by wrapping the Schema Resource in other applicator keywords. |
1879 | 1879 | </t> |
1880 | 1880 | <t> |
|
1891 | 1891 | </section> |
1892 | 1892 | <section title="Differing and Default Dialects"> |
1893 | 1893 | <t> |
1894 | | - If multiple schema resources are present in a single document, then |
1895 | | - schema resources which do not have a "$schema" keyword in their root |
1896 | | - schema object MUST be processed as if "$schema" were present with the |
1897 | | - same value as for the immediately enclosing resource. |
| 1894 | + When multiple schema resources are present in a single document, |
| 1895 | + schema resources which do not define with which dialect they should be processed |
| 1896 | + MUST be processed with the same dialect as the enclosing resource. |
1898 | 1897 | </t> |
1899 | 1898 | <t> |
1900 | 1899 | Since any schema that can be referenced can also be embedded, embedded schema resources MAY |
1901 | | - specify different "$schema" values from their enclosing resource. |
| 1900 | + specify different processing dialects using the "$schema" values from their enclosing resource. |
1902 | 1901 | </t> |
1903 | 1902 | </section> |
1904 | 1903 | <section title="Validating"> |
|
0 commit comments