culturecreates / artsdata-planet-lavitrine

Export pipeline from Artsdata to LaVitrine
1 stars 0 forks source link

Dates with and without time #14

Closed saumier closed 1 year ago

saumier commented 1 year ago

Each Event has startDate and EndDate. However, the datatype can be xsd:dateTime or xsd:date. This works with JSON-LD but is not very JSON friendly.

I propose the following mapping:

When the date and time are known --> call the property startDateTime or endDateTime When only the date (2023-11-01) is known --> call the property startDate or endDate