Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dates with and without time #14

Closed
saumier opened this issue Oct 20, 2023 · 0 comments
Closed

Dates with and without time #14

saumier opened this issue Oct 20, 2023 · 0 comments

Comments

@saumier
Copy link
Member

saumier commented Oct 20, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant