Skip to content

Latest commit

 

History

History
67 lines (50 loc) · 1.48 KB

json-instant.adoc

File metadata and controls

67 lines (50 loc) · 1.48 KB

Instant

Version: 1.0.1

Description

Temporal instants are either a date or timestamp in the Gregorian calendar as specified by RFC 3339. See the syntax of full-date and date-time in section 5.6.

All timestamps include a timezone. The use of UTC ("Z") is recommended.

This describes the initial range of instant values. This range may be extended in the future to support additional use cases. Clients processing instant values must be prepared to receive other values. Clients may ignore values that they do not understand.

An instant is embedded as a string in JSON representations of OGC API resources.

Maturity: Mature

Examples

Example 1. Time instant example (date)
"2017-08-17"
Example 2. Time instant example (date-time)
"2017-08-17T08:05:32Z"

Schema

Alternate Representation: Text

The text representation is identical to the RFC 3339 string.

Examples

Example 3. Time instant example (date)
2017-08-17
Example 4. Time instant example (date-time)
2017-08-17T08:05:32Z