Klaviyo · Schema

TextProperties

MarketingEmailSMSCustomer DataEcommerceAutomation

Properties

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

JSON Schema

klaviyo-textproperties-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TextProperties",
  "title": "TextProperties",
  "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
    },
    "property_name": {
      "type": "string"
    },
    "label": {
      "type": "string",
      "nullable": true
    },
    "show_label": {
      "type": "boolean",
      "default": false
    },
    "placeholder": {
      "type": "string",
      "nullable": true
    },
    "required": {
      "type": "boolean",
      "default": false,
      "nullable": true
    },
    "error_messages": {
      "$ref": "#/components/schemas/ErrorMessages",
      "nullable": true
    }
  },
  "required": [
    "property_name"
  ]
}