{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "SearchRequest",
  "type": "object",
  "description": "Request body for JQL search via POST.",
  "properties": {
    "jql": {
      "type": "string",
      "description": "The JQL query string."
    },
    "startAt": {
      "type": "integer",
      "description": "The index of the first item to return (page offset)."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of items to return per page."
    },
    "validateQuery": {
      "type": "string",
      "description": "Whether to validate the JQL query. Accepted values: strict, warn, none."
    },
    "fields": {
      "type": "array",
      "description": "Fields to return for each issue."
    },
    "expand": {
      "type": "string",
      "description": "Expand options for additional information."
    },
    "properties": {
      "type": "array",
      "description": "Issue properties to return."
    },
    "fieldsByKeys": {
      "type": "boolean",
      "description": "Whether to reference fields by keys rather than IDs."
    }
  }
}