Skip to content

Commit 6680a00

Browse files
committed
fixed typo in type declaration: surround with quotes
1 parent 257f522 commit 6680a00

30 files changed

+35
-35
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ If you suspect one, please [file an issue](https://github.com/json-schema-org/JS
165165
{
166166
"description": "Invalid: null",
167167
"data": {
168-
"type": null
168+
"type": "null"
169169
},
170170
"valid": false
171171
}

tests/draft-next/additionalProperties.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
"description": "additionalProperties should properly handle null data",
135135
"schema": {
136136
"additionalProperties": {
137-
"type": null
137+
"type": "null"
138138
}
139139
},
140140
"tests": [

tests/draft-next/items.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@
257257
"description": "items should properly handle null data",
258258
"schema": {
259259
"items": {
260-
"type": null
260+
"type": "null"
261261
}
262262
},
263263
"tests": [

tests/draft-next/prefixItems.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"schema": {
8484
"items": [
8585
{
86-
"type": null
86+
"type": "null"
8787
}
8888
]
8989
},

tests/draft2019-09/additionalItems.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
"description": "additionalItems should properly handle null data",
151151
"schema": {
152152
"additionalItems": {
153-
"type": null
153+
"type": "null"
154154
}
155155
},
156156
"tests": [

tests/draft2019-09/additionalProperties.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
"description": "additionalProperties should properly handle null data",
135135
"schema": {
136136
"additionalProperties": {
137-
"type": null
137+
"type": "null"
138138
}
139139
},
140140
"tests": [

tests/draft2019-09/contains.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
"description": "contains should properly handle null data",
152152
"schema": {
153153
"contains": {
154-
"type": null
154+
"type": "null"
155155
}
156156
},
157157
"tests": [

tests/draft2019-09/items.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@
251251
"description": "single-form items should properly handle null data",
252252
"schema": {
253253
"items": {
254-
"type": null
254+
"type": "null"
255255
}
256256
},
257257
"tests": [
@@ -267,7 +267,7 @@
267267
"schema": {
268268
"items": [
269269
{
270-
"type": null
270+
"type": "null"
271271
}
272272
]
273273
},

tests/draft2019-09/unevaluatedItems.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@
520520
"description": "unevaluatedItems should properly handle null data",
521521
"schema": {
522522
"unevaluatedItems": {
523-
"type": null
523+
"type": "null"
524524
}
525525
},
526526
"tests": [

tests/draft2019-09/unevaluatedProperties.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1348,7 +1348,7 @@
13481348
"description": "unevaluatedProperties should properly handle null data",
13491349
"schema": {
13501350
"unevaluatedProperties": {
1351-
"type": null
1351+
"type": "null"
13521352
}
13531353
},
13541354
"tests": [

0 commit comments

Comments
 (0)