From 07b5a146d99993209bda6240af2f847e37c65003 Mon Sep 17 00:00:00 2001 From: Mat Jordan Date: Thu, 5 Oct 2023 12:07:36 -0400 Subject: [PATCH] Update simple collection example. --- recipe/0032-collection/collection.json | 4 +-- recipe/0032-collection/manifest-01.json | 39 ++++++++++++++++++------- recipe/0032-collection/manifest-02.json | 39 ++++++++++++++++++------- 3 files changed, 58 insertions(+), 24 deletions(-) diff --git a/recipe/0032-collection/collection.json b/recipe/0032-collection/collection.json index ee89408b8..b3e371f42 100644 --- a/recipe/0032-collection/collection.json +++ b/recipe/0032-collection/collection.json @@ -7,12 +7,12 @@ { "id": "{{ id.path }}/manifest-01.json", "type": "Manifest", - "label": { "en": [ "Manifest 1" ] } + "label": { "en": [ "The Gulf Stream" ] } }, { "id": "{{ id.path }}/manifest-02.json", "type": "Manifest", - "label": { "en": [ "Manifest 2" ] } + "label": { "en": [ "Northeaster" ] } } ] } diff --git a/recipe/0032-collection/manifest-01.json b/recipe/0032-collection/manifest-01.json index 6357ed113..28263287a 100644 --- a/recipe/0032-collection/manifest-01.json +++ b/recipe/0032-collection/manifest-01.json @@ -2,30 +2,47 @@ "@context": "http://iiif.io/api/presentation/3/context.json", "id": "{{ id.url }}", "type": "Manifest", - "label": { "none": [ "Manifest 1" ] }, + "label": { "en": [ "The Gulf Stream" ] }, + "metadata": [ + { + "label": { "en": [ "Artist" ] }, + "value": { "en": [ "Winslow Homer (1836–1910)" ] } + }, + { + "label": { "en": [ "Date" ] }, + "value": { "en": [ "1899" ] } + } + ], "items": [ { - "id": "{{ id.path }}/canvas/p1", + "id": "{{ id.path }}/manifest/1/canvas/p1", "type": "Canvas", - "height": 1800, - "width": 1200, + "height": 3540, + "width": 5886, "items": [ { - "id": "{{ id.path }}/page/p1/1", + "id": "{{ id.path }}/manifest/1/page/p1/1", "type": "AnnotationPage", "items": [ { - "id": "{{ id.path }}/annotation/p0001-image", + "id": "{{ id.path }}/manifest/1/annotation/p0001-image", "type": "Annotation", "motivation": "painting", "body": { - "id": "http://iiif.io/api/presentation/2.1/example/fixtures/resources/page1-full.png", + "id": "https://iiif.io/api/image/3.0/example/reference/329817fc8a251a01c393f517d8a17d87-Winslow_Homer_-_The_Gulf_Stream_-_Metropolitan_Museum_of_Art/full/max/0/default.jpg", "type": "Image", - "format": "image/png", - "height": 1800, - "width": 1200 + "format": "image/jpeg", + "height": 3540, + "width": 5886, + "service": [ + { + "id": "https://iiif.io/api/image/3.0/example/reference/329817fc8a251a01c393f517d8a17d87-Winslow_Homer_-_The_Gulf_Stream_-_Metropolitan_Museum_of_Art", + "profile": "level1", + "type": "ImageService3" + } + ] }, - "target": "{{ id.path }}/canvas/p1" + "target": "{{ id.path }}/manifest/1/canvas/p1" } ] } diff --git a/recipe/0032-collection/manifest-02.json b/recipe/0032-collection/manifest-02.json index 4b55b8cf1..ef4d9bd6e 100644 --- a/recipe/0032-collection/manifest-02.json +++ b/recipe/0032-collection/manifest-02.json @@ -2,30 +2,47 @@ "@context": "http://iiif.io/api/presentation/3/context.json", "id": "{{ id.url }}", "type": "Manifest", - "label": { "none": [ "Manifest 2" ] }, + "label": { "en": [ "Northeaster" ] }, + "metadata": [ + { + "label": { "en": [ "Artist" ] }, + "value": { "en": [ "Winslow Homer (1836–1910)" ] } + }, + { + "label": { "en": [ "Date" ] }, + "value": { "en": [ "1895" ] } + } + ], "items": [ { - "id": "{{ id.path }}/canvas/p1", + "id": "{{ id.path }}/manifest/2/canvas/p1", "type": "Canvas", - "height": 1800, - "width": 1200, + "height": 2572, + "width": 3764, "items": [ { - "id": "{{ id.path }}/page/p1/1", + "id": "{{ id.path }}/manifest/2/page/p1/1", "type": "AnnotationPage", "items": [ { - "id": "{{ id.path }}/annotation/p0001-image", + "id": "{{ id.path }}/manifest/2/annotation/p0001-image", "type": "Annotation", "motivation": "painting", "body": { - "id": "http://iiif.io/api/presentation/2.1/example/fixtures/resources/page2-full.png", + "id": "https://iiif.io/api/image/3.0/example/reference/329817fc8a251a01c393f517d8a17d87-Northeaster_by_Winslow_Homer_1895/full/max/0/default.jpg", "type": "Image", - "format": "image/png", - "height": 1800, - "width": 1200 + "format": "image/jpeg", + "height": 2572, + "width": 3764, + "service": [ + { + "id": "https://iiif.io/api/image/3.0/example/reference/329817fc8a251a01c393f517d8a17d87-Northeaster_by_Winslow_Homer_1895", + "profile": "level1", + "type": "ImageService3" + } + ] }, - "target": "{{ id.path }}/canvas/p1" + "target": "{{ id.path }}/manifest/2/canvas/p1" } ] }