required: true
content:
  application/json:
    schema:
      allOf:
        - $ref: "../schemas/record-spec.yaml"
        - properties:
            filters:
              allOf:
                - $ref: "../schemas/request-pattern.yaml"
                - description: Filter requests for which to create stub mapping
            targetBaseUrl:
              type: string
              description: Target URL when using the record and playback API
              example: https://example.wiremock.org
    example:
      $ref: "../examples/record-spec.yaml"
