This PR adds tighter checking of properties.created based on the RFC3339 requirement of WCMP2 / OGC API - Records.
Note:
The JSON schema specification specifies dates as a format (vs. a type), for example:
"type": "string",
"format": "date-time"
jsonschema validation, by default, does not check against format specifications, but does provide a FormatChecker that can check JSON Schema formats if they are defined in a property. For date-time formats, this requires the rfc3339-validator package. I've decided to implement this in the ETS so as not to add another dependency.
This PR adds tighter checking of
properties.created
based on the RFC3339 requirement of WCMP2 / OGC API - Records.Note:
The JSON schema specification specifies dates as a format (vs. a type), for example:
jsonschema validation, by default, does not check against
format
specifications, but does provide aFormatChecker
that can check JSON Schemaformat
s if they are defined in a property. Fordate-time
formats, this requires the rfc3339-validator package. I've decided to implement this in the ETS so as not to add another dependency.