From d0c4a6040c8fe53ed2fac4c1d901ca4f512680c6 Mon Sep 17 00:00:00 2001 From: Trip Kirkpatrick Date: Mon, 22 Jul 2024 09:55:32 -0400 Subject: [PATCH] =?UTF-8?q?Added=20navDate=20and=20navPlace=20data=20to=20?= =?UTF-8?q?Collection=20=F0=9F=93=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Decision arrived at during cookbook authors call 19 July 2024. Reasoning is partly that we want a viewer to not have to dig into the constituent manifests to get the data and that we want to show how a Collection can be made from manifests that themselves do not have chrono or geo data in them. --- recipe/0318-navPlace-navDate/collection.json | 130 ++++++++++++++++++- 1 file changed, 129 insertions(+), 1 deletion(-) diff --git a/recipe/0318-navPlace-navDate/collection.json b/recipe/0318-navPlace-navDate/collection.json index 2fca78771..4bcc034f7 100644 --- a/recipe/0318-navPlace-navDate/collection.json +++ b/recipe/0318-navPlace-navDate/collection.json @@ -1,5 +1,8 @@ { - "@context": "http://iiif.io/api/presentation/3/context.json", + "@context": [ + "http://iiif.io/api/extension/navplace/context.json", + "http://iiif.io/api/presentation/3/context.json" + ], "id": "{{ id.url }}", "type": "Collection", "label": { "en": [ "NavPlace and NavDate Collection" ] }, @@ -16,7 +19,32 @@ "en": [ "Castel Sant'Angelo, Rome" ] + }, + "navDate": "1776-01-01T00:00:00+00:00", + "navPlace": { + "id": "{{ id.path }}/feature-collection/1", + "type": "FeatureCollection", + "features": [ + { + "id": "{{ id.path }}/feature/1", + "type": "Feature", + "properties": { + "label": { + "en": [ + "Castel Sant'Angelo, Rome" + ] + } + }, + "geometry": { + "type": "Point", + "coordinates": [ + 12.4663, + 41.9031 + ] + } } + ] + } }, { "id": "{{ id.path }}/manifest-2.json", @@ -25,6 +53,31 @@ "en": [ "The Colosseum" ] + }, + "navDate": "1776-01-01T00:00:00+00:00", + "navPlace": { + "id": "{{ id.path }}/feature-collection/2", + "type": "FeatureCollection", + "features": [ + { + "id": "{{ id.path }}/feature/2", + "type": "Feature", + "properties": { + "label": { + "en": [ + "The Colosseum" + ] + } + }, + "geometry": { + "type": "Point", + "coordinates": [ + 12.492222, + 41.890278 + ] + } + } + ] } }, { @@ -34,6 +87,31 @@ "en": [ "The Arch of Titus from the Forum, Rome, ca. 1725" ] + }, + "navDate": "1725-01-01T00:00:00+00:00", + "navPlace": { + "id": "{{ id.path }}/feature-collection/3", + "type": "FeatureCollection", + "features": [ + { + "id": "{{ id.path }}/feature/3", + "type": "Feature", + "properties": { + "label": { + "en": [ + "The Arch of Titus from the Forum, Rome, ca. 1725" + ] + } + }, + "geometry": { + "type": "Point", + "coordinates": [ + 12.488585, + 41.890717 + ] + } + } + ] } }, { @@ -43,6 +121,31 @@ "en": [ "The Temple of Vesta, Rome, 1849" ] + }, + "navDate": "1849-01-01T00:00:00+00:00", + "navPlace": { + "id": "{{ id.path }}/feature-collection/4", + "type": "FeatureCollection", + "features": [ + { + "id": "{{ id.path }}/feature/4", + "type": "Feature", + "properties": { + "label": { + "en": [ + "The Temple of Vesta, Rome, 1849" + ] + } + }, + "geometry": { + "type": "Point", + "coordinates": [ + 12.4862, + 41.8917 + ] + } + } + ] } }, { @@ -52,6 +155,31 @@ "en": [ "A View of Trajan's Forum, Rome, 1821" ] + }, + "navDate": "1821-01-01T00:00:00+00:00", + "navPlace": { + "id": "{{ id.path }}/feature-collection/5", + "type": "FeatureCollection", + "features": [ + { + "id": "{{ id.path }}/feature/5", + "type": "Feature", + "properties": { + "label": { + "en": [ + "A View of Trajan's Forum, Rome, 1821" + ] + } + }, + "geometry": { + "type": "Point", + "coordinates": [ + 12.485869, + 41.895419 + ] + } + } + ] } } ]