Klaviyo · Schema

InTheLastBaseRelativeDateFilter

MarketingEmailSMSCustomer DataEcommerceAutomation

Properties

Name Type Description
type string
operator string
unit string Units for relative date filters.
quantity integer
View JSON Schema on GitHub

JSON Schema

klaviyo-inthelastbaserelativedatefilter-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/InTheLastBaseRelativeDateFilter",
  "title": "InTheLastBaseRelativeDateFilter",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "date"
      ]
    },
    "operator": {
      "type": "string",
      "enum": [
        "in-the-last"
      ]
    },
    "unit": {
      "description": "Units for relative date filters.",
      "type": "string",
      "enum": [
        "day",
        "hour",
        "week"
      ]
    },
    "quantity": {
      "type": "integer"
    }
  },
  "required": [
    "type",
    "operator",
    "unit",
    "quantity"
  ]
}