@@ -5,7 +5,7 @@ category: std
55docname : draft-vasters-json-structure-core-latest
66submissiontype : IETF # also: "independent", "editorial", "IAB", or "IRTF"
77number :
8- date : 2025-12-02
8+ date : 2025-12-04
99consensus : true
1010v : 3
1111area : Web and Internet Transport
@@ -553,7 +553,7 @@ type or a locally declared compound type.
553553~~~ json
554554{
555555 " type " : " array" ,
556- " items " : { "type": { "$ref": "#/Namespace/TypeName" } }
556+ " items " : { "type": { "$ref": "#/definitions/ Namespace/TypeName" } }
557557}
558558~~~
559559
@@ -577,7 +577,7 @@ Example:
577577~~~ json
578578{
579579 " type " : " set" ,
580- " items " : { "type": { "$ref": "#/Namespace/TypeName" } }
580+ " items " : { "type": { "$ref": "#/definitions/ Namespace/TypeName" } }
581581}
582582~~~
583583
@@ -603,7 +603,7 @@ Example:
603603~~~ json
604604{
605605 " type " : " map" ,
606- " values " : { "type": { "$ref": "#/StringType" } }
606+ " values " : { "type": { "$ref": "#/definitions/ StringType" } }
607607}
608608~~~
609609
@@ -1132,7 +1132,7 @@ Union of a string and a compound type:
11321132
11331133~~~ json
11341134{
1135- " type " : ["string", { "$ref": "#/Namespace/TypeName" } ]
1135+ " type " : ["string", { "$ref": "#/definitions/ Namespace/TypeName" } ]
11361136}
11371137~~~
11381138
@@ -1269,7 +1269,7 @@ Examples:
12691269~~~ json
12701270{
12711271 " type " : " array" ,
1272- " items " : { "type": { "$ref": "#/Namespace/TypeName" }}
1272+ " items " : { "type": { "$ref": "#/definitions/ Namespace/TypeName" }}
12731273}
12741274~~~
12751275
@@ -1838,6 +1838,12 @@ registry.
18381838
18391839--- back
18401840
1841+ # Changes from draft-vasters-json-structure-core-01
1842+ {:numbered="false"}
1843+
1844+ - Fixed `$ref` paths in examples to correctly include `#/definitions/` prefix
1845+ for types defined in the definitions section.
1846+
18411847# Changes from draft-vasters-json-structure-core-00
18421848{:numbered="false"}
18431849
0 commit comments