Structure globale d'un Manifest

Métadonnées descriptives

						
							{
								// Métadonnées techniques
								"@context": "http://example.com/book/context.json",
								"id": "identifiant",
								"type": "Manifest",
								
								// Métadonnées descriptives
								"metadata": [
									{
										"label": { "en": ["Author"] },
										"value": { "none": ["Anne Author"] }
									},
								],
								"summary": { "fr": "Description de la ressource" },
								"requiredStatements": [],
								"rights": [],
								"provider": [],
								"thumbnail": [],
								
								// ...
							}
						
					
Structure globale d'un manifeste IIIF

Structure globale d'un Manifest

Métadonnées techniques

						
							{
								// Métadonnées techniques
								"@context": "http://example.com/book/context.json",
								"id": "identifiant",
								"type": "Manifest",
								
								// Plus de métadonnées techniques
								"width": 300,
								"height": 300,
								"language": [],
								"duration": 300,
								"viewing-direction": "right-to-left",
								"behavior": "continuous | paged",

								// Métadonnées descriptives
								// ...
							}
						
					
Structure globale d'un manifeste IIIF

Structure globale d'un Manifest

Liens vers des ressources externes et internes

						
							{
								// Liens vers des ressources externes
								"@context": "http://example.com/book/context.json",
								"id": "identifiant",
								"type": "Manifest",
								
								// Liens vers des ressources externes et internes
								"homepage": [],
								"logo": [],
								"rendering": [],
								"service": [],
								"seeAlso": [],

								"partOf": [],
								"start": [],

								// Métadonnées descriptives et techniques
								// ...
							}
						
					
Structure globale d'un manifeste IIIF

Sequence et métadonnées de structure: canvas


    	{
        "@context": "http://example.com/book",
        "id": "identifiant",
        "type": "Manifest",
      
        // Métadonnées descriptives, techniques et liens
        ...

        // Liste (ou Sequence) de Canvas
        "items": [
				{
					"id": "https://example.com/...",
					"type": "Canvas",

						// Liste d'AnnotationPages
						"items": [
							{
								"id": "https://example.com/.../.../..."
								"type": "AnnotationPage",

								// Liste d'Annotations
								items: [
									{
										"id": "https://example.com/.../.../...",
										"type": "Annotation",
										"motivation": "painting"
									}
								]
							}
						],
						
					},
			]
		}
    			
Structure globale d'un manifeste IIIF

Sequence et métadonnées de structure: structures


    	{
        "@context": "http://example.com/book",
        "id": "identifiant",
        "type": "Manifest",
      
        // Métadonnées descriptives, techniques et liens
        ...

		// Définition de structures (ie. Table de matières)
		"structures": [
			{
			"id": "https://example.org/iiif/range/1",
			"type": "Range",
			"items": [ { ... } ]
			}
		]

        // Liste (ou Sequence) de Canvas
        "items": [{ ... }]
		}
    			
Structure globale d'un manifeste IIIF

Sequence et métadonnées de structure: annotations


    	{
        "@context": "http://example.com/book",
        "id": "identifiant",
        "type": "Manifest",
      
        // Métadonnées descriptives, techniques et liens
        ...

		// Annotations qui ne sont pas destinées à afficher un contenu dans le canvas.
		"annotations": [
			{
			"id": "https://example.org/iiif/annotationPage/1",
			"type": "AnnotationPage",
			"items": [ { ... } ]
			}
		]

        // Liste (ou Sequence) de Canvas
        items: [{ ... }]
		}
    			
Structure globale d'un manifeste IIIF

Tous les contenus sont des Annotations que l'on peut regrouper dans des AnnotationPages.

Web Annotation

Une Web Annotation décrit un modèle structuré et un format permettant de partager et de réutiliser des annotations sur différentes plateformes matérielles et logicielles. Les cas d'utilisation courants peuvent être modélisés de manière simple et pratique, tout en permettant en même temps de répondre à des exigences plus complexes, notamment la liaison de contenu arbitraire à un point de données spécifique ou à des segments de ressources multimédias chronométrées.
https://www.w3.org/TR/annotation-model/

Modèle de la Presentation API

... de Grâce, un exemple !

