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