Skip to content

Commit 6cf7022

Browse files
committed
Document root is only SHOULD for $id.
$id requirements for document root are already covered, and shouldn't be overriden.
1 parent f82ee55 commit 6cf7022

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jsonschema-core.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1852,9 +1852,9 @@
18521852
Schema Resources within the referreing document.
18531853
</t>
18541854
<t>
1855-
Each embedded JSON Schema Resource (and the document's root) MUST identify itself
1856-
with an absolute URI using the "$id" keyword, and SHOULD make use of the "$schema"
1857-
keyword to identify the dialect it is using, in the root of the schema resource.
1855+
Each embedded JSON Schema Resource MUST identify itself with an absolute URI using the "$id" keyword,
1856+
and SHOULD make use of the "$schema" keyword to identify the dialect it is using, in the root of the
1857+
schema resource.
18581858
</t>
18591859
<t>
18601860
When a by-reference applicator is dereferenced as part of the bundling process, the Schema Resource

0 commit comments

Comments
 (0)