Skip to content

Commit 5e58c25

Browse files
committed
Update stable tests
1 parent 1f3cebc commit 5e58c25

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+2218
-1731
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"$defs": {
3+
"foo": { "$dynamicRef": "detached" },
4+
"detached": {
5+
"$dynamicAnchor": "detached",
6+
"type": "integer"
7+
}
8+
}
9+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"$defs": {
3+
"foo": { "$ref": "#detached" },
4+
"detached": {
5+
"$anchor": "detached",
6+
"type": "integer"
7+
}
8+
}
9+
}
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
22
"$id": "http://localhost:1234/real-id-ref-string.json",
3-
"$defs": {"bar": {"type": "string"}},
4-
"$ref": "#/$defs/bar"
3+
"$ref": "#/$defs/bar",
4+
"$defs": {
5+
"bar": { "type": "string" }
6+
}
57
}
Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"description": "extendible array",
3-
"$id": "http://localhost:1234/extendible-dynamic-ref.json",
43
"type": "object",
54
"properties": {
65
"elements": {
@@ -11,10 +10,5 @@
1110
}
1211
},
1312
"required": ["elements"],
14-
"additionalProperties": false,
15-
"$defs": {
16-
"elements": {
17-
"$dynamicAnchor": "elements"
18-
}
19-
}
13+
"additionalProperties": false
2014
}

stable/json-schema-test-suite/remotes/locationIndependentIdentifier.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"$defs": {
3-
"refToInteger": {
4-
"$ref": "#foo"
5-
},
3+
"refToInteger": { "$ref": "#foo" },
64
"A": {
75
"$anchor": "foo",
86
"type": "integer"

stable/json-schema-test-suite/remotes/metaschema-no-validation.json

Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
{
2+
"type": "string",
23
"$defs": {
34
"orNull": {
45
"anyOf": [
5-
{
6-
"type": "null"
7-
},
8-
{
9-
"$ref": "#"
10-
}
6+
{ "type": "null" },
7+
{ "$ref": "#" }
118
]
129
}
13-
},
14-
"type": "string"
10+
}
1511
}

stable/json-schema-test-suite/remotes/name.json

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2+
"$ref": "http://localhost:1234/the-nested-id.json",
23
"$defs": {
34
"bar": {
45
"$id": "http://localhost:1234/the-nested-id.json",
56
"type": "string"
67
}
7-
},
8-
"$ref": "http://localhost:1234/the-nested-id.json"
8+
}
99
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"type": "object",
33
"properties": {
4-
"foo": {"$ref": "string.json"}
4+
"foo": { "$ref": "string.json" }
55
}
66
}

0 commit comments

Comments
 (0)