Skip to content

Commit d9be1a4

Browse files
committed
Merge commit '75f09dc062084528d31018e9297dab132a997590'
* commit '75f09dc062084528d31018e9297dab132a997590': Squashed 'json/' changes from a9a1e2e..95fe6ca
2 parents aaee6f4 + 75f09dc commit d9be1a4

27 files changed

+247
-129
lines changed

json/output-tests/draft2019-09/content/type.json

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -31,32 +31,6 @@
3131
"required": ["errors"]
3232
}
3333
}
34-
},
35-
{
36-
"description": "correct type yields an output unit",
37-
"data": "a string",
38-
"output": {
39-
"basic": {
40-
"$id": "https://json-schema.org/tests/content/draft2019-09/type/0/tests/1/basic",
41-
"$ref": "/draft/2019-09/output/schema",
42-
"properties": {
43-
"annotations": {
44-
"contains": {
45-
"properties": {
46-
"valid": {"const": true},
47-
"keywordLocation": {"const": "/type"},
48-
"absoluteKeywordLocation": {"const": "https://json-schema.org/tests/content/draft2019-09/type/0#/type"},
49-
"instanceLocation": {"const": ""},
50-
"annotation": false,
51-
"error": false
52-
},
53-
"required": ["keywordLocation", "instanceLocation"]
54-
}
55-
}
56-
},
57-
"required": ["annotations"]
58-
}
59-
}
6034
}
6135
]
6236
}

json/output-tests/draft2020-12/content/type.json

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -31,32 +31,6 @@
3131
"required": ["errors"]
3232
}
3333
}
34-
},
35-
{
36-
"description": "correct type yields an output unit",
37-
"data": "a string",
38-
"output": {
39-
"basic": {
40-
"$id": "https://json-schema.org/tests/content/draft2020-12/type/0/tests/1/basic",
41-
"$ref": "/draft/2020-12/output/schema",
42-
"properties": {
43-
"annotations": {
44-
"contains": {
45-
"properties": {
46-
"valid": {"const": true},
47-
"keywordLocation": {"const": "/type"},
48-
"absoluteKeywordLocation": {"const": "https://json-schema.org/tests/content/draft2020-12/type/0#/type"},
49-
"instanceLocation": {"const": ""},
50-
"annotation": false,
51-
"error": false
52-
},
53-
"required": ["keywordLocation", "instanceLocation"]
54-
}
55-
}
56-
},
57-
"required": ["annotations"]
58-
}
59-
}
6034
}
6135
]
6236
}

json/remotes/draft-next/subSchemas-defs.json

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
22
"$schema": "https://json-schema.org/draft/next/schema",
3-
"integer": {
4-
"type": "integer"
5-
},
6-
"refToInteger": {
7-
"$ref": "#/integer"
3+
"$defs": {
4+
"integer": {
5+
"type": "integer"
6+
},
7+
"refToInteger": {
8+
"$ref": "#/$defs/integer"
9+
}
810
}
911
}

json/remotes/draft2019-09/subSchemas-defs.json

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
22
"$schema": "https://json-schema.org/draft/2019-09/schema",
3-
"integer": {
4-
"type": "integer"
5-
},
6-
"refToInteger": {
7-
"$ref": "#/integer"
3+
"$defs": {
4+
"integer": {
5+
"type": "integer"
6+
},
7+
"refToInteger": {
8+
"$ref": "#/$defs/integer"
9+
}
810
}
911
}

json/remotes/draft2020-12/subSchemas-defs.json

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
22
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"integer": {
4-
"type": "integer"
5-
},
6-
"refToInteger": {
7-
"$ref": "#/integer"
3+
"$defs": {
4+
"integer": {
5+
"type": "integer"
6+
},
7+
"refToInteger": {
8+
"$ref": "#/$defs/integer"
9+
}
810
}
911
}

json/remotes/subSchemas-defs.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

json/remotes/subSchemas.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{
2-
"integer": {
3-
"type": "integer"
4-
},
5-
"refToInteger": {
6-
"$ref": "#/integer"
2+
"definitions": {
3+
"integer": {
4+
"type": "integer"
5+
},
6+
"refToInteger": {
7+
"$ref": "#/definitions/integer"
8+
}
79
}
810
}

0 commit comments

Comments
 (0)