diff options
Diffstat (limited to '3rdparty/rapidjson/bin/jsonschema/tests/draft4/maxItems.json')
-rw-r--r-- | 3rdparty/rapidjson/bin/jsonschema/tests/draft4/maxItems.json | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/3rdparty/rapidjson/bin/jsonschema/tests/draft4/maxItems.json b/3rdparty/rapidjson/bin/jsonschema/tests/draft4/maxItems.json index 3b53a6b371a..5f5c963b656 100644 --- a/3rdparty/rapidjson/bin/jsonschema/tests/draft4/maxItems.json +++ b/3rdparty/rapidjson/bin/jsonschema/tests/draft4/maxItems.json @@ -1,28 +1,28 @@ -[ - { - "description": "maxItems validation", - "schema": {"maxItems": 2}, - "tests": [ - { - "description": "shorter is valid", - "data": [1], - "valid": true - }, - { - "description": "exact length is valid", - "data": [1, 2], - "valid": true - }, - { - "description": "too long is invalid", - "data": [1, 2, 3], - "valid": false - }, - { - "description": "ignores non-arrays", - "data": "foobar", - "valid": true - } - ] - } -] +[
+ {
+ "description": "maxItems validation",
+ "schema": {"maxItems": 2},
+ "tests": [
+ {
+ "description": "shorter is valid",
+ "data": [1],
+ "valid": true
+ },
+ {
+ "description": "exact length is valid",
+ "data": [1, 2],
+ "valid": true
+ },
+ {
+ "description": "too long is invalid",
+ "data": [1, 2, 3],
+ "valid": false
+ },
+ {
+ "description": "ignores non-arrays",
+ "data": "foobar",
+ "valid": true
+ }
+ ]
+ }
+]
|