Skip to content

Commit e1e3441

Browse files
committed
Fix more examples for $anchor and canonical $id
1 parent 4f110e7 commit e1e3441

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

jsonschema-core.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2104,7 +2104,7 @@
21042104
},
21052105
"$defs": {
21062106
"single": {
2107-
"$id": "#item",
2107+
"$anchor": "item",
21082108
"type": "object",
21092109
"additionalProperties": { "$ref": "other.json" }
21102110
}
@@ -2892,8 +2892,8 @@ https://json-schema.org/draft/2019-08/schema#/$defs/nonNegativeInteger/minimum
28922892
<artwork>
28932893
<![CDATA[
28942894
{
2895-
"$id": "https://example.com/polygon#",
2896-
"$schema": "https://json-schema.org/draft/2019-08/schema#",
2895+
"$id": "https://example.com/polygon",
2896+
"$schema": "https://json-schema.org/draft/2019-08/schema",
28972897
"$defs": {
28982898
"point": {
28992899
"type": "object",
@@ -3113,8 +3113,8 @@ https://json-schema.org/draft/2019-08/schema#/$defs/nonNegativeInteger/minimum
31133113
<![CDATA[
31143114
// schema
31153115
{
3116-
"$id": "https://example.com/polygon#",
3117-
"$schema": "https://json-schema.org/draft/2019-08/schema#",
3116+
"$id": "https://example.com/polygon",
3117+
"$schema": "https://json-schema.org/draft/2019-08/schema",
31183118
"type": "object",
31193119
"properties": {
31203120
"validProp": true,

0 commit comments

Comments
 (0)