HubSpot · JSON Structure

Hubspot Engagement Calls Filter Structure

A single search filter

Type: object Properties: 5 Required: 2
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

Filter is a JSON Structure definition published by HubSpot, describing 5 properties, of which 2 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

propertyName operator value values highValue

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "A single search filter",
  "name": "Filter",
  "properties": {
    "propertyName": {
      "type": "string",
      "description": "The property to filter on"
    },
    "operator": {
      "type": "string",
      "description": "The filter operator",
      "enum": [
        "EQ",
        "NEQ",
        "LT",
        "LTE",
        "GT",
        "GTE",
        "BETWEEN",
        "IN",
        "NOT_IN",
        "HAS_PROPERTY",
        "NOT_HAS_PROPERTY",
        "CONTAINS_TOKEN",
        "NOT_CONTAINS_TOKEN"
      ]
    },
    "value": {
      "type": "string",
      "description": "The value to filter by"
    },
    "values": {
      "type": "array",
      "description": "Values for IN/NOT_IN operators",
      "items": {
        "type": "string"
      }
    },
    "highValue": {
      "type": "string",
      "description": "High value for BETWEEN operator"
    }
  },
  "required": [
    "propertyName",
    "operator"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}