|
1847 | 1847 | </t>
|
1848 | 1848 | <section title="Bundling">
|
1849 | 1849 | <t>
|
1850 |
| - The bundling process for creating a Compound Schema Document is done by taking |
| 1850 | + The bundling process for creating a Compound Schema Document is defined as taking |
1851 | 1851 | references (such as "$ref") to an external Schema Resource and embedding the referenced
|
1852 | 1852 | Schema Resources within the referreing document.
|
1853 | 1853 | </t>
|
|
1857 | 1857 | schema resource.
|
1858 | 1858 | </t>
|
1859 | 1859 | <t>
|
1860 |
| - When a by-reference applicator is dereferenced as part of the bundling process, the Schema Resource |
1861 |
| - MUST NOT be embedded by replacing the schema object from which it was referenced, or by wrapping |
1862 |
| - in other applicator keywords. Instead, a bundled Schema Resource MUST be located as a value of |
1863 |
| - a "$defs" object at the containing schemas root. The key of the "$defs" for the now embedded |
1864 |
| - Schema Resource MAY be the "$id" of the bundled schema or some other form of application defined |
1865 |
| - unique identifer (such as a UUID). This key is not intended to be referenced in JSON Schema, but may |
1866 |
| - be used by an application to aid the bundling process. |
| 1860 | + When the Schema Resource referenced by a by-reference applicator is bundled, the Schema Resource |
| 1861 | + MUST be located as a value of a "$defs" object at the containing schemas root. |
| 1862 | + The key of the "$defs" for the now embedded Schema Resource MAY be the "$id" of the bundled schema |
| 1863 | + or some other form of application defined unique identifer (such as a UUID). This key is not |
| 1864 | + intended to be referenced in JSON Schema, but may be used by an application to aid the |
| 1865 | + bundling process. |
| 1866 | + </t> |
| 1867 | + <t> |
| 1868 | + Bundled Schema Resource MUST NOT be bundled by replacing the schema object from which it was |
| 1869 | + referenced, or by wrapping the Schema Resource in other applicator keywords. |
1867 | 1870 | </t>
|
1868 | 1871 | <t>
|
1869 | 1872 | References in the containing schema document to the previously external Schema Resources
|
|
0 commit comments