HubSpot · JSON Structure

Engagement Notes Sort Option Structure

Sort option for search results

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

SortOption is a JSON Structure definition published by HubSpot, describing 2 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

propertyName direction

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-sort-option-structure.json",
  "name": "SortOption",
  "description": "Sort option for search results",
  "type": "object",
  "properties": {
    "propertyName": {
      "type": "string",
      "description": "The property to sort by",
      "example": "hs_timestamp"
    },
    "direction": {
      "type": "string",
      "enum": [
        "ASCENDING",
        "DESCENDING"
      ],
      "description": "Sort direction",
      "default": "DESCENDING",
      "example": "DESCENDING"
    }
  },
  "required": [
    "propertyName"
  ]
}