Skip to content

Commit 8e10570

Browse files
author
Clemens Vasters
committed
Fix paths in examples, update date to 2025-12-04
1 parent 1923482 commit 8e10570

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

draft-vasters-json-structure-core.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ category: std
55
docname: draft-vasters-json-structure-core-latest
66
submissiontype: IETF # also: "independent", "editorial", "IAB", or "IRTF"
77
number:
8-
date: 2025-12-02
8+
date: 2025-12-04
99
consensus: true
1010
v: 3
1111
area: 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

Comments
 (0)