Skip to content

Commit 14baa08

Browse files
Update type.json tests for draft 2020-12
1 parent f927200 commit 14baa08

1 file changed

Lines changed: 11 additions & 22 deletions

File tree

tests/draft2020-12/type.json

Lines changed: 11 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
{
33
"description": "integer type matches integers",
44
"specification": [{
5-
"vocabulary": "validation",
6-
"section": "6.1",
5+
"validation":"6.1.1.",
76
"url": "https://json-schema.org/draft/2020-12/json-schema-validation#type"
87
}],
98
"schema": {
@@ -61,8 +60,7 @@
6160
{
6261
"description": "number type matches numbers",
6362
"specification": [{
64-
"vocabulary": "validation",
65-
"section": "6.1",
63+
"validation":"6.1.1.",
6664
"url": "https://json-schema.org/draft/2020-12/json-schema-validation#type"
6765
}],
6866
"schema": {
@@ -120,8 +118,7 @@
120118
{
121119
"description": "string type matches strings",
122120
"specification": [{
123-
"vocabulary": "validation",
124-
"section": "6.1",
121+
"validation":"6.1.1.",
125122
"url": "https://json-schema.org/draft/2020-12/json-schema-validation#type"
126123
}],
127124
"schema": {
@@ -179,8 +176,7 @@
179176
{
180177
"description": "object type matches objects",
181178
"specification": [{
182-
"vocabulary": "validation",
183-
"section": "6.1",
179+
"validation":"6.1.1.",
184180
"url": "https://json-schema.org/draft/2020-12/json-schema-validation#type"
185181
}],
186182
"schema": {
@@ -228,8 +224,7 @@
228224
{
229225
"description": "array type matches arrays",
230226
"specification": [{
231-
"vocabulary": "validation",
232-
"section": "6.1",
227+
"validation":"6.1.1.",
233228
"url": "https://json-schema.org/draft/2020-12/json-schema-validation#type"
234229
}],
235230
"schema": {
@@ -277,8 +272,7 @@
277272
{
278273
"description": "boolean type matches booleans",
279274
"specification": [{
280-
"vocabulary": "validation",
281-
"section": "6.1",
275+
"validation":"6.1.1.",
282276
"url": "https://json-schema.org/draft/2020-12/json-schema-validation#type"
283277
}],
284278
"schema": {
@@ -341,8 +335,7 @@
341335
{
342336
"description": "null type matches only the null object",
343337
"specification": [{
344-
"vocabulary": "validation",
345-
"section": "6.1",
338+
"validation":"6.1.1.",
346339
"url": "https://json-schema.org/draft/2020-12/json-schema-validation#type"
347340
}],
348341
"schema": {
@@ -405,8 +398,7 @@
405398
{
406399
"description": "multiple types can be specified in an array",
407400
"specification": [{
408-
"vocabulary": "validation",
409-
"section": "6.1",
401+
"validation":"6.1.1.",
410402
"url": "https://json-schema.org/draft/2020-12/json-schema-validation#type"
411403
}],
412404
"schema": {
@@ -454,8 +446,7 @@
454446
{
455447
"description": "type as array with one item",
456448
"specification": [{
457-
"vocabulary": "validation",
458-
"section": "6.1",
449+
"validation":"6.1.1.",
459450
"url": "https://json-schema.org/draft/2020-12/json-schema-validation#type"
460451
}],
461452
"schema": {
@@ -478,8 +469,7 @@
478469
{
479470
"description": "type: array or object",
480471
"specification": [{
481-
"vocabulary": "validation",
482-
"section": "6.1",
472+
"validation":"6.1.1.",
483473
"url": "https://json-schema.org/draft/2020-12/json-schema-validation#type"
484474
}],
485475
"schema": {
@@ -517,8 +507,7 @@
517507
{
518508
"description": "type: array, object or null",
519509
"specification": [{
520-
"vocabulary": "validation",
521-
"section": "6.1",
510+
"validation":"6.1.1.",
522511
"url": "https://json-schema.org/draft/2020-12/json-schema-validation#type"
523512
}],
524513
"schema": {

0 commit comments

Comments
 (0)