From d926174afd0a970cb9b4e8778cac00f2714fc8de Mon Sep 17 00:00:00 2001 From: Steffen Pankratz Date: Tue, 19 Apr 2016 22:05:24 +0200 Subject: [PATCH 1/2] - replaced tab with spaces Signed-off-by: Steffen Pankratz --- nodelist-schema-1.0.1.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodelist-schema-1.0.1.json b/nodelist-schema-1.0.1.json index 4ee96f6..fc8100d 100755 --- a/nodelist-schema-1.0.1.json +++ b/nodelist-schema-1.0.1.json @@ -9,7 +9,7 @@ "enum" : ["1.0.1"], "default" : "1.0.1", "required" : true - }, + }, "updated_at": { "type": "string" }, From 2b53fd37dc88b4c53494f57b5920e8d8bad6e94a Mon Sep 17 00:00:00 2001 From: Steffen Pankratz Date: Tue, 19 Apr 2016 22:17:24 +0200 Subject: [PATCH 2/2] - fixed invalid JSON Schema Draft 4 Signed-off-by: Steffen Pankratz --- nodelist-schema-1.0.1.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/nodelist-schema-1.0.1.json b/nodelist-schema-1.0.1.json index fc8100d..4bf4147 100755 --- a/nodelist-schema-1.0.1.json +++ b/nodelist-schema-1.0.1.json @@ -1,5 +1,5 @@ { - "$schema": "http://json-schema.org/draft-03/schema#", + "$schema": "http://json-schema.org/draft-04/schema#", "description": "nodelistjson schema", "type": "object", "required" : ["version"], @@ -7,8 +7,7 @@ "version": { "type": "string", "enum" : ["1.0.1"], - "default" : "1.0.1", - "required" : true + "default" : "1.0.1" }, "updated_at": { "type": "string"