> ## Documentation Index
> Fetch the complete documentation index at: https://docs.levios.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Deactivate an automation

> Stop an Instagram automation from processing new triggers and move it to paused, using expected_updated_at to reject a request built on a stale read.

Deactivating an automation stops it from processing new triggers and moves the
status to `paused`. Your API key needs the `automations:activate` scope and
access to the account in the request body.

Send the automation ID in the path. Send `account_id` and the automation's
latest `updated_at` value as `expected_updated_at` in the body. Both fields are
required and no other field is accepted.

A successful request returns `200` with the paused automation and its complete
typed `configuration`.

## What deactivation does not change

Deactivation stops new trigger processing. It does not delete the automation,
its configuration, its metrics, or its contact history. Activate the same
automation again with
[Activate an automation](/api/v1/automations/activate) when you want it to
resume.

Use [Delete an automation](/api/v1/automations/delete) when you want the
automation archived instead of paused.

## Protect concurrent changes

Read the automation immediately before you deactivate it, then send its exact
`updated_at` value. If the automation changed after that read, the API returns
`409` with `api_automation_version_conflict`. Read the automation again and
build a new request from the value it returns.

## Example request

```bash theme={null}
curl --request POST \
  --url "https://levios.app/api/v1/automations/${LEVIOS_AUTOMATION_ID}/deactivate" \
  --header "Authorization: Bearer ${LEVIOS_API_KEY}" \
  --header 'Content-Type: application/json' \
  --data @- <<JSON
{
  "account_id": "${LEVIOS_ACCOUNT_ID}",
  "expected_updated_at": "${EXPECTED_UPDATED_AT}"
}
JSON
```

This operation is not idempotent. Do not retry it automatically after an
unknown response.

<Warning>
  If the API returns `api_automation_committed_response_unavailable` with
  `committed: true` and `retryable: false`, the automation was paused but the API
  could not verify the response. Read the automation before taking another
  action.
</Warning>

## Example success response

Illustrative IDs, timestamps, and content. HTTP `200`.

```json theme={null}
{
  "automation": {
    "id": "00000000-0000-4000-8000-000000000002",
    "account_id": "00000000-0000-4000-8000-000000000001",
    "name": "Guide request",
    "status": "paused",
    "has_unpublished_changes": false,
    "draft_updated_at": null,
    "created_at": "2026-09-01T12:00:00.000000Z",
    "updated_at": "2026-09-01T12:10:00.000000Z",
    "trigger_type": "comment",
    "configuration": {
      "contact_filter": "anyone",
      "trigger": {
        "type": "comment",
        "publication": {
          "mode": "all"
        },
        "keywords": {
          "mode": "specific",
          "match_mode": "whole_word",
          "values": [
            "guide"
          ]
        }
      },
      "opening": {
        "public_reply": {
          "enabled": false
        },
        "direct_message": {
          "delay_seconds": 0,
          "message": {
            "text": "Here is the guide you asked for.",
            "buttons": [
              {
                "type": "url",
                "title": "Open the guide",
                "url": "https://example.com/guide"
              }
            ]
          }
        }
      },
      "follow_up": null,
      "extras": {
        "cooldown": {
          "mode": "none"
        }
      }
    },
    "authoring_compatibility": "public_v1"
  }
}
```


## OpenAPI

````yaml openapi/v1.json POST /api/v1/automations/{automationId}/deactivate
openapi: 3.1.0
info:
  title: levios public API
  version: '1'
servers:
  - url: https://levios.app
security:
  - bearerAuth: []
