Skip to content

Commit

Permalink
fix geometry and datetime null encoding (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Jan 9, 2024
1 parent 0a92240 commit bc632b5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion schemas/notificationMessageGeoJSON.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ properties:
The identification SHOULD be from a WCMP2 discovery metadata record identifier from the WIS2
Global Discovery Catalogue. Identifiers based on external catalogue systems MAY be articulated as additional links.
datetime:
type: string
type:
- string
- null
format: date-time
description: Identifies the date/time of the data being published, in RFC3339 format.
start_datetime:
Expand Down
7 changes: 5 additions & 2 deletions schemas/wis2-notification-message-bundled.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@
"description": "Identifier for associated discovery metadata record to which the notification applies to."
},
"datetime": {
"type": "string",
"type": [
"string",
"null"
],
"format": "date-time",
"description": "Identifies the date/time of the data being published, in RFC3339 format."
},
Expand Down Expand Up @@ -285,4 +288,4 @@
}
]
}
}
}

0 comments on commit bc632b5

Please sign in to comment.