Klaviyo · Schema

GetTemplateDndResponse

MarketingEmailSMSCustomer DataEcommerceAutomation

Properties

Name Type Description
data object
links object
View JSON Schema on GitHub

JSON Schema

klaviyo-gettemplatedndresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GetTemplateDndResponse",
  "title": "GetTemplateDndResponse",
  "type": "object",
  "properties": {
    "data": {
      "allOf": [
        {
          "properties": {
            "type": {
              "$ref": "#/components/schemas/TemplateEnum"
            },
            "attributes": {
              "properties": {
                "definition": {
                  "description": "Template definition for SYSTEM_DRAGGABLE templates. Omitted for CODE/USER_DRAGGABLE. Use additional-fields[template]=definition to include in list responses.",
                  "$ref": "#/components/schemas/TemplateDefinition",
                  "nullable": true
                }
              }
            }
          }
        },
        {
          "$ref": "#/components/schemas/TemplateDndResponseObjectResource"
        }
      ]
    },
    "links": {
      "$ref": "#/components/schemas/ObjectLinks"
    }
  },
  "required": [
    "data"
  ]
}