Skip to content

Commit 8b292d8

Browse files
committed
Update fixtures
From json-schema-test-suite update.
1 parent 274326a commit 8b292d8

File tree

4 files changed

+150
-0
lines changed

4 files changed

+150
-0
lines changed

test/fixtures/draft2019-09.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19764,6 +19764,36 @@
1976419764
[
1976519765

1976619766
]
19767+
],
19768+
[
19769+
[
19770+
19771+
],
19772+
[
19773+
{
19774+
"data": "a",
19775+
"data_pointer": "",
19776+
"schema": {
19777+
"$anchor": "detached",
19778+
"type": "integer"
19779+
},
19780+
"schema_pointer": "/$defs/detached",
19781+
"root_schema": {
19782+
"$id": "http://localhost:1234/draft2019-09/detached-ref.json",
19783+
"$schema": "https://json-schema.org/draft/2019-09/schema",
19784+
"$defs": {
19785+
"foo": {
19786+
"$ref": "#detached"
19787+
},
19788+
"detached": {
19789+
"$anchor": "detached",
19790+
"type": "integer"
19791+
}
19792+
}
19793+
},
19794+
"type": "integer"
19795+
}
19796+
]
1976719797
]
1976819798
],
1976919799
"JSON-Schema-Test-Suite/tests/draft2019-09/required.json": [

test/fixtures/draft2020-12.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5223,6 +5223,36 @@
52235223
[
52245224

52255225
]
5226+
],
5227+
[
5228+
[
5229+
5230+
],
5231+
[
5232+
{
5233+
"data": "a",
5234+
"data_pointer": "",
5235+
"schema": {
5236+
"$dynamicAnchor": "detached",
5237+
"type": "integer"
5238+
},
5239+
"schema_pointer": "/$defs/detached",
5240+
"root_schema": {
5241+
"$id": "http://localhost:1234/draft2020-12/detached-dynamicref.json",
5242+
"$schema": "https://json-schema.org/draft/2020-12/schema",
5243+
"$defs": {
5244+
"foo": {
5245+
"$dynamicRef": "#detached"
5246+
},
5247+
"detached": {
5248+
"$dynamicAnchor": "detached",
5249+
"type": "integer"
5250+
}
5251+
}
5252+
},
5253+
"type": "integer"
5254+
}
5255+
]
52265256
]
52275257
],
52285258
"JSON-Schema-Test-Suite/tests/draft2020-12/enum.json": [
@@ -19211,6 +19241,36 @@
1921119241
[
1921219242

1921319243
]
19244+
],
19245+
[
19246+
[
19247+
19248+
],
19249+
[
19250+
{
19251+
"data": "a",
19252+
"data_pointer": "",
19253+
"schema": {
19254+
"$anchor": "detached",
19255+
"type": "integer"
19256+
},
19257+
"schema_pointer": "/$defs/detached",
19258+
"root_schema": {
19259+
"$id": "http://localhost:1234/draft2020-12/detached-ref.json",
19260+
"$schema": "https://json-schema.org/draft/2020-12/schema",
19261+
"$defs": {
19262+
"foo": {
19263+
"$ref": "#detached"
19264+
},
19265+
"detached": {
19266+
"$anchor": "detached",
19267+
"type": "integer"
19268+
}
19269+
}
19270+
},
19271+
"type": "integer"
19272+
}
19273+
]
1921419274
]
1921519275
],
1921619276
"JSON-Schema-Test-Suite/tests/draft2020-12/required.json": [

test/fixtures/draft6.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11911,6 +11911,36 @@
1191111911
[
1191211912

1191311913
]
11914+
],
11915+
[
11916+
[
11917+
11918+
],
11919+
[
11920+
{
11921+
"data": "a",
11922+
"data_pointer": "",
11923+
"schema": {
11924+
"$id": "#detached",
11925+
"type": "integer"
11926+
},
11927+
"schema_pointer": "/definitions/detached",
11928+
"root_schema": {
11929+
"$id": "http://localhost:1234/draft6/detached-ref.json",
11930+
"$schema": "http://json-schema.org/draft-06/schema#",
11931+
"definitions": {
11932+
"foo": {
11933+
"$ref": "#detached"
11934+
},
11935+
"detached": {
11936+
"$id": "#detached",
11937+
"type": "integer"
11938+
}
11939+
}
11940+
},
11941+
"type": "integer"
11942+
}
11943+
]
1191411944
]
1191511945
],
1191611946
"JSON-Schema-Test-Suite/tests/draft6/required.json": [

test/fixtures/draft7.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14296,6 +14296,36 @@
1429614296
[
1429714297

1429814298
]
14299+
],
14300+
[
14301+
[
14302+
14303+
],
14304+
[
14305+
{
14306+
"data": "a",
14307+
"data_pointer": "",
14308+
"schema": {
14309+
"$id": "#detached",
14310+
"type": "integer"
14311+
},
14312+
"schema_pointer": "/definitions/detached",
14313+
"root_schema": {
14314+
"$id": "http://localhost:1234/draft7/detached-ref.json",
14315+
"$schema": "http://json-schema.org/draft-07/schema#",
14316+
"definitions": {
14317+
"foo": {
14318+
"$ref": "#detached"
14319+
},
14320+
"detached": {
14321+
"$id": "#detached",
14322+
"type": "integer"
14323+
}
14324+
}
14325+
},
14326+
"type": "integer"
14327+
}
14328+
]
1429914329
]
1430014330
],
1430114331
"JSON-Schema-Test-Suite/tests/draft7/required.json": [

0 commit comments

Comments
 (0)