Qu'est-ce qu'il se passe quand on cherche à décrire un livre ?



			{
				"@context": "http://iiif.io/api/presentation/3/context.json",
				"id": "https://example.org/iiif/book1/manifest",
				"type": "Manifest",
				"label": { "en": [ "Book 1" ] },

				// Métadonnées descriptives
				"metadata": [
				  {
					"label": { "en": [ "Author" ] },
					"value": { "none": [ "Anne Author" ] }
				  },
				  {
					"label": { "en": [ "Published" ] },
					"value": {
					  "en": [ "Paris, circa 1400" ],
					  "fr": [ "Paris, environ 1400" ]
					}
				  },
				],
				"summary": { "en": [ "Book 1, written be Anne Author, published in Paris around 1400." ] },
			  
				"thumbnail": [
				  {
					"id": "https://example.org/iiif/book1/page1/full/80,100/0/default.jpg",
					"type": "Image",
					"format": "image/jpeg",
					"service": [
					  {
						"id": "https://example.org/iiif/book1/page1",
						"type": "ImageService3",
						"profile": "level1"
					  }
					]
				  }
				],
				"navDate": "1856-01-01T00:00:00Z",
				"rights": "https://creativecommons.org/licenses/by/4.0/",
				"requiredStatement": {
				  "label": { "en": [ "Attribution" ] },
				  "value": { "en": [ "Provided by Example Organization" ] }
				},
			  
				"provider": [
					{
					  "id": "https://example.org/about",
					  "type": "Agent",
					  "label": { "en": [ "Example Organization" ] },
					  "homepage": [
						{
						  "id": "https://example.org/",
						  "type": "Text",
						  "label": { "en": [ "Example Organization Homepage" ] },
						  "format": "text/html"
						}
					  ],
					  "logo": [
						{
						  "id": "https://example.org/service/inst1/full/max/0/default.png",
						  "type": "Image",
						  "format": "image/png",
						  "service": [
							{
							  "id": "https://example.org/service/inst1",
							  "type": "ImageService3",
							  "profile": "level2"
							}
						  ]
						}
					  ],
					  "seeAlso": [
						{
						  "id": "https://data.example.org/about/us.jsonld",
						  "type": "Dataset",
						  "format": "application/ld+json",
						  "profile": "https://schema.org/"
						}
					  ]
					}
				],

				// Métadonnées techniques
				"viewingDirection": "right-to-left",
				"behavior": [ "paged" ],

				// Liens externes
				"homepage": [
				  {
					"id": "https://example.org/info/book1/",
					"type": "Text",
					"label": { "en": [ "Home page for Book 1" ] },
					"format": "text/html"
				  }
				],
				"service": [
				  {
					"id": "https://example.org/service/example",
					"type": "ExampleExtensionService",
					"profile": "https://example.org/docs/example-service.html"
				  }
				],
				"seeAlso": [
				  {
					"id": "https://example.org/library/catalog/book1.xml",
					"type": "Dataset",
					"format": "text/xml",
					"profile": "https://example.org/profiles/bibliographic"
				  }
				],
				"rendering": [
				  {
					"id": "https://example.org/iiif/book1.pdf",
					"type": "Text",
					"label": { "en": [ "Download as PDF" ] },
					"format": "application/pdf"
				  }
				],

				// Liens internes
				"partOf": [
				  {
					"id": "https://example.org/collections/books/",
					"type": "Collection"
				  }
				],
				"start": {
				  "id": "https://example.org/iiif/book1/canvas/p2",
				  "type": "Canvas"
				},
			  
				"items": [
				  {
					"id": "https://example.org/iiif/book1/canvas/p1",
					"type": "Canvas",
					"label": { "none": [ "p. 1" ] },
					"height": 1000,
					"width": 750,
					"items": [
					  {
						"id": "https://example.org/iiif/book1/page/p1/1",
						"type": "AnnotationPage",
						"items": [
						  {
							"id": "https://example.org/iiif/book1/annotation/p0001-image",
							"type": "Annotation",
							"motivation": "painting",
							"body": {
							  "id": "https://example.org/iiif/book1/page1/full/max/0/default.jpg",
							  "type": "Image",
							  "format": "image/jpeg",
							  "service": [
								{
								  "id": "https://example.org/iiif/book1/page1",
								  "type": "ImageService3",
								  "profile": "level2",
								  "service": [
									{
									  "@id": "https://example.org/iiif/auth/login",
									  "@type": "AuthCookieService1"
									}
								  ]
								}
							  ],
							  "height": 2000,
							  "width": 1500
							},
							"target": "https://example.org/iiif/book1/canvas/p1"
						  }
						]
					  }
					],
					"annotations": [
					  {
						"id": "https://example.org/iiif/book1/comments/p1/1",
						"type": "AnnotationPage"
					  }
					]
				  },
				  {
					"id": "https://example.org/iiif/book1/canvas/p2",
					"type": "Canvas",
					"label": { "none": [ "p. 2" ] },
					"height": 1000,
					"width": 750,
					"items": [
					  {
						"id": "https://example.org/iiif/book1/page/p2/1",
						"type": "AnnotationPage",
						"items": [
						  {
							"id": "https://example.org/iiif/book1/annotation/p0002-image",
							"type": "Annotation",
							"motivation": "painting",
							"body": {
							  "id": "https://example.org/iiif/book1/page2/full/max/0/default.jpg",
							  "type": "Image",
							  "format": "image/jpeg",
							  "service": [
								{
								  "id": "https://example.org/iiif/book1/page2",
								  "type": "ImageService3",
								  "profile": "level2"
								}
							  ],
							  "height": 2000,
							  "width": 1500
							},
							"target": "https://example.org/iiif/book1/canvas/p2"
						  }
						]
					  }
					]
				  }
				],
			  
				"structures": [
				  {
					"id": "https://example.org/iiif/book1/range/r0",
					"type": "Range",
					"label": { "en": [ "Table of Contents" ] },
					"items": [
					  {
						"id": "https://example.org/iiif/book1/range/r1",
						"type": "Range",
						"label": { "en": [ "Introduction" ] },
						"supplementary": {
						  "id": "https://example.org/iiif/book1/annocoll/introTexts",
						  "type": "AnnotationCollection"
						},
						"items": [
						  {
							"id": "https://example.org/iiif/book1/canvas/p1",
							"type": "Canvas"
						  },
						  {
							"type": "SpecificResource",
							"source": "https://example.org/iiif/book1/canvas/p2",
							"selector": {
							  "type": "FragmentSelector",
							  "value": "xywh=0,0,750,300"
							}
						  }
						]
					  }
					]
				  }
				],
			  
				"annotations": [
				  {
					"id": "https://example.org/iiif/book1/page/manifest/1",
					"type": "AnnotationPage",
					"items": [
					  {
						"id": "https://example.org/iiif/book1/page/manifest/a1",
						"type": "Annotation",
						"motivation": "commenting",
						"body": {
						  "type": "TextualBody",
						  "language": "en",
						  "value": "I love this manifest!"
						},
						"target": "https://example.org/iiif/book1/manifest"
					  }
					]
				  }
				]
			  }
			
D'autres exemples seront donnés lors de l'atelier avec Camille !
Merci de votre attention.