HubSpot · Schema

SortOption

A sort option for ordering results

AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

Properties

Name Type Description
propertyName string The property to sort by
direction string The sort direction
View JSON Schema on GitHub

JSON Schema

hubspot-commerce-payments-sort-option-schema.json Raw ↑
{
  "type": "object",
  "description": "A sort option for ordering results",
  "properties": {
    "propertyName": {
      "type": "string",
      "description": "The property to sort by",
      "example": "Example Record"
    },
    "direction": {
      "type": "string",
      "description": "The sort direction",
      "example": "ASCENDING",
      "enum": [
        "ASCENDING",
        "DESCENDING"
      ]
    }
  },
  "required": [
    "propertyName",
    "direction"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "SortOption"
}