Skip to content

MDS milliseconds timestamp constraints #645

@tonial

Description

@tonial

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

As an agency, we often see second timestamps instead of millisecond timestamp when a provider uses MDS for the first time and tries to send us data.

Describe the solution you'd like

In order to speed up bug detection on our side, we added a constraint that specifies that a timestamp should have 13 digits which allows dates between 2001-9-9 and 2286-11-20 (which is big enough).
Adding this into the Timestamp description and json schema could help to prevent this mistake.

Is this a breaking change

  • No, not breaking

Impacted Spec

All timestamps in all APIs

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

Labels

SchemaImplications for JSON Schema or OpenAPI

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions