|
1171 | 1171 | It MUST NOT appear in non-resource root schema objects. If absent from
|
1172 | 1172 | the document root schema, the resulting behavior is implementation-defined.
|
1173 | 1173 | </t>
|
1174 |
| - <t> |
1175 |
| - If multiple schema resources are present in a single document, then |
1176 |
| - schema resources which do not have a "$schema" keyword in their root |
1177 |
| - schema object MUST be processed as if "$schema" were present with the |
1178 |
| - same value as for the immediately enclosing resource. |
1179 |
| - </t> |
1180 |
| - <t> |
1181 |
| - Embedded schema resources MAY specify different "$schema" values from their |
1182 |
| - enclosing resource, as any schema that can be referenced can also be embedded. |
1183 |
| - </t> |
1184 | 1174 | <t>
|
1185 | 1175 | Values for this property are defined elsewhere in this and other documents,
|
1186 | 1176 | and by other parties.
|
|
1858 | 1848 | where the key is the `$id` of the Schema Resource, which MUST then be referenced using `$ref`.
|
1859 | 1849 | </t>
|
1860 | 1850 | </section>
|
| 1851 | + <section title="Differing and Default Dialects"> |
| 1852 | + <t> |
| 1853 | + In addition to the rules defining the use of the "$schema" keyword <target='The "$schema" Keyword' format="counter"></xref>, |
| 1854 | + if multiple schema resources are present in a single document, then |
| 1855 | + schema resources which do not have a "$schema" keyword in their root |
| 1856 | + schema object MUST be processed as if "$schema" were present with the |
| 1857 | + same value as for the immediately enclosing resource. |
| 1858 | + </t> |
| 1859 | + <t> |
| 1860 | + Embedded schema resources MAY specify different "$schema" values from their |
| 1861 | + enclosing resource, as any schema that can be referenced can also be embedded. |
| 1862 | + </t> |
| 1863 | + </section> |
1861 | 1864 | <section title="Validating">
|
1862 | 1865 | <t>
|
1863 | 1866 | Given a Compound Schema Document may have embedded resources which idenfiy as using different
|
|
0 commit comments