summaryrefslogtreecommitdiff
path: root/json/tests/draft-next/unevaluatedProperties.json
diff options
context:
space:
mode:
Diffstat (limited to 'json/tests/draft-next/unevaluatedProperties.json')
-rw-r--r--json/tests/draft-next/unevaluatedProperties.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/json/tests/draft-next/unevaluatedProperties.json b/json/tests/draft-next/unevaluatedProperties.json
index e7865d1..0d5c4b8 100644
--- a/json/tests/draft-next/unevaluatedProperties.json
+++ b/json/tests/draft-next/unevaluatedProperties.json
@@ -1392,5 +1392,20 @@
"valid": true
}
]
+ },
+ {
+ "description": "unevaluatedProperties with null valued instance properties",
+ "schema": {
+ "unevaluatedProperties": {
+ "type": "null"
+ }
+ },
+ "tests": [
+ {
+ "description": "allows null valued properties",
+ "data": {"foo": null},
+ "valid": true
+ }
+ ]
}
]