$comment: Adapted from https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/extent.yaml
description: 'The extent of the features in the collection. In the Core only spatial
  and temporal

  extents are specified. Extensions may add additional members to represent other

  extents, for example, thermal or pressure ranges.


  An array of extents is provided for each extent type (spatial, temporal). The first
  item

  in the array describes the overall extent of the data. All subsequent items describe
  more

  precise extents, e.g., to identify clusters of data. Clients only interested in
  the

  overall extent will only need to access the first extent in the array.'
type: object
properties:
  spatial:
    description: The spatial extent of the features in the collection.
    type: object
    properties:
      bbox:
        type: array
        items:
          $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/common/data_types/bounding_box/schema.yaml
      crs:
        description: 'Coordinate reference system of the coordinates in the spatial
          extent

          (property `bbox`). The default reference system is WGS 84 longitude/latitude.

          In the Core the only other supported coordinate reference system is

          WGS 84 longitude/latitude/ellipsoidal height for coordinates with height.

          Extensions may support additional coordinate reference systems and add

          additional enum values.'
        type: string
        enum:
        - http://www.opengis.net/def/crs/OGC/1.3/CRS84
        - http://www.opengis.net/def/crs/OGC/0/CRS84h
        default: http://www.opengis.net/def/crs/OGC/1.3/CRS84
  temporal:
    description: The temporal extent of the features in the collection.
    type: object
    properties:
      interval:
        description: 'One or more time intervals that describe the temporal extent
          of the dataset.

          In the Core only a single time interval is supported.


          Extensions may support multiple intervals.

          The first time interval describes the overall

          temporal extent of the data. All subsequent time intervals describe

          more precise time intervals, e.g., to identify clusters of data.

          Clients only interested in the overall temporal extent will only need

          to access the first time interval in the array (a pair of lower and upper

          bound instants).'
        type: array
        minItems: 1
        items:
          description: 'Begin and end times of the time interval. The timestamps are
            in the

            temporal coordinate reference system specified in `trs`. By default

            this is the Gregorian calendar.


            The value `null` at start or end is supported and indicates a half-bounded
            interval.'
          type: array
          minItems: 2
          maxItems: 2
          items:
            type:
            - string
            - 'null'
            format: date-time
          example:
          - '2011-11-11T12:22:11Z'
          - null
      trs:
        description: 'Coordinate reference system of the coordinates in the temporal
          extent

          (property `interval`). The default reference system is the Gregorian calendar.

          In the Core this is the only supported temporal coordinate reference system.

          Extensions may support additional temporal coordinate reference systems
          and add

          additional enum values.'
        type: string
        enum:
        - http://www.opengis.net/def/uom/ISO-8601/0/Gregorian
        default: http://www.opengis.net/def/uom/ISO-8601/0/Gregorian