paths:
  /api/v1/automations/{automationId}/deactivate:
    post:
      tags:
        - automation
      summary: Deactivate an automation
      description: >-
        Pauses new trigger processing after checking the supplied automation
        version.
      operationId: automations.deactivate
      parameters:
        - name: automationId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                account_id:
                  type: string
                  format: uuid
                expected_updated_at:
                  type: string
                  pattern: >-
                    ^(?:(?:(?!0000)\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|02-(?:0[1-9]|1\d|2[0-8]))|(?:(?!0000)(?:\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d{1,6})?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$
                  minLength: 20
                  maxLength: 32
              required:
                - account_id
                - expected_updated_at
              additionalProperties: false
      responses:
        '200':
          description: Successful response.
          headers:
            X-Correlation-ID:
              description: Correlation identifier for this request.
              schema:
                type: string
                pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicAutomationDetailResponseV1'
        '400':
          description: Error response.
          headers:
            X-Correlation-ID:
              description: Correlation identifier for this request.
              schema:
                type: string
                pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      error:
                        type: object
                        properties:
                          code:
                            type: string
                            enum:
                              - api_invalid_content_length
                          correlation_id:
                            type: string
                          message:
                            type: string
                            enum:
                              - Invalid Content-Length.
                        required:
                          - code
                          - message
                        additionalProperties: false
                    required:
                      - error
                    additionalProperties: false
                  - type: object
                    properties:
                      error:
                        type: object
                        properties:
                          code:
                            type: string
                            enum:
                              - api_invalid_json
                          correlation_id:
                            type: string
                          message:
                            type: string
                            enum:
                              - The request body is not valid JSON.
                        required:
                          - code
                          - message
                        additionalProperties: false
                    required:
                      - error
                    additionalProperties: false
                  - type: object
                    properties:
                      error:
                        type: object
                        properties:
                          code:
                            type: string
                            enum:
                              - api_invalid_request_url
                          correlation_id:
                            type: string
                          message:
                            type: string
                            enum:
                              - The request URL is invalid.
                        required:
                          - code
                          - message
                        additionalProperties: false
                    required:
                      - error
                    additionalProperties: false
                  - type: object
                    properties:
                      error:
                        type: object
                        properties:
                          code:
                            type: string
                            enum:
                              - api_invalid_utf8
                          correlation_id:
                            type: string
                          message:
                            type: string
                            enum:
                              - The request body is not valid UTF-8.
                        required:
                          - code
                          - message
                        additionalProperties: false
                    required:
                      - error
                    additionalProperties: false
        '401':
          description: Error response.
          headers:
            X-Correlation-ID:
              description: Correlation identifier for this request.
              schema:
                type: string
                pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
            WWW-Authenticate:
              description: API key Bearer challenge.
              schema:
                type: string
                enum:
                  - Bearer
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - api_unauthorized
                      correlation_id:
                        type: string
                      message:
                        type: string
                        enum:
                          - Authentication required.
                    required:
                      - code
                      - message
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
        '402':
          description: Error response.
          headers:
            X-Correlation-ID:
              description: Correlation identifier for this request.
              schema:
                type: string
                pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - api_automation_plan_limit
                      correlation_id:
                        type: string
                      details:
                        $ref: '#/components/schemas/PublicAutomationPlanDetailsV1'
                      message:
                        type: string
                        enum:
                          - The account plan does not allow this automation.
                    required:
                      - code
                      - message
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
        '403':
          description: Error response.
          headers:
            X-Correlation-ID:
              description: Correlation identifier for this request.
              schema:
                type: string
                pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      error:
                        type: object
                        properties:
                          code:
                            type: string
                            enum:
                              - api_account_not_granted
                          correlation_id:
                            type: string
                          message:
                            type: string
                            enum:
                              - >-
                                This credential is not authorized for the
                                request.
                        required:
                          - code
                          - message
                        additionalProperties: false
                    required:
                      - error
                    additionalProperties: false
                  - type: object
                    properties:
                      error:
                        type: object
                        properties:
                          code:
                            type: string
                            enum:
                              - api_forbidden
                          correlation_id:
                            type: string
                          message:
                            type: string
                            enum:
                              - >-
                                This credential is not authorized for the
                                request.
                        required:
                          - code
                          - message
                        additionalProperties: false
                    required:
                      - error
                    additionalProperties: false
                  - type: object
                    properties:
                      error:
                        type: object
                        properties:
                          code:
                            type: string
                            enum:
                              - api_scope_denied
                          correlation_id:
                            type: string
                          message:
                            type: string
                            enum:
                              - >-
                                This credential is not authorized for the
                                request.
                        required:
                          - code
                          - message
                        additionalProperties: false
                    required:
                      - error
                    additionalProperties: false
        '404':
          description: Error response.
          headers:
            X-Correlation-ID:
              description: Correlation identifier for this request.
              schema:
                type: string
                pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - api_automation_not_found
                      correlation_id:
                        type: string
                      message:
                        type: string
                        enum:
                          - The requested automation was not found.
                    required:
                      - code
                      - message
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
        '409':
          description: Error response.
          headers:
            X-Correlation-ID:
              description: Correlation identifier for this request.
              schema:
                type: string
                pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - api_automation_version_conflict
                      correlation_id:
                        type: string
                      message:
                        type: string
                        enum:
                          - The automation changed after the supplied version.
                    required:
                      - code
                      - message
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
        '413':
          description: Error response.
          headers:
            X-Correlation-ID:
              description: Correlation identifier for this request.
              schema:
                type: string
                pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      error:
                        type: object
                        properties:
                          code:
                            type: string
                            enum:
                              - api_body_too_large
                          correlation_id:
                            type: string
                          message:
                            type: string
                            enum:
                              - The JSON request body exceeds 1 MiB.
                        required:
                          - code
                          - message
                        additionalProperties: false
                    required:
                      - error
                    additionalProperties: false
                  - type: object
                    properties:
                      error:
                        type: object
                        properties:
                          code:
                            type: string
                            enum:
                              - api_json_too_deep
                          correlation_id:
                            type: string
                          message:
                            type: string
                            enum:
                              - The JSON request body exceeds maximum depth.
                        required:
                          - code
                          - message
                        additionalProperties: false
                    required:
                      - error
                    additionalProperties: false
        '415':
          description: Error response.
          headers:
            X-Correlation-ID:
              description: Correlation identifier for this request.
              schema:
                type: string
                pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - api_unsupported_media_type
                      correlation_id:
                        type: string
                      message:
                        type: string
                        enum:
                          - Content-Type must be application/json.
                    required:
                      - code
                      - message
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
        '422':
          description: Error response.
          headers:
            X-Correlation-ID:
              description: Correlation identifier for this request.
              schema:
                type: string
                pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      error:
                        type: object
                        properties:
                          code:
                            type: string
                            enum:
                              - api_automation_invalid_configuration
                          correlation_id:
                            type: string
                          details:
                            $ref: >-
                              #/components/schemas/PublicAutomationValidationDetailsV1
                          message:
                            type: string
                            enum:
                              - >-
                                Configuration fields do not match the public
                                automation contract.
                        required:
                          - code
                          - message
                        additionalProperties: false
                    required:
                      - error
                    additionalProperties: false
                  - type: object
                    properties:
                      error:
                        type: object
                        properties:
                          code:
                            type: string
                            enum:
                              - api_validation_error
                          correlation_id:
                            type: string
                          details:
                            type: object
                            properties:
                              issues:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    code:
                                      type: string
                                      minLength: 1
                                      maxLength: 64
                                    path:
                                      type: array
                                      items:
                                        type: integer
                                        minimum: 0
                                      maxItems: 16
                                  required:
                                    - code
                                    - path
                                  additionalProperties: false
                                maxItems: 32
                            required:
                              - issues
                            additionalProperties: false
                          message:
                            type: string
                            enum:
                              - The request does not match the declared schema.
                        required:
                          - code
                          - message
                        additionalProperties: false
                    required:
                      - error
                    additionalProperties: false
        '429':
          description: Error response.
          headers:
            X-Correlation-ID:
              description: Correlation identifier for this request.
              schema:
                type: string
                pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
                minimum: 1
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - rate_limited
                      correlation_id:
                        type: string
                      message:
                        type: string
                        enum:
                          - Rate limit exceeded.
                    required:
                      - code
                      - message
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
        '500':
          description: Error response.
          headers:
            X-Correlation-ID:
              description: Correlation identifier for this request.
              schema:
                type: string
                pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      error:
                        type: object
                        properties:
                          code:
                            type: string
                            enum:
                              - api_automation_committed_response_unavailable
                          correlation_id:
                            type: string
                          details:
                            type: object
                            properties:
                              committed:
                                type: boolean
                                enum:
                                  - true
                              retryable:
                                type: boolean
                                enum:
                                  - false
                            required:
                              - committed
                              - retryable
                            additionalProperties: false
                          message:
                            type: string
                            enum:
                              - >-
                                The automation committed, but its response could
                                not be verified. Do not retry automatically.
                        required:
                          - code
                          - message
                        additionalProperties: false
                    required:
                      - error
                    additionalProperties: false
                  - type: object
                    properties:
                      error:
                        type: object
                        properties:
                          code:
                            type: string
                            enum:
                              - api_internal_error
                          correlation_id:
                            type: string
                          message:
                            type: string
                            enum:
                              - The request could not be completed.
                        required:
                          - code
                          - message
                        additionalProperties: false
                    required:
                      - error
                    additionalProperties: false
        '503':
          description: Error response.
          headers:
            X-Correlation-ID:
              description: Correlation identifier for this request.
              schema:
                type: string
                pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      error:
                        type: object
                        properties:
                          code:
                            type: string
                            enum:
                              - api_account_resolution_unavailable
                          correlation_id:
                            type: string
                          message:
                            type: string
                            enum:
                              - The reachable account set could not be read.
                        required:
                          - code
                          - message
                        additionalProperties: false
                    required:
                      - error
                    additionalProperties: false
                  - type: object
                    properties:
                      error:
                        type: object
                        properties:
                          code:
                            type: string
                            enum:
                              - api_automation_authoring_unavailable
                          correlation_id:
                            type: string
                          message:
                            type: string
                            enum:
                              - The automation could not be authored.
                        required:
                          - code
                          - message
                        additionalProperties: false
                    required:
                      - error
                    additionalProperties: false
                  - type: object
                    properties:
                      error:
                        type: object
                        properties:
                          code:
                            type: string
                            enum:
                              - api_credential_attribution_unavailable
                          correlation_id:
                            type: string
                          message:
                            type: string
                            enum:
                              - The credential attribution is unavailable.
                        required:
                          - code
                          - message
                        additionalProperties: false
                    required:
                      - error
                    additionalProperties: false
                  - type: object
                    properties:
                      error:
                        type: object
                        properties:
                          code:
                            type: string
                            enum:
                              - rate_limiter_unavailable
                          correlation_id:
                            type: string
                          message:
                            type: string
                            enum:
                              - Rate limiter unavailable.
                        required:
                          - code
                          - message
                        additionalProperties: false
                    required:
                      - error
                    additionalProperties: false
components:
  schemas:
    PublicAutomationDetailResponseV1:
      $ref: 647e4b29-b1dd-4a40-a884-dc035e334b06
      $defs:
        PublicAutomationDetailResponseV1:
          additionalProperties: false
          properties:
            automation:
              anyOf:
                - additionalProperties: false
                  properties:
                    account_id:
                      format: uuid
                      type: string
                    authoring_compatibility:
                      const: public_v1
                      type: string
                    configuration:
                      additionalProperties: false
                      properties:
                        contact_filter:
                          description: >-
                            `anyone` — every eligible contact; `followers_only`
                            — confirmed followers; `non_followers_only` —
                            confirmed non-followers; `previous_dm_contacts` —
                            contacts with an inbound DM before this trigger;
                            `existing_contacts` — contacts already known before
                            this trigger.
                          enum:
                            - anyone
                            - followers_only
                            - non_followers_only
                            - previous_dm_contacts
                            - existing_contacts
                          type: string
                        extras:
                          additionalProperties: false
                          properties:
                            cooldown:
                              anyOf:
                                - additionalProperties: false
                                  properties:
                                    mode:
                                      const: none
                                      type: string
                                  required:
                                    - mode
                                  type: object
                                - additionalProperties: false
                                  properties:
                                    mode:
                                      const: fixed
                                      type: string
                                    seconds:
                                      maximum: 2592000
                                      minimum: 1
                                      type: integer
                                  required:
                                    - mode
                                    - seconds
                                  type: object
                          required:
                            - cooldown
                          type: object
                        follow_up:
                          anyOf:
                            - type: 'null'
                            - additionalProperties: false
                              properties:
                                actions:
                                  items:
                                    anyOf:
                                      - anyOf:
                                          - additionalProperties: false
                                            properties:
                                              buttons:
                                                items:
                                                  additionalProperties: false
                                                  properties:
                                                    title:
                                                      description: >-
                                                        Button title. Length is 1 through 20
                                                        Unicode scalar values.
                                                      pattern: >-
                                                        ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                      type: string
                                                    type:
                                                      const: url
                                                      type: string
                                                    url:
                                                      pattern: >-
                                                        ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                                      type: string
                                                  required:
                                                    - type
                                                    - title
                                                    - url
                                                  type: object
                                                maxItems: 0
                                                minItems: 0
                                                type: array
                                              delay_seconds:
                                                maximum: 86399
                                                minimum: 0
                                                type: integer
                                              text:
                                                description: >-
                                                  Message text. Length is 1 through 1000
                                                  Unicode scalar values.
                                                pattern: >-
                                                  ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,1000}$
                                                type: string
                                              type:
                                                const: send_message
                                                type: string
                                            required:
                                              - type
                                              - delay_seconds
                                              - text
                                              - buttons
                                            type: object
                                          - additionalProperties: false
                                            properties:
                                              buttons:
                                                items:
                                                  additionalProperties: false
                                                  properties:
                                                    title:
                                                      description: >-
                                                        Button title. Length is 1 through 20
                                                        Unicode scalar values.
                                                      pattern: >-
                                                        ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                      type: string
                                                    type:
                                                      const: url
                                                      type: string
                                                    url:
                                                      pattern: >-
                                                        ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                                      type: string
                                                  required:
                                                    - type
                                                    - title
                                                    - url
                                                  type: object
                                                maxItems: 3
                                                minItems: 1
                                                type: array
                                              delay_seconds:
                                                maximum: 86399
                                                minimum: 0
                                                type: integer
                                              text:
                                                description: >-
                                                  Message text. Length is 1 through 640
                                                  Unicode scalar values.
                                                pattern: >-
                                                  ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,640}$
                                                type: string
                                              type:
                                                const: send_message
                                                type: string
                                            required:
                                              - type
                                              - delay_seconds
                                              - text
                                              - buttons
                                            type: object
                                      - additionalProperties: false
                                        properties:
                                          delay_seconds:
                                            maximum: 86399
                                            minimum: 0
                                            type: integer
                                          media_type:
                                            description: >-
                                              `image`, `video`, `audio`, or `file`
                                              identifies the outbound Instagram
                                              attachment type.
                                            enum:
                                              - image
                                              - video
                                              - audio
                                              - file
                                            type: string
                                          type:
                                            const: send_media
                                            type: string
                                          url:
                                            pattern: >-
                                              ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                            type: string
                                        required:
                                          - type
                                          - delay_seconds
                                          - media_type
                                          - url
                                        type: object
                                      - additionalProperties: false
                                        properties:
                                          cards:
                                            items:
                                              additionalProperties: false
                                              properties:
                                                buttons:
                                                  items:
                                                    additionalProperties: false
                                                    properties:
                                                      title:
                                                        description: >-
                                                          Button title. Length is 1 through 20
                                                          Unicode scalar values.
                                                        pattern: >-
                                                          ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                        type: string
                                                      type:
                                                        const: url
                                                        type: string
                                                      url:
                                                        pattern: >-
                                                          ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                                        type: string
                                                    required:
                                                      - type
                                                      - title
                                                      - url
                                                    type: object
                                                  maxItems: 3
                                                  minItems: 1
                                                  type: array
                                                image_url:
                                                  pattern: >-
                                                    ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                                  type: string
                                                subtitle:
                                                  description: >-
                                                    Card subtitle. Length is 0 through 80
                                                    Unicode scalar values.
                                                  pattern: >-
                                                    ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){0,80}$
                                                  type: string
                                                title:
                                                  description: >-
                                                    Card title. Length is 1 through 80
                                                    Unicode scalar values.
                                                  pattern: >-
                                                    ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,80}$
                                                  type: string
                                              required:
                                                - title
                                                - image_url
                                                - buttons
                                              type: object
                                            maxItems: 10
                                            minItems: 1
                                            type: array
                                          delay_seconds:
                                            maximum: 86399
                                            minimum: 0
                                            type: integer
                                          type:
                                            const: send_carousel
                                            type: string
                                        required:
                                          - type
                                          - delay_seconds
                                          - cards
                                        type: object
                                      - additionalProperties: false
                                        properties:
                                          buttons:
                                            additionalProperties: false
                                            properties:
                                              confirm_title:
                                                description: >-
                                                  Button title. Length is 1 through 20
                                                  Unicode scalar values.
                                                pattern: >-
                                                  ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                type: string
                                              open_profile_title:
                                                description: >-
                                                  Button title. Length is 1 through 20
                                                  Unicode scalar values.
                                                pattern: >-
                                                  ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                type: string
                                            required:
                                              - open_profile_title
                                              - confirm_title
                                            type: object
                                          delay_seconds:
                                            maximum: 86399
                                            minimum: 0
                                            type: integer
                                          expires_in_seconds:
                                            maximum: 604800
                                            minimum: 60
                                            type: integer
                                          max_attempts:
                                            maximum: 10
                                            minimum: 1
                                            type: integer
                                          message:
                                            description: >-
                                              Message text. Length is 1 through 640
                                              Unicode scalar values.
                                            pattern: >-
                                              ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,640}$
                                            type: string
                                          not_following_message:
                                            anyOf:
                                              - description: >-
                                                  Message text. Length is 1 through 640
                                                  Unicode scalar values.
                                                pattern: >-
                                                  ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,640}$
                                                type: string
                                              - type: 'null'
                                            description: >-
                                              Message text. Length is 1 through 640
                                              Unicode scalar values.
                                          recheck_after_seconds:
                                            maximum: 86400
                                            minimum: 60
                                            type: integer
                                          retry_exhausted_action:
                                            description: >-
                                              `continue` — continue after the retry
                                              limit; `stop` — end the active gate
                                              after the retry limit.
                                            enum:
                                              - continue
                                              - stop
                                            type: string
                                          type:
                                            const: ask_to_follow
                                            type: string
                                          verification_mode:
                                            description: >-
                                              `trusted_click` — trust the confirmation
                                              click; `strict` — verify follow status
                                              with Instagram.
                                            enum:
                                              - trusted_click
                                              - strict
                                            type: string
                                        required:
                                          - type
                                          - delay_seconds
                                          - message
                                          - buttons
                                          - verification_mode
                                          - not_following_message
                                          - max_attempts
                                          - retry_exhausted_action
                                          - recheck_after_seconds
                                          - expires_in_seconds
                                        type: object
                                      - additionalProperties: false
                                        properties:
                                          delay_seconds:
                                            maximum: 86399
                                            minimum: 0
                                            type: integer
                                          expires_in_seconds:
                                            maximum: 604800
                                            minimum: 60
                                            type: integer
                                          max_attempts:
                                            maximum: 5
                                            minimum: 1
                                            type: integer
                                          message:
                                            description: >-
                                              Message text. Length is 1 through 1000
                                              Unicode scalar values.
                                            pattern: >-
                                              ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,1000}$
                                            type: string
                                          retry_exhausted_action:
                                            description: >-
                                              `continue` — continue after the retry
                                              limit; `stop` — end the active gate
                                              after the retry limit.
                                            enum:
                                              - continue
                                              - stop
                                            type: string
                                          retry_message:
                                            description: >-
                                              Message text. Length is 1 through 1000
                                              Unicode scalar values.
                                            pattern: >-
                                              ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,1000}$
                                            type: string
                                          type:
                                            const: ask_for_email
                                            type: string
                                        required:
                                          - type
                                          - delay_seconds
                                          - message
                                          - retry_message
                                          - max_attempts
                                          - retry_exhausted_action
                                          - expires_in_seconds
                                        type: object
                                      - additionalProperties: false
                                        properties:
                                          delay_seconds:
                                            maximum: 86399
                                            minimum: 0
                                            type: integer
                                          expires_in_seconds:
                                            maximum: 604800
                                            minimum: 60
                                            type: integer
                                          max_attempts:
                                            maximum: 5
                                            minimum: 1
                                            type: integer
                                          message:
                                            description: >-
                                              Message text. Length is 1 through 1000
                                              Unicode scalar values.
                                            pattern: >-
                                              ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,1000}$
                                            type: string
                                          retry_exhausted_action:
                                            description: >-
                                              `continue` — continue after the retry
                                              limit; `stop` — end the active gate
                                              after the retry limit.
                                            enum:
                                              - continue
                                              - stop
                                            type: string
                                          retry_message:
                                            description: >-
                                              Message text. Length is 1 through 1000
                                              Unicode scalar values.
                                            pattern: >-
                                              ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,1000}$
                                            type: string
                                          type:
                                            const: ask_for_phone
                                            type: string
                                        required:
                                          - type
                                          - delay_seconds
                                          - message
                                          - retry_message
                                          - max_attempts
                                          - retry_exhausted_action
                                          - expires_in_seconds
                                        type: object
                                      - additionalProperties: false
                                        properties:
                                          delay_seconds:
                                            maximum: 2592000
                                            minimum: 0
                                            type: integer
                                          tag_id:
                                            format: uuid
                                            type: string
                                          type:
                                            const: add_contact_tag
                                            type: string
                                        required:
                                          - type
                                          - delay_seconds
                                          - tag_id
                                        type: object
                                      - additionalProperties: false
                                        properties:
                                          type:
                                            const: finish
                                            type: string
                                        required:
                                          - type
                                        type: object
                                  maxItems: 20
                                  minItems: 1
                                  type: array
                              required:
                                - actions
                              type: object
                        opening:
                          additionalProperties: false
                          properties:
                            direct_message:
                              additionalProperties: false
                              properties:
                                delay_seconds:
                                  maximum: 86400
                                  minimum: 0
                                  type: integer
                                message:
                                  anyOf:
                                    - additionalProperties: false
                                      properties:
                                        buttons:
                                          items:
                                            anyOf:
                                              - additionalProperties: false
                                                properties:
                                                  title:
                                                    description: >-
                                                      Button title. Length is 1 through 20
                                                      Unicode scalar values.
                                                    pattern: >-
                                                      ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                    type: string
                                                  type:
                                                    const: start_follow_up
                                                    type: string
                                                required:
                                                  - type
                                                  - title
                                                type: object
                                              - additionalProperties: false
                                                properties:
                                                  title:
                                                    description: >-
                                                      Button title. Length is 1 through 20
                                                      Unicode scalar values.
                                                    pattern: >-
                                                      ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                    type: string
                                                  type:
                                                    const: url
                                                    type: string
                                                  url:
                                                    pattern: >-
                                                      ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                                    type: string
                                                required:
                                                  - type
                                                  - title
                                                  - url
                                                type: object
                                          maxItems: 0
                                          minItems: 0
                                          type: array
                                        text:
                                          description: >-
                                            Message text. Length is 1 through 1000
                                            Unicode scalar values.
                                          pattern: >-
                                            ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,1000}$
                                          type: string
                                      required:
                                        - text
                                        - buttons
                                      type: object
                                    - additionalProperties: false
                                      properties:
                                        buttons:
                                          items:
                                            anyOf:
                                              - additionalProperties: false
                                                properties:
                                                  title:
                                                    description: >-
                                                      Button title. Length is 1 through 20
                                                      Unicode scalar values.
                                                    pattern: >-
                                                      ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                    type: string
                                                  type:
                                                    const: start_follow_up
                                                    type: string
                                                required:
                                                  - type
                                                  - title
                                                type: object
                                              - additionalProperties: false
                                                properties:
                                                  title:
                                                    description: >-
                                                      Button title. Length is 1 through 20
                                                      Unicode scalar values.
                                                    pattern: >-
                                                      ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                    type: string
                                                  type:
                                                    const: url
                                                    type: string
                                                  url:
                                                    pattern: >-
                                                      ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                                    type: string
                                                required:
                                                  - type
                                                  - title
                                                  - url
                                                type: object
                                          maxItems: 3
                                          minItems: 1
                                          type: array
                                        text:
                                          description: >-
                                            Message text. Length is 1 through 640
                                            Unicode scalar values.
                                          pattern: >-
                                            ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,640}$
                                          type: string
                                      required:
                                        - text
                                        - buttons
                                      type: object
                              required:
                                - delay_seconds
                                - message
                              type: object
                            public_reply:
                              anyOf:
                                - additionalProperties: false
                                  properties:
                                    enabled:
                                      const: false
                                      type: boolean
                                  required:
                                    - enabled
                                  type: object
                                - additionalProperties: false
                                  properties:
                                    delay_seconds:
                                      maximum: 86400
                                      minimum: 0
                                      type: integer
                                    enabled:
                                      const: true
                                      type: boolean
                                    max_per_post:
                                      maximum: 200
                                      minimum: 1
                                      type: integer
                                    mention_mode:
                                      description: >-
                                        `none` — do not prefix a mention;
                                        `contact` — mention the contact;
                                        `account` — mention the account.
                                      enum:
                                        - none
                                        - contact
                                        - account
                                      type: string
                                    messages:
                                      items:
                                        description: >-
                                          Public reply message. Length is 1
                                          through 280 Unicode scalar values.
                                        pattern: >-
                                          ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,280}$
                                        type: string
                                      minItems: 1
                                      type: array
                                    rotation:
                                      description: >-
                                        `random` — choose a response randomly;
                                        `sequential` — rotate responses in their
                                        submitted order.
                                      enum:
                                        - random
                                        - sequential
                                      type: string
                                  required:
                                    - enabled
                                    - delay_seconds
                                    - messages
                                    - rotation
                                    - mention_mode
                                    - max_per_post
                                  type: object
                          required:
                            - public_reply
                            - direct_message
                          type: object
                        trigger:
                          additionalProperties: false
                          properties:
                            keywords:
                              anyOf:
                                - additionalProperties: false
                                  properties:
                                    mode:
                                      const: any
                                      type: string
                                  required:
                                    - mode
                                  type: object
                                - additionalProperties: false
                                  properties:
                                    match_mode:
                                      description: >-
                                        `whole_word` — match an isolated keyword
                                        or phrase; `substring` — match it
                                        anywhere in the text.
                                      enum:
                                        - whole_word
                                        - substring
                                      type: string
                                    mode:
                                      const: specific
                                      type: string
                                    values:
                                      items:
                                        description: >-
                                          Keyword or phrase. Length is 1 through
                                          100 Unicode scalar values.
                                        pattern: >-
                                          ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,100}$
                                        type: string
                                      maxItems: 50
                                      minItems: 1
                                      type: array
                                  required:
                                    - mode
                                    - match_mode
                                    - values
                                  type: object
                            publication:
                              anyOf:
                                - additionalProperties: false
                                  properties:
                                    mode:
                                      const: all
                                      type: string
                                  required:
                                    - mode
                                  type: object
                                - additionalProperties: false
                                  properties:
                                    mode:
                                      const: next_published
                                      type: string
                                  required:
                                    - mode
                                  type: object
                                - additionalProperties: false
                                  properties:
                                    mode:
                                      const: specific
                                      type: string
                                    reference:
                                      anyOf:
                                        - additionalProperties: false
                                          properties:
                                            type:
                                              const: id
                                              type: string
                                            value:
                                              description: >-
                                                Opaque Instagram media ID returned by
                                                Levios discovery. Use 1 through 256
                                                printable ASCII characters.
                                              pattern: ^[!-~]{1,256}$
                                              type: string
                                          required:
                                            - type
                                            - value
                                          type: object
                                        - additionalProperties: false
                                          properties:
                                            type:
                                              const: url
                                              type: string
                                            value:
                                              pattern: >-
                                                ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]:\/\/(?:[Ww][Ww][Ww]\.)?[Ii][Nn][Ss][Tt][Aa][Gg][Rr][Aa][Mm]\.[Cc][Oo][Mm]\/(?:[Pp]|[Rr][Ee][Ee][Ll])\/[A-Za-z0-9_-]+\/?(?:[?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                              type: string
                                          required:
                                            - type
                                            - value
                                          type: object
                                  required:
                                    - mode
                                    - reference
                                  type: object
                            type:
                              const: comment
                              type: string
                          required:
                            - type
                            - publication
                            - keywords
                          type: object
                      required:
                        - contact_filter
                        - opening
                        - follow_up
                        - extras
                        - trigger
                      type: object
                    created_at:
                      maxLength: 32
                      minLength: 20
                      pattern: >-
                        ^(?:(?:(?!0000)\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|02-(?:0[1-9]|1\d|2[0-8]))|(?:(?!0000)(?:\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d{1,6})?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$
                      type: string
                    draft_updated_at:
                      anyOf:
                        - maxLength: 32
                          minLength: 20
                          pattern: >-
                            ^(?:(?:(?!0000)\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|02-(?:0[1-9]|1\d|2[0-8]))|(?:(?!0000)(?:\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d{1,6})?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$
                          type: string
                        - type: 'null'
                    has_unpublished_changes:
                      type: boolean
                    id:
                      format: uuid
                      type: string
                    name:
                      description: >-
                        Automation name. Use 1 through 120 Unicode scalar
                        values, without surrounding whitespace or control
                        characters.
                      pattern: >-
                        ^(?!\s)(?![\s\S]*\s$)(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000-\u001F\u007F-\u009F\uD800-\uDFFF])){1,120}$
                      type: string
                    status:
                      description: >-
                        `draft` — not published; `live` — processing triggers;
                        `paused` — published but paused.
                      enum:
                        - draft
                        - live
                        - paused
                      type: string
                    trigger_type:
                      const: comment
                      type: string
                    updated_at:
                      maxLength: 32
                      minLength: 20
                      pattern: >-
                        ^(?:(?:(?!0000)\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|02-(?:0[1-9]|1\d|2[0-8]))|(?:(?!0000)(?:\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d{1,6})?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$
                      type: string
                  required:
                    - id
                    - account_id
                    - name
                    - status
                    - has_unpublished_changes
                    - draft_updated_at
                    - created_at
                    - updated_at
                    - trigger_type
                    - configuration
                    - authoring_compatibility
                  type: object
                - additionalProperties: false
                  properties:
                    account_id:
                      format: uuid
                      type: string
                    authoring_compatibility:
                      const: public_v1
                      type: string
                    configuration:
                      additionalProperties: false
                      properties:
                        contact_filter:
                          description: >-
                            `anyone` — every eligible contact; `followers_only`
                            — confirmed followers; `non_followers_only` —
                            confirmed non-followers; `previous_dm_contacts` —
                            contacts with an inbound DM before this trigger;
                            `existing_contacts` — contacts already known before
                            this trigger.
                          enum:
                            - anyone
                            - followers_only
                            - non_followers_only
                            - previous_dm_contacts
                            - existing_contacts
                          type: string
                        extras:
                          additionalProperties: false
                          properties:
                            cooldown:
                              anyOf:
                                - additionalProperties: false
                                  properties:
                                    mode:
                                      const: none
                                      type: string
                                  required:
                                    - mode
                                  type: object
                                - additionalProperties: false
                                  properties:
                                    mode:
                                      const: fixed
                                      type: string
                                    seconds:
                                      maximum: 2592000
                                      minimum: 1
                                      type: integer
                                  required:
                                    - mode
                                    - seconds
                                  type: object
                          required:
                            - cooldown
                          type: object
                        follow_up:
                          anyOf:
                            - type: 'null'
                            - additionalProperties: false
                              properties:
                                actions:
                                  items:
                                    anyOf:
                                      - anyOf:
                                          - additionalProperties: false
                                            properties:
                                              buttons:
                                                items:
                                                  additionalProperties: false
                                                  properties:
                                                    title:
                                                      description: >-
                                                        Button title. Length is 1 through 20
                                                        Unicode scalar values.
                                                      pattern: >-
                                                        ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                      type: string
                                                    type:
                                                      const: url
                                                      type: string
                                                    url:
                                                      pattern: >-
                                                        ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                                      type: string
                                                  required:
                                                    - type
                                                    - title
                                                    - url
                                                  type: object
                                                maxItems: 0
                                                minItems: 0
                                                type: array
                                              delay_seconds:
                                                maximum: 86399
                                                minimum: 0
                                                type: integer
                                              text:
                                                description: >-
                                                  Message text. Length is 1 through 1000
                                                  Unicode scalar values.
                                                pattern: >-
                                                  ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,1000}$
                                                type: string
                                              type:
                                                const: send_message
                                                type: string
                                            required:
                                              - type
                                              - delay_seconds
                                              - text
                                              - buttons
                                            type: object
                                          - additionalProperties: false
                                            properties:
                                              buttons:
                                                items:
                                                  additionalProperties: false
                                                  properties:
                                                    title:
                                                      description: >-
                                                        Button title. Length is 1 through 20
                                                        Unicode scalar values.
                                                      pattern: >-
                                                        ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                      type: string
                                                    type:
                                                      const: url
                                                      type: string
                                                    url:
                                                      pattern: >-
                                                        ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                                      type: string
                                                  required:
                                                    - type
                                                    - title
                                                    - url
                                                  type: object
                                                maxItems: 3
                                                minItems: 1
                                                type: array
                                              delay_seconds:
                                                maximum: 86399
                                                minimum: 0
                                                type: integer
                                              text:
                                                description: >-
                                                  Message text. Length is 1 through 640
                                                  Unicode scalar values.
                                                pattern: >-
                                                  ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,640}$
                                                type: string
                                              type:
                                                const: send_message
                                                type: string
                                            required:
                                              - type
                                              - delay_seconds
                                              - text
                                              - buttons
                                            type: object
                                      - additionalProperties: false
                                        properties:
                                          delay_seconds:
                                            maximum: 86399
                                            minimum: 0
                                            type: integer
                                          media_type:
                                            description: >-
                                              `image`, `video`, `audio`, or `file`
                                              identifies the outbound Instagram
                                              attachment type.
                                            enum:
                                              - image
                                              - video
                                              - audio
                                              - file
                                            type: string
                                          type:
                                            const: send_media
                                            type: string
                                          url:
                                            pattern: >-
                                              ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                            type: string
                                        required:
                                          - type
                                          - delay_seconds
                                          - media_type
                                          - url
                                        type: object
                                      - additionalProperties: false
                                        properties:
                                          cards:
                                            items:
                                              additionalProperties: false
                                              properties:
                                                buttons:
                                                  items:
                                                    additionalProperties: false
                                                    properties:
                                                      title:
                                                        description: >-
                                                          Button title. Length is 1 through 20
                                                          Unicode scalar values.
                                                        pattern: >-
                                                          ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                        type: string
                                                      type:
                                                        const: url
                                                        type: string
                                                      url:
                                                        pattern: >-
                                                          ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                                        type: string
                                                    required:
                                                      - type
                                                      - title
                                                      - url
                                                    type: object
                                                  maxItems: 3
                                                  minItems: 1
                                                  type: array
                                                image_url:
                                                  pattern: >-
                                                    ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                                  type: string
                                                subtitle:
                                                  description: >-
                                                    Card subtitle. Length is 0 through 80
                                                    Unicode scalar values.
                                                  pattern: >-
                                                    ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){0,80}$
                                                  type: string
                                                title:
                                                  description: >-
                                                    Card title. Length is 1 through 80
                                                    Unicode scalar values.
                                                  pattern: >-
                                                    ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,80}$
                                                  type: string
                                              required:
                                                - title
                                                - image_url
                                                - buttons
                                              type: object
                                            maxItems: 10
                                            minItems: 1
                                            type: array
                                          delay_seconds:
                                            maximum: 86399
                                            minimum: 0
                                            type: integer
                                          type:
                                            const: send_carousel
                                            type: string
                                        required:
                                          - type
                                          - delay_seconds
                                          - cards
                                        type: object
                                      - additionalProperties: false
                                        properties:
                                          buttons:
                                            additionalProperties: false
                                            properties:
                                              confirm_title:
                                                description: >-
                                                  Button title. Length is 1 through 20
                                                  Unicode scalar values.
                                                pattern: >-
                                                  ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                type: string
                                              open_profile_title:
                                                description: >-
                                                  Button title. Length is 1 through 20
                                                  Unicode scalar values.
                                                pattern: >-
                                                  ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                type: string
                                            required:
                                              - open_profile_title
                                              - confirm_title
                                            type: object
                                          delay_seconds:
                                            maximum: 86399
                                            minimum: 0
                                            type: integer
                                          expires_in_seconds:
                                            maximum: 604800
                                            minimum: 60
                                            type: integer
                                          max_attempts:
                                            maximum: 10
                                            minimum: 1
                                            type: integer
                                          message:
                                            description: >-
                                              Message text. Length is 1 through 640
                                              Unicode scalar values.
                                            pattern: >-
                                              ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,640}$
                                            type: string
                                          not_following_message:
                                            anyOf:
                                              - description: >-
                                                  Message text. Length is 1 through 640
                                                  Unicode scalar values.
                                                pattern: >-
                                                  ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,640}$
                                                type: string
                                              - type: 'null'
                                            description: >-
                                              Message text. Length is 1 through 640
                                              Unicode scalar values.
                                          recheck_after_seconds:
                                            maximum: 86400
                                            minimum: 60
                                            type: integer
                                          retry_exhausted_action:
                                            description: >-
                                              `continue` — continue after the retry
                                              limit; `stop` — end the active gate
                                              after the retry limit.
                                            enum:
                                              - continue
                                              - stop
                                            type: string
                                          type:
                                            const: ask_to_follow
                                            type: string
                                          verification_mode:
                                            description: >-
                                              `trusted_click` — trust the confirmation
                                              click; `strict` — verify follow status
                                              with Instagram.
                                            enum:
                                              - trusted_click
                                              - strict
                                            type: string
                                        required:
                                          - type
                                          - delay_seconds
                                          - message
                                          - buttons
                                          - verification_mode
                                          - not_following_message
                                          - max_attempts
                                          - retry_exhausted_action
                                          - recheck_after_seconds
                                          - expires_in_seconds
                                        type: object
                                      - additionalProperties: false
                                        properties:
                                          delay_seconds:
                                            maximum: 86399
                                            minimum: 0
                                            type: integer
                                          expires_in_seconds:
                                            maximum: 604800
                                            minimum: 60
                                            type: integer
                                          max_attempts:
                                            maximum: 5
                                            minimum: 1
                                            type: integer
                                          message:
                                            description: >-
                                              Message text. Length is 1 through 1000
                                              Unicode scalar values.
                                            pattern: >-
                                              ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,1000}$
                                            type: string
                                          retry_exhausted_action:
                                            description: >-
                                              `continue` — continue after the retry
                                              limit; `stop` — end the active gate
                                              after the retry limit.
                                            enum:
                                              - continue
                                              - stop
                                            type: string
                                          retry_message:
                                            description: >-
                                              Message text. Length is 1 through 1000
                                              Unicode scalar values.
                                            pattern: >-
                                              ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,1000}$
                                            type: string
                                          type:
                                            const: ask_for_email
                                            type: string
                                        required:
                                          - type
                                          - delay_seconds
                                          - message
                                          - retry_message
                                          - max_attempts
                                          - retry_exhausted_action
                                          - expires_in_seconds
                                        type: object
                                      - additionalProperties: false
                                        properties:
                                          delay_seconds:
                                            maximum: 86399
                                            minimum: 0
                                            type: integer
                                          expires_in_seconds:
                                            maximum: 604800
                                            minimum: 60
                                            type: integer
                                          max_attempts:
                                            maximum: 5
                                            minimum: 1
                                            type: integer
                                          message:
                                            description: >-
                                              Message text. Length is 1 through 1000
                                              Unicode scalar values.
                                            pattern: >-
                                              ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,1000}$
                                            type: string
                                          retry_exhausted_action:
                                            description: >-
                                              `continue` — continue after the retry
                                              limit; `stop` — end the active gate
                                              after the retry limit.
                                            enum:
                                              - continue
                                              - stop
                                            type: string
                                          retry_message:
                                            description: >-
                                              Message text. Length is 1 through 1000
                                              Unicode scalar values.
                                            pattern: >-
                                              ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,1000}$
                                            type: string
                                          type:
                                            const: ask_for_phone
                                            type: string
                                        required:
                                          - type
                                          - delay_seconds
                                          - message
                                          - retry_message
                                          - max_attempts
                                          - retry_exhausted_action
                                          - expires_in_seconds
                                        type: object
                                      - additionalProperties: false
                                        properties:
                                          delay_seconds:
                                            maximum: 2592000
                                            minimum: 0
                                            type: integer
                                          tag_id:
                                            format: uuid
                                            type: string
                                          type:
                                            const: add_contact_tag
                                            type: string
                                        required:
                                          - type
                                          - delay_seconds
                                          - tag_id
                                        type: object
                                      - additionalProperties: false
                                        properties:
                                          type:
                                            const: finish
                                            type: string
                                        required:
                                          - type
                                        type: object
                                  maxItems: 20
                                  minItems: 1
                                  type: array
                              required:
                                - actions
                              type: object
                        opening:
                          additionalProperties: false
                          properties:
                            direct_message:
                              additionalProperties: false
                              properties:
                                delay_seconds:
                                  maximum: 86400
                                  minimum: 0
                                  type: integer
                                message:
                                  anyOf:
                                    - additionalProperties: false
                                      properties:
                                        buttons:
                                          items:
                                            anyOf:
                                              - additionalProperties: false
                                                properties:
                                                  title:
                                                    description: >-
                                                      Button title. Length is 1 through 20
                                                      Unicode scalar values.
                                                    pattern: >-
                                                      ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                    type: string
                                                  type:
                                                    const: start_follow_up
                                                    type: string
                                                required:
                                                  - type
                                                  - title
                                                type: object
                                              - additionalProperties: false
                                                properties:
                                                  title:
                                                    description: >-
                                                      Button title. Length is 1 through 20
                                                      Unicode scalar values.
                                                    pattern: >-
                                                      ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                    type: string
                                                  type:
                                                    const: url
                                                    type: string
                                                  url:
                                                    pattern: >-
                                                      ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                                    type: string
                                                required:
                                                  - type
                                                  - title
                                                  - url
                                                type: object
                                          maxItems: 0
                                          minItems: 0
                                          type: array
                                        text:
                                          description: >-
                                            Message text. Length is 1 through 1000
                                            Unicode scalar values.
                                          pattern: >-
                                            ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,1000}$
                                          type: string
                                      required:
                                        - text
                                        - buttons
                                      type: object
                                    - additionalProperties: false
                                      properties:
                                        buttons:
                                          items:
                                            anyOf:
                                              - additionalProperties: false
                                                properties:
                                                  title:
                                                    description: >-
                                                      Button title. Length is 1 through 20
                                                      Unicode scalar values.
                                                    pattern: >-
                                                      ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                    type: string
                                                  type:
                                                    const: start_follow_up
                                                    type: string
                                                required:
                                                  - type
                                                  - title
                                                type: object
                                              - additionalProperties: false
                                                properties:
                                                  title:
                                                    description: >-
                                                      Button title. Length is 1 through 20
                                                      Unicode scalar values.
                                                    pattern: >-
                                                      ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                    type: string
                                                  type:
                                                    const: url
                                                    type: string
                                                  url:
                                                    pattern: >-
                                                      ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                                    type: string
                                                required:
                                                  - type
                                                  - title
                                                  - url
                                                type: object
                                          maxItems: 3
                                          minItems: 1
                                          type: array
                                        text:
                                          description: >-
                                            Message text. Length is 1 through 640
                                            Unicode scalar values.
                                          pattern: >-
                                            ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,640}$
                                          type: string
                                      required:
                                        - text
                                        - buttons
                                      type: object
                              required:
                                - delay_seconds
                                - message
                              type: object
                            public_reply:
                              anyOf:
                                - additionalProperties: false
                                  properties:
                                    enabled:
                                      const: false
                                      type: boolean
                                  required:
                                    - enabled
                                  type: object
                                - additionalProperties: false
                                  properties:
                                    delay_seconds:
                                      maximum: 86400
                                      minimum: 0
                                      type: integer
                                    enabled:
                                      const: true
                                      type: boolean
                                    max_per_post:
                                      maximum: 200
                                      minimum: 1
                                      type: integer
                                    mention_mode:
                                      description: >-
                                        `none` — do not prefix a mention;
                                        `contact` — mention the contact;
                                        `account` — mention the account.
                                      enum:
                                        - none
                                        - contact
                                        - account
                                      type: string
                                    messages:
                                      items:
                                        description: >-
                                          Public reply message. Length is 1
                                          through 280 Unicode scalar values.
                                        pattern: >-
                                          ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,280}$
                                        type: string
                                      minItems: 1
                                      type: array
                                    rotation:
                                      description: >-
                                        `random` — choose a response randomly;
                                        `sequential` — rotate responses in their
                                        submitted order.
                                      enum:
                                        - random
                                        - sequential
                                      type: string
                                  required:
                                    - enabled
                                    - delay_seconds
                                    - messages
                                    - rotation
                                    - mention_mode
                                    - max_per_post
                                  type: object
                          required:
                            - public_reply
                            - direct_message
                          type: object
                        trigger:
                          anyOf:
                            - additionalProperties: false
                              properties:
                                keywords:
                                  anyOf:
                                    - additionalProperties: false
                                      properties:
                                        mode:
                                          const: any
                                          type: string
                                      required:
                                        - mode
                                      type: object
                                    - additionalProperties: false
                                      properties:
                                        match_mode:
                                          description: >-
                                            `whole_word` — match an isolated keyword
                                            or phrase; `substring` — match it
                                            anywhere in the text.
                                          enum:
                                            - whole_word
                                            - substring
                                          type: string
                                        mode:
                                          const: specific
                                          type: string
                                        values:
                                          items:
                                            description: >-
                                              Keyword or phrase. Length is 1 through
                                              100 Unicode scalar values.
                                            pattern: >-
                                              ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,100}$
                                            type: string
                                          maxItems: 50
                                          minItems: 1
                                          type: array
                                      required:
                                        - mode
                                        - match_mode
                                        - values
                                      type: object
                                response_type:
                                  const: text
                                  type: string
                                story:
                                  anyOf:
                                    - additionalProperties: false
                                      properties:
                                        mode:
                                          const: any
                                          type: string
                                      required:
                                        - mode
                                      type: object
                                    - additionalProperties: false
                                      properties:
                                        mode:
                                          const: specific
                                          type: string
                                        reference:
                                          additionalProperties: false
                                          properties:
                                            type:
                                              const: id
                                              type: string
                                            value:
                                              description: >-
                                                Opaque Instagram media ID returned by
                                                Levios discovery. Use 1 through 256
                                                printable ASCII characters.
                                              pattern: ^[!-~]{1,256}$
                                              type: string
                                          required:
                                            - type
                                            - value
                                          type: object
                                      required:
                                        - mode
                                        - reference
                                      type: object
                                type:
                                  const: story_reply
                                  type: string
                              required:
                                - type
                                - response_type
                                - story
                                - keywords
                              type: object
                            - additionalProperties: false
                              properties:
                                reactions:
                                  anyOf:
                                    - additionalProperties: false
                                      properties:
                                        mode:
                                          const: any
                                          type: string
                                      required:
                                        - mode
                                      type: object
                                    - additionalProperties: false
                                      properties:
                                        emojis:
                                          items:
                                            description: >-
                                              Reaction emoji. Length is 1 through 16
                                              Unicode scalar values.
                                            pattern: >-
                                              ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,16}$
                                            type: string
                                          maxItems: 50
                                          minItems: 1
                                          type: array
                                        mode:
                                          const: specific
                                          type: string
                                      required:
                                        - mode
                                        - emojis
                                      type: object
                                response_type:
                                  const: reaction
                                  type: string
                                story:
                                  anyOf:
                                    - additionalProperties: false
                                      properties:
                                        mode:
                                          const: any
                                          type: string
                                      required:
                                        - mode
                                      type: object
                                    - additionalProperties: false
                                      properties:
                                        mode:
                                          const: specific
                                          type: string
                                        reference:
                                          additionalProperties: false
                                          properties:
                                            type:
                                              const: id
                                              type: string
                                            value:
                                              description: >-
                                                Opaque Instagram media ID returned by
                                                Levios discovery. Use 1 through 256
                                                printable ASCII characters.
                                              pattern: ^[!-~]{1,256}$
                                              type: string
                                          required:
                                            - type
                                            - value
                                          type: object
                                      required:
                                        - mode
                                        - reference
                                      type: object
                                type:
                                  const: story_reply
                                  type: string
                              required:
                                - type
                                - response_type
                                - story
                                - reactions
                              type: object
                      required:
                        - contact_filter
                        - opening
                        - follow_up
                        - extras
                        - trigger
                      type: object
                    created_at:
                      maxLength: 32
                      minLength: 20
                      pattern: >-
                        ^(?:(?:(?!0000)\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|02-(?:0[1-9]|1\d|2[0-8]))|(?:(?!0000)(?:\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d{1,6})?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$
                      type: string
                    draft_updated_at:
                      anyOf:
                        - maxLength: 32
                          minLength: 20
                          pattern: >-
                            ^(?:(?:(?!0000)\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|02-(?:0[1-9]|1\d|2[0-8]))|(?:(?!0000)(?:\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d{1,6})?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$
                          type: string
                        - type: 'null'
                    has_unpublished_changes:
                      type: boolean
                    id:
                      format: uuid
                      type: string
                    name:
                      description: >-
                        Automation name. Use 1 through 120 Unicode scalar
                        values, without surrounding whitespace or control
                        characters.
                      pattern: >-
                        ^(?!\s)(?![\s\S]*\s$)(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000-\u001F\u007F-\u009F\uD800-\uDFFF])){1,120}$
                      type: string
                    status:
                      description: >-
                        `draft` — not published; `live` — processing triggers;
                        `paused` — published but paused.
                      enum:
                        - draft
                        - live
                        - paused
                      type: string
                    trigger_type:
                      const: story_reply
                      type: string
                    updated_at:
                      maxLength: 32
                      minLength: 20
                      pattern: >-
                        ^(?:(?:(?!0000)\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|02-(?:0[1-9]|1\d|2[0-8]))|(?:(?!0000)(?:\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d{1,6})?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$
                      type: string
                  required:
                    - id
                    - account_id
                    - name
                    - status
                    - has_unpublished_changes
                    - draft_updated_at
                    - created_at
                    - updated_at
                    - trigger_type
                    - configuration
                    - authoring_compatibility
                  type: object
                - additionalProperties: false
                  properties:
                    account_id:
                      format: uuid
                      type: string
                    authoring_compatibility:
                      const: public_v1
                      type: string
                    configuration:
                      additionalProperties: false
                      properties:
                        contact_filter:
                          description: >-
                            `anyone` — every eligible contact; `followers_only`
                            — confirmed followers; `non_followers_only` —
                            confirmed non-followers; `previous_dm_contacts` —
                            contacts with an inbound DM before this trigger;
                            `existing_contacts` — contacts already known before
                            this trigger.
                          enum:
                            - anyone
                            - followers_only
                            - non_followers_only
                            - previous_dm_contacts
                            - existing_contacts
                          type: string
                        extras:
                          additionalProperties: false
                          properties:
                            cooldown:
                              anyOf:
                                - additionalProperties: false
                                  properties:
                                    mode:
                                      const: none
                                      type: string
                                  required:
                                    - mode
                                  type: object
                                - additionalProperties: false
                                  properties:
                                    mode:
                                      const: fixed
                                      type: string
                                    seconds:
                                      maximum: 2592000
                                      minimum: 1
                                      type: integer
                                  required:
                                    - mode
                                    - seconds
                                  type: object
                          required:
                            - cooldown
                          type: object
                        follow_up:
                          anyOf:
                            - type: 'null'
                            - additionalProperties: false
                              properties:
                                actions:
                                  items:
                                    anyOf:
                                      - anyOf:
                                          - additionalProperties: false
                                            properties:
                                              buttons:
                                                items:
                                                  additionalProperties: false
                                                  properties:
                                                    title:
                                                      description: >-
                                                        Button title. Length is 1 through 20
                                                        Unicode scalar values.
                                                      pattern: >-
                                                        ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                      type: string
                                                    type:
                                                      const: url
                                                      type: string
                                                    url:
                                                      pattern: >-
                                                        ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                                      type: string
                                                  required:
                                                    - type
                                                    - title
                                                    - url
                                                  type: object
                                                maxItems: 0
                                                minItems: 0
                                                type: array
                                              delay_seconds:
                                                maximum: 86399
                                                minimum: 0
                                                type: integer
                                              text:
                                                description: >-
                                                  Message text. Length is 1 through 1000
                                                  Unicode scalar values.
                                                pattern: >-
                                                  ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,1000}$
                                                type: string
                                              type:
                                                const: send_message
                                                type: string
                                            required:
                                              - type
                                              - delay_seconds
                                              - text
                                              - buttons
                                            type: object
                                          - additionalProperties: false
                                            properties:
                                              buttons:
                                                items:
                                                  additionalProperties: false
                                                  properties:
                                                    title:
                                                      description: >-
                                                        Button title. Length is 1 through 20
                                                        Unicode scalar values.
                                                      pattern: >-
                                                        ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                      type: string
                                                    type:
                                                      const: url
                                                      type: string
                                                    url:
                                                      pattern: >-
                                                        ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                                      type: string
                                                  required:
                                                    - type
                                                    - title
                                                    - url
                                                  type: object
                                                maxItems: 3
                                                minItems: 1
                                                type: array
                                              delay_seconds:
                                                maximum: 86399
                                                minimum: 0
                                                type: integer
                                              text:
                                                description: >-
                                                  Message text. Length is 1 through 640
                                                  Unicode scalar values.
                                                pattern: >-
                                                  ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,640}$
                                                type: string
                                              type:
                                                const: send_message
                                                type: string
                                            required:
                                              - type
                                              - delay_seconds
                                              - text
                                              - buttons
                                            type: object
                                      - additionalProperties: false
                                        properties:
                                          delay_seconds:
                                            maximum: 86399
                                            minimum: 0
                                            type: integer
                                          media_type:
                                            description: >-
                                              `image`, `video`, `audio`, or `file`
                                              identifies the outbound Instagram
                                              attachment type.
                                            enum:
                                              - image
                                              - video
                                              - audio
                                              - file
                                            type: string
                                          type:
                                            const: send_media
                                            type: string
                                          url:
                                            pattern: >-
                                              ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                            type: string
                                        required:
                                          - type
                                          - delay_seconds
                                          - media_type
                                          - url
                                        type: object
                                      - additionalProperties: false
                                        properties:
                                          cards:
                                            items:
                                              additionalProperties: false
                                              properties:
                                                buttons:
                                                  items:
                                                    additionalProperties: false
                                                    properties:
                                                      title:
                                                        description: >-
                                                          Button title. Length is 1 through 20
                                                          Unicode scalar values.
                                                        pattern: >-
                                                          ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                        type: string
                                                      type:
                                                        const: url
                                                        type: string
                                                      url:
                                                        pattern: >-
                                                          ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                                        type: string
                                                    required:
                                                      - type
                                                      - title
                                                      - url
                                                    type: object
                                                  maxItems: 3
                                                  minItems: 1
                                                  type: array
                                                image_url:
                                                  pattern: >-
                                                    ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                                  type: string
                                                subtitle:
                                                  description: >-
                                                    Card subtitle. Length is 0 through 80
                                                    Unicode scalar values.
                                                  pattern: >-
                                                    ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){0,80}$
                                                  type: string
                                                title:
                                                  description: >-
                                                    Card title. Length is 1 through 80
                                                    Unicode scalar values.
                                                  pattern: >-
                                                    ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,80}$
                                                  type: string
                                              required:
                                                - title
                                                - image_url
                                                - buttons
                                              type: object
                                            maxItems: 10
                                            minItems: 1
                                            type: array
                                          delay_seconds:
                                            maximum: 86399
                                            minimum: 0
                                            type: integer
                                          type:
                                            const: send_carousel
                                            type: string
                                        required:
                                          - type
                                          - delay_seconds
                                          - cards
                                        type: object
                                      - additionalProperties: false
                                        properties:
                                          buttons:
                                            additionalProperties: false
                                            properties:
                                              confirm_title:
                                                description: >-
                                                  Button title. Length is 1 through 20
                                                  Unicode scalar values.
                                                pattern: >-
                                                  ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                type: string
                                              open_profile_title:
                                                description: >-
                                                  Button title. Length is 1 through 20
                                                  Unicode scalar values.
                                                pattern: >-
                                                  ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                type: string
                                            required:
                                              - open_profile_title
                                              - confirm_title
                                            type: object
                                          delay_seconds:
                                            maximum: 86399
                                            minimum: 0
                                            type: integer
                                          expires_in_seconds:
                                            maximum: 604800
                                            minimum: 60
                                            type: integer
                                          max_attempts:
                                            maximum: 10
                                            minimum: 1
                                            type: integer
                                          message:
                                            description: >-
                                              Message text. Length is 1 through 640
                                              Unicode scalar values.
                                            pattern: >-
                                              ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,640}$
                                            type: string
                                          not_following_message:
                                            anyOf:
                                              - description: >-
                                                  Message text. Length is 1 through 640
                                                  Unicode scalar values.
                                                pattern: >-
                                                  ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,640}$
                                                type: string
                                              - type: 'null'
                                            description: >-
                                              Message text. Length is 1 through 640
                                              Unicode scalar values.
                                          recheck_after_seconds:
                                            maximum: 86400
                                            minimum: 60
                                            type: integer
                                          retry_exhausted_action:
                                            description: >-
                                              `continue` — continue after the retry
                                              limit; `stop` — end the active gate
                                              after the retry limit.
                                            enum:
                                              - continue
                                              - stop
                                            type: string
                                          type:
                                            const: ask_to_follow
                                            type: string
                                          verification_mode:
                                            description: >-
                                              `trusted_click` — trust the confirmation
                                              click; `strict` — verify follow status
                                              with Instagram.
                                            enum:
                                              - trusted_click
                                              - strict
                                            type: string
                                        required:
                                          - type
                                          - delay_seconds
                                          - message
                                          - buttons
                                          - verification_mode
                                          - not_following_message
                                          - max_attempts
                                          - retry_exhausted_action
                                          - recheck_after_seconds
                                          - expires_in_seconds
                                        type: object
                                      - additionalProperties: false
                                        properties:
                                          delay_seconds:
                                            maximum: 86399
                                            minimum: 0
                                            type: integer
                                          expires_in_seconds:
                                            maximum: 604800
                                            minimum: 60
                                            type: integer
                                          max_attempts:
                                            maximum: 5
                                            minimum: 1
                                            type: integer
                                          message:
                                            description: >-
                                              Message text. Length is 1 through 1000
                                              Unicode scalar values.
                                            pattern: >-
                                              ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,1000}$
                                            type: string
                                          retry_exhausted_action:
                                            description: >-
                                              `continue` — continue after the retry
                                              limit; `stop` — end the active gate
                                              after the retry limit.
                                            enum:
                                              - continue
                                              - stop
                                            type: string
                                          retry_message:
                                            description: >-
                                              Message text. Length is 1 through 1000
                                              Unicode scalar values.
                                            pattern: >-
                                              ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,1000}$
                                            type: string
                                          type:
                                            const: ask_for_email
                                            type: string
                                        required:
                                          - type
                                          - delay_seconds
                                          - message
                                          - retry_message
                                          - max_attempts
                                          - retry_exhausted_action
                                          - expires_in_seconds
                                        type: object
                                      - additionalProperties: false
                                        properties:
                                          delay_seconds:
                                            maximum: 86399
                                            minimum: 0
                                            type: integer
                                          expires_in_seconds:
                                            maximum: 604800
                                            minimum: 60
                                            type: integer
                                          max_attempts:
                                            maximum: 5
                                            minimum: 1
                                            type: integer
                                          message:
                                            description: >-
                                              Message text. Length is 1 through 1000
                                              Unicode scalar values.
                                            pattern: >-
                                              ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,1000}$
                                            type: string
                                          retry_exhausted_action:
                                            description: >-
                                              `continue` — continue after the retry
                                              limit; `stop` — end the active gate
                                              after the retry limit.
                                            enum:
                                              - continue
                                              - stop
                                            type: string
                                          retry_message:
                                            description: >-
                                              Message text. Length is 1 through 1000
                                              Unicode scalar values.
                                            pattern: >-
                                              ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,1000}$
                                            type: string
                                          type:
                                            const: ask_for_phone
                                            type: string
                                        required:
                                          - type
                                          - delay_seconds
                                          - message
                                          - retry_message
                                          - max_attempts
                                          - retry_exhausted_action
                                          - expires_in_seconds
                                        type: object
                                      - additionalProperties: false
                                        properties:
                                          delay_seconds:
                                            maximum: 2592000
                                            minimum: 0
                                            type: integer
                                          tag_id:
                                            format: uuid
                                            type: string
                                          type:
                                            const: add_contact_tag
                                            type: string
                                        required:
                                          - type
                                          - delay_seconds
                                          - tag_id
                                        type: object
                                      - additionalProperties: false
                                        properties:
                                          type:
                                            const: finish
                                            type: string
                                        required:
                                          - type
                                        type: object
                                  maxItems: 20
                                  minItems: 1
                                  type: array
                              required:
                                - actions
                              type: object
                        opening:
                          additionalProperties: false
                          properties:
                            direct_message:
                              additionalProperties: false
                              properties:
                                delay_seconds:
                                  maximum: 86400
                                  minimum: 0
                                  type: integer
                                message:
                                  anyOf:
                                    - additionalProperties: false
                                      properties:
                                        buttons:
                                          items:
                                            anyOf:
                                              - additionalProperties: false
                                                properties:
                                                  title:
                                                    description: >-
                                                      Button title. Length is 1 through 20
                                                      Unicode scalar values.
                                                    pattern: >-
                                                      ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                    type: string
                                                  type:
                                                    const: start_follow_up
                                                    type: string
                                                required:
                                                  - type
                                                  - title
                                                type: object
                                              - additionalProperties: false
                                                properties:
                                                  title:
                                                    description: >-
                                                      Button title. Length is 1 through 20
                                                      Unicode scalar values.
                                                    pattern: >-
                                                      ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                    type: string
                                                  type:
                                                    const: url
                                                    type: string
                                                  url:
                                                    pattern: >-
                                                      ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                                    type: string
                                                required:
                                                  - type
                                                  - title
                                                  - url
                                                type: object
                                          maxItems: 0
                                          minItems: 0
                                          type: array
                                        text:
                                          description: >-
                                            Message text. Length is 1 through 1000
                                            Unicode scalar values.
                                          pattern: >-
                                            ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,1000}$
                                          type: string
                                      required:
                                        - text
                                        - buttons
                                      type: object
                                    - additionalProperties: false
                                      properties:
                                        buttons:
                                          items:
                                            anyOf:
                                              - additionalProperties: false
                                                properties:
                                                  title:
                                                    description: >-
                                                      Button title. Length is 1 through 20
                                                      Unicode scalar values.
                                                    pattern: >-
                                                      ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                    type: string
                                                  type:
                                                    const: start_follow_up
                                                    type: string
                                                required:
                                                  - type
                                                  - title
                                                type: object
                                              - additionalProperties: false
                                                properties:
                                                  title:
                                                    description: >-
                                                      Button title. Length is 1 through 20
                                                      Unicode scalar values.
                                                    pattern: >-
                                                      ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                    type: string
                                                  type:
                                                    const: url
                                                    type: string
                                                  url:
                                                    pattern: >-
                                                      ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                                    type: string
                                                required:
                                                  - type
                                                  - title
                                                  - url
                                                type: object
                                          maxItems: 3
                                          minItems: 1
                                          type: array
                                        text:
                                          description: >-
                                            Message text. Length is 1 through 640
                                            Unicode scalar values.
                                          pattern: >-
                                            ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,640}$
                                          type: string
                                      required:
                                        - text
                                        - buttons
                                      type: object
                              required:
                                - delay_seconds
                                - message
                              type: object
                            public_reply:
                              anyOf:
                                - additionalProperties: false
                                  properties:
                                    enabled:
                                      const: false
                                      type: boolean
                                  required:
                                    - enabled
                                  type: object
                                - additionalProperties: false
                                  properties:
                                    delay_seconds:
                                      maximum: 86400
                                      minimum: 0
                                      type: integer
                                    enabled:
                                      const: true
                                      type: boolean
                                    max_per_post:
                                      maximum: 200
                                      minimum: 1
                                      type: integer
                                    mention_mode:
                                      description: >-
                                        `none` — do not prefix a mention;
                                        `contact` — mention the contact;
                                        `account` — mention the account.
                                      enum:
                                        - none
                                        - contact
                                        - account
                                      type: string
                                    messages:
                                      items:
                                        description: >-
                                          Public reply message. Length is 1
                                          through 280 Unicode scalar values.
                                        pattern: >-
                                          ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,280}$
                                        type: string
                                      minItems: 1
                                      type: array
                                    rotation:
                                      description: >-
                                        `random` — choose a response randomly;
                                        `sequential` — rotate responses in their
                                        submitted order.
                                      enum:
                                        - random
                                        - sequential
                                      type: string
                                  required:
                                    - enabled
                                    - delay_seconds
                                    - messages
                                    - rotation
                                    - mention_mode
                                    - max_per_post
                                  type: object
                          required:
                            - public_reply
                            - direct_message
                          type: object
                        trigger:
                          additionalProperties: false
                          properties:
                            keywords:
                              additionalProperties: false
                              properties:
                                match_mode:
                                  description: >-
                                    `whole_word` — match an isolated keyword or
                                    phrase; `substring` — match it anywhere in
                                    the text.
                                  enum:
                                    - whole_word
                                    - substring
                                  type: string
                                mode:
                                  const: specific
                                  type: string
                                values:
                                  items:
                                    description: >-
                                      Keyword or phrase. Length is 1 through 100
                                      Unicode scalar values.
                                    pattern: >-
                                      ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,100}$
                                    type: string
                                  maxItems: 50
                                  minItems: 1
                                  type: array
                              required:
                                - mode
                                - match_mode
                                - values
                              type: object
                            type:
                              const: dm_keyword
                              type: string
                          required:
                            - type
                            - keywords
                          type: object
                      required:
                        - contact_filter
                        - opening
                        - follow_up
                        - extras
                        - trigger
                      type: object
                    created_at:
                      maxLength: 32
                      minLength: 20
                      pattern: >-
                        ^(?:(?:(?!0000)\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|02-(?:0[1-9]|1\d|2[0-8]))|(?:(?!0000)(?:\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d{1,6})?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$
                      type: string
                    draft_updated_at:
                      anyOf:
                        - maxLength: 32
                          minLength: 20
                          pattern: >-
                            ^(?:(?:(?!0000)\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|02-(?:0[1-9]|1\d|2[0-8]))|(?:(?!0000)(?:\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d{1,6})?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$
                          type: string
                        - type: 'null'
                    has_unpublished_changes:
                      type: boolean
                    id:
                      format: uuid
                      type: string
                    name:
                      description: >-
                        Automation name. Use 1 through 120 Unicode scalar
                        values, without surrounding whitespace or control
                        characters.
                      pattern: >-
                        ^(?!\s)(?![\s\S]*\s$)(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000-\u001F\u007F-\u009F\uD800-\uDFFF])){1,120}$
                      type: string
                    status:
                      description: >-
                        `draft` — not published; `live` — processing triggers;
                        `paused` — published but paused.
                      enum:
                        - draft
                        - live
                        - paused
                      type: string
                    trigger_type:
                      const: dm_keyword
                      type: string
                    updated_at:
                      maxLength: 32
                      minLength: 20
                      pattern: >-
                        ^(?:(?:(?!0000)\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|02-(?:0[1-9]|1\d|2[0-8]))|(?:(?!0000)(?:\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d{1,6})?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$
                      type: string
                  required:
                    - id
                    - account_id
                    - name
                    - status
                    - has_unpublished_changes
                    - draft_updated_at
                    - created_at
                    - updated_at
                    - trigger_type
                    - configuration
                    - authoring_compatibility
                  type: object
                - additionalProperties: false
                  properties:
                    account_id:
                      format: uuid
                      type: string
                    authoring_compatibility:
                      const: public_v1
                      type: string
                    configuration:
                      additionalProperties: false
                      properties:
                        contact_filter:
                          description: >-
                            `anyone` — every eligible contact; `followers_only`
                            — confirmed followers; `non_followers_only` —
                            confirmed non-followers; `previous_dm_contacts` —
                            contacts with an inbound DM before this trigger;
                            `existing_contacts` — contacts already known before
                            this trigger.
                          enum:
                            - anyone
                            - followers_only
                            - non_followers_only
                            - previous_dm_contacts
                            - existing_contacts
                          type: string
                        extras:
                          additionalProperties: false
                          properties:
                            cooldown:
                              anyOf:
                                - additionalProperties: false
                                  properties:
                                    mode:
                                      const: none
                                      type: string
                                  required:
                                    - mode
                                  type: object
                                - additionalProperties: false
                                  properties:
                                    mode:
                                      const: fixed
                                      type: string
                                    seconds:
                                      maximum: 2592000
                                      minimum: 1
                                      type: integer
                                  required:
                                    - mode
                                    - seconds
                                  type: object
                          required:
                            - cooldown
                          type: object
                        follow_up:
                          anyOf:
                            - type: 'null'
                            - additionalProperties: false
                              properties:
                                actions:
                                  items:
                                    anyOf:
                                      - anyOf:
                                          - additionalProperties: false
                                            properties:
                                              buttons:
                                                items:
                                                  additionalProperties: false
                                                  properties:
                                                    title:
                                                      description: >-
                                                        Button title. Length is 1 through 20
                                                        Unicode scalar values.
                                                      pattern: >-
                                                        ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                      type: string
                                                    type:
                                                      const: url
                                                      type: string
                                                    url:
                                                      pattern: >-
                                                        ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                                      type: string
                                                  required:
                                                    - type
                                                    - title
                                                    - url
                                                  type: object
                                                maxItems: 0
                                                minItems: 0
                                                type: array
                                              delay_seconds:
                                                maximum: 86399
                                                minimum: 0
                                                type: integer
                                              text:
                                                description: >-
                                                  Message text. Length is 1 through 1000
                                                  Unicode scalar values.
                                                pattern: >-
                                                  ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,1000}$
                                                type: string
                                              type:
                                                const: send_message
                                                type: string
                                            required:
                                              - type
                                              - delay_seconds
                                              - text
                                              - buttons
                                            type: object
                                          - additionalProperties: false
                                            properties:
                                              buttons:
                                                items:
                                                  additionalProperties: false
                                                  properties:
                                                    title:
                                                      description: >-
                                                        Button title. Length is 1 through 20
                                                        Unicode scalar values.
                                                      pattern: >-
                                                        ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                      type: string
                                                    type:
                                                      const: url
                                                      type: string
                                                    url:
                                                      pattern: >-
                                                        ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                                      type: string
                                                  required:
                                                    - type
                                                    - title
                                                    - url
                                                  type: object
                                                maxItems: 3
                                                minItems: 1
                                                type: array
                                              delay_seconds:
                                                maximum: 86399
                                                minimum: 0
                                                type: integer
                                              text:
                                                description: >-
                                                  Message text. Length is 1 through 640
                                                  Unicode scalar values.
                                                pattern: >-
                                                  ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,640}$
                                                type: string
                                              type:
                                                const: send_message
                                                type: string
                                            required:
                                              - type
                                              - delay_seconds
                                              - text
                                              - buttons
                                            type: object
                                      - additionalProperties: false
                                        properties:
                                          delay_seconds:
                                            maximum: 86399
                                            minimum: 0
                                            type: integer
                                          media_type:
                                            description: >-
                                              `image`, `video`, `audio`, or `file`
                                              identifies the outbound Instagram
                                              attachment type.
                                            enum:
                                              - image
                                              - video
                                              - audio
                                              - file
                                            type: string
                                          type:
                                            const: send_media
                                            type: string
                                          url:
                                            pattern: >-
                                              ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                            type: string
                                        required:
                                          - type
                                          - delay_seconds
                                          - media_type
                                          - url
                                        type: object
                                      - additionalProperties: false
                                        properties:
                                          cards:
                                            items:
                                              additionalProperties: false
                                              properties:
                                                buttons:
                                                  items:
                                                    additionalProperties: false
                                                    properties:
                                                      title:
                                                        description: >-
                                                          Button title. Length is 1 through 20
                                                          Unicode scalar values.
                                                        pattern: >-
                                                          ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                        type: string
                                                      type:
                                                        const: url
                                                        type: string
                                                      url:
                                                        pattern: >-
                                                          ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                                        type: string
                                                    required:
                                                      - type
                                                      - title
                                                      - url
                                                    type: object
                                                  maxItems: 3
                                                  minItems: 1
                                                  type: array
                                                image_url:
                                                  pattern: >-
                                                    ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                                  type: string
                                                subtitle:
                                                  description: >-
                                                    Card subtitle. Length is 0 through 80
                                                    Unicode scalar values.
                                                  pattern: >-
                                                    ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){0,80}$
                                                  type: string
                                                title:
                                                  description: >-
                                                    Card title. Length is 1 through 80
                                                    Unicode scalar values.
                                                  pattern: >-
                                                    ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,80}$
                                                  type: string
                                              required:
                                                - title
                                                - image_url
                                                - buttons
                                              type: object
                                            maxItems: 10
                                            minItems: 1
                                            type: array
                                          delay_seconds:
                                            maximum: 86399
                                            minimum: 0
                                            type: integer
                                          type:
                                            const: send_carousel
                                            type: string
                                        required:
                                          - type
                                          - delay_seconds
                                          - cards
                                        type: object
                                      - additionalProperties: false
                                        properties:
                                          buttons:
                                            additionalProperties: false
                                            properties:
                                              confirm_title:
                                                description: >-
                                                  Button title. Length is 1 through 20
                                                  Unicode scalar values.
                                                pattern: >-
                                                  ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                type: string
                                              open_profile_title:
                                                description: >-
                                                  Button title. Length is 1 through 20
                                                  Unicode scalar values.
                                                pattern: >-
                                                  ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                type: string
                                            required:
                                              - open_profile_title
                                              - confirm_title
                                            type: object
                                          delay_seconds:
                                            maximum: 86399
                                            minimum: 0
                                            type: integer
                                          expires_in_seconds:
                                            maximum: 604800
                                            minimum: 60
                                            type: integer
                                          max_attempts:
                                            maximum: 10
                                            minimum: 1
                                            type: integer
                                          message:
                                            description: >-
                                              Message text. Length is 1 through 640
                                              Unicode scalar values.
                                            pattern: >-
                                              ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,640}$
                                            type: string
                                          not_following_message:
                                            anyOf:
                                              - description: >-
                                                  Message text. Length is 1 through 640
                                                  Unicode scalar values.
                                                pattern: >-
                                                  ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,640}$
                                                type: string
                                              - type: 'null'
                                            description: >-
                                              Message text. Length is 1 through 640
                                              Unicode scalar values.
                                          recheck_after_seconds:
                                            maximum: 86400
                                            minimum: 60
                                            type: integer
                                          retry_exhausted_action:
                                            description: >-
                                              `continue` — continue after the retry
                                              limit; `stop` — end the active gate
                                              after the retry limit.
                                            enum:
                                              - continue
                                              - stop
                                            type: string
                                          type:
                                            const: ask_to_follow
                                            type: string
                                          verification_mode:
                                            description: >-
                                              `trusted_click` — trust the confirmation
                                              click; `strict` — verify follow status
                                              with Instagram.
                                            enum:
                                              - trusted_click
                                              - strict
                                            type: string
                                        required:
                                          - type
                                          - delay_seconds
                                          - message
                                          - buttons
                                          - verification_mode
                                          - not_following_message
                                          - max_attempts
                                          - retry_exhausted_action
                                          - recheck_after_seconds
                                          - expires_in_seconds
                                        type: object
                                      - additionalProperties: false
                                        properties:
                                          delay_seconds:
                                            maximum: 86399
                                            minimum: 0
                                            type: integer
                                          expires_in_seconds:
                                            maximum: 604800
                                            minimum: 60
                                            type: integer
                                          max_attempts:
                                            maximum: 5
                                            minimum: 1
                                            type: integer
                                          message:
                                            description: >-
                                              Message text. Length is 1 through 1000
                                              Unicode scalar values.
                                            pattern: >-
                                              ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,1000}$
                                            type: string
                                          retry_exhausted_action:
                                            description: >-
                                              `continue` — continue after the retry
                                              limit; `stop` — end the active gate
                                              after the retry limit.
                                            enum:
                                              - continue
                                              - stop
                                            type: string
                                          retry_message:
                                            description: >-
                                              Message text. Length is 1 through 1000
                                              Unicode scalar values.
                                            pattern: >-
                                              ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,1000}$
                                            type: string
                                          type:
                                            const: ask_for_email
                                            type: string
                                        required:
                                          - type
                                          - delay_seconds
                                          - message
                                          - retry_message
                                          - max_attempts
                                          - retry_exhausted_action
                                          - expires_in_seconds
                                        type: object
                                      - additionalProperties: false
                                        properties:
                                          delay_seconds:
                                            maximum: 86399
                                            minimum: 0
                                            type: integer
                                          expires_in_seconds:
                                            maximum: 604800
                                            minimum: 60
                                            type: integer
                                          max_attempts:
                                            maximum: 5
                                            minimum: 1
                                            type: integer
                                          message:
                                            description: >-
                                              Message text. Length is 1 through 1000
                                              Unicode scalar values.
                                            pattern: >-
                                              ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,1000}$
                                            type: string
                                          retry_exhausted_action:
                                            description: >-
                                              `continue` — continue after the retry
                                              limit; `stop` — end the active gate
                                              after the retry limit.
                                            enum:
                                              - continue
                                              - stop
                                            type: string
                                          retry_message:
                                            description: >-
                                              Message text. Length is 1 through 1000
                                              Unicode scalar values.
                                            pattern: >-
                                              ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,1000}$
                                            type: string
                                          type:
                                            const: ask_for_phone
                                            type: string
                                        required:
                                          - type
                                          - delay_seconds
                                          - message
                                          - retry_message
                                          - max_attempts
                                          - retry_exhausted_action
                                          - expires_in_seconds
                                        type: object
                                      - additionalProperties: false
                                        properties:
                                          delay_seconds:
                                            maximum: 2592000
                                            minimum: 0
                                            type: integer
                                          tag_id:
                                            format: uuid
                                            type: string
                                          type:
                                            const: add_contact_tag
                                            type: string
                                        required:
                                          - type
                                          - delay_seconds
                                          - tag_id
                                        type: object
                                      - additionalProperties: false
                                        properties:
                                          type:
                                            const: finish
                                            type: string
                                        required:
                                          - type
                                        type: object
                                  maxItems: 20
                                  minItems: 1
                                  type: array
                              required:
                                - actions
                              type: object
                        opening:
                          additionalProperties: false
                          properties:
                            direct_message:
                              additionalProperties: false
                              properties:
                                delay_seconds:
                                  maximum: 86400
                                  minimum: 0
                                  type: integer
                                message:
                                  anyOf:
                                    - additionalProperties: false
                                      properties:
                                        buttons:
                                          items:
                                            anyOf:
                                              - additionalProperties: false
                                                properties:
                                                  title:
                                                    description: >-
                                                      Button title. Length is 1 through 20
                                                      Unicode scalar values.
                                                    pattern: >-
                                                      ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                    type: string
                                                  type:
                                                    const: start_follow_up
                                                    type: string
                                                required:
                                                  - type
                                                  - title
                                                type: object
                                              - additionalProperties: false
                                                properties:
                                                  title:
                                                    description: >-
                                                      Button title. Length is 1 through 20
                                                      Unicode scalar values.
                                                    pattern: >-
                                                      ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                    type: string
                                                  type:
                                                    const: url
                                                    type: string
                                                  url:
                                                    pattern: >-
                                                      ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                                    type: string
                                                required:
                                                  - type
                                                  - title
                                                  - url
                                                type: object
                                          maxItems: 0
                                          minItems: 0
                                          type: array
                                        text:
                                          description: >-
                                            Message text. Length is 1 through 1000
                                            Unicode scalar values.
                                          pattern: >-
                                            ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,1000}$
                                          type: string
                                      required:
                                        - text
                                        - buttons
                                      type: object
                                    - additionalProperties: false
                                      properties:
                                        buttons:
                                          items:
                                            anyOf:
                                              - additionalProperties: false
                                                properties:
                                                  title:
                                                    description: >-
                                                      Button title. Length is 1 through 20
                                                      Unicode scalar values.
                                                    pattern: >-
                                                      ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                    type: string
                                                  type:
                                                    const: start_follow_up
                                                    type: string
                                                required:
                                                  - type
                                                  - title
                                                type: object
                                              - additionalProperties: false
                                                properties:
                                                  title:
                                                    description: >-
                                                      Button title. Length is 1 through 20
                                                      Unicode scalar values.
                                                    pattern: >-
                                                      ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,20}$
                                                    type: string
                                                  type:
                                                    const: url
                                                    type: string
                                                  url:
                                                    pattern: >-
                                                      ^(?![\s\S]*[\u0000\uD800-\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\/\/[^\s\/:?#%]+(?::[0-9]{1,5})?(?:[\/?#](?:[^\s%]|%[0-9A-Fa-f]{2})*)?$
                                                    type: string
                                                required:
                                                  - type
                                                  - title
                                                  - url
                                                type: object
                                          maxItems: 3
                                          minItems: 1
                                          type: array
                                        text:
                                          description: >-
                                            Message text. Length is 1 through 640
                                            Unicode scalar values.
                                          pattern: >-
                                            ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,640}$
                                          type: string
                                      required:
                                        - text
                                        - buttons
                                      type: object
                              required:
                                - delay_seconds
                                - message
                              type: object
                            public_reply:
                              anyOf:
                                - additionalProperties: false
                                  properties:
                                    enabled:
                                      const: false
                                      type: boolean
                                  required:
                                    - enabled
                                  type: object
                                - additionalProperties: false
                                  properties:
                                    delay_seconds:
                                      maximum: 86400
                                      minimum: 0
                                      type: integer
                                    enabled:
                                      const: true
                                      type: boolean
                                    max_per_post:
                                      maximum: 200
                                      minimum: 1
                                      type: integer
                                    mention_mode:
                                      description: >-
                                        `none` — do not prefix a mention;
                                        `contact` — mention the contact;
                                        `account` — mention the account.
                                      enum:
                                        - none
                                        - contact
                                        - account
                                      type: string
                                    messages:
                                      items:
                                        description: >-
                                          Public reply message. Length is 1
                                          through 280 Unicode scalar values.
                                        pattern: >-
                                          ^(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000\uD800-\uDFFF])){1,280}$
                                        type: string
                                      minItems: 1
                                      type: array
                                    rotation:
                                      description: >-
                                        `random` — choose a response randomly;
                                        `sequential` — rotate responses in their
                                        submitted order.
                                      enum:
                                        - random
                                        - sequential
                                      type: string
                                  required:
                                    - enabled
                                    - delay_seconds
                                    - messages
                                    - rotation
                                    - mention_mode
                                    - max_per_post
                                  type: object
                          required:
                            - public_reply
                            - direct_message
                          type: object
                        trigger:
                          additionalProperties: false
                          properties:
                            type:
                              const: story_mention
                              type: string
                          required:
                            - type
                          type: object
                      required:
                        - contact_filter
                        - opening
                        - follow_up
                        - extras
                        - trigger
                      type: object
                    created_at:
                      maxLength: 32
                      minLength: 20
                      pattern: >-
                        ^(?:(?:(?!0000)\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|02-(?:0[1-9]|1\d|2[0-8]))|(?:(?!0000)(?:\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d{1,6})?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$
                      type: string
                    draft_updated_at:
                      anyOf:
                        - maxLength: 32
                          minLength: 20
                          pattern: >-
                            ^(?:(?:(?!0000)\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|02-(?:0[1-9]|1\d|2[0-8]))|(?:(?!0000)(?:\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d{1,6})?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$
                          type: string
                        - type: 'null'
                    has_unpublished_changes:
                      type: boolean
                    id:
                      format: uuid
                      type: string
                    name:
                      description: >-
                        Automation name. Use 1 through 120 Unicode scalar
                        values, without surrounding whitespace or control
                        characters.
                      pattern: >-
                        ^(?!\s)(?![\s\S]*\s$)(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000-\u001F\u007F-\u009F\uD800-\uDFFF])){1,120}$
                      type: string
                    status:
                      description: >-
                        `draft` — not published; `live` — processing triggers;
                        `paused` — published but paused.
                      enum:
                        - draft
                        - live
                        - paused
                      type: string
                    trigger_type:
                      const: story_mention
                      type: string
                    updated_at:
                      maxLength: 32
                      minLength: 20
                      pattern: >-
                        ^(?:(?:(?!0000)\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|02-(?:0[1-9]|1\d|2[0-8]))|(?:(?!0000)(?:\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d{1,6})?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$
                      type: string
                  required:
                    - id
                    - account_id
                    - name
                    - status
                    - has_unpublished_changes
                    - draft_updated_at
                    - created_at
                    - updated_at
                    - trigger_type
                    - configuration
                    - authoring_compatibility
                  type: object
                - additionalProperties: false
                  properties:
                    account_id:
                      format: uuid
                      type: string
                    authoring_compatibility:
                      const: read_only_legacy
                      type: string
                    configuration:
                      type: 'null'
                    created_at:
                      maxLength: 32
                      minLength: 20
                      pattern: >-
                        ^(?:(?:(?!0000)\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|02-(?:0[1-9]|1\d|2[0-8]))|(?:(?!0000)(?:\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d{1,6})?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$
                      type: string
                    draft_updated_at:
                      anyOf:
                        - maxLength: 32
                          minLength: 20
                          pattern: >-
                            ^(?:(?:(?!0000)\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|02-(?:0[1-9]|1\d|2[0-8]))|(?:(?!0000)(?:\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d{1,6})?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$
                          type: string
                        - type: 'null'
                    has_unpublished_changes:
                      type: boolean
                    id:
                      format: uuid
                      type: string
                    name:
                      description: >-
                        Automation name. Use 1 through 120 Unicode scalar
                        values, without surrounding whitespace or control
                        characters.
                      pattern: >-
                        ^(?!\s)(?![\s\S]*\s$)(?:(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u0000-\u001F\u007F-\u009F\uD800-\uDFFF])){1,120}$
                      type: string
                    status:
                      description: >-
                        `draft` — not published; `live` — processing triggers;
                        `paused` — published but paused.
                      enum:
                        - draft
                        - live
                        - paused
                      type: string
                    trigger_type:
                      enum:
                        - comment
                        - story_reply
                        - dm_keyword
                        - story_mention
                        - any_dm
                        - live_comment
                        - instagram_ad
                        - legacy
                      type: string
                    updated_at:
                      maxLength: 32
                      minLength: 20
                      pattern: >-
                        ^(?:(?:(?!0000)\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|02-(?:0[1-9]|1\d|2[0-8]))|(?:(?!0000)(?:\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d{1,6})?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$
                      type: string
                  required:
                    - id
                    - account_id
                    - name
                    - status
                    - has_unpublished_changes
                    - draft_updated_at
                    - created_at
                    - updated_at
                    - trigger_type
                    - configuration
                    - authoring_compatibility
                  type: object
          required:
            - automation
          type: object
      $id: https://levios.app/schemas/public-automation-detail-response-v1
      $schema: https://json-schema.org/draft/2019-09/schema#
      title: PublicAutomationDetailResponseV1
      x-levios-schema-version: 1
    PublicAutomationPlanDetailsV1:
      $ref: 566f51ea-ca9b-4332-9e15-ab72167f5e4e
      $defs:
        PublicAutomationPlanDetailsV1:
          additionalProperties: false
          properties:
            reason:
              anyOf:
                - additionalProperties: false
                  properties:
                    capability:
                      maxLength: 64
                      minLength: 1
                      type: string
                    type:
                      enum:
                        - trigger_kind
                        - action_kind
                        - feature
                      type: string
                    value:
                      maxLength: 64
                      minLength: 1
                      type: string
                  required:
                    - capability
                    - type
                    - value
                  type: object
                - additionalProperties: false
                  properties:
                    active_automations:
                      maximum: 9007199254740991
                      minimum: 0
                      type: integer
                    limit:
                      maximum: 9007199254740991
                      minimum: 0
                      type: integer
                    scope:
                      const: account_active_automations
                      type: string
                  required:
                    - active_automations
                    - limit
                    - scope
                  type: object
          required:
            - reason
          type: object
      $id: https://levios.app/schemas/public-automation-plan-details-v1
      $schema: https://json-schema.org/draft/2019-09/schema#
      title: PublicAutomationPlanDetailsV1
      x-levios-schema-version: 1
    PublicAutomationValidationDetailsV1:
      $ref: 9a1c0596-a1a4-46c8-abbf-fdd83b5145e5
      $defs:
        PublicAutomationValidationDetailsV1:
          additionalProperties: false
          properties:
            issues:
              items:
                additionalProperties: false
                properties:
                  code:
                    maxLength: 64
                    minLength: 1
                    type: string
                  message:
                    maxLength: 256
                    minLength: 1
                    type: string
                  path:
                    items:
                      anyOf:
                        - maxLength: 64
                          minLength: 1
                          type: string
                        - maximum: 9007199254740991
                          minimum: 0
                          type: integer
                    maxItems: 16
                    type: array
                required:
                  - code
                  - path
                  - message
                type: object
              maxItems: 20
              minItems: 1
              type: array
            truncated:
              type: boolean
          required:
            - issues
            - truncated
          type: object
      $id: https://levios.app/schemas/public-automation-validation-details-v1
      $schema: https://json-schema.org/draft/2019-09/schema#
      title: PublicAutomationValidationDetailsV1
      x-levios-schema-version: 1
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Levios API key sent as a Bearer token.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.