Skip to content

Commit 5b2be6c

Browse files
Fix specification links in draft2020-12 type tests
1 parent 9b04054 commit 5b2be6c

1 file changed

Lines changed: 54 additions & 44 deletions

File tree

tests/draft2020-12/type.json

Lines changed: 54 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[
22
{
33
"description": "integer type matches integers",
4-
"specification": [{
5-
"validation":"6.1.1",
6-
"url": "https://json-schema.org/draft/2020-12/json-schema-validation#name-type"
7-
}],
4+
"specification": [
5+
{
6+
"validation": "8.2.1"
7+
}],
88
"schema": {
99
"$schema": "https://json-schema.org/draft/2020-12/schema",
1010
"type": "integer"
@@ -59,10 +59,11 @@
5959
},
6060
{
6161
"description": "number type matches numbers",
62-
"specification": [{
63-
"validation":"6.1.1",
64-
"url": "https://json-schema.org/draft/2020-12/json-schema-validation#name-type"
65-
}],
62+
"specification": [
63+
{
64+
"validation": "8.2.1"
65+
}],
66+
6667
"schema": {
6768
"$schema": "https://json-schema.org/draft/2020-12/schema",
6869
"type": "number"
@@ -117,10 +118,11 @@
117118
},
118119
{
119120
"description": "string type matches strings",
120-
"specification": [{
121-
"validation":"6.1.1",
122-
"url": "https://json-schema.org/draft/2020-12/json-schema-validation#name-type"
123-
}],
121+
"specification": [
122+
{
123+
"validation": "8.2.1"
124+
}],
125+
124126
"schema": {
125127
"$schema": "https://json-schema.org/draft/2020-12/schema",
126128
"type": "string"
@@ -175,10 +177,11 @@
175177
},
176178
{
177179
"description": "object type matches objects",
178-
"specification": [{
179-
"validation":"6.1.1",
180-
"url": "https://json-schema.org/draft/2020-12/json-schema-validation#name-type"
181-
}],
180+
"specification": [
181+
{
182+
"validation": "8.2.1"
183+
}],
184+
182185
"schema": {
183186
"$schema": "https://json-schema.org/draft/2020-12/schema",
184187
"type": "object"
@@ -223,10 +226,11 @@
223226
},
224227
{
225228
"description": "array type matches arrays",
226-
"specification": [{
227-
"validation":"6.1.1",
228-
"url": "https://json-schema.org/draft/2020-12/json-schema-validation#name-type"
229-
}],
229+
"specification": [
230+
{
231+
"validation": "8.2.1"
232+
}],
233+
230234
"schema": {
231235
"$schema": "https://json-schema.org/draft/2020-12/schema",
232236
"type": "array"
@@ -271,10 +275,11 @@
271275
},
272276
{
273277
"description": "boolean type matches booleans",
274-
"specification": [{
275-
"validation":"6.1.1",
276-
"url": "https://json-schema.org/draft/2020-12/json-schema-validation#name-type"
277-
}],
278+
"specification": [
279+
{
280+
"validation": "8.2.1"
281+
}],
282+
278283
"schema": {
279284
"$schema": "https://json-schema.org/draft/2020-12/schema",
280285
"type": "boolean"
@@ -334,10 +339,11 @@
334339
},
335340
{
336341
"description": "null type matches only the null object",
337-
"specification": [{
338-
"validation":"6.1.1",
339-
"url": "https://json-schema.org/draft/2020-12/json-schema-validation#name-type"
340-
}],
342+
"specification": [
343+
{
344+
"validation": "8.2.1"
345+
}],
346+
341347
"schema": {
342348
"$schema": "https://json-schema.org/draft/2020-12/schema",
343349
"type": "null"
@@ -397,10 +403,11 @@
397403
},
398404
{
399405
"description": "multiple types can be specified in an array",
400-
"specification": [{
401-
"validation":"6.1.1",
402-
"url": "https://json-schema.org/draft/2020-12/json-schema-validation#name-type"
403-
}],
406+
"specification": [
407+
{
408+
"validation": "8.2.1"
409+
}],
410+
404411
"schema": {
405412
"$schema": "https://json-schema.org/draft/2020-12/schema",
406413
"type": ["integer", "string"]
@@ -445,10 +452,11 @@
445452
},
446453
{
447454
"description": "type as array with one item",
448-
"specification": [{
449-
"validation":"6.1.1",
450-
"url": "https://json-schema.org/draft/2020-12/json-schema-validation#name-type"
451-
}],
455+
"specification": [
456+
{
457+
"validation": "8.2.1"
458+
}],
459+
452460
"schema": {
453461
"$schema": "https://json-schema.org/draft/2020-12/schema",
454462
"type": ["string"]
@@ -468,10 +476,11 @@
468476
},
469477
{
470478
"description": "type: array or object",
471-
"specification": [{
472-
"validation":"6.1.1",
473-
"url": "https://json-schema.org/draft/2020-12/json-schema-validation#name-type"
474-
}],
479+
"specification": [
480+
{
481+
"validation": "8.2.1"
482+
}],
483+
475484
"schema": {
476485
"$schema": "https://json-schema.org/draft/2020-12/schema",
477486
"type": ["array", "object"]
@@ -506,10 +515,11 @@
506515
},
507516
{
508517
"description": "type: array, object or null",
509-
"specification": [{
510-
"validation":"6.1.1",
511-
"url": "https://json-schema.org/draft/2020-12/json-schema-validation#name-type"
512-
}],
518+
"specification": [
519+
{
520+
"validation": "8.2.1"
521+
}],
522+
513523
"schema": {
514524
"$schema": "https://json-schema.org/draft/2020-12/schema",
515525
"type": ["array", "object", "null"]

0 commit comments

Comments
 (0)