From 6c5f250eee4810919f0a8b1293baf420a1dce5db Mon Sep 17 00:00:00 2001 From: Tom Kralidis Date: Thu, 15 Feb 2024 12:20:44 -0500 Subject: [PATCH] fix date-time format for create/updated in examples (#194) * fix date-time format for create/updated in examples * fix * fix * align with publication branch * update schema based on latest OGC API EDR collection temporal interval definition --- examples/ca-eccc-msc.cmip5-tt.json | 4 ++-- examples/ca-eccc-msc.daily-climate-observations.json | 4 ++-- examples/ca-eccc-msc.hydrometric-archive.json | 4 ++-- examples/ca-eccc-msc.hydrometric-realtime.json | 4 ++-- examples/ca-eccc-msc.nwp-gdps.json | 4 ++-- .../ca-eccc-msc.surface-weather-observations-realtime.json | 4 ++-- examples/de-dwd.icon-eps-all.json | 2 +- examples/de-dwd.surface-weather-observations-realtime.json | 4 ++-- schemas/wcmp2-bundled.json | 4 +--- 9 files changed, 16 insertions(+), 18 deletions(-) diff --git a/examples/ca-eccc-msc.cmip5-tt.json b/examples/ca-eccc-msc.cmip5-tt.json index fa4f25d..29ada3a 100644 --- a/examples/ca-eccc-msc.cmip5-tt.json +++ b/examples/ca-eccc-msc.cmip5-tt.json @@ -126,8 +126,8 @@ "wmo:dataPolicy": "core", "language": "en", "type": "dataset", - "created": "2018-01-01", - "updated": "2018-09-06" + "created": "2018-01-01T12:34:32Z", + "updated": "2018-09-06T08:18:23Z" }, "links": [ { diff --git a/examples/ca-eccc-msc.daily-climate-observations.json b/examples/ca-eccc-msc.daily-climate-observations.json index 7b9d02f..74d6156 100644 --- a/examples/ca-eccc-msc.daily-climate-observations.json +++ b/examples/ca-eccc-msc.daily-climate-observations.json @@ -109,8 +109,8 @@ "wmo:dataPolicy": "core", "language": "en", "type": "dataset", - "created": "2018-01-01", - "updated": "2022-06-17" + "created": "2018-01-01T21:11:12Z", + "updated": "2022-06-17T18:43:39Z" }, "links": [ { diff --git a/examples/ca-eccc-msc.hydrometric-archive.json b/examples/ca-eccc-msc.hydrometric-archive.json index 2696172..bd7c990 100644 --- a/examples/ca-eccc-msc.hydrometric-archive.json +++ b/examples/ca-eccc-msc.hydrometric-archive.json @@ -126,8 +126,8 @@ "wmo:dataPolicy": "core", "language": "en", "type": "dataset", - "created": "2018-01-01", - "updated": "2022-06-17" + "created": "2018-01-01T12:34:56Z", + "updated": "2022-06-17T12:49:21Z" }, "links": [ { diff --git a/examples/ca-eccc-msc.hydrometric-realtime.json b/examples/ca-eccc-msc.hydrometric-realtime.json index a53bd08..596be59 100644 --- a/examples/ca-eccc-msc.hydrometric-realtime.json +++ b/examples/ca-eccc-msc.hydrometric-realtime.json @@ -126,8 +126,8 @@ "wmo:dataPolicy": "core", "language": "en", "type": "dataset", - "created": "2018-01-01", - "updated": "2022-06-22" + "created": "2018-01-01T02:23:43Z", + "updated": "2022-06-22T09:23:32Z" }, "links": [ { diff --git a/examples/ca-eccc-msc.nwp-gdps.json b/examples/ca-eccc-msc.nwp-gdps.json index edb02ae..9089fda 100644 --- a/examples/ca-eccc-msc.nwp-gdps.json +++ b/examples/ca-eccc-msc.nwp-gdps.json @@ -117,8 +117,8 @@ "wmo:dataPolicy": "core", "language": "en", "type": "dataset", - "created": "2018-01-01", - "updated": "2022-06-17" + "created": "2018-01-01T11:11:23Z", + "updated": "2022-06-17T08:22:24Z" }, "links": [ { diff --git a/examples/ca-eccc-msc.surface-weather-observations-realtime.json b/examples/ca-eccc-msc.surface-weather-observations-realtime.json index d9927dc..03d1968 100644 --- a/examples/ca-eccc-msc.surface-weather-observations-realtime.json +++ b/examples/ca-eccc-msc.surface-weather-observations-realtime.json @@ -120,8 +120,8 @@ } ], "type": "dataset", - "created": "2018-01-01", - "updated": "2022-06-22", + "created": "2018-01-01T00:11:32Z", + "updated": "2022-06-22T08:23:42Z", "wmo:dataPolicy": "core" }, "links": [ diff --git a/examples/de-dwd.icon-eps-all.json b/examples/de-dwd.icon-eps-all.json index 04d613f..7a871b8 100644 --- a/examples/de-dwd.icon-eps-all.json +++ b/examples/de-dwd.icon-eps-all.json @@ -68,7 +68,7 @@ "properties": { "type": "dataset", "title": "Global Ensemble Prediction Model", - "description": "ICON-EPS 0.5\u00b0 x 0.5\u00b0 regular lat/lon grid, up to +180h every 6h, runs 00/12 UTC, various parameter, various level, various threshold", + "description": "ICON-EPS 0.5 deg x 0.5 deg regular lat/lon grid, up to +180h every 6h, runs 00/12 UTC, various parameter, various level, various threshold", "themes": [ { "concepts": [ diff --git a/examples/de-dwd.surface-weather-observations-realtime.json b/examples/de-dwd.surface-weather-observations-realtime.json index 8299ed2..ac5306a 100644 --- a/examples/de-dwd.surface-weather-observations-realtime.json +++ b/examples/de-dwd.surface-weather-observations-realtime.json @@ -106,8 +106,8 @@ } ], "type": "dataset", - "created": "2023-11-01", - "updated": "2023-12-01", + "created": "2023-11-01T22:23:43Z", + "updated": "2023-12-01T18:49:27Z", "wmo:dataPolicy": "core" }, "links": [ diff --git a/schemas/wcmp2-bundled.json b/schemas/wcmp2-bundled.json index 4ce2c2f..723c35d 100644 --- a/schemas/wcmp2-bundled.json +++ b/schemas/wcmp2-bundled.json @@ -365,7 +365,6 @@ "maxItems": 2, "items": { "type": "string", - "format": "date-time", "nullable": true }, "example": [ @@ -399,7 +398,6 @@ "items": { "type": "string", "minItems": 1, - "format": "date-time", "nullable": true, "example": [ [ @@ -1366,4 +1364,4 @@ ] } } -} \ No newline at end of file +}