type: object
properties:
  mockApi:
    type: object
    properties:
      name:
        type: string
        maxLength: 256
        description: The display name of the mock API.
      description:
        type: string
        maxLength: 256
        description: The description of the mock API.
      apiTemplateId:
        type: string
        description: The ID of the API template from which to derive this mock API. The mock API will be blank if this is not specified.
      type:
        $ref: ./MockApiType.yaml
      hostname:
        type: string
        description: |
          The friendly, unqualified domain name for this mock API's base URL
          e.g. in the SaaS edition, for a base URL of `https://my-api.wiremockapi.cloud` this value should be set to `my-api`.
    required:
      - name
