-
Notifications
You must be signed in to change notification settings - Fork 35
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
Date string should be switched to Datetime #593
Comments
Please confirm whether this is really just a DATE (as the name suggests) or really a DATETIME (as the sample value suggests) when recorded on existing paper forms and/or electronic systems. If the latter, and if possible, I would suggest changing the attribute from
-- or --
|
Discussed on call, confirm that field is datetime not just date. We would want to be more specific and define this as a datetime and not just a string. We also want to update the title to indicate that time is involved, not just date. |
Action item: Update top level credentials to use DateTime where relevant. Do not update individual credential subjects |
GS1 EPCIS 2.0 casts values of its See for example inside https://ref.gs1.org/standards/epcis/epcis-context.jsonld |
@rhofvendahl Please review the agriculture credentials for any date issues. |
@mkhraisha did we resolve to default to date & only use datetime if time is needed? (meeting notes weren't uploaded for that one and my own notes are spotty) |
In the GS1 EPCIS open standard for sharing visibility event data (traceability data), multiple events might be recorded within the same day for a particular physical object or shipment, so to ensure that these can be sorted into chronological order, we have used
For timestamps such as the date of issue of a certification, EPCIS also includes a field epcis:eventTimeZoneOffset that explicitly indicates the time zone offset that was in effect at the time and place where the event occurred, so even if all eventTime values were to express their timestamps using UTC/GMT (:Z) rather than an explicit +hh:mm or -hh:mm for events captured across multiple time zones, epcis:eventTimeZoneOffset still makes it possible to determine what the corresponding local time would have been at that location when the event happened. I hope this helps. |
PR #942 tackled this issue good to close |
https://github.com/w3c-ccg/traceability-vocab/blob/main/docs/openapi/components/schemas/common/CTPAT.yml#L58
Value is a Datetime, should use Datetime for JSOn Schema
"dateOfLastValidation": "2022-01-06T11:50:00Z",
The text was updated successfully, but these errors were encountered: