Skip to content

Instantly share code, notes, and snippets.

@sdellis
Last active September 16, 2016 12:17
Show Gist options
  • Save sdellis/5d3b0da75c4b301ecbeb to your computer and use it in GitHub Desktop.
Save sdellis/5d3b0da75c4b301ecbeb to your computer and use it in GitHub Desktop.
IIIF Manifest Sample with multiple 'within' values
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "http://iiif.io/api/presentation/2.0/example/fixtures/20/manifest.json",
"@type": "sc:Manifest",
"label": "Test 20 Manifest: Multiple Sequences",
"within": [{
"collection-a" : "http://iiif.io/api/presentation/2.0/example/fixtures/collection-a.json",
"collection-b" : "http://iiif.io/api/presentation/2.0/example/fixtures/collection-b.json"
}],
"sequences": [
{
"@type": "sc:Sequence",
"label": "Test 20 Sequence 1",
"canvases": [
{
"@id": "http://iiif.io/api/presentation/2.0/example/fixtures/canvas/20/c1.json",
"@type": "sc:Canvas",
"label": "Test 20 Canvas: 1",
"height": 1800,
"width": 1200,
"images": [
{
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"@id": "http://iiif.io/api/presentation/2.0/example/fixtures/resources/page1-full.png",
"@type": "dctypes:Image",
"height": 1800,
"width": 1200
},
"on": "http://iiif.io/api/presentation/2.0/example/fixtures/canvas/20/c1.json"
}
]
}
]
},
{
"@type": "sc:Sequence",
"label": "Test 20 Sequence 2",
"canvases": [
{
"@id": "http://iiif.io/api/presentation/2.0/example/fixtures/canvas/20/c1.json",
"@type": "sc:Canvas",
"label": "Test 20 Canvas: 1",
"height": 1800,
"width": 1200,
"images": [
{
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"@id": "http://iiif.io/api/presentation/2.0/example/fixtures/resources/page1-full.png",
"@type": "dctypes:Image",
"height": 1800,
"width": 1200
},
"on": "http://iiif.io/api/presentation/2.0/example/fixtures/canvas/20/c1.json"
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment