Skip to content

Commit 455c3c3

Browse files
committed
Merge branch 'main' into glenrobson-patch-1
2 parents 1d1eb9d + 17f04fa commit 455c3c3

1 file changed

Lines changed: 18 additions & 2 deletions

File tree

schema/iiif_3_0.json

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@
237237
"id": { "$ref": "#/types/id" },
238238
"type": {
239239
"type": "string",
240-
"not": { "enum": ["TextualBody", "SpecificResource" ]}
240+
"not": { "enum": ["TextualBody", "SpecificResource", "Feature" ]}
241241
},
242242
"height": { "$ref": "#/types/dimension" },
243243
"width": { "$ref": "#/types/dimension" },
@@ -305,7 +305,7 @@
305305
{
306306
"$ref": "#/classes/choice"
307307
},
308-
{ "$ref": "#/classes/geoJSONFeature" }
308+
{ "$ref": "#/types/geoJSONFeature" }
309309
]
310310
},
311311
"imgSvr": {
@@ -519,6 +519,22 @@
519519
{
520520
"type": "object",
521521
"properties": {
522+
"@context": {
523+
"oneOf": [
524+
{
525+
"type": "array",
526+
"items": {
527+
"type": "string",
528+
"format": "uri",
529+
"pattern": "^http.*$"
530+
}
531+
},
532+
{
533+
"type": "string",
534+
"const": "http://iiif.io/api/presentation/3/context.json"
535+
}
536+
]
537+
},
522538
"type": {
523539
"type": "string",
524540
"pattern": "^Collection",

0 commit comments

Comments
 (0)