github.com/optim-corp/cios-golang-sdk@v0.5.1/openapi/components/geography-component.openapi.yml (about)

     1  openapi: 3.0.3
     2  info:
     3    title: Auth Component
     4    description: Component
     5    version: 1.0.0
     6  
     7  paths: {}
     8  
     9  components:
    10    schemas:
    11      MultiplePoint:
    12        type: object
    13        required:
    14          - total
    15          - points
    16        properties:
    17          total:
    18            type: integer
    19            format: int64
    20          points:
    21            type: array
    22            items:
    23              $ref: '#/components/schemas/Point'
    24      SinglePoint:
    25        type: object
    26        required:
    27          - point
    28        properties:
    29          point:
    30            $ref: '#/components/schemas/Point'
    31      Point:
    32        type: object
    33        required:
    34          - id
    35          - name
    36          - resource_owner_id
    37          - location
    38          - altitude
    39        properties:
    40          id:
    41            type: string
    42          name:
    43            type: string
    44          location:
    45            $ref: '#/components/schemas/Location'
    46          altitude:
    47            type: number
    48            format: float
    49          labels:
    50            type: array
    51            items:
    52              $ref: './general.yml#/components/schemas/Label'
    53          description:
    54            type: string
    55          display_info:
    56            type: array
    57            items:
    58              $ref: './general.yml#/components/schemas/DisplayInfo'
    59          resource_owner_id:
    60            type: string
    61            format: uuid
    62      PointRequest:
    63        type: object
    64        required:
    65          - resource_owner_id
    66        properties:
    67          name:
    68            type: string
    69          location:
    70            $ref: '#/components/schemas/Location'
    71          altitude:
    72            type: number
    73            format: float
    74          labels:
    75            type: array
    76            items:
    77              $ref: './general.yml#/components/schemas/Label'
    78          description:
    79            type: string
    80          display_info:
    81            type: array
    82            items:
    83              $ref: './general.yml#/components/schemas/DisplayInfo'
    84          resource_owner_id:
    85            type: string
    86      MultipleCircle:
    87        type: object
    88        properties:
    89          total:
    90            type: integer
    91            format: int64
    92  
    93          circles:
    94            type: array
    95            items:
    96              $ref: '#/components/schemas/Circle'
    97      SingleCircle:
    98        type: object
    99        properties:
   100          circle:
   101            $ref: '#/components/schemas/Circle'
   102      Circle:
   103        type: object
   104        properties:
   105          id:
   106            type: string
   107          name:
   108            type: string
   109          altitude:
   110            type: number
   111            format: float
   112          radius_m:
   113            type: number
   114            format: float
   115          location:
   116            $ref: '#/components/schemas/Location'
   117          labels:
   118            type: array
   119            items:
   120              $ref: './general.yml#/components/schemas/Label'
   121          description:
   122            type: string
   123          display_info:
   124            type: array
   125            items:
   126              $ref: './general.yml#/components/schemas/DisplayInfo'
   127          resource_owner_id:
   128            type: string
   129      MultipleRoute:
   130        type: object
   131        properties:
   132          total:
   133            type: integer
   134            format: int64
   135  
   136          routes:
   137            type: array
   138            items:
   139              $ref: '#/components/schemas/Route'
   140      SingleRoute:
   141        type: object
   142        properties:
   143          route:
   144            $ref: '#/components/schemas/Route'
   145      Route:
   146        type: object
   147        properties:
   148          id:
   149            type: string
   150          name:
   151            type: string
   152          contents:
   153            type: array
   154            items:
   155              type: object
   156              properties:
   157                order_no:
   158                  type: integer
   159                type:
   160                  type: string
   161                id:
   162                  type: string
   163          labels:
   164            type: array
   165            items:
   166              $ref: './general.yml#/components/schemas/Label'
   167          description:
   168            type: string
   169          display_info:
   170            type: array
   171            items:
   172              $ref: './general.yml#/components/schemas/DisplayInfo'
   173          resource_owner_id:
   174            type: string
   175      Location:
   176        required:
   177          - latitude
   178          - longitude
   179        type: object
   180        properties:
   181          latitude:
   182            type: number
   183          longitude:
   184            type: number