Skip to content

Commit

Permalink
Update simple collection example.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathewjordan committed Oct 5, 2023
1 parent af84f9f commit 07b5a14
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 24 deletions.
4 changes: 2 additions & 2 deletions recipe/0032-collection/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -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" ] }
}
]
}
39 changes: 28 additions & 11 deletions recipe/0032-collection/manifest-01.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
}
Expand Down
39 changes: 28 additions & 11 deletions recipe/0032-collection/manifest-02.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
}
Expand Down

0 comments on commit 07b5a14

Please sign in to comment.