{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/uipath/refs/heads/main/json-schema/data-service-order-by-clause-schema.json",
  "title": "OrderByClause",
  "description": "Sort specification for query results",
  "type": "object",
  "required": [
    "fieldName"
  ],
  "properties": {
    "fieldName": {
      "type": "string",
      "description": "Name of the field to sort by",
      "example": "Example Name"
    },
    "descending": {
      "type": "boolean",
      "default": false,
      "description": "Whether to sort in descending order",
      "example": true
    }
  }
}