{
  "id": "ComplexQuery",
  "properties": {
    "type": {
      "type": "string",
      "format": "complex",
      "default": "complex",
      "description": "The type is used to recognize the query type."
    },
    "operator": {
      "type": "string",
      "format": "(AND|OR|NOT)",
      "required": true,
      "description": "Can be 'AND', 'OR' or 'NOT'."
    },
    "query_list": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "required": true,
      "default": [],
      "description": "query_list is a list of queries which can be in serialized format of in object format."
    }
  }
}