diff options
Diffstat (limited to 'json/tests/draft6/additionalItems.json')
-rw-r--r-- | json/tests/draft6/additionalItems.json | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/json/tests/draft6/additionalItems.json b/json/tests/draft6/additionalItems.json index 784bc84..454142b 100644 --- a/json/tests/draft6/additionalItems.json +++ b/json/tests/draft6/additionalItems.json @@ -145,5 +145,20 @@ "valid": false } ] + }, + { + "description": "additionalItems should properly handle null data", + "schema": { + "additionalItems": { + "type": "null" + } + }, + "tests": [ + { + "description": "null items allowed", + "data": [ null ], + "valid": true + } + ] } ] |