From e58d39c9b984e16debc5211bb2d5258698703277 Mon Sep 17 00:00:00 2001 From: David de Boer Date: Tue, 7 May 2024 13:56:23 +0200 Subject: [PATCH] Add distribution dates --- examples/dataset.jsonld | 6 ++++-- index.bs | 20 ++++++++++++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/examples/dataset.jsonld b/examples/dataset.jsonld index ab9b5b4..a90406e 100644 --- a/examples/dataset.jsonld +++ b/examples/dataset.jsonld @@ -41,14 +41,16 @@ { "@type": "DataDownload", "encodingFormat": "application/sparql-query", - "contentUrl": "http://data.bibliotheken.nl/sparql" + "contentUrl": "http://data.bibliotheken.nl/sparql", + "dateCreated": "2023-06-01T08:00:00+01:00", + "dateModified": "2024-03-04T01:09:00+01:00" }, { "@type": "DataDownload", "encodingFormat": "text/turtle", "contentUrl": "http://data.bibliotheken.nl/files/alba_20201016.ttl.gz", "name": "Datadump Alba Amicorum", - "datePublished": "2019-05-21", + "dateCreated": "2019-05-21", "dateModified": "2019-08-15", "contentSize": "614K" } diff --git a/index.bs b/index.bs index 730d5c9..e87cb53 100644 --- a/index.bs +++ b/index.bs @@ -419,6 +419,26 @@ The distributions are then included under the `distribution` attribute with the See [[#distribution-attributes]] for a full overview. +### Creation and modification dates ### {#distribution-date} + +Publishers *SHOULD* make known when the [=distribution=] was originally created and when it was last updated. +Please note that this is different from [[#dataset-date|dataset description’s dates]]. +Datetimes (‘2019-08-15T08:05:00Z’) are preferred because they offer greater precision, +but simple dates (‘2019-04-14’) are also allowed. + +
+ Specify distribution dates: + +
+        {
+          "@context": "https://schema.org/",
+          "@type": "Distribution",
+          "dateCreated": "2019-04-14",
+          "dateModified": "2019-08-15T08:05:00"
+        }
+    
+
+ ### Developer documentation ### {#developer-docs} Publishers *SHOULD* link to documentation URLs via the [schema:usageInfo](https://schema.org/usageInfo) attribute. For datadumps this should be documentation about the