From 0e8807f73d42db5dcb66a4fe38a84334095981b2 Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Tue, 14 Apr 2026 14:13:39 +0100 Subject: [PATCH 1/2] Ensuring collection has type --- schema/iiif_3_0.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/schema/iiif_3_0.json b/schema/iiif_3_0.json index 47431a2..3904b61 100644 --- a/schema/iiif_3_0.json +++ b/schema/iiif_3_0.json @@ -672,7 +672,8 @@ "properties": { "type": { "type": "string", - "pattern": "^Collection$" + "pattern": "^Collection$", + "default": "Collection" }, "label": {"$ref": "#/types/lngString" } }, From 1d1eb9d63eac38781a0773fa55cb93cafe6a4d10 Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Wed, 6 May 2026 15:01:57 +0100 Subject: [PATCH 2/2] Adding defaults for other references --- schema/iiif_3_0.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/schema/iiif_3_0.json b/schema/iiif_3_0.json index 3904b61..bdc300e 100644 --- a/schema/iiif_3_0.json +++ b/schema/iiif_3_0.json @@ -689,7 +689,8 @@ "properties": { "type": { "type": "string", - "pattern": "^Range$" + "pattern": "^Range$", + "default": "Range" } } } @@ -703,7 +704,8 @@ "properties": { "type": { "type": "string", - "pattern": "^Canvas$" + "pattern": "^Canvas$", + "default": "Canvas" }, "partOf": { "$ref": "#/classes/partOf" @@ -727,7 +729,8 @@ "properties": { "type": { "type": "string", - "pattern": "^AnnotationPage$" + "pattern": "^AnnotationPage$", + "default": "AnnotationPage" } } }