Skip to content

Commit d113ac5

Browse files
authored
Merge pull request #186 from IIIF/iiif_prezi3_fixes
Requiring items if this is a manifest
2 parents 5848475 + 529bf81 commit d113ac5

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

schema/iiif_3_0.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,9 @@
215215
"language": { "type": "string"}
216216
},
217217
"required": ["value", "type"]
218+
},
219+
{
220+
"$ref": "#/classes/specificResource"
218221
}
219222
]
220223
},
@@ -235,7 +238,9 @@
235238
"items": {
236239
"oneOf": [
237240
{
241+
"type": "object",
238242
"title": "serviceV3",
243+
"additionalProperties": true,
239244
"allOf": [
240245
{ "$ref": "#/types/class" },
241246
{
@@ -250,6 +255,7 @@
250255
{
251256
"type": "object",
252257
"title": "serviceV2",
258+
"additionalProperties": true,
253259
"properties": {
254260
"@id": { "$ref": "#/types/id" },
255261
"@type": { "type": "string" },
@@ -551,7 +557,7 @@
551557
}
552558
}
553559
},
554-
"required": ["id", "type", "label"]
560+
"required": ["id", "type", "label", "items"]
555561
}
556562
]
557563
},
@@ -947,6 +953,8 @@
947953
{ "$ref": "#/types/class" },
948954
{
949955
"type": "object",
956+
"additionalProperties": true,
957+
"title": "Annotation",
950958
"properties": {
951959
"type": {
952960
"type": "string",

0 commit comments

Comments
 (0)