Commit 7466b056 authored by ruiyue's avatar ruiyue
Browse files

Update file TS28623_ComDefs.yaml

parent 16ebe8c1
Loading
Loading
Loading
Loading
Loading
+14 −32
Original line number Diff line number Diff line
@@ -129,36 +129,18 @@ components:
      pattern: '^[A-Fa-f0-9]{9}$'   
    TimeWindow:
      description: This datatype is used for writable attribute 
      oneOf:  
        - type: object
          properties:
            startTime:
              $ref: '#/components/schemas/DateTime'
            endTime:
              $ref: '#/components/schemas/DateTime'
        - type: object
      type: object
      properties:
        startTime:
          $ref: '#/components/schemas/DateTime'
        - type: object
          properties:
        endTime:
          $ref: '#/components/schemas/DateTime'
    TimeWindowRo:
      description: This datatype is used for readOnly attribute
      oneOf:
        - type: object
          properties:
            startTime:
              $ref: '#/components/schemas/DateTimeRo'
            endTime:
              $ref: '#/components/schemas/DateTimeRo'        
        - type: object
      type: object
      properties:
        startTime:
          $ref: '#/components/schemas/DateTimeRo'
        - type: object
          properties:
        endTime:
          $ref: '#/components/schemas/DateTimeRo'
    GeoCoordinate: