Skip to content

Instantly share code, notes, and snippets.

@regisrob
Created April 13, 2023 20:30
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 regisrob/1494078c930f4cec40c8252a3f9edc29 to your computer and use it in GitHub Desktop.
Save regisrob/1494078c930f4cec40c8252a3f9edc29 to your computer and use it in GitHub Desktop.
v3 Manifest with two top-level ranges
{
"@context": "http://iiif.io/api/presentation/3/context.json",
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/manifest.json",
"type": "Manifest",
"label": {
"en": [
"Ethiopic Ms 10"
]
},
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/canvas/p1",
"type": "Canvas",
"label": {
"en": [
"f. 1r"
]
},
"height": 2504,
"width": 1768,
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/page/p1/1",
"type": "AnnotationPage",
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/annotation/p0001-image",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://iiif.io/api/image/3.0/example/reference/d3bbf5397c6df6b894c5991195c912ab-1-21198-zz001d8m41_774608_master/full/max/0/default.jpg",
"type": "Image",
"format": "image/jpeg",
"height": 2504,
"width": 1768,
"service": [
{
"id": "https://iiif.io/api/image/3.0/example/reference/d3bbf5397c6df6b894c5991195c912ab-1-21198-zz001d8m41_774608_master",
"type": "ImageService3",
"profile": "level1"
}
]
},
"target": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/canvas/p1"
}
]
}
]
},
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/canvas/p2",
"type": "Canvas",
"label": {
"en": [
"f. 1v"
]
},
"height": 2512,
"width": 1792,
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/page/p2/1",
"type": "AnnotationPage",
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/annotation/p0002-image",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://iiif.io/api/image/3.0/example/reference/d3bbf5397c6df6b894c5991195c912ab-2-21198-zz001d8m5j_774612_master/full/max/0/default.jpg",
"type": "Image",
"format": "image/jpeg",
"height": 2512,
"width": 1792,
"service": [
{
"id": "https://iiif.io/api/image/3.0/example/reference/d3bbf5397c6df6b894c5991195c912ab-2-21198-zz001d8m5j_774612_master",
"type": "ImageService3",
"profile": "level1"
}
]
},
"target": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/canvas/p2"
}
]
}
]
},
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/canvas/p3",
"type": "Canvas",
"label": {
"en": [
"f. 2r"
]
},
"height": 2456,
"width": 1792,
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/page/p3/1",
"type": "AnnotationPage",
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/annotation/p0003-image",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://iiif.io/api/image/3.0/example/reference/d3bbf5397c6df6b894c5991195c912ab-3-21198-zz001d8tm5_775004_master/full/max/0/default.jpg",
"type": "Image",
"format": "image/jpeg",
"height": 2456,
"width": 1792,
"service": [
{
"id": "https://iiif.io/api/image/3.0/example/reference/d3bbf5397c6df6b894c5991195c912ab-3-21198-zz001d8tm5_775004_master",
"type": "ImageService3",
"profile": "level1"
}
]
},
"target": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/canvas/p3"
}
]
}
]
},
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/canvas/p4",
"type": "Canvas",
"label": {
"en": [
"f. 2v"
]
},
"height": 2440,
"width": 1760,
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/page/p4/1",
"type": "AnnotationPage",
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/annotation/p0004-image",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://iiif.io/api/image/3.0/example/reference/d3bbf5397c6df6b894c5991195c912ab-4-21198-zz001d8tnp_775007_master/full/max/0/default.jpg",
"type": "Image",
"format": "image/jpeg",
"height": 2440,
"width": 1760,
"service": [
{
"id": "https://iiif.io/api/image/3.0/example/reference/d3bbf5397c6df6b894c5991195c912ab-4-21198-zz001d8tnp_775007_master",
"type": "ImageService3",
"profile": "level1"
}
]
},
"target": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/canvas/p4"
}
]
}
]
},
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/canvas/p5",
"type": "Canvas",
"label": {
"en": [
"f. 3r"
]
},
"height": 2416,
"width": 1776,
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/page/p5/1",
"type": "AnnotationPage",
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/annotation/p0005-image",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://iiif.io/api/image/3.0/example/reference/d3bbf5397c6df6b894c5991195c912ab-5-21198-zz001d8v6f_775077_master/full/max/0/default.jpg",
"type": "Image",
"format": "image/jpeg",
"height": 2416,
"width": 1776,
"service": [
{
"id": "https://iiif.io/api/image/3.0/example/reference/d3bbf5397c6df6b894c5991195c912ab-5-21198-zz001d8v6f_775077_master",
"type": "ImageService3",
"profile": "level1"
}
]
},
"target": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/canvas/p5"
}
]
}
]
},
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/canvas/p6",
"type": "Canvas",
"label": {
"en": [
"f. 3v"
]
},
"height": 2416,
"width": 1776,
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/page/p6/1",
"type": "AnnotationPage",
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/annotation/p0006-image",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://iiif.io/api/image/3.0/example/reference/d3bbf5397c6df6b894c5991195c912ab-6-21198-zz001d8v7z_775085_master/full/max/0/default.jpg",
"type": "Image",
"format": "image/jpeg",
"height": 2416,
"width": 1776,
"service": [
{
"id": "https://iiif.io/api/image/3.0/example/reference/d3bbf5397c6df6b894c5991195c912ab-6-21198-zz001d8v7z_775085_master",
"type": "ImageService3",
"profile": "level1"
}
]
},
"target": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/canvas/p6"
}
]
}
]
}
],
"structures": [
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/range/r0",
"type": "Range",
"label": {
"en": [
"Table of Contents"
]
},
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/range/r0-1",
"type": "Range",
"label": {
"gez": [
"Tabiba Tabiban [ጠቢበ ጠቢባን]"
]
},
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/canvas/p1",
"type": "Canvas"
},
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/canvas/p2",
"type": "Canvas"
}
]
},
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/range/r0-2",
"type": "Range",
"label": {
"gez": [
"Arede'et [አርድዕት]"
]
},
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/range/r0-2/1",
"type": "Range",
"label": {
"en": [
"Monday"
]
},
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/canvas/p3",
"type": "Canvas"
},
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/canvas/p4",
"type": "Canvas"
}
]
},
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/range/r0-2/2",
"type": "Range",
"label": {
"en": [
"Tuesday"
]
},
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/canvas/p5",
"type": "Canvas"
},
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/canvas/p6",
"type": "Canvas"
}
]
}
]
}
]
},
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/range/r1",
"type": "Range",
"label": {
"en": [
"Illustrations"
]
},
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/range/r1-1",
"type": "Range",
"label": {
"en": [
"Illustration #1"
]
},
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/canvas/p3",
"type": "Canvas"
}
]
},
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/range/r1-2",
"type": "Range",
"label": {
"en": [
"Illustration #2"
]
},
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0024-book-4-toc/canvas/p6",
"type": "Canvas"
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment