Commit a2790708 authored by allwang's avatar allwang
Browse files

Update TS28623_ComDefs.yaml

parent bec9ce0e
Loading
Loading
Loading
Loading
+39 −6
Original line number Diff line number Diff line
@@ -19,6 +19,22 @@ components:
    DateTime:
      type: string
      format: date-time
    FullTime:
      type: string
      format: full-time
    DateMonth:
      type: string
      format: date-month
    DateMonthDay:
      type: string
      format: date-mday
    DayInYear:
      type: object
      properties:
        month:
          $ref: '#/components/schemas/DateMonth'
        monthDay:
          $ref: '#/components/schemas/DateMonthDay'
    Latitude:
      type: number
      format: float
@@ -65,10 +81,19 @@ components:
      type: string
      pattern: '^[A-Fa-f0-9]{9}$'
    TimeWindow:
      type: object
      oneOf:
        - type: object
          properties:
            startTime:
              $ref: '#/components/schemas/DateTime'
            endTime:
              $ref: '#/components/schemas/DateTime'
        - type: object          
          properties:
            startTime:
              $ref: '#/components/schemas/DateTime'
        - type: object
          properties:
            endTime:
              $ref: '#/components/schemas/DateTime'
    GeoCoordinate:
@@ -141,6 +166,14 @@ components:
    Uri:
      type: string

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

    AdministrativeState:
      type: string
      enum: