diff options
Diffstat (limited to 'json/tests/draft2020-12/optional/refOfUnknownKeyword.json')
-rw-r--r-- | json/tests/draft2020-12/optional/refOfUnknownKeyword.json | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/json/tests/draft2020-12/optional/refOfUnknownKeyword.json b/json/tests/draft2020-12/optional/refOfUnknownKeyword.json deleted file mode 100644 index 5b150df..0000000 --- a/json/tests/draft2020-12/optional/refOfUnknownKeyword.json +++ /dev/null @@ -1,44 +0,0 @@ -[ - { - "description": "reference of a root arbitrary keyword ", - "schema": { - "unknown-keyword": {"type": "integer"}, - "properties": { - "bar": {"$ref": "#/unknown-keyword"} - } - }, - "tests": [ - { - "description": "match", - "data": {"bar": 3}, - "valid": true - }, - { - "description": "mismatch", - "data": {"bar": true}, - "valid": false - } - ] - }, - { - "description": "reference of an arbitrary keyword of a sub-schema", - "schema": { - "properties": { - "foo": {"unknown-keyword": {"type": "integer"}}, - "bar": {"$ref": "#/properties/foo/unknown-keyword"} - } - }, - "tests": [ - { - "description": "match", - "data": {"bar": 3}, - "valid": true - }, - { - "description": "mismatch", - "data": {"bar": true}, - "valid": false - } - ] - } -] |