From c42d72c94836b2a511867155689e0194fb6a760f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=B8ver=C3=A5s?= Date: Thu, 7 Dec 2023 14:21:20 +0100 Subject: [PATCH 1/2] Occurred: timestamp --- docs/openapi.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/openapi.yaml b/docs/openapi.yaml index 4b4152e..6c97a18 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -1369,10 +1369,11 @@ components: properties: occurred: type: string + format: date-time description: |- - Date and time of the event, on the format - `2022-09-05T14:25:55Z`. - example: 2022-09-05T14:25:55Z + Date and time of the event, as timestamp on the format `2022-09-05T14:25:55Z`, + with or without milliseconds. + example: "2022-09-05T14:25:55Z" event: type: string enum: From 60d33c32cf2c90f12e7e135487380881b04d9fc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=B8ver=C3=A5s?= Date: Thu, 7 Dec 2023 17:33:54 +0100 Subject: [PATCH 2/2] Update docs/openapi.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Amélie --- docs/openapi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/openapi.yaml b/docs/openapi.yaml index 6c97a18..eb21173 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -1371,7 +1371,7 @@ components: type: string format: date-time description: |- - Date and time of the event, as timestamp on the format `2022-09-05T14:25:55Z`, + Date and time of the event, as timestamp on the format `yyyy-MM-dd'T'HH:mm:ss'Z'`, with or without milliseconds. example: "2022-09-05T14:25:55Z" event: