Klaviyo · Schema

BackInStockEmailConsentCheckboxProperties

MarketingEmailSMSCustomer DataEcommerceAutomation

Properties

Name Type Description
display_device array
classname string
label string
show_label boolean
error_messages object
required boolean
property_name string
checkbox_text string
placeholder object
View JSON Schema on GitHub

JSON Schema

klaviyo-backinstockemailconsentcheckboxproperties-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BackInStockEmailConsentCheckboxProperties",
  "title": "BackInStockEmailConsentCheckboxProperties",
  "type": "object",
  "properties": {
    "display_device": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "both",
          "desktop",
          "mobile"
        ],
        "description": "Enumeration for mobile and desktop."
      }
    },
    "classname": {
      "type": "string",
      "nullable": true
    },
    "label": {
      "type": "string",
      "nullable": true
    },
    "show_label": {
      "type": "boolean",
      "default": false
    },
    "error_messages": {
      "$ref": "#/components/schemas/ErrorMessages",
      "nullable": true
    },
    "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"
  ]
}