|
1180 | 1180 | It MUST NOT appear in non-resource root schema objects. If absent from |
1181 | 1181 | the document root schema, the resulting behavior is implementation-defined. |
1182 | 1182 | </t> |
1183 | | - <t> |
1184 | | - If multiple schema resources are present in a single document, then |
1185 | | - schema resources which do not have a "$schema" keyword in their root |
1186 | | - schema object MUST be processed as if "$schema" were present with the |
1187 | | - same value as for the immediately enclosing resource. |
1188 | | - </t> |
1189 | | - <t> |
1190 | | - Embedded schema resources MAY specify different "$schema" values from their |
1191 | | - enclosing resource, as any schema that can be referenced can also be embedded. |
1192 | | - </t> |
1193 | 1183 | <t> |
1194 | 1184 | Values for this property are defined elsewhere in this and other documents, |
1195 | 1185 | and by other parties. |
|
1873 | 1863 | where the key is the `$id` of the Schema Resource, which MUST then be referenced using `$ref`. |
1874 | 1864 | </t> |
1875 | 1865 | </section> |
| 1866 | + <section title="Differing and Default Dialects"> |
| 1867 | + <t> |
| 1868 | + In addition to the rules defining the use of the "$schema" keyword <target='The "$schema" Keyword' format="counter"></xref>, |
| 1869 | + if multiple schema resources are present in a single document, then |
| 1870 | + schema resources which do not have a "$schema" keyword in their root |
| 1871 | + schema object MUST be processed as if "$schema" were present with the |
| 1872 | + same value as for the immediately enclosing resource. |
| 1873 | + </t> |
| 1874 | + <t> |
| 1875 | + Embedded schema resources MAY specify different "$schema" values from their |
| 1876 | + enclosing resource, as any schema that can be referenced can also be embedded. |
| 1877 | + </t> |
| 1878 | + </section> |
1876 | 1879 | <section title="Validating"> |
1877 | 1880 | <t> |
1878 | 1881 | Given a Compound Schema Document may have embedded resources which idenfiy as using different |
|
0 commit comments