diff options
Diffstat (limited to 'src/s3select/rapidjson/bin/jsonschema/tests/draft4/definitions.json')
-rw-r--r-- | src/s3select/rapidjson/bin/jsonschema/tests/draft4/definitions.json | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/s3select/rapidjson/bin/jsonschema/tests/draft4/definitions.json b/src/s3select/rapidjson/bin/jsonschema/tests/draft4/definitions.json new file mode 100644 index 000000000..cf935a321 --- /dev/null +++ b/src/s3select/rapidjson/bin/jsonschema/tests/draft4/definitions.json @@ -0,0 +1,32 @@ +[ + { + "description": "valid definition", + "schema": {"$ref": "http://json-schema.org/draft-04/schema#"}, + "tests": [ + { + "description": "valid definition schema", + "data": { + "definitions": { + "foo": {"type": "integer"} + } + }, + "valid": true + } + ] + }, + { + "description": "invalid definition", + "schema": {"$ref": "http://json-schema.org/draft-04/schema#"}, + "tests": [ + { + "description": "invalid definition schema", + "data": { + "definitions": { + "foo": {"type": 1} + } + }, + "valid": false + } + ] + } +] |