From fdb43b99f5a3c14b9b3676a461f03dfa9b98d78d Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Mon, 1 Sep 2025 17:20:53 +0100 Subject: [PATCH 1/8] Requiring items if this is a manifest --- schema/iiif_3_0.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema/iiif_3_0.json b/schema/iiif_3_0.json index 0f3ff52..30a3667 100644 --- a/schema/iiif_3_0.json +++ b/schema/iiif_3_0.json @@ -551,7 +551,7 @@ } } }, - "required": ["id", "type", "label"] + "required": ["id", "type", "label", "items"] } ] }, From de2ca9379f33ed0d0e4a7923921f51d11864abd9 Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Mon, 1 Sep 2025 17:47:56 +0100 Subject: [PATCH 2/8] Allowing additional properties on annotations --- schema/iiif_3_0.json | 1 + 1 file changed, 1 insertion(+) diff --git a/schema/iiif_3_0.json b/schema/iiif_3_0.json index 30a3667..3d962a8 100644 --- a/schema/iiif_3_0.json +++ b/schema/iiif_3_0.json @@ -1012,6 +1012,7 @@ ] } }, + "additionalProperties": true, "required": ["id", "target", "type"] } ] From 4513d14bf4f56db0f7efed2b24fef5f565499654 Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Mon, 1 Sep 2025 17:52:16 +0100 Subject: [PATCH 3/8] Moving additional properties for annotations --- schema/iiif_3_0.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema/iiif_3_0.json b/schema/iiif_3_0.json index 3d962a8..0be634d 100644 --- a/schema/iiif_3_0.json +++ b/schema/iiif_3_0.json @@ -947,6 +947,7 @@ { "$ref": "#/types/class" }, { "type": "object", + "additionalProperties": true, "properties": { "type": { "type": "string", @@ -1012,7 +1013,6 @@ ] } }, - "additionalProperties": true, "required": ["id", "target", "type"] } ] From e8263d30e2184fa34b4a99788c17c434d4e03939 Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Mon, 1 Sep 2025 17:54:17 +0100 Subject: [PATCH 4/8] Giving annotation a title --- schema/iiif_3_0.json | 1 + 1 file changed, 1 insertion(+) diff --git a/schema/iiif_3_0.json b/schema/iiif_3_0.json index 0be634d..fd294d8 100644 --- a/schema/iiif_3_0.json +++ b/schema/iiif_3_0.json @@ -948,6 +948,7 @@ { "type": "object", "additionalProperties": true, + "title": "Annotation", "properties": { "type": { "type": "string", From e07348db45ea06ed546e9273fd1f0f9373356e1c Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Mon, 1 Sep 2025 18:05:22 +0100 Subject: [PATCH 5/8] Allowing more properties on Service v2 and v3 --- schema/iiif_3_0.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/schema/iiif_3_0.json b/schema/iiif_3_0.json index fd294d8..4208b62 100644 --- a/schema/iiif_3_0.json +++ b/schema/iiif_3_0.json @@ -240,6 +240,7 @@ { "$ref": "#/types/class" }, { "type": "object", + "additionalProperties": true, "properties": { "profile": { "type": "string" }, "service": { "$ref": "#/classes/service" } @@ -250,6 +251,7 @@ { "type": "object", "title": "serviceV2", + "additionalProperties": true, "properties": { "@id": { "$ref": "#/types/id" }, "@type": { "type": "string" }, From 0be9f27069fb03892fc8a3f8b7cc8d753cdeac22 Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Mon, 1 Sep 2025 18:11:13 +0100 Subject: [PATCH 6/8] Getting level of additionalProperties correct --- schema/iiif_3_0.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema/iiif_3_0.json b/schema/iiif_3_0.json index 4208b62..f5a0406 100644 --- a/schema/iiif_3_0.json +++ b/schema/iiif_3_0.json @@ -236,11 +236,11 @@ "oneOf": [ { "title": "serviceV3", + "additionalProperties": true, "allOf": [ { "$ref": "#/types/class" }, { "type": "object", - "additionalProperties": true, "properties": { "profile": { "type": "string" }, "service": { "$ref": "#/classes/service" } From 10e294b8f62d31128c454f08fb23ce5c09def6bd Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Mon, 1 Sep 2025 18:12:51 +0100 Subject: [PATCH 7/8] Trying allowing more properties with type --- schema/iiif_3_0.json | 1 + 1 file changed, 1 insertion(+) diff --git a/schema/iiif_3_0.json b/schema/iiif_3_0.json index f5a0406..1e8de55 100644 --- a/schema/iiif_3_0.json +++ b/schema/iiif_3_0.json @@ -235,6 +235,7 @@ "items": { "oneOf": [ { + "type": "object", "title": "serviceV3", "additionalProperties": true, "allOf": [ From 529bf81ee3a21a7e7d6c3c847f1809c3863d814d Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Tue, 2 Sep 2025 00:37:53 +0100 Subject: [PATCH 8/8] Allowing specific resource in the body --- schema/iiif_3_0.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/schema/iiif_3_0.json b/schema/iiif_3_0.json index 1e8de55..573b6bf 100644 --- a/schema/iiif_3_0.json +++ b/schema/iiif_3_0.json @@ -215,6 +215,9 @@ "language": { "type": "string"} }, "required": ["value", "type"] + }, + { + "$ref": "#/classes/specificResource" } ] },