summaryrefslogtreecommitdiff
path: root/tests/draft2020-12/dependentSchemas.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/draft2020-12/dependentSchemas.json')
-rw-r--r--tests/draft2020-12/dependentSchemas.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/draft2020-12/dependentSchemas.json b/tests/draft2020-12/dependentSchemas.json
index e7921d1..2ba1a75 100644
--- a/tests/draft2020-12/dependentSchemas.json
+++ b/tests/draft2020-12/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
}
]
},