HubSpot · JSON Structure

Engagement Notes 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/meta/core/v0/# meta-schema.

Properties

propertyName operator value values highValue

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-structure/engagement-notes-filter-structure.json",
  "name": "Filter",
  "description": "A single search filter",
  "type": "object",
  "properties": {
    "propertyName": {
      "type": "string",
      "description": "The property to filter on",
      "example": "hubspot_owner_id"
    },
    "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"
      ],
      "example": "EQ"
    },
    "value": {
      "type": "string",
      "description": "The value to filter by",
      "example": "12345"
    },
    "values": {
      "type": "array",
      "description": "Values for IN/NOT_IN operators",
      "items": {
        "type": "string"
      },
      "example": [
        "example-value"
      ]
    },
    "highValue": {
      "type": "string",
      "description": "High value for BETWEEN operator",
      "example": "example-value"
    }
  },
  "required": [
    "propertyName",
    "operator"
  ]
}