Klaviyo · Schema

NumericOperatorNumericFilter

MarketingEmailSMSCustomer DataEcommerceAutomation

Properties

Name Type Description
type string
operator string Operators for numeric filters.
value object
View JSON Schema on GitHub

JSON Schema

klaviyo-numericoperatornumericfilter-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/NumericOperatorNumericFilter",
  "title": "NumericOperatorNumericFilter",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "numeric"
      ]
    },
    "operator": {
      "description": "Operators for numeric filters.",
      "type": "string",
      "enum": [
        "equals",
        "greater-than",
        "greater-than-or-equal",
        "less-than",
        "less-than-or-equal",
        "not-equals"
      ]
    },
    "value": {
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "number"
        }
      ]
    }
  },
  "required": [
    "type",
    "operator",
    "value"
  ]
}