Skip to content

Instantly share code, notes, and snippets.

@ShawnWon
Created August 20, 2020 14:19
Show Gist options
  • Save ShawnWon/4fcae897995193d99c9deecf7a486149 to your computer and use it in GitHub Desktop.
Save ShawnWon/4fcae897995193d99c9deecf7a486149 to your computer and use it in GitHub Desktop.
{
"label":"A custom manifest for IIIF practice.",
"description":"A short description",
"license":"Creative Commons 4.0 by-nc-sa",
"viewingDirection":"left-to-right",
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "https://example.com/my-manifest",
"@type": "sc:Manifest",
"sequences": [
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "https://example.com/my-sequence",
"@type": "sc:Sequence",
"canvases": [
{
"@id": "https://example.com/my-canvas/1",
"@type": "sc:Canvas",
"height": 5000,
"width": 3573,
"label":"canvas number 1.",
"images": [
{
"@id": "https://example.com/annotation-1",
"@type": "oa:Annotation",
"motivation": "sc:painting",
"on": "https://example.com/my-canvas/1",
"resource": {
"@id": "https://example.com/res/1",
"@type": "dctypes:Image",
"format": "image/jpeg",
"height": 5000,
"width": 3573,
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "http://image-server.com/image1.tiff",
"profile": "http://iiif.io/api/image/2/level1.json"
}
}
},
{
"@id": "https://example.com/annotation-2",
"@type": "oa:Annotation",
"motivation": "sc:painting",
"on": "https://example.com/my-canvas/1",
"label":"alternative image for canvas 1.",
"resource": {
"@id": "https://example.com/res/1",
"@type": "dctypes:Image",
"format": "image/png",
"height": 5000,
"width": 3573,
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "http://image-server.com/image1.tiff",
"profile": "http://iiif.io/api/image/2/level1.json"
}
}
}
]
},
{
"@id": "https://example.com/my-canvas/2",
"@type": "sc:Canvas",
"height": 5000,
"width": 3573,
"label":"canvas number 2.",
"viewingHint":"facing-pages",
"images": [
{
"@id": "https://example.com/annotation-1",
"@type": "oa:Annotation",
"motivation": "sc:painting",
"on": "https://example.com/my-canvas/1",
"resource": {
"@id": "https://example.com/res/1",
"@type": "dctypes:Image",
"format": "image/jpeg",
"height": 5000,
"width": 3573,
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "http://image-server.com/image1.tiff",
"profile": "http://iiif.io/api/image/2/level1.json"
}
}
}
]
}
]
}
]
}
{
"label":"A custom manifest for IIIF practice.",
"description":"A short description",
"license":"Creative Commons 4.0 by-nc-sa",
"viewingDirection":"left-to-right",
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "https://example.com/my-manifest",
"@type": "sc:Manifest",
"sequences": [
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "https://example.com/my-sequence",
"@type": "sc:Sequence",
"canvases": [
{
"@id": "https://example.com/my-canvas/1",
"@type": "sc:Canvas",
"height": 5000,
"width": 3573,
"label":"canvas number 1.",
"images": [
{
"@id": "https://example.com/annotation-1",
"@type": "oa:Annotation",
"motivation": "sc:painting",
"on": "https://example.com/my-canvas/1",
"resource": {
"@id": "https://example.com/res/1",
"@type": "dctypes:Image",
"format": "image/jpeg",
"height": 5000,
"width": 3573,
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "http://image-server.com/image1.tiff",
"profile": "http://iiif.io/api/image/2/level1.json"
}
}
},
{
"@id": "https://example.com/annotation-2",
"@type": "oa:Annotation",
"motivation": "sc:painting",
"on": "https://example.com/my-canvas/1",
"label":"alternative image for canvas 1.",
"resource": {
"@id": "https://example.com/res/1",
"@type": "dctypes:Image",
"format": "image/png",
"height": 5000,
"width": 3573,
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "http://image-server.com/image1.tiff",
"profile": "http://iiif.io/api/image/2/level1.json"
}
}
}
]
},
{
"@id": "https://example.com/my-canvas/2",
"@type": "sc:Canvas",
"height": 5000,
"width": 3573,
"label":"canvas number 2.",
"viewingHint":"facing-pages",
"images": [
{
"@id": "https://example.com/annotation-1",
"@type": "oa:Annotation",
"motivation": "sc:painting",
"on": "https://example.com/my-canvas/1",
"resource": {
"@id": "https://example.com/res/1",
"@type": "dctypes:Image",
"format": "image/jpeg",
"height": 5000,
"width": 3573,
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "http://image-server.com/image1.tiff",
"profile": "http://iiif.io/api/image/2/level1.json"
}
}
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment