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