diff options
Diffstat (limited to 'json/tests/draft6/minItems.json')
-rw-r--r-- | json/tests/draft6/minItems.json | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/json/tests/draft6/minItems.json b/json/tests/draft6/minItems.json index ed51188..d3b1872 100644 --- a/json/tests/draft6/minItems.json +++ b/json/tests/draft6/minItems.json @@ -24,5 +24,21 @@ "valid": true } ] + }, + { + "description": "minItems validation with a decimal", + "schema": {"minItems": 1.0}, + "tests": [ + { + "description": "longer is valid", + "data": [1, 2], + "valid": true + }, + { + "description": "too short is invalid", + "data": [], + "valid": false + } + ] } ] |