Skip to content

Instantly share code, notes, and snippets.

@cfitz
Created September 14, 2016 08:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cfitz/a61c518bce3291c02ddeeec52127928c to your computer and use it in GitHub Desktop.
Save cfitz/a61c518bce3291c02ddeeec52127928c to your computer and use it in GitHub Desktop.
iip manifests
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "http://loris-dev.dlts.org/loris//manifest.json",
"@type": "sc:Manifest",
"label": "NYU Example",
"thumbnail": "http://loris-dev.dlts.org/loris/AD-MC-002_ref1000_n000001_m.tif/full/!200,200/0/default.jpg",
"viewingHint": "paged",
"metadata": [
{
"Foo": "Bar"
},
{
"Bazzers": [
"Quux",
"Corge"
]
}
],
"sequences": [
{
"@type": "sc:Sequence",
"canvases": [
{
"@id": "http://loris-dev.dlts.org/loris/AD-MC-002_ref1000_n000001_m.tif",
"@type": "sc:Canvas",
"label": "Image 1",
"width": 4800,
"height": 5062,
"images": [
{
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"@id": "http://loris-dev.dlts.org/loris/AD-MC-002_ref1000_n000001_m.tif/full/!200,200/0/default.jpg",
"@type": "dcterms:Image",
"format": "image/jpeg",
"width": 4800,
"height": 5062,
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "http://loris-dev.dlts.org/loris/AD-MC-002_ref1000_n000001_m.tif",
"profile": "http://iiif.io/api/image/2/level2.json"
}
}
}
]
},
{
"@id": "http://loris-dev.dlts.org/loris/AD-MC-002_ref1001_n000001_m.tif",
"@type": "sc:Canvas",
"label": "Image 2",
"width": 3591,
"height": 3375,
"images": [
{
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"@id": "http://loris-dev.dlts.org/loris/AD-MC-002_ref1001_n000001_m.tif/full/!200,200/0/default.jpg",
"@type": "dcterms:Image",
"format": "image/jpeg",
"width": 3591,
"height": 3375,
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "http://loris-dev.dlts.org/loris/AD-MC-002_ref1001_n000001_m.tif",
"profile": "http://iiif.io/api/image/2/level2.json"
}
}
}
]
},
{
"@id": "http://loris-dev.dlts.org/loris/AD-MC-002_ref1001_n000002_m.tif",
"@type": "sc:Canvas",
"label": "Image 3",
"width": 3591,
"height": 3375,
"images": [
{
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"@id": "http://loris-dev.dlts.org/loris/AD-MC-002_ref1001_n000002_m.tif/full/!200,200/0/default.jpg",
"@type": "dcterms:Image",
"format": "image/jpeg",
"width": 3591,
"height": 3375,
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "http://loris-dev.dlts.org/loris/AD-MC-002_ref1001_n000002_m.tif",
"profile": "http://iiif.io/api/image/2/level2.json"
}
}
}
]
},
{
"@id": "http://loris-dev.dlts.org/loris/AD-MC-002_ref1002_n000001_m.tif",
"@type": "sc:Canvas",
"label": "Image 4",
"width": 3591,
"height": 3375,
"images": [
{
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"@id": "http://loris-dev.dlts.org/loris/AD-MC-002_ref1002_n000001_m.tif/full/!200,200/0/default.jpg",
"@type": "dcterms:Image",
"format": "image/jpeg",
"width": 3591,
"height": 3375,
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "http://loris-dev.dlts.org/loris/AD-MC-002_ref1002_n000001_m.tif",
"profile": "http://iiif.io/api/image/2/level2.json"
}
}
}
]
},
{
"@id": "http://loris-dev.dlts.org/loris/AD-MC-002_ref100_n000001_m.tif",
"@type": "sc:Canvas",
"label": "Image 5",
"width": 3318,
"height": 3269,
"images": [
{
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"@id": "http://loris-dev.dlts.org/loris/AD-MC-002_ref100_n000001_m.tif/full/!200,200/0/default.jpg",
"@type": "dcterms:Image",
"format": "image/jpeg",
"width": 3318,
"height": 3269,
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "http://loris-dev.dlts.org/loris/AD-MC-002_ref100_n000001_m.tif",
"profile": "http://iiif.io/api/image/2/level2.json"
}
}
}
]
},
{
"@id": "http://loris-dev.dlts.org/loris/AD-MC-002_ref100_n000002_m.tif",
"@type": "sc:Canvas",
"label": "Image 6",
"width": 3318,
"height": 3269,
"images": [
{
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"@id": "http://loris-dev.dlts.org/loris/AD-MC-002_ref100_n000002_m.tif/full/!200,200/0/default.jpg",
"@type": "dcterms:Image",
"format": "image/jpeg",
"width": 3318,
"height": 3269,
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "http://loris-dev.dlts.org/loris/AD-MC-002_ref100_n000002_m.tif",
"profile": "http://iiif.io/api/image/2/level2.json"
}
}
}
]
},
{
"@id": "http://loris-dev.dlts.org/loris/AD-MC-002_ref10_n000001_m.tif",
"@type": "sc:Canvas",
"label": "Image 7",
"width": 3468,
"height": 3186,
"images": [
{
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"@id": "http://loris-dev.dlts.org/loris/AD-MC-002_ref10_n000001_m.tif/full/!200,200/0/default.jpg",
"@type": "dcterms:Image",
"format": "image/jpeg",
"width": 3468,
"height": 3186,
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "http://loris-dev.dlts.org/loris/AD-MC-002_ref10_n000001_m.tif",
"profile": "http://iiif.io/api/image/2/level2.json"
}
}
}
]
},
{
"@id": "http://loris-dev.dlts.org/loris/sample.jp2",
"@type": "sc:Canvas",
"label": "Image 8",
"width": 4096,
"height": 2804,
"images": [
{
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"@id": "http://loris-dev.dlts.org/loris/sample.jp2/full/!200,200/0/default.jpg",
"@type": "dcterms:Image",
"format": "image/jpeg",
"width": 4096,
"height": 2804,
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "http://loris-dev.dlts.org/loris/sample.jp2",
"profile": "http://iiif.io/api/image/2/level2.json"
}
}
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment