openmobilityfoundation / mobility-data-specification

A data standard to enable right-of-way regulation and two-way communication between mobility companies and local governments.
https://www.openmobilityfoundation.org/about-mds/
Other
676 stars 232 forks source link

Add the publication_time field in the telemetry object #895

Open pierre-bouffort opened 5 months ago

pierre-bouffort commented 5 months ago

Is your feature request related to a problem? Please describe.

We are often using the publication_time field provided for all events to monitor the latency SLAs cities may have on the data flowing in from the operators through MDS. As I read through the specification for the telemetry object, we noticed there isn't such field which seems like a simple fix.

Describe the solution you'd like

We could add the publication_time field as an optional timestamp field in the telemetries.

Is this a breaking change

No, not breaking

Impacted Spec

The spec that would be impacted is the data_type page https://github.com/openmobilityfoundation/mobility-data-specification/blob/main/data-types.md#telemetry