diff --git a/tests/draft4/definitions.json b/tests/draft4/definitions.json index cf935a32..57f4f4ab 100644 --- a/tests/draft4/definitions.json +++ b/tests/draft4/definitions.json @@ -1,32 +1,20 @@ [ { "description": "valid definition", - "schema": {"$ref": "http://json-schema.org/draft-04/schema#"}, - "tests": [ - { - "description": "valid definition schema", - "data": { - "definitions": { - "foo": {"type": "integer"} - } - }, - "valid": true + "schema": { + "definitions": { + "foo": { "type": "integer" } } - ] + }, + "tests": [] }, { "description": "invalid definition", - "schema": {"$ref": "http://json-schema.org/draft-04/schema#"}, - "tests": [ - { - "description": "invalid definition schema", - "data": { - "definitions": { - "foo": {"type": 1} - } - }, - "valid": false + "schema": { + "definitions": { + "foo": { "type": 1 } } - ] + }, + "valid": false } ]