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 4434e1f
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 16 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" ] }
}
]
}
31 changes: 24 additions & 7 deletions recipe/0032-collection/manifest-01.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,23 @@
"@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",
"type": "Canvas",
"height": 1800,
"width": 1200,
"height": 3540,
"width": 5886,
"items": [
{
"id": "{{ id.path }}/page/p1/1",
Expand All @@ -19,11 +29,18 @@
"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"
}
Expand Down
31 changes: 24 additions & 7 deletions recipe/0032-collection/manifest-02.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,23 @@
"@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",
"type": "Canvas",
"height": 1800,
"width": 1200,
"height": 2572,
"width": 3764,
"items": [
{
"id": "{{ id.path }}/page/p1/1",
Expand All @@ -19,11 +29,18 @@
"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"
}
Expand Down

0 comments on commit 4434e1f

Please sign in to comment.