From 47f4680c2a5faf478d007d40ebd94956f19c42d3 Mon Sep 17 00:00:00 2001 From: Ottomata Date: Wed, 17 Jul 2024 09:17:52 -0400 Subject: [PATCH] Update draft4/schema to match current version of official draft-04/schema fixes java-json-tools/json-schema-validator#401 --- src/main/resources/draftv4/schema | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/resources/draftv4/schema b/src/main/resources/draftv4/schema index 85eb502a6..476d01d2f 100644 --- a/src/main/resources/draftv4/schema +++ b/src/main/resources/draftv4/schema @@ -28,12 +28,10 @@ "type": "object", "properties": { "id": { - "type": "string", - "format": "uri" + "type": "string" }, "$schema": { - "type": "string", - "format": "uri" + "type": "string" }, "title": { "type": "string" @@ -137,6 +135,7 @@ } ] }, + "format": { "type": "string" }, "allOf": { "$ref": "#/definitions/schemaArray" }, "anyOf": { "$ref": "#/definitions/schemaArray" }, "oneOf": { "$ref": "#/definitions/schemaArray" }, @@ -147,4 +146,4 @@ "exclusiveMinimum": [ "minimum" ] }, "default": {} -} +} \ No newline at end of file