{ "type": "object", "description": "A search request for CRM objects.", "properties": { "filterGroups": { "type": "array", "example": [ { "filters": [ {} ] } ], "items": { "type": "object", "description": "A group of filters combined with AND logic.", "properties": { "filters": { "type": "array", "example": [ { "propertyName": "Example Record", "operator": "EQ", "value": "example-value" } ], "items": { "type": "object", "description": "A single filter condition.", "properties": { "propertyName": { "type": "string", "example": "Example Record" }, "operator": { "type": "string", "example": "EQ", "enum": [ "EQ", "NEQ", "LT", "LTE", "GT", "GTE", "BETWEEN", "IN", "NOT_IN", "HAS_PROPERTY", "NOT_HAS_PROPERTY", "CONTAINS_TOKEN", "NOT_CONTAINS_TOKEN" ] }, "value": { "type": "string", "example": "example-value" } } } } } } }, "sorts": { "type": "array", "example": [ { "propertyName": "Example Record", "direction": "ASCENDING" } ], "items": { "type": "object", "properties": { "propertyName": { "type": "string" }, "direction": { "type": "string", "enum": [ "ASCENDING", "DESCENDING" ] } } } }, "query": { "type": "string", "example": "example-value" }, "properties": { "type": "array", "example": [ "example-value" ], "items": { "type": "string" } }, "limit": { "type": "integer", "example": 100 }, "after": { "type": "string", "example": "example-value" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "SearchRequest" }