Skip to content

Commit 2627a61

Browse files
authored
Adding schema to colleciton
1 parent 8b377f7 commit 2627a61

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

schema/iiif_3_0.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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)