Skip to content

Commit 9d3c5a4

Browse files
committed
Add "$ref" to meta-schema definitions.
But don't reference it yet as that involves some restructuring.
1 parent de5c117 commit 9d3c5a4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

schema.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
"id": "http://json-schema.org/draft/schema",
44
"title": "Core schema meta-schema",
55
"definitions": {
6+
"jsonReference": {
7+
"type": "object",
8+
"properties": {
9+
"$ref": {
10+
"type": "string",
11+
"format": "uriref"
12+
}
13+
},
14+
"required": [ "$ref" ]
15+
},
616
"schemaArray": {
717
"type": "array",
818
"minItems": 1,

0 commit comments

Comments
 (0)