Commit 5f09b392 authored by allwang's avatar allwang
Browse files

Introduce data types TimeInterval and FullTime

parent 3b112a6c
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -19,6 +19,9 @@ components:
    DateTime:
      type: string
      format: date-time
    FullTime:
      type: string
      format: full-time
    Latitude:
      type: number
      format: float
@@ -99,6 +102,14 @@ components:
    Uri:
      type: string

    TimeInterval:
      type: object
      properties:
        intervalStart:
          $ref: '#/components/schemas/FullTime'
        intervalEnd:
          $ref: '#/components/schemas/FullTime'

    AdministrativeState:
      type: string
      enum: