From fcef65ad561f49cdefb9c16e5515bafd1114c2a7 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 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/resources/draftv4/schema b/src/main/resources/draftv4/schema index 85eb502a6..bcbb84743 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" },