From e1139a31c69e683ac4c4f3ddbd6cf8383406ac38 Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin Date: Wed, 15 Feb 2017 20:54:50 +0000 Subject: [PATCH] update test-schema to draft-04 --- test-schema.json | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/test-schema.json b/test-schema.json index d2d9dd0b..547c5c27 100644 --- a/test-schema.json +++ b/test-schema.json @@ -1,19 +1,21 @@ { - "$schema": "http://json-schema.org/draft-03/schema#", + "$schema": "http://json-schema.org/draft-04/schema#", "type": "array", "items": { "type": "object", + "required": ["description", "schema", "tests"], "properties": { - "description": {"type": "string", "required": true}, - "schema": {"required": true}, + "description": {"type": "string"}, + "schema": {}, "tests": { "type": "array", "items": { "type": "object", + "required": ["description", "data", "valid"], "properties": { - "description": {"type": "string", "required": true}, - "data": {"required": true}, - "valid": {"type": "boolean", "required": true} + "description": {"type": "string"}, + "data": {}, + "valid": {"type": "boolean"} }, "additionalProperties": false },