Skip to content

Commit a9511e1

Browse files
handrewsawwright
authored andcommitted
Remove confusing use of "absolute" URI.
The value of "$schema" is not required to be an absolute URI as defined by RFC 3986 (with a scheme, but no fragment). It just needs to be a URI and not a relative reference. This is particularly important as the meta-schemas include an empty fragment in their id URIs, which would be illegal if RFC 3986 section 4.3 Absolute URIs were required.
1 parent fac35a0 commit a9511e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jsonschema-core.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,8 @@
296296
</t>
297297
<t>
298298
The root schema of a JSON Schema document SHOULD use this keyword.
299-
The value of this keyword MUST be a <xref target="RFC3986">URI</xref> (an "absolute" URI),
300-
and this URI MUST be normalized.
299+
The value of this keyword MUST be a <xref target="RFC3986">URI</xref>
300+
(containing a scheme) and this URI MUST be normalized.
301301
The current schema MUST be valid against the meta-schema identified by this URI.
302302
</t>
303303
<t>

0 commit comments

Comments
 (0)