Skip to content

Instantly share code, notes, and snippets.

@regisrob
Last active November 21, 2023 21:47
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/92061c1c98f6eba75900bce30de7d24d to your computer and use it in GitHub Desktop.
Save regisrob/92061c1c98f6eba75900bce30de7d24d to your computer and use it in GitHub Desktop.
Manifeste démo pour la formation IIIF
{
"@context": "http://iiif.io/api/presentation/3/context.json",
"id": "https://gist.githubusercontent.com/regisrob/92061c1c98f6eba75900bce30de7d24d/raw/45b7d43cf9ff816c809f2f800ceafdf2a586578f/manifest_demo.json",
"type": "Manifest",
"label": {
"fr": [
"Atlas de cartes marines, dit [Atlas catalan]"
]
},
"metadata": [
{
"label": {
"fr": [
"Date"
]
},
"value": {
"none": [
"1370-1380"
]
}
},
{
"label": {
"fr": [
"Cote"
]
},
"value": {
"fr": [
"Bibliothèque nationale de France. Département des Manuscrits. Espagnol 30"
]
}
}
],
"summary": {
"fr": [
"Atlas de cartes marines en langue catalane réalisé vers 1375"
]
},
"provider": [
{
"id": "https://data.bnf.fr/ark:/12148/cb12381002j",
"type": "Agent",
"label": {
"fr": [
"Bibliothèque nationale de France"
]
},
"logo": [
{
"id": "https://gallica.bnf.fr/mbImage/logos/logo-bnf.png",
"type": "Image",
"format": "image/png"
}
]
}
],
"homepage": [
{
"id": "https://gallica.bnf.fr/ark:/12148/btv1b55002481n",
"type": "Text",
"label": {
"fr": [
"Consulter le document sur Gallica (BnF)"
]
},
"format": "text/html",
"language": [
"fr"
]
}
],
"rendering": [
{
"id": "https://gallica.bnf.fr/ark:/12148/btv1b55002481n/f1n18.pdf",
"type": "Image",
"label": {
"fr": [
"Exporter en PDF couleur"
]
},
"format": "application/pdf"
}
],
"requiredStatement": {
"label": {
"fr": [
"Attribution"
]
},
"value": {
"fr": [
"Bibliothèque nationale de France"
]
}
},
"items": [
{
"id": "https://example.org/object1/canvas/1",
"type": "Canvas",
"label": {
"none": [
"vue 4"
]
},
"height": 15862,
"width": 6453,
"items": [
{
"id": "https://example.org/object1/anno-page/1",
"type": "AnnotationPage",
"items": [
{
"id": "https://example.org/object1/anno-page/1/anno/1",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://gallica.bnf.fr/iiif/ark:/12148/btv1b55002481n/f4/full/full/0/default.jpg",
"type": "Image",
"format": "image/png",
"height": 15862,
"width": 6453,
"service": [
{
"id": "https://gallica.bnf.fr/iiif/ark:/12148/btv1b55002481n/f4",
"type": "ImageService1",
"profile": "level2"
}
]
},
"target": "https://example.org/object1/canvas/1"
}
]
}
],
"metadata": [
{
"label": {
"fr": [
"Description"
]
},
"value": {
"fr": [
"Calendrier astronomique circulaire entouré par plusieurs textes ; quatre figures dans les angles tenant des banderoles. Fonds quadrillés rouges et bleus à motifs de fleurs de lys. La date de 1375 y apparaît à plusieurs reprises."
],
"en": [
"Circular astronomical calendar surrounded by several texts; four figures in the corners holding streamers. Red and blue squared backgrounds with fleur-de-lis motifs. The date 1375 appears several times."
]
}
}
]
},
{
"id": "https://example.org/object1/canvas/2",
"type": "Canvas",
"label": {
"fr": [
"vue 5"
],
"en": [
"view 5"
]
},
"height": 15725,
"width": 6458,
"items": [
{
"id": "https://example.org/object1/anno-page/2",
"type": "AnnotationPage",
"items": [
{
"id": "https://example.org/object1/anno-page/2/anno/1",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://gallica.bnf.fr/iiif/ark:/12148/btv1b55002481n/f5/full/full/0/default.jpg",
"type": "Image",
"format": "image/png",
"height": 15725,
"width": 6458,
"service": [
{
"id": "https://gallica.bnf.fr/iiif/ark:/12148/btv1b55002481n/f5",
"type": "ImageService1",
"profile": "level2"
}
]
},
"target": "https://example.org/object1/canvas/2"
}
]
}
]
},
{
"id": "https://example.org/object1/canvas/3",
"type": "Canvas",
"height": 15862,
"width": 6454,
"items": [
{
"id": "https://example.org/object1/anno-page/3",
"type": "AnnotationPage",
"items": [
{
"id": "https://example.org/object1/anno-page/3/anno/1",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://gallica.bnf.fr/iiif/ark:/12148/btv1b55002481n/f6/full/full/0/default.jpg",
"type": "Image",
"format": "image/png",
"height": 15862,
"width": 6454,
"service": [
{
"id": "https://gallica.bnf.fr/iiif/ark:/12148/btv1b55002481n/f6",
"type": "ImageService1",
"profile": "level2"
}
]
},
"target": "https://example.org/object1/canvas/3"
}
]
}
]
},
{
"id": "https://example.org/object1/canvas/4",
"type": "Canvas",
"height": 15770,
"width": 6451,
"items": [
{
"id": "https://example.org/object1/anno-page/4",
"type": "AnnotationPage",
"items": [
{
"id": "https://example.org/object1/anno-page/4/anno/1",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://gallica.bnf.fr/iiif/ark:/12148/btv1b55002481n/f7/full/full/0/default.jpg",
"type": "Image",
"format": "image/png",
"height": 15770,
"width": 6451,
"service": [
{
"id": "https://gallica.bnf.fr/iiif/ark:/12148/btv1b55002481n/f7",
"type": "ImageService1",
"profile": "level2"
}
]
},
"target": "https://example.org/object1/canvas/4"
}
]
}
]
},
{
"id": "https://example.org/object1/canvas/5",
"type": "Canvas",
"height": 15778,
"width": 6457,
"items": [
{
"id": "https://example.org/object1/anno-page/5",
"type": "AnnotationPage",
"items": [
{
"id": "https://example.org/object1/anno-page/5/anno/1",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://gallica.bnf.fr/iiif/ark:/12148/btv1b55002481n/f8/full/full/0/default.jpg",
"type": "Image",
"format": "image/png",
"height": 15778,
"width": 6457,
"service": [
{
"id": "https://gallica.bnf.fr/iiif/ark:/12148/btv1b55002481n/f8",
"type": "ImageService1",
"profile": "level2"
}
]
},
"target": "https://example.org/object1/canvas/5"
}
]
}
]
},
{
"id": "https://example.org/object1/canvas/6",
"type": "Canvas",
"height": 15827,
"width": 6547,
"items": [
{
"id": "https://example.org/object1/anno-page/6",
"type": "AnnotationPage",
"items": [
{
"id": "https://example.org/object1/anno-page/6/anno/1",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://gallica.bnf.fr/iiif/ark:/12148/btv1b55002481n/f9/full/full/0/default.jpg",
"type": "Image",
"format": "image/png",
"height": 15827,
"width": 6547,
"service": [
{
"id": "https://gallica.bnf.fr/iiif/ark:/12148/btv1b55002481n/f9",
"type": "ImageService1",
"profile": "level2"
}
]
},
"target": "https://example.org/object1/canvas/6"
}
]
}
],
"annotations": [
{
"id": "https://example.org/object1/canvas/6/annotations/1",
"type": "AnnotationPage",
"items": [
{
"id": "https://example.org/object1/canvas/6/annotations/1/anno/1",
"type": "Annotation",
"motivation": "commenting",
"body": {
"type": "TextualBody",
"value": "Monastère Sainte-Catherine du Sinaï",
"language": "fr",
"format": "text/plain"
},
"target": "https://example.org/object1/canvas/6#xywh=4900,11000,900,600"
}
]
}
]
},
{
"id": "https://example.org/object1/canvas/7",
"type": "Canvas",
"height": 15870,
"width": 6474,
"items": [
{
"id": "https://example.org/object1/anno-page/7",
"type": "AnnotationPage",
"items": [
{
"id": "https://example.org/object1/anno-page/7/anno/1",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://gallica.bnf.fr/iiif/ark:/12148/btv1b55002481n/f10/full/full/0/default.jpg",
"type": "Image",
"format": "image/png",
"height": 15870,
"width": 6474,
"service": [
{
"id": "https://gallica.bnf.fr/iiif/ark:/12148/btv1b55002481n/f10",
"type": "ImageService1",
"profile": "level2"
}
]
},
"target": "https://example.org/object1/canvas/7"
}
]
}
]
},
{
"id": "https://example.org/object1/canvas/8",
"type": "Canvas",
"height": 15755,
"width": 6403,
"items": [
{
"id": "https://example.org/object1/anno-page/8",
"type": "AnnotationPage",
"items": [
{
"id": "https://example.org/object1/anno-page/8/anno/1",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://gallica.bnf.fr/iiif/ark:/12148/btv1b55002481n/f11/full/full/0/default.jpg",
"type": "Image",
"format": "image/png",
"height": 15755,
"width": 6403,
"service": [
{
"id": "https://gallica.bnf.fr/iiif/ark:/12148/btv1b55002481n/f11",
"type": "ImageService1",
"profile": "level2"
}
]
},
"target": "https://example.org/object1/canvas/8"
}
]
}
]
},
{
"id": "https://example.org/object1/canvas/1-2",
"type": "Canvas",
"label": {
"none": [
"vues 4-5"
]
},
"height": 15862,
"width": 12911,
"items": [
{
"id": "https://example.org/object1/anno-page/1-2",
"type": "AnnotationPage",
"items": [
{
"id": "https://example.org/object1/anno-page/1-2/anno/1",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://gallica.bnf.fr/iiif/ark:/12148/btv1b55002481n/f4/full/full/0/default.jpg",
"type": "Image",
"format": "image/png",
"height": 15862,
"width": 6453,
"service": [
{
"id": "https://gallica.bnf.fr/iiif/ark:/12148/btv1b55002481n/f4",
"type": "ImageService1",
"profile": "level2"
}
]
},
"target": "https://example.org/object1/canvas/1-2#xywh=0,0,6453,15862"
},
{
"id": "https://example.org/object1/anno-page/1-2/anno/2",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://gallica.bnf.fr/iiif/ark:/12148/btv1b55002481n/f5/full/full/0/default.jpg",
"type": "Image",
"format": "image/png",
"height": 15725,
"width": 6458,
"service": [
{
"id": "https://gallica.bnf.fr/iiif/ark:/12148/btv1b55002481n/f5",
"type": "ImageService1",
"profile": "level2"
}
]
},
"target": "https://example.org/object1/canvas/1-2#xywh=6453,0,6458,15725"
}
]
}
],
"metadata": [
{
"label": {
"fr": [
"Description"
]
},
"value": {
"fr": [
"Calendrier astronomique circulaire entouré par plusieurs textes ; quatre figures dans les angles tenant des banderoles. Fonds quadrillés rouges et bleus à motifs de fleurs de lys. La date de 1375 y apparaît à plusieurs reprises."
]
}
}
]
}
],
"structures": [
{
"id": "https://example.org/object1/range/1",
"type": "Range",
"label": {
"en": [
"Table des matières"
]
},
"items": [
{
"id": "https://example.org/object1/range/r1",
"type": "Range",
"label": {
"fr": [
"Calendrier astronomique"
]
},
"items": [
{
"id": "https://example.org/object1/canvas/1",
"type": "Canvas"
},
{
"id": "https://example.org/object1/canvas/2",
"type": "Canvas"
}
]
},
{
"id": "https://example.org/object1/range/r2",
"type": "Range",
"label": {
"fr": [
"Atlas de cartes marines"
]
},
"items": [
{
"id": "https://example.org/object1/range/r2/1",
"type": "Range",
"label": {
"fr": [
"Méditerranée occidentale et côte Atlantique. Scandinavie, monts de Bohême. Corse et Sardaigne. Iles Britanniques, Tulé, îles de l’Atlantique (Canaries)"
]
},
"items": [
{
"id": "https://example.org/object1/canvas/3",
"type": "Canvas"
},
{
"id": "https://example.org/object1/canvas/4",
"type": "Canvas"
}
]
},
{
"id": "https://example.org/object1/range/r2/2",
"type": "Range",
"label": {
"fr": [
"Proche-Orient et Méditerranée orientale, depuis la mer Noire, la Palestine, la mer Rouge, jusqu’à la Corse et la Sardaigne"
]
},
"items": [
{
"id": "https://example.org/object1/canvas/5",
"type": "Canvas"
},
{
"id": "https://example.org/object1/canvas/6",
"type": "Canvas"
}
]
},
{
"id": "https://example.org/object1/range/r2/3",
"type": "Range",
"label": {
"fr": [
"Asie depuis l’Inde jusqu’à la mer Caspienne, le golfe Persique, l’Arabie et la Mecque"
]
},
"items": [
{
"id": "https://example.org/object1/canvas/7",
"type": "Canvas"
}
]
},
{
"id": "https://example.org/object1/range/r2/4",
"type": "Range",
"label": {
"fr": [
"Asie orientale depuis l’océan jusqu’à l’Inde. Figure du Jugement Dernier et du prince de Gog et Magog. Montagnes Caspiennes gardées par Alexandre le Grand. Chine : Catayo. Ile de Taprobane et Illa Jana, Inde."
]
},
"items": [
{
"id": "https://example.org/object1/canvas/8",
"type": "Canvas"
}
]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment