Klaviyo · Schema

GetTemplateDndResponseCollection

MarketingEmailSMSCustomer DataEcommerceAutomation

Properties

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

JSON Schema

klaviyo-gettemplatedndresponsecollection-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GetTemplateDndResponseCollection",
  "title": "GetTemplateDndResponseCollection",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "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/CollectionLinks"
    }
  },
  "required": [
    "data"
  ]
}