# Update Form

> 🚧 This endpoint is in beta and subject to change.
            >
            > A beta revision header (2026-10-15.pre) is required to use our beta APIs. Klaviyo APIs in beta are not intended for use in production. See our [versioning and deprecation policy](https://developers.klaviyo.com/en/docs/api_versioning_and_deprecation_policy) for more information.

Update a form's name or complete editable definition.

Only name and definition may be supplied. Omitted attributes retain their values. The channel, version IDs, and live versions cannot change. Omitted editable entities are deleted from a supplied definition. A definition from an earlier GET can overwrite subsequent edits; this endpoint does not provide optimistic concurrency checks.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m`

**Scopes:**
`forms:write`

[OpenAPI Spec](https://raw.githubusercontent.com/klaviyo/openapi/main/openapi/beta/apis/update_form_beta.json)

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "title": "Beta APIs",
    "version": "2026-10-15.pre",
    "description": "The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details.",
    "contact": {
      "name": "Klaviyo Developer Experience Team",
      "email": "developers@klaviyo.com",
      "url": "https://developers.klaviyo.com"
    },
    "termsOfService": "https://www.klaviyo.com/legal/api-terms",
    "license": {
      "name": "License",
      "url": "https://www.klaviyo.com/legal"
    }
  },
  "servers": [
    {
      "url": "https://a.klaviyo.com",
      "description": "Production"
    }
  ],
  "paths": {
    "/api/forms/{id}": {
      "patch": {
        "operationId": "update_form_beta",
        "summary": "Update Form",
        "description": "\n            > 🚧 This endpoint is in beta and subject to change.\n            >\n            > A beta revision header (2026-10-15.pre) is required to use our beta APIs. Klaviyo APIs in beta are not intended for use in production. See our [versioning and deprecation policy](https://developers.klaviyo.com/en/docs/api_versioning_and_deprecation_policy) for more information.\n\nUpdate a form's name or complete editable definition.\n\nOnly name and definition may be supplied. Omitted attributes retain their values. The channel, version IDs, and live versions cannot change. Omitted editable entities are deleted from a supplied definition. A definition from an earlier GET can overwrite subsequent edits; this endpoint does not provide optimistic concurrency checks.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m`\n\n**Scopes:**\n`forms:write`\n\n[OpenAPI Spec](https://raw.githubusercontent.com/klaviyo/openapi/main/openapi/beta/apis/update_form_beta.json)",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The ID of the form.",
            "required": true,
            "schema": {
              "description": "The ID of the form.",
              "type": "string",
              "example": "Y6nRLr"
            }
          },
          {
            "name": "fields[form]",
            "in": "query",
            "description": "For more information please visit https://developers.klaviyo.com/en/v2026-10-15.pre/reference/api-overview#sparse-fieldsets",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "ab_test",
                  "created_at",
                  "definition",
                  "definition.type",
                  "definition.versions",
                  "id",
                  "name",
                  "status",
                  "updated_at"
                ]
              }
            },
            "explode": false
          },
          {
            "name": "revision",
            "in": "header",
            "description": "API endpoint revision (format: YYYY-MM-DD[.suffix])",
            "required": true,
            "schema": {
              "type": "string",
              "default": "2026-10-15.pre"
            }
          }
        ],
        "requestBody": {
          "description": "Update a form's name or editable definition.",
          "required": true,
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "$ref": "#/components/schemas/PolymorphicFormPartialUpdateQuery"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "$ref": "#/components/schemas/PatchPolymorphicFormResponse"
                }
              }
            }
          },
          "4XX": {
            "$ref": "#/components/responses/ClientError"
          },
          "5XX": {
            "$ref": "#/components/responses/ServerError"
          }
        },
        "tags": [
          "Forms"
        ],
        "x-klaviyo-pre-release": "BETA",
        "x-klaviyo-ratelimit": {
          "burst": "3/s",
          "steady": "60/m"
        },
        "x-klaviyo-scopes": [
          "forms:write"
        ],
        "x-klaviyo-subtag": "Forms"
      }
    }
  },
  "components": {
    "schemas": {
      "Padding": {
        "type": "object",
        "properties": {
          "left": {
            "type": "integer",
            "default": 0
          },
          "right": {
            "type": "integer",
            "default": 0
          },
          "top": {
            "type": "integer",
            "default": 0
          },
          "bottom": {
            "type": "integer",
            "default": 0
          }
        }
      },
      "BorderStyle": {
        "type": "object",
        "properties": {
          "radius": {
            "type": "integer",
            "example": 8,
            "default": 8
          },
          "color": {
            "type": "string"
          },
          "style": {
            "description": "Border pattern enumeration.",
            "type": "string",
            "enum": [
              "dashed",
              "dotted",
              "solid"
            ]
          },
          "thickness": {
            "type": "integer"
          }
        }
      },
      "TextStyle": {
        "type": "object",
        "properties": {
          "font_family": {
            "example": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
            "default": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
            "oneOf": [
              {
                "type": "string",
                "enum": [
                  "Arial Black,Arial",
                  "Arial, 'Helvetica Neue', Helvetica, sans-serif",
                  "Century Gothic,AppleGothic,Arial",
                  "Comic Sans MS,Comic Sans,cursive",
                  "Courier",
                  "Courier New",
                  "Geneva,Arial",
                  "Georgia",
                  "Helvetica,Arial",
                  "Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif",
                  "Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif",
                  "Lucida,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif",
                  "MS Serif,Georgia",
                  "New York,Georgia",
                  "Palatino Linotype,Palatino,Georgia",
                  "Palatino,Georgia",
                  "Tahoma,sans-serif",
                  "Times New Roman",
                  "Trebuchet MS",
                  "Verdana"
                ],
                "description": "Web safe font enumeration."
              },
              {
                "type": "string"
              }
            ]
          },
          "font_size": {
            "type": "integer",
            "example": 16,
            "default": 16
          },
          "font_weight": {
            "description": "Font weight enumeration.",
            "type": "integer",
            "example": 400,
            "default": 400,
            "enum": [
              100,
              200,
              300,
              400,
              500,
              600,
              700,
              800,
              900
            ]
          },
          "text_color": {
            "type": "string",
            "example": "#000000",
            "default": "#000000"
          },
          "character_spacing": {
            "type": "integer",
            "default": 0
          },
          "font_style": {
            "type": "string"
          },
          "text_decoration": {
            "type": "string"
          }
        }
      },
      "ButtonDropShadowStyles": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean",
            "default": false
          },
          "color": {
            "type": "string",
            "example": "#000000",
            "default": "#000000"
          },
          "blur": {
            "type": "integer",
            "example": 15,
            "default": 15
          },
          "x_offset": {
            "type": "integer",
            "default": 0
          },
          "y_offset": {
            "type": "integer",
            "default": 0
          }
        }
      },
      "ButtonStyles": {
        "type": "object",
        "properties": {
          "padding": {
            "$ref": "#/components/schemas/Padding"
          },
          "background_color": {
            "type": "string"
          },
          "width": {
            "description": "Valid button block widths.",
            "type": "string",
            "example": "fill",
            "default": "fill",
            "enum": [
              "fill",
              "fit"
            ]
          },
          "inner_padding": {
            "$ref": "#/components/schemas/Padding"
          },
          "height": {
            "example": 50,
            "default": 50,
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "enum": [
                  "auto"
                ],
                "type": "string"
              }
            ]
          },
          "alignment": {
            "description": "Horizontal alignment enumeration.",
            "type": "string",
            "example": "center",
            "default": "center",
            "enum": [
              "center",
              "left",
              "right"
            ]
          },
          "hover_background_color": {
            "type": "string"
          },
          "hover_text_color": {
            "type": "string"
          },
          "border_styles": {
            "$ref": "#/components/schemas/BorderStyle"
          },
          "text_styles": {
            "$ref": "#/components/schemas/TextStyle"
          },
          "color": {
            "type": "string"
          },
          "drop_shadow": {
            "$ref": "#/components/schemas/ButtonDropShadowStyles"
          }
        }
      },
      "Animation": {
        "type": "object",
        "properties": {
          "type": {
            "description": "Enumeration for component entrance animation types.",
            "type": "string",
            "example": "none",
            "default": "none",
            "enum": [
              "fadeIn",
              "fadeInUp",
              "none",
              "pulse",
              "slideInDown",
              "slideInLeft",
              "slideInRight",
              "slideInUp",
              "zoomIn"
            ]
          },
          "duration": {
            "type": "integer",
            "example": 600,
            "default": 600
          },
          "delay": {
            "type": "integer",
            "default": 0
          },
          "easing": {
            "description": "Enumeration for component animation easing functions.",
            "type": "string",
            "example": "ease-out",
            "default": "ease-out",
            "enum": [
              "ease",
              "ease-in",
              "ease-in-out",
              "ease-out",
              "linear"
            ]
          },
          "repeat": {
            "type": "boolean",
            "default": false
          }
        }
      },
      "AdditionalField": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "value"
        ]
      },
      "ButtonProperties": {
        "type": "object",
        "properties": {
          "display_device": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          },
          "classname": {
            "type": "string"
          },
          "block_animation": {
            "$ref": "#/components/schemas/Animation"
          },
          "label": {
            "type": "string"
          },
          "additional_fields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AdditionalField"
            }
          }
        },
        "required": [
          "label"
        ]
      },
      "CloseProperties": {
        "type": "object",
        "properties": {
          "list_id": {
            "type": "string"
          }
        }
      },
      "Close": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "submit": {
            "type": "boolean"
          },
          "type": {
            "type": "string",
            "enum": [
              "close"
            ]
          },
          "properties": {
            "$ref": "#/components/schemas/CloseProperties"
          }
        },
        "required": [
          "submit",
          "type"
        ]
      },
      "NextStepProperties": {
        "type": "object",
        "properties": {
          "list_id": {
            "type": "string"
          }
        }
      },
      "NextStep": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "submit": {
            "type": "boolean"
          },
          "type": {
            "type": "string",
            "enum": [
              "next_step"
            ]
          },
          "properties": {
            "$ref": "#/components/schemas/NextStepProperties"
          }
        },
        "required": [
          "submit",
          "type"
        ]
      },
      "OpenFormProperties": {
        "type": "object",
        "properties": {
          "close_form": {
            "type": "boolean",
            "example": true,
            "default": true
          },
          "form_id_to_open": {
            "type": "string"
          }
        },
        "required": [
          "form_id_to_open"
        ]
      },
      "OpenForm": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "open_form"
            ]
          },
          "submit": {
            "type": "boolean",
            "example": true,
            "default": true,
            "enum": [
              true
            ]
          },
          "properties": {
            "$ref": "#/components/schemas/OpenFormProperties"
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "PromotionalSMSSubscription": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "submit": {
            "type": "boolean",
            "example": true,
            "default": true,
            "enum": [
              true
            ]
          },
          "type": {
            "type": "string",
            "enum": [
              "promotional_sms_subscription"
            ]
          },
          "properties": {
            "enum": [
              null
            ]
          }
        },
        "required": [
          "type"
        ]
      },
      "RedirectProperties": {
        "type": "object",
        "properties": {
          "list_id": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "default": ""
          },
          "new_window": {
            "type": "boolean",
            "default": false
          }
        }
      },
      "Redirect": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "submit": {
            "type": "boolean"
          },
          "type": {
            "type": "string",
            "enum": [
              "redirect"
            ]
          },
          "properties": {
            "$ref": "#/components/schemas/RedirectProperties"
          }
        },
        "required": [
          "submit",
          "type",
          "properties"
        ]
      },
      "ResendOptInCode": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "submit": {
            "type": "boolean",
            "default": false,
            "enum": [
              false
            ]
          },
          "type": {
            "type": "string",
            "enum": [
              "resend_opt_in_code"
            ]
          },
          "properties": {
            "enum": [
              null
            ]
          }
        },
        "required": [
          "type"
        ]
      },
      "SubmitOptInCode": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "submit": {
            "type": "boolean",
            "example": true,
            "default": true,
            "enum": [
              true
            ]
          },
          "type": {
            "type": "string",
            "enum": [
              "submit_opt_in_code"
            ]
          },
          "properties": {
            "enum": [
              null
            ]
          }
        },
        "required": [
          "type"
        ]
      },
      "SubscribeViaSMSProperties": {
        "type": "object",
        "properties": {
          "opt_in_keyword": {
            "type": "string"
          },
          "opt_in_message": {
            "type": "string"
          },
          "sending_number": {
            "type": "string"
          }
        },
        "required": [
          "opt_in_keyword",
          "opt_in_message",
          "sending_number"
        ]
      },
      "SubscribeViaSMS": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "submit": {
            "type": "boolean",
            "example": true,
            "default": true,
            "enum": [
              true
            ]
          },
          "type": {
            "type": "string",
            "enum": [
              "subscribe_via_sms"
            ]
          },
          "properties": {
            "$ref": "#/components/schemas/SubscribeViaSMSProperties"
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "SubscribeViaWhatsAppProperties": {
        "type": "object",
        "properties": {
          "opt_in_keyword": {
            "type": "string"
          },
          "opt_in_message": {
            "type": "string"
          },
          "sending_number": {
            "type": "string"
          }
        },
        "required": [
          "opt_in_keyword",
          "opt_in_message",
          "sending_number"
        ]
      },
      "SubscribeViaWhatsApp": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "submit": {
            "type": "boolean",
            "example": true,
            "default": true,
            "enum": [
              true
            ]
          },
          "type": {
            "type": "string",
            "enum": [
              "subscribe_via_whatsapp"
            ]
          },
          "properties": {
            "$ref": "#/components/schemas/SubscribeViaWhatsAppProperties"
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "GoToInbox": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "submit": {
            "type": "boolean",
            "example": true,
            "default": true,
            "enum": [
              true
            ]
          },
          "type": {
            "type": "string",
            "enum": [
              "go_to_inbox"
            ]
          },
          "properties": {
            "enum": [
              null
            ]
          }
        },
        "required": [
          "type"
        ]
      },
      "SubmitBackInStockProperties": {
        "type": "object",
        "properties": {
          "list_id": {
            "type": "string"
          }
        }
      },
      "SubmitBackInStock": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "submit_back_in_stock"
            ]
          },
          "properties": {
            "$ref": "#/components/schemas/SubmitBackInStockProperties"
          },
          "submit": {
            "type": "boolean",
            "example": true,
            "default": true,
            "enum": [
              true
            ]
          }
        },
        "required": [
          "type"
        ]
      },
      "SkipToSuccessProperties": {
        "type": "object",
        "maxProperties": 0
      },
      "SkipToSuccess": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "skip_to_success"
            ]
          },
          "submit": {
            "type": "boolean",
            "default": false,
            "enum": [
              false
            ]
          },
          "properties": {
            "$ref": "#/components/schemas/SkipToSuccessProperties"
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "IafDeeplinkToScreenProperties": {
        "type": "object",
        "properties": {
          "deep_link_url": {
            "type": "string",
            "default": ""
          },
          "deep_link_url_ios": {
            "type": "string",
            "default": ""
          },
          "deep_link_url_android": {
            "type": "string",
            "default": ""
          },
          "use_separate_deep_link_urls": {
            "type": "boolean"
          }
        }
      },
      "IafDeeplinkToScreen": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "submit": {
            "type": "boolean",
            "example": true,
            "default": true,
            "enum": [
              true
            ]
          },
          "type": {
            "type": "string",
            "enum": [
              "iaf_deeplink_to_screen"
            ]
          },
          "properties": {
            "$ref": "#/components/schemas/IafDeeplinkToScreenProperties"
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "IafOpenUrlProperties": {
        "type": "object",
        "properties": {
          "web_url": {
            "type": "string",
            "default": ""
          }
        }
      },
      "IafOpenUrl": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "submit": {
            "type": "boolean",
            "example": true,
            "default": true,
            "enum": [
              true
            ]
          },
          "type": {
            "type": "string",
            "enum": [
              "iaf_open_url"
            ]
          },
          "properties": {
            "$ref": "#/components/schemas/IafOpenUrlProperties"
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "Button": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "button"
            ]
          },
          "styles": {
            "$ref": "#/components/schemas/ButtonStyles"
          },
          "properties": {
            "$ref": "#/components/schemas/ButtonProperties"
          },
          "action": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Close"
              },
              {
                "$ref": "#/components/schemas/NextStep"
              },
              {
                "$ref": "#/components/schemas/OpenForm"
              },
              {
                "$ref": "#/components/schemas/PromotionalSMSSubscription"
              },
              {
                "$ref": "#/components/schemas/Redirect"
              },
              {
                "$ref": "#/components/schemas/ResendOptInCode"
              },
              {
                "$ref": "#/components/schemas/SubmitOptInCode"
              },
              {
                "$ref": "#/components/schemas/SubscribeViaSMS"
              },
              {
                "$ref": "#/components/schemas/SubscribeViaWhatsApp"
              },
              {
                "$ref": "#/components/schemas/GoToInbox"
              },
              {
                "$ref": "#/components/schemas/SubmitBackInStock"
              },
              {
                "$ref": "#/components/schemas/SkipToSuccess"
              },
              {
                "$ref": "#/components/schemas/IafDeeplinkToScreen"
              },
              {
                "$ref": "#/components/schemas/IafOpenUrl"
              }
            ]
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "TextStyleOverrides": {
        "type": "object",
        "properties": {
          "font_family": {
            "oneOf": [
              {
                "type": "string",
                "enum": [
                  "Arial Black,Arial",
                  "Arial, 'Helvetica Neue', Helvetica, sans-serif",
                  "Century Gothic,AppleGothic,Arial",
                  "Comic Sans MS,Comic Sans,cursive",
                  "Courier",
                  "Courier New",
                  "Geneva,Arial",
                  "Georgia",
                  "Helvetica,Arial",
                  "Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif",
                  "Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif",
                  "Lucida,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif",
                  "MS Serif,Georgia",
                  "New York,Georgia",
                  "Palatino Linotype,Palatino,Georgia",
                  "Palatino,Georgia",
                  "Tahoma,sans-serif",
                  "Times New Roman",
                  "Trebuchet MS",
                  "Verdana"
                ],
                "description": "Web safe font enumeration."
              },
              {
                "type": "string"
              }
            ]
          },
          "font_size": {
            "type": "integer"
          },
          "font_weight": {
            "description": "Font weight enumeration.",
            "type": "integer",
            "enum": [
              100,
              200,
              300,
              400,
              500,
              600,
              700,
              800,
              900
            ]
          },
          "character_spacing": {
            "type": "integer"
          },
          "text_color": {
            "type": "string"
          }
        }
      },
      "InputStyleOverrides": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean",
            "default": false
          },
          "input_text_styles": {
            "$ref": "#/components/schemas/TextStyleOverrides"
          },
          "label_text_styles": {
            "$ref": "#/components/schemas/TextStyleOverrides"
          },
          "placeholder_text_styles": {
            "$ref": "#/components/schemas/TextStyleOverrides"
          },
          "background_color": {
            "type": "string"
          },
          "border_color": {
            "type": "string"
          },
          "border_focus_color": {
            "type": "string"
          },
          "focus_outline_color": {
            "type": "string"
          },
          "corner_radius": {
            "type": "integer"
          },
          "field_height": {
            "type": "integer"
          }
        }
      },
      "AgeGateStyles": {
        "type": "object",
        "properties": {
          "padding": {
            "$ref": "#/components/schemas/Padding"
          },
          "background_color": {
            "type": "string"
          },
          "input_styles": {
            "$ref": "#/components/schemas/InputStyleOverrides"
          }
        }
      },
      "ErrorMessages": {
        "type": "object",
        "properties": {
          "required": {
            "type": "string",
            "example": "This field is required",
            "default": "This field is required"
          },
          "invalid": {
            "type": "string",
            "example": "This field is invalid",
            "default": "This field is invalid"
          }
        }
      },
      "AgeGateProperties": {
        "type": "object",
        "properties": {
          "display_device": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          },
          "classname": {
            "type": "string"
          },
          "block_animation": {
            "$ref": "#/components/schemas/Animation"
          },
          "label": {
            "type": "string"
          },
          "show_label": {
            "type": "boolean",
            "default": false
          },
          "placeholder": {
            "type": "string"
          },
          "error_messages": {
            "$ref": "#/components/schemas/ErrorMessages"
          },
          "property_name": {
            "type": "string",
            "example": "$age_gated_date_of_birth",
            "default": "$age_gated_date_of_birth",
            "enum": [
              "$age_gated_date_of_birth"
            ]
          },
          "date_format": {
            "type": "string",
            "example": "MM/DD/YYYY",
            "default": "MM/DD/YYYY"
          },
          "sms_country_code": {
            "description": "SMS County Code Enum.",
            "type": "string",
            "example": "US",
            "default": "US",
            "enum": [
              "AT",
              "AU",
              "CH",
              "DE",
              "ES",
              "FR",
              "GB",
              "IE",
              "IT",
              "PT",
              "US"
            ]
          },
          "required": {
            "type": "boolean",
            "example": true,
            "default": true,
            "enum": [
              true
            ]
          }
        }
      },
      "AgeGate": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "age_gate"
            ]
          },
          "styles": {
            "$ref": "#/components/schemas/AgeGateStyles"
          },
          "properties": {
            "$ref": "#/components/schemas/AgeGateProperties"
          },
          "display_device": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "CouponStyles": {
        "type": "object",
        "properties": {
          "padding": {
            "$ref": "#/components/schemas/Padding"
          },
          "background_color": {
            "type": "string"
          },
          "text_styles": {
            "$ref": "#/components/schemas/TextStyle"
          },
          "border_styles": {
            "$ref": "#/components/schemas/BorderStyle"
          },
          "coupon_background_color": {
            "type": "string",
            "example": "#EEEEEE",
            "default": "#EEEEEE"
          }
        }
      },
      "UniqueCouponConfig": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "unique"
            ]
          },
          "id": {
            "type": "integer"
          },
          "code": {
            "type": "string"
          },
          "fallback_coupon_code": {
            "type": "string"
          },
          "integration": {
            "description": "Coupon integration types for unique coupon blocks.",
            "type": "string",
            "example": "shopify",
            "default": "shopify",
            "enum": [
              "api",
              "magento_two",
              "prestashop",
              "shopify",
              "uploaded",
              "woocommerce"
            ]
          }
        },
        "required": [
          "type"
        ]
      },
      "StaticCouponConfig": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "static"
            ]
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "type"
        ]
      },
      "CouponProperties": {
        "type": "object",
        "properties": {
          "display_device": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          },
          "classname": {
            "type": "string"
          },
          "block_animation": {
            "$ref": "#/components/schemas/Animation"
          },
          "coupon": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/UniqueCouponConfig"
              },
              {
                "$ref": "#/components/schemas/StaticCouponConfig"
              }
            ]
          },
          "success_message": {
            "type": "string"
          }
        },
        "required": [
          "coupon"
        ]
      },
      "Coupon": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "coupon"
            ]
          },
          "styles": {
            "$ref": "#/components/schemas/CouponStyles"
          },
          "properties": {
            "$ref": "#/components/schemas/CouponProperties"
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "DateStyles": {
        "type": "object",
        "properties": {
          "padding": {
            "$ref": "#/components/schemas/Padding"
          },
          "background_color": {
            "type": "string"
          },
          "input_styles": {
            "$ref": "#/components/schemas/InputStyleOverrides"
          }
        }
      },
      "DateProperties": {
        "type": "object",
        "properties": {
          "display_device": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          },
          "classname": {
            "type": "string"
          },
          "block_animation": {
            "$ref": "#/components/schemas/Animation"
          },
          "property_name": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "show_label": {
            "type": "boolean",
            "default": false
          },
          "placeholder": {
            "type": "string"
          },
          "required": {
            "type": "boolean",
            "default": false
          },
          "error_messages": {
            "$ref": "#/components/schemas/ErrorMessages"
          },
          "date_format": {
            "type": "string",
            "example": "MM/DD",
            "default": "MM/DD"
          }
        },
        "required": [
          "property_name"
        ]
      },
      "Date": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "date"
            ]
          },
          "styles": {
            "$ref": "#/components/schemas/DateStyles"
          },
          "properties": {
            "$ref": "#/components/schemas/DateProperties"
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "EmailStyles": {
        "type": "object",
        "properties": {
          "padding": {
            "$ref": "#/components/schemas/Padding"
          },
          "background_color": {
            "type": "string"
          },
          "input_styles": {
            "$ref": "#/components/schemas/InputStyleOverrides"
          }
        }
      },
      "EmailProperties": {
        "type": "object",
        "properties": {
          "display_device": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          },
          "classname": {
            "type": "string"
          },
          "block_animation": {
            "$ref": "#/components/schemas/Animation"
          },
          "label": {
            "type": "string"
          },
          "show_label": {
            "type": "boolean",
            "default": false
          },
          "placeholder": {
            "type": "string"
          },
          "required": {
            "type": "boolean",
            "default": false
          },
          "error_messages": {
            "$ref": "#/components/schemas/ErrorMessages"
          },
          "property_name": {
            "type": "string",
            "example": "$email",
            "default": "$email",
            "enum": [
              "$email"
            ]
          }
        }
      },
      "Email": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "email"
            ]
          },
          "styles": {
            "$ref": "#/components/schemas/EmailStyles"
          },
          "properties": {
            "$ref": "#/components/schemas/EmailProperties"
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "HTMLTextStyles": {
        "type": "object",
        "properties": {
          "padding": {
            "$ref": "#/components/schemas/Padding"
          },
          "background_color": {
            "type": "string"
          }
        }
      },
      "HTMLTextProperties": {
        "type": "object",
        "properties": {
          "display_device": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          },
          "classname": {
            "type": "string"
          },
          "block_animation": {
            "$ref": "#/components/schemas/Animation"
          },
          "content": {
            "default": "",
            "type": "string"
          }
        }
      },
      "HTMLText": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "html_text"
            ]
          },
          "styles": {
            "$ref": "#/components/schemas/HTMLTextStyles"
          },
          "properties": {
            "$ref": "#/components/schemas/HTMLTextProperties"
          }
        },
        "required": [
          "type"
        ]
      },
      "OptInCodeStyles": {
        "type": "object",
        "properties": {
          "padding": {
            "$ref": "#/components/schemas/Padding"
          },
          "background_color": {
            "type": "string"
          },
          "input_styles": {
            "$ref": "#/components/schemas/InputStyleOverrides"
          }
        }
      },
      "OptInCodeProperties": {
        "type": "object",
        "properties": {
          "classname": {
            "type": "string"
          },
          "block_animation": {
            "$ref": "#/components/schemas/Animation"
          },
          "label": {
            "type": "string"
          },
          "show_label": {
            "type": "boolean",
            "default": false
          },
          "placeholder": {
            "type": "string"
          },
          "error_messages": {
            "$ref": "#/components/schemas/ErrorMessages"
          },
          "property_name": {
            "type": "string",
            "example": "opt_in_code",
            "default": "opt_in_code",
            "enum": [
              "opt_in_code"
            ]
          },
          "required": {
            "type": "boolean",
            "example": true,
            "default": true,
            "enum": [
              true
            ]
          },
          "display_device": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          }
        }
      },
      "OptInCode": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "opt_in_code"
            ]
          },
          "styles": {
            "$ref": "#/components/schemas/OptInCodeStyles"
          },
          "properties": {
            "$ref": "#/components/schemas/OptInCodeProperties"
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "PhoneNumberStyles": {
        "type": "object",
        "properties": {
          "padding": {
            "$ref": "#/components/schemas/Padding"
          },
          "background_color": {
            "type": "string"
          },
          "input_styles": {
            "$ref": "#/components/schemas/InputStyleOverrides"
          }
        }
      },
      "PhoneNumberConsentChannelSettings": {
        "type": "object",
        "properties": {
          "consent_type": {
            "description": "Consent Type Enum.",
            "type": "string",
            "enum": [
              "phone_number_only",
              "promotional",
              "transactional"
            ]
          }
        }
      },
      "ChannelSettings": {
        "type": "object",
        "properties": {
          "sms": {
            "$ref": "#/components/schemas/PhoneNumberConsentChannelSettings"
          },
          "whatsapp": {
            "$ref": "#/components/schemas/PhoneNumberConsentChannelSettings"
          }
        }
      },
      "PhoneNumberProperties": {
        "type": "object",
        "properties": {
          "display_device": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          },
          "classname": {
            "type": "string"
          },
          "block_animation": {
            "$ref": "#/components/schemas/Animation"
          },
          "label": {
            "type": "string"
          },
          "show_label": {
            "type": "boolean",
            "default": false
          },
          "placeholder": {
            "type": "string"
          },
          "required": {
            "type": "boolean",
            "default": false
          },
          "error_messages": {
            "$ref": "#/components/schemas/ErrorMessages"
          },
          "property_name": {
            "type": "string",
            "example": "$phone_number",
            "default": "$phone_number"
          },
          "sms_consent_type": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "phone_number_only",
                "promotional",
                "transactional"
              ],
              "description": "Consent Type Enum."
            }
          },
          "channel_settings": {
            "$ref": "#/components/schemas/ChannelSettings"
          }
        }
      },
      "PhoneNumber": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "phone_number"
            ]
          },
          "styles": {
            "$ref": "#/components/schemas/PhoneNumberStyles"
          },
          "properties": {
            "$ref": "#/components/schemas/PhoneNumberProperties"
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "SMSConsentCheckboxStyles": {
        "type": "object",
        "properties": {
          "padding": {
            "$ref": "#/components/schemas/Padding"
          },
          "background_color": {
            "type": "string"
          },
          "input_styles": {
            "$ref": "#/components/schemas/InputStyleOverrides"
          },
          "horizontal_alignment": {
            "description": "Horizontal alignment enumeration.",
            "type": "string",
            "example": "left",
            "default": "left",
            "enum": [
              "center",
              "left",
              "right"
            ]
          }
        }
      },
      "SMSConsentCheckboxProperties": {
        "type": "object",
        "properties": {
          "display_device": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          },
          "classname": {
            "type": "string"
          },
          "block_animation": {
            "$ref": "#/components/schemas/Animation"
          },
          "label": {
            "type": "string"
          },
          "show_label": {
            "type": "boolean",
            "default": false
          },
          "error_messages": {
            "$ref": "#/components/schemas/ErrorMessages"
          },
          "required": {
            "type": "boolean",
            "default": false,
            "enum": [
              false
            ]
          },
          "property_name": {
            "type": "string",
            "example": "opt_in_promotional_sms",
            "default": "opt_in_promotional_sms",
            "enum": [
              "opt_in_promotional_sms"
            ]
          },
          "checkbox_text": {
            "type": "string"
          },
          "placeholder": {
            "enum": [
              null
            ]
          },
          "channels": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "sms",
                "whatsapp"
              ],
              "description": "Consent channel enumeration."
            }
          }
        },
        "required": [
          "checkbox_text"
        ]
      },
      "SMSConsentCheckbox": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "promotional_sms_checkbox"
            ]
          },
          "styles": {
            "$ref": "#/components/schemas/SMSConsentCheckboxStyles"
          },
          "properties": {
            "$ref": "#/components/schemas/SMSConsentCheckboxProperties"
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "TextStyles": {
        "type": "object",
        "properties": {
          "padding": {
            "$ref": "#/components/schemas/Padding"
          },
          "background_color": {
            "type": "string"
          },
          "input_styles": {
            "$ref": "#/components/schemas/InputStyleOverrides"
          }
        }
      },
      "TextProperties": {
        "type": "object",
        "properties": {
          "display_device": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          },
          "classname": {
            "type": "string"
          },
          "block_animation": {
            "$ref": "#/components/schemas/Animation"
          },
          "property_name": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "show_label": {
            "type": "boolean",
            "default": false
          },
          "placeholder": {
            "type": "string"
          },
          "required": {
            "type": "boolean",
            "default": false
          },
          "error_messages": {
            "$ref": "#/components/schemas/ErrorMessages"
          }
        },
        "required": [
          "property_name"
        ]
      },
      "Text": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "text"
            ]
          },
          "styles": {
            "$ref": "#/components/schemas/TextStyles"
          },
          "properties": {
            "$ref": "#/components/schemas/TextProperties"
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "CheckboxesStyles": {
        "type": "object",
        "properties": {
          "padding": {
            "$ref": "#/components/schemas/Padding"
          },
          "background_color": {
            "type": "string"
          },
          "input_styles": {
            "$ref": "#/components/schemas/InputStyleOverrides"
          },
          "arrangement": {
            "description": "Arrangement enumeration.",
            "type": "string",
            "example": "vertical",
            "default": "vertical",
            "enum": [
              "horizontal",
              "vertical"
            ]
          },
          "alignment": {
            "description": "Horizontal alignment enumeration.",
            "type": "string",
            "example": "left",
            "default": "left",
            "enum": [
              "center",
              "left",
              "right"
            ]
          }
        }
      },
      "PropertyOption": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "label",
          "value"
        ]
      },
      "CheckboxesProperties": {
        "type": "object",
        "properties": {
          "display_device": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          },
          "classname": {
            "type": "string"
          },
          "block_animation": {
            "$ref": "#/components/schemas/Animation"
          },
          "property_name": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "show_label": {
            "type": "boolean",
            "default": false
          },
          "required": {
            "type": "boolean",
            "default": false
          },
          "error_messages": {
            "$ref": "#/components/schemas/ErrorMessages"
          },
          "options": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PropertyOption"
            }
          },
          "placeholder": {
            "type": "string"
          }
        },
        "required": [
          "property_name",
          "options"
        ]
      },
      "Checkboxes": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "checkboxes"
            ]
          },
          "styles": {
            "$ref": "#/components/schemas/CheckboxesStyles"
          },
          "properties": {
            "$ref": "#/components/schemas/CheckboxesProperties"
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "RadioButtonsStyles": {
        "type": "object",
        "properties": {
          "padding": {
            "$ref": "#/components/schemas/Padding"
          },
          "background_color": {
            "type": "string"
          },
          "input_styles": {
            "$ref": "#/components/schemas/InputStyleOverrides"
          },
          "arrangement": {
            "description": "Arrangement enumeration.",
            "type": "string",
            "example": "vertical",
            "default": "vertical",
            "enum": [
              "horizontal",
              "vertical"
            ]
          },
          "alignment": {
            "description": "Horizontal alignment enumeration.",
            "type": "string",
            "example": "left",
            "default": "left",
            "enum": [
              "center",
              "left",
              "right"
            ]
          }
        }
      },
      "RadioButtonsProperties": {
        "type": "object",
        "properties": {
          "display_device": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          },
          "classname": {
            "type": "string"
          },
          "block_animation": {
            "$ref": "#/components/schemas/Animation"
          },
          "property_name": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "show_label": {
            "type": "boolean",
            "default": false
          },
          "required": {
            "type": "boolean",
            "default": false
          },
          "error_messages": {
            "$ref": "#/components/schemas/ErrorMessages"
          },
          "options": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PropertyOption"
            }
          },
          "placeholder": {
            "type": "string"
          }
        },
        "required": [
          "property_name",
          "options"
        ]
      },
      "RadioButtons": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "radio_buttons"
            ]
          },
          "styles": {
            "$ref": "#/components/schemas/RadioButtonsStyles"
          },
          "properties": {
            "$ref": "#/components/schemas/RadioButtonsProperties"
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "DropdownStyles": {
        "type": "object",
        "properties": {
          "padding": {
            "$ref": "#/components/schemas/Padding"
          },
          "background_color": {
            "type": "string"
          },
          "input_styles": {
            "$ref": "#/components/schemas/InputStyleOverrides"
          }
        }
      },
      "DropdownProperties": {
        "type": "object",
        "properties": {
          "display_device": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          },
          "classname": {
            "type": "string"
          },
          "block_animation": {
            "$ref": "#/components/schemas/Animation"
          },
          "property_name": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "show_label": {
            "type": "boolean",
            "default": false
          },
          "required": {
            "type": "boolean",
            "default": false
          },
          "error_messages": {
            "$ref": "#/components/schemas/ErrorMessages"
          },
          "options": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PropertyOption"
            }
          },
          "placeholder": {
            "type": "string"
          }
        },
        "required": [
          "property_name",
          "options"
        ]
      },
      "Dropdown": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "dropdown"
            ]
          },
          "styles": {
            "$ref": "#/components/schemas/DropdownStyles"
          },
          "properties": {
            "$ref": "#/components/schemas/DropdownProperties"
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "ImageDropShadowStyles": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean",
            "default": false
          },
          "color": {
            "type": "string",
            "example": "#000000",
            "default": "#000000"
          },
          "blur": {
            "type": "integer",
            "example": 15,
            "default": 15
          },
          "x_offset": {
            "type": "integer",
            "default": 0
          },
          "y_offset": {
            "type": "integer",
            "default": 0
          }
        }
      },
      "ImageStyles": {
        "type": "object",
        "properties": {
          "horizontal_alignment": {
            "description": "Horizontal alignment enumeration.",
            "type": "string",
            "example": "center",
            "default": "center",
            "enum": [
              "center",
              "left",
              "right"
            ]
          },
          "width": {
            "type": "integer"
          },
          "padding": {
            "$ref": "#/components/schemas/Padding"
          },
          "background_color": {
            "type": "string"
          },
          "drop_shadow": {
            "$ref": "#/components/schemas/ImageDropShadowStyles"
          }
        }
      },
      "ImageAssetProperties": {
        "type": "object",
        "properties": {
          "src": {
            "type": "string"
          },
          "alt_text": {
            "type": "string"
          },
          "original_image_url": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "asset_id": {
            "type": "integer"
          }
        }
      },
      "ImageProperties": {
        "type": "object",
        "properties": {
          "display_device": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          },
          "classname": {
            "type": "string"
          },
          "block_animation": {
            "$ref": "#/components/schemas/Animation"
          },
          "image": {
            "$ref": "#/components/schemas/ImageAssetProperties"
          },
          "additional_fields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AdditionalField"
            }
          }
        },
        "required": [
          "image"
        ]
      },
      "Image": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "image"
            ]
          },
          "styles": {
            "$ref": "#/components/schemas/ImageStyles"
          },
          "properties": {
            "$ref": "#/components/schemas/ImageProperties"
          },
          "action": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Close"
              },
              {
                "$ref": "#/components/schemas/NextStep"
              },
              {
                "$ref": "#/components/schemas/OpenForm"
              },
              {
                "$ref": "#/components/schemas/PromotionalSMSSubscription"
              },
              {
                "$ref": "#/components/schemas/Redirect"
              },
              {
                "$ref": "#/components/schemas/ResendOptInCode"
              },
              {
                "$ref": "#/components/schemas/SubmitOptInCode"
              },
              {
                "$ref": "#/components/schemas/SubscribeViaSMS"
              },
              {
                "$ref": "#/components/schemas/SubscribeViaWhatsApp"
              },
              {
                "$ref": "#/components/schemas/GoToInbox"
              },
              {
                "$ref": "#/components/schemas/SubmitBackInStock"
              },
              {
                "$ref": "#/components/schemas/SkipToSuccess"
              },
              {
                "$ref": "#/components/schemas/IafDeeplinkToScreen"
              },
              {
                "$ref": "#/components/schemas/IafOpenUrl"
              }
            ]
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "CountdownTimerStyles": {
        "type": "object",
        "properties": {
          "padding": {
            "$ref": "#/components/schemas/Padding"
          },
          "background_color": {
            "type": "string"
          },
          "text_styles": {
            "$ref": "#/components/schemas/TextStyle"
          },
          "card_color": {
            "type": "string",
            "example": "rgba(100,100,100, 1.0)",
            "default": "rgba(100,100,100, 1.0)"
          },
          "label_font_size": {
            "type": "integer",
            "example": 12,
            "default": 12
          },
          "label_font_weight": {
            "description": "Font weight enumeration.",
            "type": "integer",
            "example": 400,
            "default": 400,
            "enum": [
              100,
              200,
              300,
              400,
              500,
              600,
              700,
              800,
              900
            ]
          }
        }
      },
      "FixedTimerConfiguration": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "fixed"
            ]
          },
          "timezone": {
            "type": "string",
            "enum": [
              "Africa/Abidjan",
              "Africa/Accra",
              "Africa/Addis_Ababa",
              "Africa/Algiers",
              "Africa/Asmara",
              "Africa/Asmera",
              "Africa/Bamako",
              "Africa/Bangui",
              "Africa/Banjul",
              "Africa/Bissau",
              "Africa/Blantyre",
              "Africa/Brazzaville",
              "Africa/Bujumbura",
              "Africa/Cairo",
              "Africa/Casablanca",
              "Africa/Ceuta",
              "Africa/Conakry",
              "Africa/Dakar",
              "Africa/Dar_es_Salaam",
              "Africa/Djibouti",
              "Africa/Douala",
              "Africa/El_Aaiun",
              "Africa/Freetown",
              "Africa/Gaborone",
              "Africa/Harare",
              "Africa/Johannesburg",
              "Africa/Juba",
              "Africa/Kampala",
              "Africa/Khartoum",
              "Africa/Kigali",
              "Africa/Kinshasa",
              "Africa/Lagos",
              "Africa/Libreville",
              "Africa/Lome",
              "Africa/Luanda",
              "Africa/Lubumbashi",
              "Africa/Lusaka",
              "Africa/Malabo",
              "Africa/Maputo",
              "Africa/Maseru",
              "Africa/Mbabane",
              "Africa/Mogadishu",
              "Africa/Monrovia",
              "Africa/Nairobi",
              "Africa/Ndjamena",
              "Africa/Niamey",
              "Africa/Nouakchott",
              "Africa/Ouagadougou",
              "Africa/Porto-Novo",
              "Africa/Sao_Tome",
              "Africa/Timbuktu",
              "Africa/Tripoli",
              "Africa/Tunis",
              "Africa/Windhoek",
              "America/Adak",
              "America/Anchorage",
              "America/Anguilla",
              "America/Antigua",
              "America/Araguaina",
              "America/Argentina/Buenos_Aires",
              "America/Argentina/Catamarca",
              "America/Argentina/ComodRivadavia",
              "America/Argentina/Cordoba",
              "America/Argentina/Jujuy",
              "America/Argentina/La_Rioja",
              "America/Argentina/Mendoza",
              "America/Argentina/Rio_Gallegos",
              "America/Argentina/Salta",
              "America/Argentina/San_Juan",
              "America/Argentina/San_Luis",
              "America/Argentina/Tucuman",
              "America/Argentina/Ushuaia",
              "America/Aruba",
              "America/Asuncion",
              "America/Atikokan",
              "America/Atka",
              "America/Bahia",
              "America/Bahia_Banderas",
              "America/Barbados",
              "America/Belem",
              "America/Belize",
              "America/Blanc-Sablon",
              "America/Boa_Vista",
              "America/Bogota",
              "America/Boise",
              "America/Buenos_Aires",
              "America/Cambridge_Bay",
              "America/Campo_Grande",
              "America/Cancun",
              "America/Caracas",
              "America/Catamarca",
              "America/Cayenne",
              "America/Cayman",
              "America/Chicago",
              "America/Chihuahua",
              "America/Ciudad_Juarez",
              "America/Coral_Harbour",
              "America/Cordoba",
              "America/Costa_Rica",
              "America/Coyhaique",
              "America/Creston",
              "America/Cuiaba",
              "America/Curacao",
              "America/Danmarkshavn",
              "America/Dawson",
              "America/Dawson_Creek",
              "America/Denver",
              "America/Detroit",
              "America/Dominica",
              "America/Edmonton",
              "America/Eirunepe",
              "America/El_Salvador",
              "America/Ensenada",
              "America/Fort_Nelson",
              "America/Fort_Wayne",
              "America/Fortaleza",
              "America/Glace_Bay",
              "America/Godthab",
              "America/Goose_Bay",
              "America/Grand_Turk",
              "America/Grenada",
              "America/Guadeloupe",
              "America/Guatemala",
              "America/Guayaquil",
              "America/Guyana",
              "America/Halifax",
              "America/Havana",
              "America/Hermosillo",
              "America/Indiana/Indianapolis",
              "America/Indiana/Knox",
              "America/Indiana/Marengo",
              "America/Indiana/Petersburg",
              "America/Indiana/Tell_City",
              "America/Indiana/Vevay",
              "America/Indiana/Vincennes",
              "America/Indiana/Winamac",
              "America/Indianapolis",
              "America/Inuvik",
              "America/Iqaluit",
              "America/Jamaica",
              "America/Jujuy",
              "America/Juneau",
              "America/Kentucky/Louisville",
              "America/Kentucky/Monticello",
              "America/Knox_IN",
              "America/Kralendijk",
              "America/La_Paz",
              "America/Lima",
              "America/Los_Angeles",
              "America/Louisville",
              "America/Lower_Princes",
              "America/Maceio",
              "America/Managua",
              "America/Manaus",
              "America/Marigot",
              "America/Martinique",
              "America/Matamoros",
              "America/Mazatlan",
              "America/Mendoza",
              "America/Menominee",
              "America/Merida",
              "America/Metlakatla",
              "America/Mexico_City",
              "America/Miquelon",
              "America/Moncton",
              "America/Monterrey",
              "America/Montevideo",
              "America/Montreal",
              "America/Montserrat",
              "America/Nassau",
              "America/New_York",
              "America/Nipigon",
              "America/Nome",
              "America/Noronha",
              "America/North_Dakota/Beulah",
              "America/North_Dakota/Center",
              "America/North_Dakota/New_Salem",
              "America/Nuuk",
              "America/Ojinaga",
              "America/Panama",
              "America/Pangnirtung",
              "America/Paramaribo",
              "America/Phoenix",
              "America/Port-au-Prince",
              "America/Port_of_Spain",
              "America/Porto_Acre",
              "America/Porto_Velho",
              "America/Puerto_Rico",
              "America/Punta_Arenas",
              "America/Rainy_River",
              "America/Rankin_Inlet",
              "America/Recife",
              "America/Regina",
              "America/Resolute",
              "America/Rio_Branco",
              "America/Rosario",
              "America/Santa_Isabel",
              "America/Santarem",
              "America/Santiago",
              "America/Santo_Domingo",
              "America/Sao_Paulo",
              "America/Scoresbysund",
              "America/Shiprock",
              "America/Sitka",
              "America/St_Barthelemy",
              "America/St_Johns",
              "America/St_Kitts",
              "America/St_Lucia",
              "America/St_Thomas",
              "America/St_Vincent",
              "America/Swift_Current",
              "America/Tegucigalpa",
              "America/Thule",
              "America/Thunder_Bay",
              "America/Tijuana",
              "America/Toronto",
              "America/Tortola",
              "America/Vancouver",
              "America/Virgin",
              "America/Whitehorse",
              "America/Winnipeg",
              "America/Yakutat",
              "America/Yellowknife",
              "Antarctica/Casey",
              "Antarctica/Davis",
              "Antarctica/DumontDUrville",
              "Antarctica/Macquarie",
              "Antarctica/Mawson",
              "Antarctica/McMurdo",
              "Antarctica/Palmer",
              "Antarctica/Rothera",
              "Antarctica/South_Pole",
              "Antarctica/Syowa",
              "Antarctica/Troll",
              "Antarctica/Vostok",
              "Arctic/Longyearbyen",
              "Asia/Aden",
              "Asia/Almaty",
              "Asia/Amman",
              "Asia/Anadyr",
              "Asia/Aqtau",
              "Asia/Aqtobe",
              "Asia/Ashgabat",
              "Asia/Ashkhabad",
              "Asia/Atyrau",
              "Asia/Baghdad",
              "Asia/Bahrain",
              "Asia/Baku",
              "Asia/Bangkok",
              "Asia/Barnaul",
              "Asia/Beirut",
              "Asia/Bishkek",
              "Asia/Brunei",
              "Asia/Calcutta",
              "Asia/Chita",
              "Asia/Choibalsan",
              "Asia/Chongqing",
              "Asia/Chungking",
              "Asia/Colombo",
              "Asia/Dacca",
              "Asia/Damascus",
              "Asia/Dhaka",
              "Asia/Dili",
              "Asia/Dubai",
              "Asia/Dushanbe",
              "Asia/Famagusta",
              "Asia/Gaza",
              "Asia/Harbin",
              "Asia/Hebron",
              "Asia/Ho_Chi_Minh",
              "Asia/Hong_Kong",
              "Asia/Hovd",
              "Asia/Irkutsk",
              "Asia/Istanbul",
              "Asia/Jakarta",
              "Asia/Jayapura",
              "Asia/Jerusalem",
              "Asia/Kabul",
              "Asia/Kamchatka",
              "Asia/Karachi",
              "Asia/Kashgar",
              "Asia/Kathmandu",
              "Asia/Katmandu",
              "Asia/Khandyga",
              "Asia/Kolkata",
              "Asia/Krasnoyarsk",
              "Asia/Kuala_Lumpur",
              "Asia/Kuching",
              "Asia/Kuwait",
              "Asia/Macao",
              "Asia/Macau",
              "Asia/Magadan",
              "Asia/Makassar",
              "Asia/Manila",
              "Asia/Muscat",
              "Asia/Nicosia",
              "Asia/Novokuznetsk",
              "Asia/Novosibirsk",
              "Asia/Omsk",
              "Asia/Oral",
              "Asia/Phnom_Penh",
              "Asia/Pontianak",
              "Asia/Pyongyang",
              "Asia/Qatar",
              "Asia/Qostanay",
              "Asia/Qyzylorda",
              "Asia/Rangoon",
              "Asia/Riyadh",
              "Asia/Saigon",
              "Asia/Sakhalin",
              "Asia/Samarkand",
              "Asia/Seoul",
              "Asia/Shanghai",
              "Asia/Singapore",
              "Asia/Srednekolymsk",
              "Asia/Taipei",
              "Asia/Tashkent",
              "Asia/Tbilisi",
              "Asia/Tehran",
              "Asia/Tel_Aviv",
              "Asia/Thimbu",
              "Asia/Thimphu",
              "Asia/Tokyo",
              "Asia/Tomsk",
              "Asia/Ujung_Pandang",
              "Asia/Ulaanbaatar",
              "Asia/Ulan_Bator",
              "Asia/Urumqi",
              "Asia/Ust-Nera",
              "Asia/Vientiane",
              "Asia/Vladivostok",
              "Asia/Yakutsk",
              "Asia/Yangon",
              "Asia/Yekaterinburg",
              "Asia/Yerevan",
              "Atlantic/Azores",
              "Atlantic/Bermuda",
              "Atlantic/Canary",
              "Atlantic/Cape_Verde",
              "Atlantic/Faeroe",
              "Atlantic/Faroe",
              "Atlantic/Jan_Mayen",
              "Atlantic/Madeira",
              "Atlantic/Reykjavik",
              "Atlantic/South_Georgia",
              "Atlantic/St_Helena",
              "Atlantic/Stanley",
              "Australia/ACT",
              "Australia/Adelaide",
              "Australia/Brisbane",
              "Australia/Broken_Hill",
              "Australia/Canberra",
              "Australia/Currie",
              "Australia/Darwin",
              "Australia/Eucla",
              "Australia/Hobart",
              "Australia/LHI",
              "Australia/Lindeman",
              "Australia/Lord_Howe",
              "Australia/Melbourne",
              "Australia/NSW",
              "Australia/North",
              "Australia/Perth",
              "Australia/Queensland",
              "Australia/South",
              "Australia/Sydney",
              "Australia/Tasmania",
              "Australia/Victoria",
              "Australia/West",
              "Australia/Yancowinna",
              "Brazil/Acre",
              "Brazil/DeNoronha",
              "Brazil/East",
              "Brazil/West",
              "CET",
              "CST6CDT",
              "Canada/Atlantic",
              "Canada/Central",
              "Canada/Eastern",
              "Canada/Mountain",
              "Canada/Newfoundland",
              "Canada/Pacific",
              "Canada/Saskatchewan",
              "Canada/Yukon",
              "Chile/Continental",
              "Chile/EasterIsland",
              "Cuba",
              "EET",
              "EST",
              "EST5EDT",
              "Egypt",
              "Eire",
              "Etc/GMT",
              "Etc/GMT+0",
              "Etc/GMT+1",
              "Etc/GMT+10",
              "Etc/GMT+11",
              "Etc/GMT+12",
              "Etc/GMT+2",
              "Etc/GMT+3",
              "Etc/GMT+4",
              "Etc/GMT+5",
              "Etc/GMT+6",
              "Etc/GMT+7",
              "Etc/GMT+8",
              "Etc/GMT+9",
              "Etc/GMT-0",
              "Etc/GMT-1",
              "Etc/GMT-10",
              "Etc/GMT-11",
              "Etc/GMT-12",
              "Etc/GMT-13",
              "Etc/GMT-14",
              "Etc/GMT-2",
              "Etc/GMT-3",
              "Etc/GMT-4",
              "Etc/GMT-5",
              "Etc/GMT-6",
              "Etc/GMT-7",
              "Etc/GMT-8",
              "Etc/GMT-9",
              "Etc/GMT0",
              "Etc/Greenwich",
              "Etc/UCT",
              "Etc/UTC",
              "Etc/Universal",
              "Etc/Zulu",
              "Europe/Amsterdam",
              "Europe/Andorra",
              "Europe/Astrakhan",
              "Europe/Athens",
              "Europe/Belfast",
              "Europe/Belgrade",
              "Europe/Berlin",
              "Europe/Bratislava",
              "Europe/Brussels",
              "Europe/Bucharest",
              "Europe/Budapest",
              "Europe/Busingen",
              "Europe/Chisinau",
              "Europe/Copenhagen",
              "Europe/Dublin",
              "Europe/Gibraltar",
              "Europe/Guernsey",
              "Europe/Helsinki",
              "Europe/Isle_of_Man",
              "Europe/Istanbul",
              "Europe/Jersey",
              "Europe/Kaliningrad",
              "Europe/Kiev",
              "Europe/Kirov",
              "Europe/Kyiv",
              "Europe/Lisbon",
              "Europe/Ljubljana",
              "Europe/London",
              "Europe/Luxembourg",
              "Europe/Madrid",
              "Europe/Malta",
              "Europe/Mariehamn",
              "Europe/Minsk",
              "Europe/Monaco",
              "Europe/Moscow",
              "Europe/Nicosia",
              "Europe/Oslo",
              "Europe/Paris",
              "Europe/Podgorica",
              "Europe/Prague",
              "Europe/Riga",
              "Europe/Rome",
              "Europe/Samara",
              "Europe/San_Marino",
              "Europe/Sarajevo",
              "Europe/Saratov",
              "Europe/Simferopol",
              "Europe/Skopje",
              "Europe/Sofia",
              "Europe/Stockholm",
              "Europe/Tallinn",
              "Europe/Tirane",
              "Europe/Tiraspol",
              "Europe/Ulyanovsk",
              "Europe/Uzhgorod",
              "Europe/Vaduz",
              "Europe/Vatican",
              "Europe/Vienna",
              "Europe/Vilnius",
              "Europe/Volgograd",
              "Europe/Warsaw",
              "Europe/Zagreb",
              "Europe/Zaporozhye",
              "Europe/Zurich",
              "GB",
              "GB-Eire",
              "GMT",
              "GMT+0",
              "GMT-0",
              "GMT0",
              "Greenwich",
              "HST",
              "Hongkong",
              "Iceland",
              "Indian/Antananarivo",
              "Indian/Chagos",
              "Indian/Christmas",
              "Indian/Cocos",
              "Indian/Comoro",
              "Indian/Kerguelen",
              "Indian/Mahe",
              "Indian/Maldives",
              "Indian/Mauritius",
              "Indian/Mayotte",
              "Indian/Reunion",
              "Iran",
              "Israel",
              "Jamaica",
              "Japan",
              "Kwajalein",
              "Libya",
              "MET",
              "MST",
              "MST7MDT",
              "Mexico/BajaNorte",
              "Mexico/BajaSur",
              "Mexico/General",
              "NZ",
              "NZ-CHAT",
              "Navajo",
              "PRC",
              "PST8PDT",
              "Pacific/Apia",
              "Pacific/Auckland",
              "Pacific/Bougainville",
              "Pacific/Chatham",
              "Pacific/Chuuk",
              "Pacific/Easter",
              "Pacific/Efate",
              "Pacific/Enderbury",
              "Pacific/Fakaofo",
              "Pacific/Fiji",
              "Pacific/Funafuti",
              "Pacific/Galapagos",
              "Pacific/Gambier",
              "Pacific/Guadalcanal",
              "Pacific/Guam",
              "Pacific/Honolulu",
              "Pacific/Johnston",
              "Pacific/Kanton",
              "Pacific/Kiritimati",
              "Pacific/Kosrae",
              "Pacific/Kwajalein",
              "Pacific/Majuro",
              "Pacific/Marquesas",
              "Pacific/Midway",
              "Pacific/Nauru",
              "Pacific/Niue",
              "Pacific/Norfolk",
              "Pacific/Noumea",
              "Pacific/Pago_Pago",
              "Pacific/Palau",
              "Pacific/Pitcairn",
              "Pacific/Pohnpei",
              "Pacific/Ponape",
              "Pacific/Port_Moresby",
              "Pacific/Rarotonga",
              "Pacific/Saipan",
              "Pacific/Samoa",
              "Pacific/Tahiti",
              "Pacific/Tarawa",
              "Pacific/Tongatapu",
              "Pacific/Truk",
              "Pacific/Wake",
              "Pacific/Wallis",
              "Pacific/Yap",
              "Poland",
              "Portugal",
              "ROC",
              "ROK",
              "Singapore",
              "Turkey",
              "UCT",
              "US/Alaska",
              "US/Aleutian",
              "US/Arizona",
              "US/Central",
              "US/East-Indiana",
              "US/Eastern",
              "US/Hawaii",
              "US/Indiana-Starke",
              "US/Michigan",
              "US/Mountain",
              "US/Pacific",
              "US/Samoa",
              "UTC",
              "Universal",
              "W-SU",
              "WET",
              "Zulu"
            ]
          },
          "end_time": {
            "type": "string",
            "format": "date-time",
            "example": "2022-11-08T00:00:00+00:00"
          }
        },
        "required": [
          "type",
          "timezone"
        ]
      },
      "VariableTimerConfiguration": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "variable"
            ]
          },
          "days": {
            "type": "integer"
          },
          "hours": {
            "type": "integer"
          },
          "minutes": {
            "type": "integer"
          }
        },
        "required": [
          "type",
          "days",
          "hours",
          "minutes"
        ]
      },
      "CountdownTimerProperties": {
        "type": "object",
        "properties": {
          "display_device": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          },
          "classname": {
            "type": "string"
          },
          "block_animation": {
            "$ref": "#/components/schemas/Animation"
          },
          "clock_face": {
            "description": "Options for displaying a timer.",
            "type": "string",
            "example": "simple",
            "default": "simple",
            "enum": [
              "flip",
              "simple"
            ]
          },
          "animation": {
            "description": "Options for timer completion animations.",
            "type": "string",
            "example": "heartbeat",
            "default": "heartbeat",
            "enum": [
              "flash",
              "heartbeat",
              "pulse"
            ]
          },
          "label_format": {
            "description": "Label lengths for countdown timer units.",
            "type": "string",
            "enum": [
              "double_char",
              "full",
              "shortened",
              "single_char"
            ]
          },
          "configuration": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/FixedTimerConfiguration"
              },
              {
                "$ref": "#/components/schemas/VariableTimerConfiguration"
              }
            ]
          }
        },
        "required": [
          "configuration"
        ]
      },
      "CountdownTimer": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "countdown_timer"
            ]
          },
          "styles": {
            "$ref": "#/components/schemas/CountdownTimerStyles"
          },
          "properties": {
            "$ref": "#/components/schemas/CountdownTimerProperties"
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "SignupCounterStyles": {
        "type": "object",
        "properties": {
          "padding": {
            "$ref": "#/components/schemas/Padding"
          },
          "background_color": {
            "type": "string"
          }
        }
      },
      "SignupCounterProperties": {
        "type": "object",
        "properties": {
          "display_device": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          },
          "classname": {
            "type": "string"
          },
          "block_animation": {
            "$ref": "#/components/schemas/Animation"
          },
          "timeframe": {
            "description": "Timeframes for the signup counter lookback.",
            "type": "string",
            "enum": [
              "1_hour",
              "24_hours",
              "30_days",
              "7_days"
            ]
          },
          "min_submits": {
            "type": "integer"
          },
          "content": {
            "type": "string"
          }
        },
        "required": [
          "timeframe",
          "min_submits",
          "content"
        ]
      },
      "SignupCounter": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "signup_counter"
            ]
          },
          "styles": {
            "$ref": "#/components/schemas/SignupCounterStyles"
          },
          "properties": {
            "$ref": "#/components/schemas/SignupCounterProperties"
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "SpinToWinSliceConfig": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string"
          },
          "probability": {
            "type": "integer"
          },
          "step_id": {
            "type": "string"
          }
        },
        "required": [
          "label",
          "probability",
          "step_id"
        ]
      },
      "SpinToWinProperties": {
        "type": "object",
        "properties": {
          "display_device": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          },
          "classname": {
            "type": "string"
          },
          "block_animation": {
            "$ref": "#/components/schemas/Animation"
          },
          "duplicate_slices": {
            "type": "boolean",
            "default": false
          },
          "slices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SpinToWinSliceConfig"
            }
          }
        },
        "required": [
          "slices"
        ]
      },
      "SpinToWinSliceStyle": {
        "type": "object",
        "properties": {
          "background_color": {
            "type": "string",
            "example": "rgba(0,0,0,1)",
            "default": "rgba(0,0,0,1)"
          },
          "text_color": {
            "type": "string",
            "example": "rgba(255,255,255,1)",
            "default": "rgba(255,255,255,1)"
          }
        }
      },
      "SpinToWinStyles": {
        "type": "object",
        "properties": {
          "padding": {
            "$ref": "#/components/schemas/Padding"
          },
          "background_color": {
            "type": "string"
          },
          "slice_styles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SpinToWinSliceStyle"
            }
          },
          "text_styles": {
            "$ref": "#/components/schemas/TextStyle"
          },
          "center_color": {
            "type": "string",
            "example": "rgba(255,255,255,1)",
            "default": "rgba(255,255,255,1)"
          },
          "outline_color": {
            "type": "string",
            "example": "rgba(0,0,0,1)",
            "default": "rgba(0,0,0,1)"
          },
          "outline_thickness": {
            "type": "integer",
            "example": 12,
            "default": 12
          },
          "pin_color": {
            "type": "string",
            "example": "rgba(255,255,255,1)",
            "default": "rgba(255,255,255,1)"
          },
          "wheel_size": {
            "type": "integer",
            "example": 400,
            "default": 400
          }
        }
      },
      "SpinToWin": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "properties": {
            "$ref": "#/components/schemas/SpinToWinProperties"
          },
          "type": {
            "type": "string",
            "enum": [
              "spin_to_win"
            ]
          },
          "styles": {
            "$ref": "#/components/schemas/SpinToWinStyles"
          }
        },
        "required": [
          "properties",
          "type"
        ]
      },
      "SMSDisclosureLinkTextStyle": {
        "type": "object",
        "properties": {
          "font_family": {
            "example": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
            "default": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
            "oneOf": [
              {
                "type": "string",
                "enum": [
                  "Arial Black,Arial",
                  "Arial, 'Helvetica Neue', Helvetica, sans-serif",
                  "Century Gothic,AppleGothic,Arial",
                  "Comic Sans MS,Comic Sans,cursive",
                  "Courier",
                  "Courier New",
                  "Geneva,Arial",
                  "Georgia",
                  "Helvetica,Arial",
                  "Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif",
                  "Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif",
                  "Lucida,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif",
                  "MS Serif,Georgia",
                  "New York,Georgia",
                  "Palatino Linotype,Palatino,Georgia",
                  "Palatino,Georgia",
                  "Tahoma,sans-serif",
                  "Times New Roman",
                  "Trebuchet MS",
                  "Verdana"
                ],
                "description": "Web safe font enumeration."
              },
              {
                "type": "string"
              }
            ]
          },
          "font_size": {
            "type": "integer",
            "example": 16,
            "default": 16
          },
          "font_weight": {
            "description": "Font weight enumeration.",
            "type": "integer",
            "example": 400,
            "default": 400,
            "enum": [
              100,
              200,
              300,
              400,
              500,
              600,
              700,
              800,
              900
            ]
          },
          "character_spacing": {
            "type": "integer",
            "default": 0
          },
          "font_style": {
            "type": "string"
          },
          "text_decoration": {
            "type": "string"
          },
          "text_color": {
            "type": "string",
            "example": "#0066cc",
            "default": "#0066cc"
          }
        }
      },
      "SMSDisclosureTextStyle": {
        "type": "object",
        "properties": {
          "font_family": {
            "example": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
            "default": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
            "oneOf": [
              {
                "type": "string",
                "enum": [
                  "Arial Black,Arial",
                  "Arial, 'Helvetica Neue', Helvetica, sans-serif",
                  "Century Gothic,AppleGothic,Arial",
                  "Comic Sans MS,Comic Sans,cursive",
                  "Courier",
                  "Courier New",
                  "Geneva,Arial",
                  "Georgia",
                  "Helvetica,Arial",
                  "Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif",
                  "Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif",
                  "Lucida,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif",
                  "MS Serif,Georgia",
                  "New York,Georgia",
                  "Palatino Linotype,Palatino,Georgia",
                  "Palatino,Georgia",
                  "Tahoma,sans-serif",
                  "Times New Roman",
                  "Trebuchet MS",
                  "Verdana"
                ],
                "description": "Web safe font enumeration."
              },
              {
                "type": "string"
              }
            ]
          },
          "font_size": {
            "type": "integer",
            "example": 16,
            "default": 16
          },
          "font_weight": {
            "description": "Font weight enumeration.",
            "type": "integer",
            "example": 400,
            "default": 400,
            "enum": [
              100,
              200,
              300,
              400,
              500,
              600,
              700,
              800,
              900
            ]
          },
          "text_color": {
            "type": "string",
            "example": "#000000",
            "default": "#000000"
          },
          "character_spacing": {
            "type": "integer",
            "default": 0
          },
          "font_style": {
            "type": "string"
          },
          "text_decoration": {
            "type": "string"
          }
        }
      },
      "SMSDisclosureStyles": {
        "type": "object",
        "properties": {
          "padding": {
            "$ref": "#/components/schemas/Padding"
          },
          "background_color": {
            "type": "string"
          },
          "link_styles": {
            "$ref": "#/components/schemas/SMSDisclosureLinkTextStyle"
          },
          "text_styles": {
            "$ref": "#/components/schemas/SMSDisclosureTextStyle"
          }
        }
      },
      "SMSDisclosureCustom": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "custom"
            ]
          },
          "compliance_company_name": {
            "type": "string",
            "example": "[company name]",
            "default": "[company name]"
          },
          "privacy_policy_url": {
            "type": "string",
            "example": "[link]",
            "default": "[link]"
          },
          "terms_of_service_url": {
            "type": "string",
            "example": "[link]",
            "default": "[link]"
          },
          "html": {
            "type": "string",
            "default": ""
          }
        },
        "required": [
          "type"
        ]
      },
      "SMSDisclosureAccountDefault": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "account_default"
            ]
          }
        },
        "required": [
          "type"
        ]
      },
      "SMSDisclosureProperties": {
        "type": "object",
        "properties": {
          "display_device": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          },
          "classname": {
            "type": "string"
          },
          "block_animation": {
            "$ref": "#/components/schemas/Animation"
          },
          "content": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/SMSDisclosureCustom"
              },
              {
                "$ref": "#/components/schemas/SMSDisclosureAccountDefault"
              }
            ]
          }
        }
      },
      "SMSDisclosure": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "sms_disclosure"
            ]
          },
          "styles": {
            "$ref": "#/components/schemas/SMSDisclosureStyles"
          },
          "properties": {
            "$ref": "#/components/schemas/SMSDisclosureProperties"
          }
        },
        "required": [
          "type"
        ]
      },
      "BackInStockEmailConsentCheckboxStyles": {
        "type": "object",
        "properties": {
          "padding": {
            "$ref": "#/components/schemas/Padding"
          },
          "background_color": {
            "type": "string"
          },
          "input_styles": {
            "$ref": "#/components/schemas/InputStyleOverrides"
          },
          "horizontal_alignment": {
            "description": "Horizontal alignment enumeration.",
            "type": "string",
            "example": "left",
            "default": "left",
            "enum": [
              "center",
              "left",
              "right"
            ]
          }
        }
      },
      "BackInStockEmailConsentCheckboxProperties": {
        "type": "object",
        "properties": {
          "display_device": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          },
          "classname": {
            "type": "string"
          },
          "block_animation": {
            "$ref": "#/components/schemas/Animation"
          },
          "label": {
            "type": "string"
          },
          "show_label": {
            "type": "boolean",
            "default": false
          },
          "error_messages": {
            "$ref": "#/components/schemas/ErrorMessages"
          },
          "required": {
            "type": "boolean",
            "default": false,
            "enum": [
              false
            ]
          },
          "property_name": {
            "type": "string",
            "example": "opt_in_promotional_email",
            "default": "opt_in_promotional_email",
            "enum": [
              "opt_in_promotional_email"
            ]
          },
          "checkbox_text": {
            "type": "string"
          },
          "placeholder": {
            "enum": [
              null
            ]
          }
        },
        "required": [
          "checkbox_text"
        ]
      },
      "BackInStockEmailConsentCheckbox": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "bis_promotional_email_checkbox"
            ]
          },
          "styles": {
            "$ref": "#/components/schemas/BackInStockEmailConsentCheckboxStyles"
          },
          "properties": {
            "$ref": "#/components/schemas/BackInStockEmailConsentCheckboxProperties"
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "RatingStyle": {
        "type": "object",
        "properties": {
          "color": {
            "type": "string",
            "example": "#F8BE00",
            "default": "#F8BE00"
          },
          "empty_color": {
            "type": "string",
            "example": "#EBEEEF",
            "default": "#EBEEEF"
          },
          "font_size": {
            "type": "integer",
            "example": 16,
            "default": 16
          },
          "shape": {
            "description": "Enumeration for review shapes.",
            "type": "string",
            "example": "star",
            "default": "star",
            "enum": [
              "circle",
              "heart",
              "star"
            ]
          },
          "alignment": {
            "description": "Horizontal alignment enumeration.",
            "type": "string",
            "example": "center",
            "default": "center",
            "enum": [
              "center",
              "left",
              "right"
            ]
          },
          "character_spacing": {
            "type": "number",
            "default": 0
          }
        }
      },
      "QuoteStyle": {
        "type": "object",
        "properties": {
          "font_family": {
            "type": "string",
            "example": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
            "default": "Arial, 'Helvetica Neue', Helvetica, sans-serif"
          },
          "font_size": {
            "type": "integer",
            "example": 16,
            "default": 16
          },
          "text_color": {
            "type": "string",
            "example": "#000000",
            "default": "#000000"
          },
          "character_spacing": {
            "type": "integer",
            "default": 0
          },
          "font_weight": {
            "type": "integer",
            "example": 400,
            "default": 400
          },
          "font_style": {
            "type": "string"
          },
          "text_decoration": {
            "type": "string"
          },
          "alignment": {
            "description": "Horizontal alignment enumeration.",
            "type": "string",
            "example": "center",
            "default": "center",
            "enum": [
              "center",
              "left",
              "right"
            ]
          },
          "line_height": {
            "type": "number",
            "example": 1.5,
            "default": 1.5
          }
        }
      },
      "ReviewerNameStyle": {
        "type": "object",
        "properties": {
          "layout": {
            "description": "Enumeration for review name layouts.",
            "type": "string",
            "example": "stacked",
            "default": "stacked",
            "enum": [
              "inline",
              "stacked"
            ]
          },
          "font_family": {
            "type": "string",
            "example": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
            "default": "Arial, 'Helvetica Neue', Helvetica, sans-serif"
          },
          "font_size": {
            "type": "integer",
            "example": 16,
            "default": 16
          },
          "text_color": {
            "type": "string",
            "example": "#000000",
            "default": "#000000"
          },
          "character_spacing": {
            "type": "integer",
            "default": 0
          },
          "font_weight": {
            "type": "integer",
            "example": 400,
            "default": 400
          },
          "font_style": {
            "type": "string"
          },
          "text_decoration": {
            "type": "string"
          },
          "alignment": {
            "description": "Horizontal alignment enumeration.",
            "type": "string",
            "example": "center",
            "default": "center",
            "enum": [
              "center",
              "left",
              "right"
            ]
          },
          "line_height": {
            "type": "number",
            "example": 1.5,
            "default": 1.5
          }
        }
      },
      "VerifiedBadgeStyle": {
        "type": "object",
        "properties": {
          "size": {
            "type": "integer",
            "example": 10,
            "default": 10
          },
          "color_asset": {
            "description": "Available review verified-badge assets.",
            "type": "string",
            "example": "blue",
            "default": "blue",
            "enum": [
              "blue",
              "dark",
              "light"
            ]
          }
        }
      },
      "ReviewStyles": {
        "type": "object",
        "properties": {
          "padding": {
            "$ref": "#/components/schemas/Padding"
          },
          "background_color": {
            "type": "string"
          },
          "rating_style": {
            "$ref": "#/components/schemas/RatingStyle"
          },
          "quote_style": {
            "$ref": "#/components/schemas/QuoteStyle"
          },
          "reviewer_name_style": {
            "$ref": "#/components/schemas/ReviewerNameStyle"
          },
          "verified_badge_style": {
            "$ref": "#/components/schemas/VerifiedBadgeStyle"
          },
          "block_background_color": {
            "type": "string",
            "example": "rgba(255, 255, 255, 0)",
            "default": "rgba(255, 255, 255, 0)"
          }
        }
      },
      "ReviewProperties": {
        "type": "object",
        "properties": {
          "display_device": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          },
          "classname": {
            "type": "string"
          },
          "block_animation": {
            "$ref": "#/components/schemas/Animation"
          },
          "author": {
            "type": "string"
          },
          "content": {
            "type": "string"
          },
          "rating": {
            "type": "integer",
            "example": 5,
            "default": 5
          },
          "verified": {
            "type": "boolean",
            "default": false
          },
          "review_id": {
            "type": "integer"
          },
          "show_rating": {
            "type": "boolean",
            "example": true,
            "default": true
          },
          "show_author": {
            "type": "boolean",
            "example": true,
            "default": true
          },
          "show_verified": {
            "type": "boolean",
            "example": true,
            "default": true
          }
        }
      },
      "Review": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "review"
            ]
          },
          "styles": {
            "$ref": "#/components/schemas/ReviewStyles"
          },
          "properties": {
            "$ref": "#/components/schemas/ReviewProperties"
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "CustomHTMLStyles": {
        "type": "object",
        "maxProperties": 0
      },
      "CustomHTMLProperties": {
        "type": "object",
        "properties": {
          "display_device": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          },
          "classname": {
            "type": "string"
          },
          "block_animation": {
            "$ref": "#/components/schemas/Animation"
          },
          "content": {
            "default": "",
            "type": "string"
          }
        }
      },
      "CustomHTML": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "custom_html"
            ]
          },
          "styles": {
            "$ref": "#/components/schemas/CustomHTMLStyles"
          },
          "properties": {
            "$ref": "#/components/schemas/CustomHTMLProperties"
          }
        },
        "required": [
          "type"
        ]
      },
      "ContinueWithShopStyles": {
        "type": "object",
        "properties": {
          "padding": {
            "$ref": "#/components/schemas/Padding"
          },
          "background_color": {
            "type": "string"
          },
          "border_radius": {
            "type": "string"
          },
          "x_spacing_base": {
            "type": "string"
          },
          "font_size": {
            "type": "string"
          },
          "line_height": {
            "type": "string"
          },
          "shop_pay_button_border_radius": {
            "type": "string"
          },
          "shop_pay_button_height": {
            "type": "string"
          },
          "shop_pay_button_width": {
            "type": "string"
          }
        }
      },
      "ContinueWithShopAutofill": {
        "type": "object",
        "properties": {
          "name": {
            "type": "boolean",
            "example": true,
            "default": true
          },
          "birthday": {
            "type": "boolean",
            "default": false
          },
          "locale": {
            "type": "boolean",
            "default": false
          },
          "zip": {
            "type": "boolean",
            "example": true,
            "default": true
          },
          "address": {
            "type": "boolean",
            "default": false
          }
        }
      },
      "ContinueWithShopPhoneConsent": {
        "type": "object",
        "properties": {
          "channels": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "sms",
                "whatsapp"
              ],
              "description": "Consent channel enumeration."
            }
          },
          "disclosure_title": {
            "type": "string"
          },
          "disclosure_text": {
            "type": "string"
          }
        }
      },
      "ContinueWithShopProperties": {
        "type": "object",
        "properties": {
          "display_device": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          },
          "classname": {
            "type": "string"
          },
          "block_animation": {
            "$ref": "#/components/schemas/Animation"
          },
          "layout": {
            "description": "Shop login button layouts.",
            "type": "string",
            "example": "standalone",
            "default": "standalone",
            "enum": [
              "or",
              "standalone"
            ]
          },
          "button_type": {
            "description": "Shop login button types supported by Continue with Shop.",
            "type": "string",
            "example": "continue",
            "default": "continue",
            "enum": [
              "claim",
              "continue"
            ]
          },
          "autofill": {
            "$ref": "#/components/schemas/ContinueWithShopAutofill"
          },
          "phone_consent": {
            "$ref": "#/components/schemas/ContinueWithShopPhoneConsent"
          }
        }
      },
      "ContinueWithShop": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "continue_with_shop"
            ]
          },
          "styles": {
            "$ref": "#/components/schemas/ContinueWithShopStyles"
          },
          "properties": {
            "$ref": "#/components/schemas/ContinueWithShopProperties"
          }
        },
        "required": [
          "type"
        ]
      },
      "MarketingTrackingConsentCheckboxStyles": {
        "type": "object",
        "properties": {
          "padding": {
            "$ref": "#/components/schemas/Padding"
          },
          "background_color": {
            "type": "string"
          },
          "input_styles": {
            "$ref": "#/components/schemas/InputStyleOverrides"
          },
          "horizontal_alignment": {
            "description": "Horizontal alignment enumeration.",
            "type": "string",
            "example": "left",
            "default": "left",
            "enum": [
              "center",
              "left",
              "right"
            ]
          }
        }
      },
      "MarketingTrackingConsentConfiguration": {
        "type": "object",
        "properties": {
          "selected_model": {
            "description": "Supported marketing and email-tracking consent models.",
            "type": "string",
            "enum": [
              "ALL_TRACKING_COMBINED_CONSENT",
              "CLICK_TRACKING_COMBINED_CONSENT",
              "MARKETING_AND_ALL_EMAIL_TRACKING",
              "MARKETING_AND_CLICK_TRACKING",
              "MARKETING_AND_OPEN_TRACKING",
              "MARKETING_OPEN_AND_CLICK_TRACKING",
              "OPEN_TRACKING_COMBINED_CONSENT"
            ]
          },
          "content_by_model": {
            "type": "object"
          }
        },
        "required": [
          "selected_model",
          "content_by_model"
        ]
      },
      "MarketingTrackingConsentCheckboxProperties": {
        "type": "object",
        "properties": {
          "display_device": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          },
          "classname": {
            "type": "string"
          },
          "block_animation": {
            "$ref": "#/components/schemas/Animation"
          },
          "label": {
            "type": "string"
          },
          "show_label": {
            "type": "boolean",
            "default": false
          },
          "error_messages": {
            "$ref": "#/components/schemas/ErrorMessages"
          },
          "required": {
            "type": "boolean",
            "default": false,
            "enum": [
              false
            ]
          },
          "property_name": {
            "type": "string",
            "example": "opt_in_marketing_tracking_consent",
            "default": "opt_in_marketing_tracking_consent",
            "enum": [
              "opt_in_marketing_tracking_consent"
            ]
          },
          "placeholder": {
            "enum": [
              null
            ]
          },
          "marketing_tracking_consent": {
            "$ref": "#/components/schemas/MarketingTrackingConsentConfiguration"
          }
        },
        "required": [
          "marketing_tracking_consent"
        ]
      },
      "MarketingTrackingConsentCheckbox": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "marketing_tracking_consent_checkbox"
            ]
          },
          "styles": {
            "$ref": "#/components/schemas/MarketingTrackingConsentCheckboxStyles"
          },
          "properties": {
            "$ref": "#/components/schemas/MarketingTrackingConsentCheckboxProperties"
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "BackgroundImageStyles": {
        "type": "object",
        "properties": {
          "horizontal_alignment": {
            "description": "Horizontal alignment enumeration.",
            "type": "string",
            "example": "center",
            "default": "center",
            "enum": [
              "center",
              "left",
              "right"
            ]
          },
          "width": {
            "type": "integer"
          },
          "position": {
            "description": "Image position enumeration.",
            "type": "string",
            "example": "contain",
            "default": "contain",
            "enum": [
              "contain",
              "cover",
              "custom"
            ]
          },
          "vertical_alignment": {
            "description": "Vertical alignment enumeration.",
            "type": "string",
            "example": "center",
            "default": "center",
            "enum": [
              "bottom",
              "center",
              "top"
            ]
          },
          "custom_width": {
            "type": "integer"
          }
        }
      },
      "BackgroundImage": {
        "type": "object",
        "properties": {
          "styles": {
            "$ref": "#/components/schemas/BackgroundImageStyles"
          },
          "properties": {
            "$ref": "#/components/schemas/ImageAssetProperties"
          }
        },
        "required": [
          "properties"
        ]
      },
      "ScratchCardStyles": {
        "type": "object",
        "properties": {
          "padding": {
            "$ref": "#/components/schemas/Padding"
          },
          "background_color": {
            "type": "string"
          },
          "cover_color": {
            "type": "string",
            "example": "rgba(201,166,70,1)",
            "default": "rgba(201,166,70,1)"
          },
          "cover_image": {
            "$ref": "#/components/schemas/BackgroundImage"
          },
          "border_styles": {
            "$ref": "#/components/schemas/BorderStyle"
          },
          "alignment": {
            "description": "Horizontal alignment enumeration.",
            "type": "string",
            "example": "center",
            "default": "center",
            "enum": [
              "center",
              "left",
              "right"
            ]
          },
          "full_width": {
            "type": "boolean",
            "example": true,
            "default": true
          },
          "width": {
            "type": "integer",
            "example": 300,
            "default": 300
          },
          "height": {
            "type": "integer",
            "example": 210,
            "default": 210
          },
          "text_styles": {
            "$ref": "#/components/schemas/TextStyle"
          },
          "prompt_text_styles": {
            "$ref": "#/components/schemas/TextStyle"
          }
        }
      },
      "ScratchCardProperties": {
        "type": "object",
        "properties": {
          "display_device": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          },
          "classname": {
            "type": "string"
          },
          "block_animation": {
            "$ref": "#/components/schemas/Animation"
          },
          "revealed_content": {
            "type": "string",
            "default": ""
          },
          "prompt_text": {
            "type": "string"
          },
          "reveal_threshold": {
            "type": "integer",
            "example": 50,
            "default": 50
          }
        }
      },
      "ScratchCard": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "scratch_card"
            ]
          },
          "styles": {
            "$ref": "#/components/schemas/ScratchCardStyles"
          },
          "properties": {
            "$ref": "#/components/schemas/ScratchCardProperties"
          },
          "action": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Close"
              },
              {
                "$ref": "#/components/schemas/NextStep"
              },
              {
                "$ref": "#/components/schemas/OpenForm"
              },
              {
                "$ref": "#/components/schemas/PromotionalSMSSubscription"
              },
              {
                "$ref": "#/components/schemas/Redirect"
              },
              {
                "$ref": "#/components/schemas/ResendOptInCode"
              },
              {
                "$ref": "#/components/schemas/SubmitOptInCode"
              },
              {
                "$ref": "#/components/schemas/SubscribeViaSMS"
              },
              {
                "$ref": "#/components/schemas/SubscribeViaWhatsApp"
              },
              {
                "$ref": "#/components/schemas/GoToInbox"
              },
              {
                "$ref": "#/components/schemas/SubmitBackInStock"
              },
              {
                "$ref": "#/components/schemas/SkipToSuccess"
              },
              {
                "$ref": "#/components/schemas/IafDeeplinkToScreen"
              },
              {
                "$ref": "#/components/schemas/IafOpenUrl"
              }
            ]
          }
        },
        "required": [
          "type"
        ]
      },
      "Row": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "blocks": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/Button"
                },
                {
                  "$ref": "#/components/schemas/AgeGate"
                },
                {
                  "$ref": "#/components/schemas/Coupon"
                },
                {
                  "$ref": "#/components/schemas/Date"
                },
                {
                  "$ref": "#/components/schemas/Email"
                },
                {
                  "$ref": "#/components/schemas/HTMLText"
                },
                {
                  "$ref": "#/components/schemas/OptInCode"
                },
                {
                  "$ref": "#/components/schemas/PhoneNumber"
                },
                {
                  "$ref": "#/components/schemas/SMSConsentCheckbox"
                },
                {
                  "$ref": "#/components/schemas/Text"
                },
                {
                  "$ref": "#/components/schemas/Checkboxes"
                },
                {
                  "$ref": "#/components/schemas/RadioButtons"
                },
                {
                  "$ref": "#/components/schemas/Dropdown"
                },
                {
                  "$ref": "#/components/schemas/Image"
                },
                {
                  "$ref": "#/components/schemas/CountdownTimer"
                },
                {
                  "$ref": "#/components/schemas/SignupCounter"
                },
                {
                  "$ref": "#/components/schemas/SpinToWin"
                },
                {
                  "$ref": "#/components/schemas/SMSDisclosure"
                },
                {
                  "$ref": "#/components/schemas/BackInStockEmailConsentCheckbox"
                },
                {
                  "$ref": "#/components/schemas/Review"
                },
                {
                  "$ref": "#/components/schemas/CustomHTML"
                },
                {
                  "$ref": "#/components/schemas/ContinueWithShop"
                },
                {
                  "$ref": "#/components/schemas/MarketingTrackingConsentCheckbox"
                },
                {
                  "$ref": "#/components/schemas/ScratchCard"
                }
              ]
            }
          }
        },
        "required": [
          "blocks"
        ]
      },
      "ColumnStyles": {
        "type": "object",
        "properties": {
          "background_image": {
            "$ref": "#/components/schemas/BackgroundImage"
          },
          "background_color": {
            "type": "string"
          }
        }
      },
      "Column": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "rows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Row"
            }
          },
          "styles": {
            "$ref": "#/components/schemas/ColumnStyles"
          }
        }
      },
      "Step": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "temporary_id": {
            "description": "A temporary ID to use only during a create operation, so that spin to win slices can reference this step through their step_id. Existing steps should use the id field. Not allowed on update.",
            "type": "string",
            "example": "step-1",
            "writeOnly": true
          },
          "columns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Column"
            }
          },
          "name": {
            "type": "string"
          },
          "steps": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "required": [
          "columns"
        ]
      },
      "AfterCloseTimeoutProperties": {
        "type": "object",
        "properties": {
          "timeout_days": {
            "type": "integer",
            "example": 5,
            "default": 5
          }
        }
      },
      "AfterCloseTimeout": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "after_close_or_submit_timeout"
            ]
          },
          "properties": {
            "$ref": "#/components/schemas/AfterCloseTimeoutProperties"
          }
        },
        "required": [
          "type"
        ]
      },
      "CartValueProperties": {
        "type": "object",
        "properties": {
          "comparison": {
            "description": "Number comparison enumeration.",
            "type": "string",
            "enum": [
              "equals",
              "greater_than",
              "less_than"
            ]
          },
          "value": {
            "type": "number"
          }
        }
      },
      "CartItemCountProperties": {
        "type": "object",
        "properties": {
          "comparison": {
            "description": "Number comparison enumeration.",
            "type": "string",
            "enum": [
              "equals",
              "greater_than",
              "less_than"
            ]
          },
          "value": {
            "type": "integer"
          }
        }
      },
      "CartProductProperties": {
        "type": "object",
        "properties": {
          "type": {
            "description": "Product descriptor enumeration.",
            "type": "string",
            "enum": [
              "brand",
              "categories",
              "id",
              "name"
            ]
          },
          "value": {
            "type": "string"
          }
        }
      },
      "CartContentProperties": {
        "type": "object",
        "properties": {
          "value": {
            "$ref": "#/components/schemas/CartValueProperties"
          },
          "items": {
            "$ref": "#/components/schemas/CartItemCountProperties"
          },
          "product": {
            "$ref": "#/components/schemas/CartProductProperties"
          }
        }
      },
      "CartContent": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "cart_content"
            ]
          },
          "properties": {
            "$ref": "#/components/schemas/CartContentProperties"
          }
        },
        "required": [
          "type"
        ]
      },
      "CartItemCount": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "cart_item_count"
            ]
          },
          "properties": {
            "$ref": "#/components/schemas/CartItemCountProperties"
          }
        },
        "required": [
          "type"
        ]
      },
      "CartProduct": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "cart_product"
            ]
          },
          "properties": {
            "$ref": "#/components/schemas/CartProductProperties"
          }
        },
        "required": [
          "type"
        ]
      },
      "CartValue": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "cart_value"
            ]
          },
          "properties": {
            "$ref": "#/components/schemas/CartValueProperties"
          }
        },
        "required": [
          "type"
        ]
      },
      "ChannelProperties": {
        "type": "object",
        "properties": {
          "channel": {
            "description": "Channel type enumeration.",
            "type": "string",
            "enum": [
              "email",
              "sms"
            ]
          }
        },
        "required": [
          "channel"
        ]
      },
      "Channel": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "channel"
            ]
          },
          "properties": {
            "$ref": "#/components/schemas/ChannelProperties"
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "TriggerBaseProperties": {
        "type": "object",
        "maxProperties": 0
      },
      "CustomJavascript": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "properties": {
            "$ref": "#/components/schemas/TriggerBaseProperties"
          },
          "type": {
            "type": "string",
            "enum": [
              "custom_javascript"
            ]
          }
        },
        "required": [
          "type"
        ]
      },
      "DelayProperties": {
        "type": "object",
        "properties": {
          "seconds": {
            "type": "integer",
            "example": 5,
            "default": 5
          }
        }
      },
      "Delay": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "delay"
            ]
          },
          "properties": {
            "$ref": "#/components/schemas/DelayProperties"
          }
        },
        "required": [
          "type"
        ]
      },
      "DeviceProperties": {
        "type": "object",
        "properties": {
          "device": {
            "description": "Enumeration for mobile and desktop.",
            "type": "string",
            "example": "desktop",
            "default": "desktop",
            "enum": [
              "both",
              "desktop",
              "mobile"
            ]
          }
        }
      },
      "Device": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "device"
            ]
          },
          "properties": {
            "$ref": "#/components/schemas/DeviceProperties"
          }
        },
        "required": [
          "type"
        ]
      },
      "ExitIntent": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "properties": {
            "$ref": "#/components/schemas/TriggerBaseProperties"
          },
          "type": {
            "type": "string",
            "enum": [
              "exit_intent"
            ]
          }
        },
        "required": [
          "type"
        ]
      },
      "FormEngagementLookback": {
        "type": "object",
        "properties": {
          "value": {
            "type": "integer"
          },
          "unit": {
            "description": "Unit of a lookback window.",
            "type": "string",
            "enum": [
              "days",
              "hours",
              "minutes"
            ]
          }
        },
        "required": [
          "value",
          "unit"
        ]
      },
      "FormEngagementProperties": {
        "type": "object",
        "properties": {
          "engagement": {
            "description": "How the visitor engaged with another form.",
            "type": "string",
            "example": "viewed",
            "default": "viewed",
            "enum": [
              "submitted",
              "viewed"
            ]
          },
          "form_ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "lookback": {
            "$ref": "#/components/schemas/FormEngagementLookback"
          }
        }
      },
      "FormEngagement": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "form_engagement"
            ]
          },
          "properties": {
            "$ref": "#/components/schemas/FormEngagementProperties"
          }
        },
        "required": [
          "type"
        ]
      },
      "IdentifiedProfiles": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "properties": {
            "$ref": "#/components/schemas/TriggerBaseProperties"
          },
          "type": {
            "type": "string",
            "enum": [
              "identified_profiles"
            ]
          }
        },
        "required": [
          "type"
        ]
      },
      "ListsAndSegmentsProperties": {
        "type": "object",
        "properties": {
          "allow_list": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "deny_list": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "ListsAndSegments": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "lists_and_segments"
            ]
          },
          "properties": {
            "$ref": "#/components/schemas/ListsAndSegmentsProperties"
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "LocationProperties": {
        "type": "object",
        "properties": {
          "allow_list": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "string",
                  "enum": [
                    "con_AF",
                    "con_AS",
                    "con_EU",
                    "con_EUP",
                    "con_NA",
                    "con_OC",
                    "con_SA"
                  ],
                  "description": "Geographic Regions."
                },
                {
                  "type": "string",
                  "enum": [
                    "AD",
                    "AE",
                    "AF",
                    "AG",
                    "AI",
                    "AL",
                    "AM",
                    "AN",
                    "AO",
                    "AQ",
                    "AR",
                    "AS",
                    "AT",
                    "AU",
                    "AW",
                    "AX",
                    "AZ",
                    "BA",
                    "BB",
                    "BD",
                    "BE",
                    "BF",
                    "BG",
                    "BH",
                    "BI",
                    "BJ",
                    "BM",
                    "BN",
                    "BO",
                    "BR",
                    "BS",
                    "BT",
                    "BV",
                    "BW",
                    "BY",
                    "BZ",
                    "CA",
                    "CC",
                    "CD",
                    "CF",
                    "CG",
                    "CH",
                    "CI",
                    "CK",
                    "CL",
                    "CM",
                    "CN",
                    "CO",
                    "CR",
                    "CU",
                    "CV",
                    "CX",
                    "CY",
                    "CZ",
                    "DE",
                    "DJ",
                    "DK",
                    "DM",
                    "DO",
                    "DZ",
                    "EC",
                    "EE",
                    "EG",
                    "EH",
                    "ER",
                    "ES",
                    "ET",
                    "FI",
                    "FJ",
                    "FK",
                    "FM",
                    "FO",
                    "FR",
                    "GA",
                    "GB",
                    "GD",
                    "GE",
                    "GF",
                    "GG",
                    "GH",
                    "GI",
                    "GL",
                    "GM",
                    "GN",
                    "GP",
                    "GQ",
                    "GR",
                    "GS",
                    "GT",
                    "GU",
                    "GW",
                    "GY",
                    "HK",
                    "HM",
                    "HN",
                    "HR",
                    "HT",
                    "HU",
                    "ID",
                    "IE",
                    "IL",
                    "IM",
                    "IN",
                    "IO",
                    "IQ",
                    "IR",
                    "IS",
                    "IT",
                    "JE",
                    "JM",
                    "JO",
                    "JP",
                    "KE",
                    "KG",
                    "KH",
                    "KI",
                    "KM",
                    "KN",
                    "KP",
                    "KR",
                    "KW",
                    "KY",
                    "KZ",
                    "LA",
                    "LB",
                    "LC",
                    "LI",
                    "LK",
                    "LR",
                    "LS",
                    "LT",
                    "LU",
                    "LV",
                    "LY",
                    "MA",
                    "MC",
                    "MD",
                    "ME",
                    "MG",
                    "MH",
                    "MK",
                    "ML",
                    "MM",
                    "MN",
                    "MO",
                    "MP",
                    "MQ",
                    "MR",
                    "MS",
                    "MT",
                    "MU",
                    "MV",
                    "MW",
                    "MX",
                    "MY",
                    "MZ",
                    "NA",
                    "NC",
                    "NE",
                    "NF",
                    "NG",
                    "NI",
                    "NL",
                    "NO",
                    "NP",
                    "NR",
                    "NU",
                    "NZ",
                    "OM",
                    "PA",
                    "PE",
                    "PF",
                    "PG",
                    "PH",
                    "PK",
                    "PL",
                    "PM",
                    "PN",
                    "PR",
                    "PS",
                    "PT",
                    "PW",
                    "PY",
                    "QA",
                    "RE",
                    "RO",
                    "RS",
                    "RU",
                    "RW",
                    "SA",
                    "SB",
                    "SC",
                    "SD",
                    "SE",
                    "SG",
                    "SH",
                    "SI",
                    "SJ",
                    "SK",
                    "SL",
                    "SM",
                    "SN",
                    "SO",
                    "SR",
                    "ST",
                    "SV",
                    "SY",
                    "SZ",
                    "TC",
                    "TD",
                    "TF",
                    "TG",
                    "TH",
                    "TJ",
                    "TK",
                    "TL",
                    "TM",
                    "TN",
                    "TO",
                    "TR",
                    "TT",
                    "TV",
                    "TW",
                    "TZ",
                    "UA",
                    "UG",
                    "UM",
                    "US",
                    "UY",
                    "UZ",
                    "VA",
                    "VC",
                    "VE",
                    "VG",
                    "VI",
                    "VN",
                    "VU",
                    "WF",
                    "WS",
                    "YE",
                    "YT",
                    "ZA",
                    "ZM",
                    "ZW"
                  ],
                  "description": "Geographic Country - ISO 3166-1 alpha-2 country codes."
                }
              ]
            }
          },
          "deny_list": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "string",
                  "enum": [
                    "con_AF",
                    "con_AS",
                    "con_EU",
                    "con_EUP",
                    "con_NA",
                    "con_OC",
                    "con_SA"
                  ],
                  "description": "Geographic Regions."
                },
                {
                  "type": "string",
                  "enum": [
                    "AD",
                    "AE",
                    "AF",
                    "AG",
                    "AI",
                    "AL",
                    "AM",
                    "AN",
                    "AO",
                    "AQ",
                    "AR",
                    "AS",
                    "AT",
                    "AU",
                    "AW",
                    "AX",
                    "AZ",
                    "BA",
                    "BB",
                    "BD",
                    "BE",
                    "BF",
                    "BG",
                    "BH",
                    "BI",
                    "BJ",
                    "BM",
                    "BN",
                    "BO",
                    "BR",
                    "BS",
                    "BT",
                    "BV",
                    "BW",
                    "BY",
                    "BZ",
                    "CA",
                    "CC",
                    "CD",
                    "CF",
                    "CG",
                    "CH",
                    "CI",
                    "CK",
                    "CL",
                    "CM",
                    "CN",
                    "CO",
                    "CR",
                    "CU",
                    "CV",
                    "CX",
                    "CY",
                    "CZ",
                    "DE",
                    "DJ",
                    "DK",
                    "DM",
                    "DO",
                    "DZ",
                    "EC",
                    "EE",
                    "EG",
                    "EH",
                    "ER",
                    "ES",
                    "ET",
                    "FI",
                    "FJ",
                    "FK",
                    "FM",
                    "FO",
                    "FR",
                    "GA",
                    "GB",
                    "GD",
                    "GE",
                    "GF",
                    "GG",
                    "GH",
                    "GI",
                    "GL",
                    "GM",
                    "GN",
                    "GP",
                    "GQ",
                    "GR",
                    "GS",
                    "GT",
                    "GU",
                    "GW",
                    "GY",
                    "HK",
                    "HM",
                    "HN",
                    "HR",
                    "HT",
                    "HU",
                    "ID",
                    "IE",
                    "IL",
                    "IM",
                    "IN",
                    "IO",
                    "IQ",
                    "IR",
                    "IS",
                    "IT",
                    "JE",
                    "JM",
                    "JO",
                    "JP",
                    "KE",
                    "KG",
                    "KH",
                    "KI",
                    "KM",
                    "KN",
                    "KP",
                    "KR",
                    "KW",
                    "KY",
                    "KZ",
                    "LA",
                    "LB",
                    "LC",
                    "LI",
                    "LK",
                    "LR",
                    "LS",
                    "LT",
                    "LU",
                    "LV",
                    "LY",
                    "MA",
                    "MC",
                    "MD",
                    "ME",
                    "MG",
                    "MH",
                    "MK",
                    "ML",
                    "MM",
                    "MN",
                    "MO",
                    "MP",
                    "MQ",
                    "MR",
                    "MS",
                    "MT",
                    "MU",
                    "MV",
                    "MW",
                    "MX",
                    "MY",
                    "MZ",
                    "NA",
                    "NC",
                    "NE",
                    "NF",
                    "NG",
                    "NI",
                    "NL",
                    "NO",
                    "NP",
                    "NR",
                    "NU",
                    "NZ",
                    "OM",
                    "PA",
                    "PE",
                    "PF",
                    "PG",
                    "PH",
                    "PK",
                    "PL",
                    "PM",
                    "PN",
                    "PR",
                    "PS",
                    "PT",
                    "PW",
                    "PY",
                    "QA",
                    "RE",
                    "RO",
                    "RS",
                    "RU",
                    "RW",
                    "SA",
                    "SB",
                    "SC",
                    "SD",
                    "SE",
                    "SG",
                    "SH",
                    "SI",
                    "SJ",
                    "SK",
                    "SL",
                    "SM",
                    "SN",
                    "SO",
                    "SR",
                    "ST",
                    "SV",
                    "SY",
                    "SZ",
                    "TC",
                    "TD",
                    "TF",
                    "TG",
                    "TH",
                    "TJ",
                    "TK",
                    "TL",
                    "TM",
                    "TN",
                    "TO",
                    "TR",
                    "TT",
                    "TV",
                    "TW",
                    "TZ",
                    "UA",
                    "UG",
                    "UM",
                    "US",
                    "UY",
                    "UZ",
                    "VA",
                    "VC",
                    "VE",
                    "VG",
                    "VI",
                    "VN",
                    "VU",
                    "WF",
                    "WS",
                    "YE",
                    "YT",
                    "ZA",
                    "ZM",
                    "ZW"
                  ],
                  "description": "Geographic Country - ISO 3166-1 alpha-2 country codes."
                }
              ]
            }
          }
        }
      },
      "Location": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "location"
            ]
          },
          "properties": {
            "$ref": "#/components/schemas/LocationProperties"
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "PageVisitsProperties": {
        "type": "object",
        "properties": {
          "pages": {
            "type": "integer",
            "example": 3,
            "default": 3
          }
        }
      },
      "PageVisits": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "page_visits"
            ]
          },
          "properties": {
            "$ref": "#/components/schemas/PageVisitsProperties"
          }
        },
        "required": [
          "type"
        ]
      },
      "PreviouslySubmitted": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "properties": {
            "$ref": "#/components/schemas/TriggerBaseProperties"
          },
          "type": {
            "type": "string",
            "enum": [
              "previously_submitted"
            ]
          }
        },
        "required": [
          "type"
        ]
      },
      "PropertyFilter": {
        "type": "object",
        "properties": {
          "property": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "property",
          "value"
        ]
      },
      "ProfileEventTrackedProperties": {
        "type": "object",
        "properties": {
          "metric": {
            "type": "string",
            "default": ""
          },
          "property_filters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PropertyFilter"
            }
          },
          "delay_seconds": {
            "type": "integer"
          }
        }
      },
      "ProfileEventTracked": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "profile_event_tracked"
            ]
          },
          "properties": {
            "$ref": "#/components/schemas/ProfileEventTrackedProperties"
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "ScrollProperties": {
        "type": "object",
        "properties": {
          "percentage": {
            "type": "integer",
            "example": 30,
            "default": 30
          }
        }
      },
      "Scroll": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "scroll_percentage"
            ]
          },
          "properties": {
            "$ref": "#/components/schemas/ScrollProperties"
          }
        },
        "required": [
          "type"
        ]
      },
      "UnidentifiedProfiles": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "properties": {
            "$ref": "#/components/schemas/TriggerBaseProperties"
          },
          "type": {
            "type": "string",
            "enum": [
              "unidentified_profiles"
            ]
          }
        },
        "required": [
          "type"
        ]
      },
      "URLPatternsProperties": {
        "type": "object",
        "properties": {
          "allow_list": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "deny_list": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "URLPatterns": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "url_patterns"
            ]
          },
          "properties": {
            "$ref": "#/components/schemas/URLPatternsProperties"
          }
        },
        "required": [
          "type"
        ]
      },
      "BackInStockProperties": {
        "type": "object",
        "properties": {
          "tag_allowlist": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "tag_blocklist": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "BackInStock": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "back_in_stock"
            ]
          },
          "properties": {
            "$ref": "#/components/schemas/BackInStockProperties"
          }
        },
        "required": [
          "type"
        ]
      },
      "DropShadow": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean",
            "default": false
          },
          "blur": {
            "type": "integer",
            "example": 30,
            "default": 30
          },
          "color": {
            "type": "string",
            "example": "rgba(0,0,0,0.15)",
            "default": "rgba(0,0,0,0.15)"
          }
        }
      },
      "Margin": {
        "type": "object",
        "properties": {
          "left": {
            "type": "integer",
            "default": 0
          },
          "right": {
            "type": "integer",
            "default": 0
          },
          "top": {
            "type": "integer",
            "default": 0
          },
          "bottom": {
            "type": "integer",
            "default": 0
          }
        }
      },
      "CloseButtonStyle": {
        "type": "object",
        "properties": {
          "background_color": {
            "type": "string",
            "example": "rgba(180, 187, 195, 0.65)",
            "default": "rgba(180, 187, 195, 0.65)"
          },
          "outline_color": {
            "type": "string",
            "example": "#FFFFFF",
            "default": "#FFFFFF"
          },
          "color": {
            "type": "string",
            "example": "#FFFFFF",
            "default": "#FFFFFF"
          },
          "stroke": {
            "type": "number",
            "example": 2,
            "default": 2
          },
          "size": {
            "type": "integer",
            "example": 20,
            "default": 20
          },
          "margin": {
            "$ref": "#/components/schemas/Margin"
          },
          "position": {
            "description": "Horizontal position of the close button.",
            "type": "string",
            "enum": [
              "left",
              "right"
            ]
          }
        }
      },
      "TeaserStyles": {
        "type": "object",
        "properties": {
          "background_color": {
            "type": "string",
            "example": "#FFFFFF",
            "default": "#FFFFFF"
          },
          "drop_shadow": {
            "$ref": "#/components/schemas/DropShadow"
          },
          "corner_radius": {
            "type": "integer",
            "example": 4,
            "default": 4
          },
          "background_image": {
            "$ref": "#/components/schemas/BackgroundImage"
          },
          "close_button": {
            "$ref": "#/components/schemas/CloseButtonStyle"
          },
          "margin": {
            "$ref": "#/components/schemas/Margin"
          }
        }
      },
      "Teaser": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "content": {
            "type": "string"
          },
          "display_order": {
            "description": "Teaser display order enumeration.",
            "type": "string",
            "example": "after",
            "default": "after",
            "enum": [
              "after",
              "before",
              "before_and_after"
            ]
          },
          "teaser_type": {
            "description": "Teaser display order enumeration.",
            "type": "string",
            "example": "rectangle",
            "default": "rectangle",
            "enum": [
              "circle",
              "corner",
              "rectangle"
            ]
          },
          "location": {
            "description": "Display location enumeration.",
            "type": "string",
            "example": "bottom_left",
            "default": "bottom_left",
            "enum": [
              "bottom_center",
              "bottom_left",
              "bottom_right",
              "center_left",
              "center_right",
              "top_center",
              "top_left",
              "top_right"
            ]
          },
          "size": {
            "description": "Teaser size enumeration.",
            "type": "string",
            "example": "small",
            "default": "small",
            "enum": [
              "custom",
              "large",
              "medium",
              "small"
            ]
          },
          "custom_size": {
            "type": "integer"
          },
          "styles": {
            "$ref": "#/components/schemas/TeaserStyles"
          },
          "close_button": {
            "type": "boolean",
            "example": true,
            "default": true
          },
          "device_type": {
            "description": "Enumeration for mobile and desktop.",
            "type": "string",
            "example": "both",
            "default": "both",
            "enum": [
              "both",
              "desktop",
              "mobile"
            ]
          }
        },
        "required": [
          "content"
        ]
      },
      "BackInStockDynamicButtonTextStyles": {
        "type": "object",
        "properties": {
          "font_family": {
            "example": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
            "default": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
            "oneOf": [
              {
                "type": "string",
                "enum": [
                  "Arial Black,Arial",
                  "Arial, 'Helvetica Neue', Helvetica, sans-serif",
                  "Century Gothic,AppleGothic,Arial",
                  "Comic Sans MS,Comic Sans,cursive",
                  "Courier",
                  "Courier New",
                  "Geneva,Arial",
                  "Georgia",
                  "Helvetica,Arial",
                  "Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif",
                  "Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif",
                  "Lucida,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif",
                  "MS Serif,Georgia",
                  "New York,Georgia",
                  "Palatino Linotype,Palatino,Georgia",
                  "Palatino,Georgia",
                  "Tahoma,sans-serif",
                  "Times New Roman",
                  "Trebuchet MS",
                  "Verdana"
                ],
                "description": "Web safe font enumeration."
              },
              {
                "type": "string"
              }
            ]
          },
          "font_size": {
            "type": "integer",
            "example": 16,
            "default": 16
          },
          "font_weight": {
            "description": "Font weight enumeration.",
            "type": "integer",
            "example": 400,
            "default": 400,
            "enum": [
              100,
              200,
              300,
              400,
              500,
              600,
              700,
              800,
              900
            ]
          },
          "font_color": {
            "type": "string",
            "example": "#FFFFFF",
            "default": "#FFFFFF"
          },
          "font_style": {
            "type": "string"
          },
          "text_decoration": {
            "type": "string"
          },
          "letter_spacing": {
            "type": "integer",
            "default": 0
          }
        }
      },
      "BackInStockDynamicButtonBorderStyles": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean",
            "default": false
          },
          "color": {
            "type": "string",
            "example": "#000000",
            "default": "#000000"
          },
          "style": {
            "description": "Border pattern enumeration.",
            "type": "string",
            "example": "solid",
            "default": "solid",
            "enum": [
              "dashed",
              "dotted",
              "solid"
            ]
          },
          "width": {
            "type": "integer",
            "example": 1,
            "default": 1
          }
        }
      },
      "BackInStockDynamicButtonDropShadowStyles": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean",
            "default": false
          },
          "color": {
            "type": "string",
            "example": "#000000",
            "default": "#000000"
          },
          "blur": {
            "type": "integer",
            "example": 15,
            "default": 15
          },
          "x_offset": {
            "type": "integer",
            "default": 0
          },
          "y_offset": {
            "type": "integer",
            "default": 0
          }
        }
      },
      "BackInStockDynamicButtonStyles": {
        "type": "object",
        "properties": {
          "color": {
            "type": "string",
            "example": "#000000",
            "default": "#000000"
          },
          "border_radius": {
            "type": "integer",
            "default": 0
          },
          "height": {
            "type": "integer",
            "example": 44,
            "default": 44
          },
          "width": {
            "description": "Back In Stock Dynamic Button display type enumeration.",
            "type": "string",
            "example": "fullWidth",
            "default": "fullWidth",
            "enum": [
              "fitToText",
              "fullWidth"
            ]
          },
          "alignment": {
            "description": "Horizontal alignment enumeration.",
            "type": "string",
            "example": "center",
            "default": "center",
            "enum": [
              "center",
              "left",
              "right"
            ]
          },
          "border": {
            "$ref": "#/components/schemas/BackInStockDynamicButtonBorderStyles"
          },
          "drop_shadow": {
            "$ref": "#/components/schemas/BackInStockDynamicButtonDropShadowStyles"
          }
        }
      },
      "BackInStockDynamicButtonData": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string",
            "default": ""
          },
          "display": {
            "description": "Back In Stock Dynamic Button display type enumeration.",
            "type": "string",
            "example": "REPLACE",
            "default": "REPLACE",
            "enum": [
              "NEXT_TO",
              "REPLACE"
            ]
          },
          "text_styles": {
            "$ref": "#/components/schemas/BackInStockDynamicButtonTextStyles"
          },
          "button_styles": {
            "$ref": "#/components/schemas/BackInStockDynamicButtonStyles"
          }
        }
      },
      "DynamicButton": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "type": {
            "description": "Dynamic Button type enumeration.",
            "type": "string",
            "enum": [
              "BACK_IN_STOCK_OPEN"
            ]
          },
          "data": {
            "$ref": "#/components/schemas/BackInStockDynamicButtonData"
          }
        },
        "required": [
          "type",
          "data"
        ]
      },
      "InputStyles": {
        "type": "object",
        "properties": {
          "text_styles": {
            "$ref": "#/components/schemas/TextStyle"
          },
          "label_color": {
            "type": "string",
            "example": "#303B43",
            "default": "#303B43"
          },
          "text_color": {
            "type": "string",
            "example": "#000000",
            "default": "#000000"
          },
          "placeholder_color": {
            "type": "string",
            "example": "#949596",
            "default": "#949596"
          },
          "background_color": {
            "type": "string",
            "example": "#FFFFFF",
            "default": "#FFFFFF"
          },
          "border_color": {
            "type": "string",
            "example": "#949596",
            "default": "#949596"
          },
          "border_focus_color": {
            "type": "string",
            "example": "#000000",
            "default": "#000000"
          },
          "focus_outline_color": {
            "type": "string",
            "example": "#1C65AD",
            "default": "#1C65AD"
          },
          "corner_radius": {
            "type": "integer",
            "example": 2,
            "default": 2
          },
          "field_height": {
            "type": "integer",
            "example": 38,
            "default": 38
          }
        }
      },
      "RichTextMargin": {
        "type": "object",
        "properties": {
          "left": {
            "type": "integer",
            "default": 0,
            "enum": [
              0
            ]
          },
          "right": {
            "type": "integer",
            "default": 0,
            "enum": [
              0
            ]
          },
          "top": {
            "type": "integer",
            "default": 0,
            "enum": [
              0
            ]
          },
          "bottom": {
            "type": "integer",
            "default": 0
          }
        }
      },
      "RichTextStyle": {
        "type": "object",
        "properties": {
          "font_family": {
            "example": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
            "default": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
            "oneOf": [
              {
                "type": "string",
                "enum": [
                  "Arial Black,Arial",
                  "Arial, 'Helvetica Neue', Helvetica, sans-serif",
                  "Century Gothic,AppleGothic,Arial",
                  "Comic Sans MS,Comic Sans,cursive",
                  "Courier",
                  "Courier New",
                  "Geneva,Arial",
                  "Georgia",
                  "Helvetica,Arial",
                  "Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif",
                  "Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif",
                  "Lucida,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif",
                  "MS Serif,Georgia",
                  "New York,Georgia",
                  "Palatino Linotype,Palatino,Georgia",
                  "Palatino,Georgia",
                  "Tahoma,sans-serif",
                  "Times New Roman",
                  "Trebuchet MS",
                  "Verdana"
                ],
                "description": "Web safe font enumeration."
              },
              {
                "type": "string"
              }
            ]
          },
          "font_size": {
            "type": "integer",
            "example": 16,
            "default": 16
          },
          "font_weight": {
            "description": "Font weight enumeration.",
            "type": "integer",
            "example": 400,
            "default": 400,
            "enum": [
              100,
              200,
              300,
              400,
              500,
              600,
              700,
              800,
              900
            ]
          },
          "text_color": {
            "type": "string",
            "example": "#000000",
            "default": "#000000"
          },
          "font_style": {
            "type": "string"
          },
          "text_decoration": {
            "type": "string"
          },
          "line_spacing": {
            "type": "number",
            "example": 1,
            "default": 1
          },
          "character_spacing": {
            "type": "integer",
            "default": 0
          },
          "alignment": {
            "description": "Horizontal alignment enumeration.",
            "type": "string",
            "example": "left",
            "default": "left",
            "enum": [
              "center",
              "left",
              "right"
            ]
          },
          "margin": {
            "$ref": "#/components/schemas/RichTextMargin"
          }
        }
      },
      "LinkStyles": {
        "type": "object",
        "properties": {
          "color": {
            "type": "string",
            "example": "#0066cc",
            "default": "#0066cc"
          },
          "decoration": {
            "type": "string",
            "example": "underline",
            "default": "underline",
            "enum": [
              "underline"
            ]
          }
        }
      },
      "RichTextStyles": {
        "type": "object",
        "properties": {
          "body": {
            "$ref": "#/components/schemas/RichTextStyle"
          },
          "link": {
            "$ref": "#/components/schemas/LinkStyles"
          },
          "h1": {
            "$ref": "#/components/schemas/RichTextStyle"
          },
          "h2": {
            "$ref": "#/components/schemas/RichTextStyle"
          },
          "h3": {
            "$ref": "#/components/schemas/RichTextStyle"
          },
          "h4": {
            "$ref": "#/components/schemas/RichTextStyle"
          },
          "h5": {
            "$ref": "#/components/schemas/RichTextStyle"
          },
          "h6": {
            "$ref": "#/components/schemas/RichTextStyle"
          }
        }
      },
      "MobileOverlay": {
        "type": "object",
        "properties": {
          "color": {
            "type": "string",
            "example": "rgba(20, 20, 20, 0.5)",
            "default": "rgba(20, 20, 20, 0.5)"
          },
          "enabled": {
            "type": "boolean",
            "default": false,
            "enum": [
              false
            ]
          }
        }
      },
      "BannerStyles": {
        "type": "object",
        "properties": {
          "desktop_position": {
            "description": "Positioning of banner forms.",
            "type": "string",
            "example": "top",
            "default": "top",
            "enum": [
              "bottom",
              "top"
            ]
          },
          "mobile_position": {
            "description": "Positioning of banner forms.",
            "type": "string",
            "example": "top",
            "default": "top",
            "enum": [
              "bottom",
              "top"
            ]
          },
          "scroll_with_page": {
            "type": "boolean",
            "example": true,
            "default": true
          }
        }
      },
      "CustomCss": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean",
            "default": false
          },
          "css": {
            "type": "string",
            "default": ""
          }
        }
      },
      "VersionStyles": {
        "type": "object",
        "properties": {
          "wrap_content": {
            "type": "boolean",
            "default": false,
            "enum": [
              false
            ]
          },
          "border_styles": {
            "$ref": "#/components/schemas/BorderStyle"
          },
          "close_button": {
            "$ref": "#/components/schemas/CloseButtonStyle"
          },
          "margin": {
            "$ref": "#/components/schemas/Margin"
          },
          "padding": {
            "$ref": "#/components/schemas/Padding"
          },
          "minimum_height": {
            "type": "integer",
            "example": 250,
            "default": 250
          },
          "width": {
            "description": "Version width enumeration.",
            "type": "string",
            "example": "medium",
            "default": "medium",
            "enum": [
              "custom",
              "full",
              "large",
              "medium",
              "small"
            ]
          },
          "custom_width": {
            "type": "integer"
          },
          "background_image": {
            "$ref": "#/components/schemas/BackgroundImage"
          },
          "background_color": {
            "type": "string",
            "example": "#FFFFFF",
            "default": "#FFFFFF"
          },
          "input_styles": {
            "$ref": "#/components/schemas/InputStyles"
          },
          "drop_shadow": {
            "$ref": "#/components/schemas/DropShadow"
          },
          "overlay_color": {
            "type": "string",
            "example": "rgba(20,20,20,0.6)",
            "default": "rgba(20,20,20,0.6)"
          },
          "rich_text_styles": {
            "$ref": "#/components/schemas/RichTextStyles"
          },
          "mobile_overlay": {
            "$ref": "#/components/schemas/MobileOverlay"
          },
          "banner_styles": {
            "$ref": "#/components/schemas/BannerStyles"
          },
          "custom_css": {
            "$ref": "#/components/schemas/CustomCss"
          }
        }
      },
      "SideImageSettings": {
        "type": "object",
        "properties": {
          "size": {
            "description": "Side image size enumeration.",
            "type": "string",
            "example": "medium",
            "default": "medium",
            "enum": [
              "large",
              "medium",
              "small"
            ]
          },
          "alignment": {
            "description": "Side image alignment enumeration.",
            "type": "string",
            "example": "left",
            "default": "left",
            "enum": [
              "left",
              "right"
            ]
          },
          "device_type": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          }
        }
      },
      "VersionProperties": {
        "type": "object",
        "properties": {
          "side_image_settings": {
            "$ref": "#/components/schemas/SideImageSettings"
          },
          "click_outside_to_close": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "both",
                "desktop",
                "mobile"
              ],
              "description": "Enumeration for mobile and desktop."
            }
          },
          "rule_based_trigger_evaluation": {
            "description": "Side image alignment enumeration.",
            "type": "string",
            "example": "any",
            "default": "any",
            "enum": [
              "all",
              "any"
            ]
          },
          "record_utm_params_on_submit": {
            "type": "boolean",
            "default": false
          },
          "show_close_button": {
            "type": "boolean",
            "example": true,
            "default": true
          },
          "accessible_name": {
            "type": "string"
          }
        }
      },
      "Version": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Not allowed on create.",
            "type": "integer"
          },
          "steps": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Step"
            }
          },
          "triggers": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/AfterCloseTimeout"
                },
                {
                  "$ref": "#/components/schemas/CartContent"
                },
                {
                  "$ref": "#/components/schemas/CartItemCount"
                },
                {
                  "$ref": "#/components/schemas/CartProduct"
                },
                {
                  "$ref": "#/components/schemas/CartValue"
                },
                {
                  "$ref": "#/components/schemas/Channel"
                },
                {
                  "$ref": "#/components/schemas/CustomJavascript"
                },
                {
                  "$ref": "#/components/schemas/Delay"
                },
                {
                  "$ref": "#/components/schemas/Device"
                },
                {
                  "$ref": "#/components/schemas/ExitIntent"
                },
                {
                  "$ref": "#/components/schemas/FormEngagement"
                },
                {
                  "$ref": "#/components/schemas/IdentifiedProfiles"
                },
                {
                  "$ref": "#/components/schemas/ListsAndSegments"
                },
                {
                  "$ref": "#/components/schemas/Location"
                },
                {
                  "$ref": "#/components/schemas/PageVisits"
                },
                {
                  "$ref": "#/components/schemas/PreviouslySubmitted"
                },
                {
                  "$ref": "#/components/schemas/ProfileEventTracked"
                },
                {
                  "$ref": "#/components/schemas/Scroll"
                },
                {
                  "$ref": "#/components/schemas/UnidentifiedProfiles"
                },
                {
                  "$ref": "#/components/schemas/URLPatterns"
                },
                {
                  "$ref": "#/components/schemas/BackInStock"
                }
              ]
            }
          },
          "teasers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Teaser"
            }
          },
          "dynamic_button": {
            "$ref": "#/components/schemas/DynamicButton"
          },
          "name": {
            "type": "string"
          },
          "styles": {
            "$ref": "#/components/schemas/VersionStyles"
          },
          "properties": {
            "$ref": "#/components/schemas/VersionProperties"
          },
          "type": {
            "description": "Form type enumeration.",
            "type": "string",
            "example": "popup",
            "default": "popup",
            "enum": [
              "banner",
              "embed",
              "flyout",
              "full_screen",
              "popup"
            ]
          },
          "location": {
            "description": "Display location enumeration.",
            "type": "string",
            "enum": [
              "bottom_center",
              "bottom_left",
              "bottom_right",
              "center_left",
              "center_right",
              "top_center",
              "top_left",
              "top_right"
            ]
          },
          "status": {
            "description": "Form status enumeration.",
            "type": "string",
            "example": "draft",
            "default": "draft",
            "enum": [
              "draft",
              "live"
            ]
          },
          "ab_test": {
            "type": "boolean",
            "default": false
          },
          "specialties": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "BACK_IN_STOCK"
              ],
              "description": "Form specialty enumeration."
            }
          },
          "channel": {
            "type": "string",
            "example": "WEB",
            "default": "WEB",
            "enum": [
              "WEB"
            ]
          },
          "message_priority": {
            "type": "integer",
            "example": 50,
            "default": 50
          }
        },
        "required": [
          "steps"
        ]
      },
      "WebFormDefinition": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "web"
            ]
          },
          "versions": {
            "description": "The form's versions (e.g. draft, live, or A/B test variations).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Version"
            }
          }
        },
        "required": [
          "type",
          "versions"
        ]
      },
      "InAppAppOpenTrigger": {
        "type": "object",
        "properties": {
          "type": {
            "description": "The trigger type. Must be app_open.",
            "type": "string",
            "example": "app_open",
            "enum": [
              "app_open"
            ]
          }
        },
        "required": [
          "type"
        ]
      },
      "InAppPerformedEventTrigger": {
        "type": "object",
        "properties": {
          "type": {
            "description": "The trigger type. Must be performed_event.",
            "type": "string",
            "example": "performed_event",
            "enum": [
              "performed_event"
            ]
          },
          "event_name": {
            "description": "The event name to listen for.",
            "type": "string",
            "example": "Added to Cart"
          },
          "property_filters": {
            "description": "Optional event property equality filter. At most one is supported.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PropertyFilter"
            }
          }
        },
        "required": [
          "type",
          "event_name"
        ]
      },
      "InAppPushNotificationOpenTrigger": {
        "type": "object",
        "properties": {
          "type": {
            "description": "The trigger type. Must be push_notification_open.",
            "type": "string",
            "example": "push_notification_open",
            "enum": [
              "push_notification_open"
            ]
          },
          "message_title": {
            "description": "The push notification message title to match.",
            "type": "string",
            "example": "Welcome to our app!"
          }
        },
        "required": [
          "type",
          "message_title"
        ]
      },
      "InAppTriggers": {
        "type": "object",
        "properties": {
          "display_trigger": {
            "description": "The trigger that causes the form to display.",
            "oneOf": [
              {
                "$ref": "#/components/schemas/InAppAppOpenTrigger"
              },
              {
                "$ref": "#/components/schemas/InAppPerformedEventTrigger"
              },
              {
                "$ref": "#/components/schemas/InAppPushNotificationOpenTrigger"
              }
            ]
          },
          "delay_seconds": {
            "description": "Seconds to wait after the display trigger, up to 86400, or null for no delay.",
            "type": "integer",
            "example": 5,
            "default": 0
          },
          "timeout_days": {
            "description": "Minimum number of days between showing the form to the same user, or null for no minimum.",
            "type": "integer",
            "example": 7,
            "default": 7
          },
          "suppress_after_dismiss": {
            "description": "Whether to stop showing the form to a user after they dismiss it.",
            "type": "boolean",
            "example": true,
            "default": true
          }
        },
        "required": [
          "display_trigger"
        ]
      },
      "InAppTextBlock": {
        "type": "object",
        "properties": {
          "type": {
            "description": "The block type. Must be text.",
            "type": "string",
            "example": "text",
            "enum": [
              "text"
            ]
          },
          "content": {
            "description": "The text content to display. Supports basic HTML formatting.",
            "example": "<p>Welcome to our app!</p>",
            "type": "string"
          },
          "styles": {
            "description": "Optional styling for the text block.",
            "$ref": "#/components/schemas/HTMLTextStyles"
          },
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          }
        },
        "required": [
          "type",
          "content"
        ]
      },
      "InAppButtonAction": {
        "type": "object",
        "properties": {
          "type": {
            "description": "The action to perform when the block is tapped.",
            "type": "string",
            "example": "close_form",
            "enum": [
              "close_form",
              "deeplink_to_screen",
              "open_url"
            ]
          },
          "deeplink_url": {
            "description": "The deep link URL to navigate to on both platforms. Required when type is deeplink_to_screen, unless separate iOS and Android links are used.",
            "type": "string",
            "example": "myapp://screen/welcome"
          },
          "deeplink_url_ios": {
            "description": "The deep link URL to navigate to on iOS when separate iOS and Android links are used.",
            "type": "string",
            "example": "myapp://ios/screen/welcome"
          },
          "deeplink_url_android": {
            "description": "The deep link URL to navigate to on Android when separate iOS and Android links are used.",
            "type": "string",
            "example": "myapp://android/screen/welcome"
          },
          "use_separate_deeplink_urls": {
            "description": "Whether to use separate iOS and Android deep links instead of deeplink_url. If null, separate links are used when either platform link is set.",
            "type": "boolean",
            "example": true
          },
          "web_url": {
            "description": "External destination for open_url. Supports http, https, mailto, tel, and sms.",
            "type": "string",
            "example": "https://example.com"
          },
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          }
        },
        "required": [
          "type"
        ]
      },
      "InAppImageBlock": {
        "type": "object",
        "properties": {
          "type": {
            "description": "The block type. Must be image.",
            "type": "string",
            "example": "image",
            "enum": [
              "image"
            ]
          },
          "image": {
            "description": "The image asset. Provide 'src' for a URL or 'asset_id' for a Klaviyo image library asset.",
            "$ref": "#/components/schemas/ImageAssetProperties"
          },
          "styles": {
            "description": "Optional styling for the image block.",
            "$ref": "#/components/schemas/ImageStyles"
          },
          "action": {
            "description": "Optional action when the image is tapped.",
            "$ref": "#/components/schemas/InAppButtonAction"
          },
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          }
        },
        "required": [
          "type"
        ]
      },
      "InAppButtonBlockStyles": {
        "type": "object",
        "properties": {
          "background_color": {
            "description": "Background color of the block in hex or rgba format.",
            "type": "string",
            "example": "#FFFFFF"
          },
          "padding": {
            "description": "Spacing around the button within its block, in pixels by edge.",
            "$ref": "#/components/schemas/Padding"
          },
          "inner_padding": {
            "description": "Padding inside the button, in pixels by edge. When provided, height is automatic.",
            "$ref": "#/components/schemas/Padding"
          },
          "text_styles": {
            "description": "Text styling for the button label.",
            "$ref": "#/components/schemas/TextStyle"
          },
          "color": {
            "description": "Background color of the button itself in hex or rgba format.",
            "type": "string",
            "example": "#000000"
          },
          "height": {
            "description": "Height of the button in pixels, or auto to fit its content.",
            "example": 50,
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "enum": [
                  "auto"
                ],
                "type": "string"
              }
            ]
          },
          "width": {
            "description": "Whether the button fills its container or fits its label.",
            "type": "string",
            "example": "fill",
            "enum": [
              "fill",
              "fit"
            ]
          },
          "border_styles": {
            "description": "Border and corner radius of the button.",
            "$ref": "#/components/schemas/BorderStyle"
          },
          "alignment": {
            "description": "Horizontal alignment of the button.",
            "type": "string",
            "enum": [
              "center",
              "left",
              "right"
            ]
          },
          "drop_shadow": {
            "description": "Drop shadow configuration for the button.",
            "$ref": "#/components/schemas/ButtonDropShadowStyles"
          }
        }
      },
      "InAppButtonBlock": {
        "type": "object",
        "properties": {
          "type": {
            "description": "The block type. Must be button.",
            "type": "string",
            "example": "button",
            "enum": [
              "button"
            ]
          },
          "label": {
            "description": "The text label displayed on the button.",
            "type": "string",
            "example": "Continue"
          },
          "action": {
            "description": "The action to perform when the button is clicked.",
            "$ref": "#/components/schemas/InAppButtonAction"
          },
          "styles": {
            "description": "Optional styling for the button block.",
            "$ref": "#/components/schemas/InAppButtonBlockStyles"
          },
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          }
        },
        "required": [
          "type",
          "label",
          "action"
        ]
      },
      "InAppCouponBlock": {
        "type": "object",
        "properties": {
          "type": {
            "description": "The block type. Must be coupon.",
            "type": "string",
            "enum": [
              "coupon"
            ]
          },
          "coupon": {
            "description": "The static coupon code.",
            "$ref": "#/components/schemas/StaticCouponConfig"
          },
          "success_message": {
            "description": "Message displayed after copying the code.",
            "type": "string"
          },
          "styles": {
            "description": "Styling for the coupon block.",
            "$ref": "#/components/schemas/CouponStyles"
          },
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          }
        },
        "required": [
          "type",
          "coupon"
        ]
      },
      "InAppCountdownTimerBlock": {
        "type": "object",
        "properties": {
          "type": {
            "description": "The block type. Must be countdown_timer.",
            "type": "string",
            "enum": [
              "countdown_timer"
            ]
          },
          "configuration": {
            "description": "The timer's fixed end time or duration.",
            "oneOf": [
              {
                "$ref": "#/components/schemas/FixedTimerConfiguration"
              },
              {
                "$ref": "#/components/schemas/VariableTimerConfiguration"
              }
            ]
          },
          "clock_face": {
            "description": "The clock face style.",
            "type": "string",
            "example": "simple",
            "default": "simple",
            "enum": [
              "flip",
              "simple"
            ]
          },
          "animation": {
            "description": "The timer animation, or null for no animation.",
            "type": "string",
            "example": "heartbeat",
            "default": "heartbeat",
            "enum": [
              "flash",
              "heartbeat",
              "pulse"
            ]
          },
          "label_format": {
            "description": "The format of the timer's unit labels.",
            "type": "string",
            "enum": [
              "double_char",
              "full",
              "shortened",
              "single_char"
            ]
          },
          "styles": {
            "description": "Styling for the countdown timer.",
            "$ref": "#/components/schemas/CountdownTimerStyles"
          },
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          }
        },
        "required": [
          "type"
        ]
      },
      "InAppReviewBlock": {
        "type": "object",
        "properties": {
          "type": {
            "description": "The block type. Must be review.",
            "type": "string",
            "enum": [
              "review"
            ]
          },
          "properties": {
            "description": "Review snapshot and display options. The review ID is metadata, not a lookup.",
            "$ref": "#/components/schemas/ReviewProperties"
          },
          "styles": {
            "description": "Styling for the review block.",
            "$ref": "#/components/schemas/ReviewStyles"
          },
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          }
        },
        "required": [
          "type",
          "properties"
        ]
      },
      "InAppCustomHTMLBlock": {
        "type": "object",
        "properties": {
          "type": {
            "description": "The block type. Must be custom_html.",
            "type": "string",
            "enum": [
              "custom_html"
            ]
          },
          "content": {
            "description": "The block's HTML content.",
            "type": "string"
          },
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          }
        },
        "required": [
          "type",
          "content"
        ]
      },
      "InAppRow": {
        "type": "object",
        "properties": {
          "blocks": {
            "description": "The content blocks in this row, rendered side by side.",
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/InAppTextBlock"
                },
                {
                  "$ref": "#/components/schemas/InAppImageBlock"
                },
                {
                  "$ref": "#/components/schemas/InAppButtonBlock"
                },
                {
                  "$ref": "#/components/schemas/InAppCouponBlock"
                },
                {
                  "$ref": "#/components/schemas/InAppCountdownTimerBlock"
                },
                {
                  "$ref": "#/components/schemas/InAppReviewBlock"
                },
                {
                  "$ref": "#/components/schemas/InAppCustomHTMLBlock"
                }
              ]
            }
          },
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          }
        },
        "required": [
          "blocks"
        ]
      },
      "InAppColumn": {
        "type": "object",
        "properties": {
          "rows": {
            "description": "The rows in this column, rendered top to bottom.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InAppRow"
            }
          },
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          }
        },
        "required": [
          "rows"
        ]
      },
      "InAppStep": {
        "type": "object",
        "properties": {
          "columns": {
            "description": "The columns in this step.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InAppColumn"
            }
          },
          "id": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "name": {
            "description": "Not allowed on create.",
            "type": "string"
          }
        },
        "required": [
          "columns"
        ]
      },
      "InAppFormStyles": {
        "type": "object",
        "properties": {
          "width": {
            "description": "Width preset for the form. Full width is only supported for flyouts.",
            "type": "string",
            "enum": [
              "custom",
              "full",
              "large",
              "medium",
              "small"
            ]
          },
          "custom_width": {
            "description": "Width in pixels, required when width is custom.",
            "type": "integer"
          },
          "minimum_height": {
            "description": "Minimum height of the form in pixels.",
            "type": "integer",
            "example": 400
          },
          "background_color": {
            "description": "Background color of the form in hex or rgba format.",
            "type": "string",
            "example": "#FFFFFF"
          },
          "background_image": {
            "description": "Background image asset and layout styles for the form.",
            "$ref": "#/components/schemas/BackgroundImage"
          },
          "overlay_color": {
            "description": "Color of the overlay behind the form in rgba format.",
            "type": "string",
            "example": "rgba(20,20,20,0.6)"
          },
          "drop_shadow": {
            "description": "Drop shadow configuration for the form container.",
            "$ref": "#/components/schemas/DropShadow"
          },
          "border_styles": {
            "description": "Border and corner radius of the form container.",
            "$ref": "#/components/schemas/BorderStyle"
          },
          "padding": {
            "description": "Inner padding of the form in pixels, by edge.",
            "$ref": "#/components/schemas/Padding"
          },
          "margin": {
            "description": "Outer margin of the form in pixels, by edge.",
            "$ref": "#/components/schemas/Margin"
          },
          "close_button": {
            "description": "Styling for the form's close button.",
            "$ref": "#/components/schemas/CloseButtonStyle"
          },
          "custom_css": {
            "description": "Custom CSS for the form.",
            "$ref": "#/components/schemas/CustomCss"
          }
        }
      },
      "InAppFormVersion": {
        "type": "object",
        "properties": {
          "form_type": {
            "description": "The visual layout type for the In-App form.",
            "type": "string",
            "example": "popup",
            "enum": [
              "flyout",
              "fullscreen",
              "popup"
            ]
          },
          "triggers": {
            "description": "Configuration for when and how often to display the form.",
            "$ref": "#/components/schemas/InAppTriggers"
          },
          "steps": {
            "description": "The steps in this version.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InAppStep"
            }
          },
          "location": {
            "description": "Screen position, required for flyouts and omitted for other layouts.",
            "type": "string",
            "enum": [
              "bottom_center",
              "top_center"
            ]
          },
          "targeting": {
            "description": "Optional audience targeting for this version. Omit to show the form to all mobile app profiles.",
            "$ref": "#/components/schemas/ListsAndSegmentsProperties"
          },
          "styles": {
            "description": "Optional visual styling for the form container. If omitted, defaults are applied.",
            "$ref": "#/components/schemas/InAppFormStyles"
          },
          "ab_test": {
            "description": "Whether this version is part of an A/B test.",
            "type": "boolean",
            "default": false
          },
          "name": {
            "description": "Not allowed on create.",
            "type": "string"
          },
          "id": {
            "description": "Not allowed on create.",
            "type": "integer"
          },
          "status": {
            "description": "Not allowed on create.",
            "type": "string",
            "example": "draft",
            "default": "draft",
            "enum": [
              "draft",
              "live"
            ]
          }
        },
        "required": [
          "form_type",
          "triggers",
          "steps"
        ]
      },
      "InAppFormDefinition": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "in-app"
            ]
          },
          "versions": {
            "description": "The form's versions.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InAppFormVersion"
            }
          }
        },
        "required": [
          "type",
          "versions"
        ]
      },
      "FormEnum": {
        "type": "string",
        "enum": [
          "form"
        ]
      },
      "PolymorphicFormPartialUpdateQueryResourceObject": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/FormEnum"
          },
          "id": {
            "description": "The ID of the form.",
            "type": "string",
            "example": "Y6nRLr"
          },
          "attributes": {
            "type": "object",
            "properties": {
              "definition": {
                "description": "The complete form definition, which replaces the editable definition. Its type and version IDs cannot change. This field cannot be null.",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/WebFormDefinition"
                  },
                  {
                    "$ref": "#/components/schemas/InAppFormDefinition"
                  }
                ]
              },
              "name": {
                "description": "The name of the form. This field cannot be null.",
                "type": "string",
                "example": "Cyber Monday Deals"
              }
            }
          }
        },
        "required": [
          "type",
          "id",
          "attributes"
        ]
      },
      "PolymorphicFormPartialUpdateQuery": {
        "type": "object",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PolymorphicFormPartialUpdateQueryResourceObject"
          }
        },
        "required": [
          "data"
        ]
      },
      "PatchPolymorphicFormResponse": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "type": {
                "$ref": "#/components/schemas/FormEnum"
              },
              "id": {
                "description": "The form's unique identifier.",
                "type": "string"
              },
              "attributes": {
                "type": "object",
                "properties": {
                  "status": {
                    "description": "The form's status.",
                    "type": "string",
                    "enum": [
                      "draft",
                      "live"
                    ]
                  },
                  "ab_test": {
                    "description": "Whether the form has an A/B test configured.",
                    "type": "boolean"
                  },
                  "name": {
                    "description": "The form's name.",
                    "type": "string"
                  },
                  "created_at": {
                    "description": "The form's creation timestamp.",
                    "type": "string",
                    "format": "date-time",
                    "example": "2022-11-08T00:00:00+00:00"
                  },
                  "updated_at": {
                    "description": "The form's last update timestamp.",
                    "type": "string",
                    "format": "date-time",
                    "example": "2022-11-08T00:00:00+00:00"
                  },
                  "definition": {
                    "description": "The form's definition.",
                    "oneOf": [
                      {
                        "$ref": "#/components/schemas/WebFormDefinition"
                      },
                      {
                        "$ref": "#/components/schemas/InAppFormDefinition"
                      }
                    ]
                  }
                },
                "required": [
                  "status",
                  "ab_test",
                  "name",
                  "created_at",
                  "updated_at",
                  "definition"
                ]
              },
              "links": {
                "$ref": "#/components/schemas/ObjectLinks"
              }
            },
            "required": [
              "type",
              "id",
              "attributes",
              "links"
            ]
          },
          "links": {
            "$ref": "#/components/schemas/ObjectLinks"
          },
          "meta": {
            "$ref": "#/components/schemas/ResponseMeta"
          }
        },
        "required": [
          "data"
        ]
      },
      "ObjectLinks": {
        "type": "object",
        "properties": {
          "self": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "self"
        ]
      },
      "AgentHints": {
        "description": "Optional hints emitted by the API for agent callers",
        "type": "object",
        "properties": {
          "next_steps": {
            "description": "Suggested follow-up actions for agents to take after this response",
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "ResponseMeta": {
        "description": "Response-level metadata",
        "type": "object",
        "properties": {
          "agent_hints": {
            "$ref": "#/components/schemas/AgentHints"
          }
        }
      }
    },
    "responses": {
      "ClientError": {
        "description": "Client Error",
        "content": {
          "application/vnd.api+json": {
            "schema": {
              "type": "object",
              "properties": {
                "errors": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "code",
                      "title",
                      "detail"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "code": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "detail": {
                        "type": "string"
                      },
                      "source": {
                        "type": "object",
                        "properties": {
                          "pointer": {
                            "type": "string"
                          },
                          "parameter": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              },
              "required": [
                "errors"
              ]
            }
          }
        }
      },
      "ServerError": {
        "description": "Server Error",
        "content": {
          "application/vnd.api+json": {
            "schema": {
              "type": "object",
              "properties": {
                "errors": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "code",
                      "title",
                      "detail"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "code": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "detail": {
                        "type": "string"
                      },
                      "source": {
                        "type": "object",
                        "properties": {
                          "pointer": {
                            "type": "string"
                          },
                          "parameter": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              },
              "required": [
                "errors"
              ]
            }
          }
        }
      }
    },
    "securitySchemes": {
      "Klaviyo-API-Key": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "description": "Private key authentication for /api/ endpoints is performed by setting the `Authorization` header to `Klaviyo-API-Key your-private-api-key`<br>For more information please visit https://developers.klaviyo.com/en/v2026-10-15.pre/reference/api-overview#authentication",
        "x-default": "Klaviyo-API-Key your-private-api-key"
      }
    }
  },
  "tags": [
    {
      "name": "Forms"
    }
  ],
  "security": [
    {
      "Klaviyo-API-Key": []
    }
  ],
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": true,
    "samples-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 106,
      "1": 208,
      "2": 207,
      "3": 147,
      "4": 3,
      "5": 70,
      "6": 167,
      "7": 155,
      "8": 112,
      "9": 66,
      "10": 167,
      "11": 110
    }
  }
}
```