{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ParsedJqlQuery",
  "title": "ParsedJqlQuery",
  "additionalProperties": false,
  "description": "Details of a parsed JQL query.",
  "minLength": 1,
  "properties": {
    "errors": {
      "description": "The list of syntax or validation errors.",
      "items": {
        "type": "string"
      },
      "type": "array",
      "uniqueItems": true
    },
    "query": {
      "description": "The JQL query that was parsed and validated.",
      "type": "string"
    },
    "structure": {
      "allOf": [
        {
          "$ref": "#/components/schemas/JqlQuery"
        }
      ],
      "description": "The syntax tree of the query. Empty if the query was invalid."
    }
  },
  "required": [
    "query"
  ],
  "type": "object"
}