openapi: 3.0.1
info:
  version: 1.0.0
  title: Example - oneOf data type
  license:
    name: MIT
servers:
  - url: http://api.example.xyz/v1
paths:
  /example:
    get:
      operationId: list
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Example"
components:
  schemas:
    Example:
      oneOf:
      - type: string
        format: uuid
      - type: string
        format: date-time
      - type: integer
      - type: number
