diff options
Diffstat (limited to 'json/tests/draft-next/dependentSchemas.json')
-rw-r--r-- | json/tests/draft-next/dependentSchemas.json | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/json/tests/draft-next/dependentSchemas.json b/json/tests/draft-next/dependentSchemas.json index e7921d1..2ba1a75 100644 --- a/json/tests/draft-next/dependentSchemas.json +++ b/json/tests/draft-next/dependentSchemas.json @@ -36,6 +36,21 @@ "description": "wrong type both", "data": {"foo": "quux", "bar": "quux"}, "valid": false + }, + { + "description": "ignores arrays", + "data": ["bar"], + "valid": true + }, + { + "description": "ignores strings", + "data": "foobar", + "valid": true + }, + { + "description": "ignores other non-objects", + "data": 12, + "valid": true } ] }, |