From e55c5b1c09d71ff3e2b338d4a87e3147ceeb4e8b Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Thu, 11 Sep 2025 23:03:43 +0200 Subject: [PATCH] Fixing validation issue --- schema/iiif_3_0.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/schema/iiif_3_0.json b/schema/iiif_3_0.json index 573b6bf..e6dba2d 100644 --- a/schema/iiif_3_0.json +++ b/schema/iiif_3_0.json @@ -173,7 +173,8 @@ "properties": { "id": { "$ref": "#/types/id" }, "type": { - "type": "string" + "type": "string", + "not": { "enum": ["TextualBody", "SpecificResource" ]} }, "height": { "$ref": "#/types/dimension" }, "width": { "$ref": "#/types/dimension" }, @@ -1034,7 +1035,7 @@ { "$ref": "#/classes/specificResource" } - ] + ] }, "specificResource": { "type": "object", @@ -1050,7 +1051,7 @@ "source": { "oneOf": [ { "$ref": "#/types/id" }, - { "$ref": "#/types/class" } + { "$ref": "#/classes/resource" } ] }, "scope": { "$ref": "#/types/id"},