Skip to content

Commit

Permalink
fix date-time format for create/updated in examples (#194)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
tomkralidis authored Feb 15, 2024
1 parent 21c61c0 commit 6c5f250
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 18 deletions.
4 changes: 2 additions & 2 deletions examples/ca-eccc-msc.cmip5-tt.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down
4 changes: 2 additions & 2 deletions examples/ca-eccc-msc.daily-climate-observations.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down
4 changes: 2 additions & 2 deletions examples/ca-eccc-msc.hydrometric-archive.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down
4 changes: 2 additions & 2 deletions examples/ca-eccc-msc.hydrometric-realtime.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down
4 changes: 2 additions & 2 deletions examples/ca-eccc-msc.nwp-gdps.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion examples/de-dwd.icon-eps-all.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
4 changes: 2 additions & 2 deletions examples/de-dwd.surface-weather-observations-realtime.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
4 changes: 1 addition & 3 deletions schemas/wcmp2-bundled.json
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,6 @@
"maxItems": 2,
"items": {
"type": "string",
"format": "date-time",
"nullable": true
},
"example": [
Expand Down Expand Up @@ -399,7 +398,6 @@
"items": {
"type": "string",
"minItems": 1,
"format": "date-time",
"nullable": true,
"example": [
[
Expand Down Expand Up @@ -1366,4 +1364,4 @@
]
}
}
}
}

0 comments on commit 6c5f250

Please sign in to comment.