Skip to content

Commit 799ecc6

Browse files
committed
Fix "$id" that should have been "$anchor"
Looks like we missed one, h/t jimblackler. Also fix wording as the value of "$anchor" is not a URI reference.
1 parent f2c130c commit 799ecc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jsonschema-core.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1710,8 +1710,8 @@
17101710
</figure>
17111711
<t>
17121712
When an implementation encounters the &lt;#/$defs/single&gt; schema,
1713-
it resolves the "$id" URI reference against the current base URI to form
1714-
&lt;https://example.net/root.json#item&gt;.
1713+
it resolves the "$anchor" value as a fragment name against the current
1714+
base URI to form &lt;https://example.net/root.json#item&gt;.
17151715
</t>
17161716
<t>
17171717
When an implementation then looks inside the &lt;#/items&gt; schema, it

0 commit comments

Comments
 (0)