{
  "openapi": "3.1.0",
  "info": {
    "title": "18дел API",
    "description": "REST API с Bearer-токенами. Все действия MCP, включая управление правами. Поиск и статистика ограничены 2000 задачами. Токен принадлежит одному пространству.",
    "version": "1.0.0"
  },
  "paths": {
    "/api/v1/me": {
      "get": {
        "tags": [
          "Авторизация"
        ],
        "summary": "Me",
        "operationId": "me_api_v1_me_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "401": {
            "description": "Токен отсутствует, недействителен или отозван"
          },
          "403": {
            "description": "Недостаточно прав"
          },
          "404": {
            "description": "Объект недоступен в пространстве владельца"
          },
          "409": {
            "description": "Конфликт версии задачи"
          },
          "422": {
            "description": "Некорректные данные"
          },
          "503": {
            "description": "Сервис статистики временно недоступен"
          }
        },
        "security": [
          {
            "PersonalToken": []
          }
        ]
      }
    },
    "/api/v1/queues": {
      "get": {
        "tags": [
          "Очереди"
        ],
        "summary": "List Queues",
        "operationId": "list_queues_api_v1_queues_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "401": {
            "description": "Токен отсутствует, недействителен или отозван"
          },
          "403": {
            "description": "Недостаточно прав"
          },
          "404": {
            "description": "Объект недоступен в пространстве владельца"
          },
          "409": {
            "description": "Конфликт версии задачи"
          },
          "422": {
            "description": "Некорректные данные"
          },
          "503": {
            "description": "Сервис статистики временно недоступен"
          }
        },
        "security": [
          {
            "PersonalToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Очереди"
        ],
        "summary": "Create Queue",
        "operationId": "create_queue_api_v1_queues_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Queue"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "401": {
            "description": "Токен отсутствует, недействителен или отозван"
          },
          "403": {
            "description": "Недостаточно прав"
          },
          "404": {
            "description": "Объект недоступен в пространстве владельца"
          },
          "409": {
            "description": "Конфликт версии задачи"
          },
          "422": {
            "description": "Некорректные данные"
          },
          "503": {
            "description": "Сервис статистики временно недоступен"
          }
        },
        "security": [
          {
            "PersonalToken": []
          }
        ]
      }
    },
    "/api/v1/statuses": {
      "get": {
        "tags": [
          "Очереди"
        ],
        "summary": "List Statuses",
        "operationId": "list_statuses_api_v1_statuses_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "401": {
            "description": "Токен отсутствует, недействителен или отозван"
          },
          "403": {
            "description": "Недостаточно прав"
          },
          "404": {
            "description": "Объект недоступен в пространстве владельца"
          },
          "409": {
            "description": "Конфликт версии задачи"
          },
          "422": {
            "description": "Некорректные данные"
          },
          "503": {
            "description": "Сервис статистики временно недоступен"
          }
        },
        "security": [
          {
            "PersonalToken": []
          }
        ]
      }
    },
    "/api/v1/users": {
      "get": {
        "tags": [
          "Команда"
        ],
        "summary": "List Users",
        "operationId": "list_users_api_v1_users_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "401": {
            "description": "Токен отсутствует, недействителен или отозван"
          },
          "403": {
            "description": "Недостаточно прав"
          },
          "404": {
            "description": "Объект недоступен в пространстве владельца"
          },
          "409": {
            "description": "Конфликт версии задачи"
          },
          "422": {
            "description": "Некорректные данные"
          },
          "503": {
            "description": "Сервис статистики временно недоступен"
          }
        },
        "security": [
          {
            "PersonalToken": []
          }
        ]
      }
    },
    "/api/v1/issues/search": {
      "post": {
        "tags": [
          "Задачи"
        ],
        "summary": "Search Issues",
        "operationId": "search_issues_api_v1_issues_search_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Filters"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "401": {
            "description": "Токен отсутствует, недействителен или отозван"
          },
          "403": {
            "description": "Недостаточно прав"
          },
          "404": {
            "description": "Объект недоступен в пространстве владельца"
          },
          "409": {
            "description": "Конфликт версии задачи"
          },
          "422": {
            "description": "Некорректные данные"
          },
          "503": {
            "description": "Сервис статистики временно недоступен"
          }
        },
        "security": [
          {
            "PersonalToken": []
          }
        ]
      }
    },
    "/api/v1/issues/{key}": {
      "get": {
        "tags": [
          "Задачи"
        ],
        "summary": "Get Issue",
        "operationId": "get_issue_api_v1_issues__key__get",
        "security": [
          {
            "PersonalToken": []
          }
        ],
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Key"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "401": {
            "description": "Токен отсутствует, недействителен или отозван"
          },
          "403": {
            "description": "Недостаточно прав"
          },
          "404": {
            "description": "Объект недоступен в пространстве владельца"
          },
          "409": {
            "description": "Конфликт версии задачи"
          },
          "422": {
            "description": "Некорректные данные"
          },
          "503": {
            "description": "Сервис статистики временно недоступен"
          }
        }
      },
      "patch": {
        "tags": [
          "Задачи"
        ],
        "summary": "Update Issue",
        "operationId": "update_issue_api_v1_issues__key__patch",
        "security": [
          {
            "PersonalToken": []
          }
        ],
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Key"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IssueUpdate"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "401": {
            "description": "Токен отсутствует, недействителен или отозван"
          },
          "403": {
            "description": "Недостаточно прав"
          },
          "404": {
            "description": "Объект недоступен в пространстве владельца"
          },
          "409": {
            "description": "Конфликт версии задачи"
          },
          "422": {
            "description": "Некорректные данные"
          },
          "503": {
            "description": "Сервис статистики временно недоступен"
          }
        }
      }
    },
    "/api/v1/issues": {
      "post": {
        "tags": [
          "Задачи"
        ],
        "summary": "Create Issue",
        "operationId": "create_issue_api_v1_issues_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IssueCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "401": {
            "description": "Токен отсутствует, недействителен или отозван"
          },
          "403": {
            "description": "Недостаточно прав"
          },
          "404": {
            "description": "Объект недоступен в пространстве владельца"
          },
          "409": {
            "description": "Конфликт версии задачи"
          },
          "422": {
            "description": "Некорректные данные"
          },
          "503": {
            "description": "Сервис статистики временно недоступен"
          }
        },
        "security": [
          {
            "PersonalToken": []
          }
        ]
      }
    },
    "/api/v1/issues/{key}/comments": {
      "post": {
        "tags": [
          "Задачи"
        ],
        "summary": "Add Comment",
        "operationId": "add_comment_api_v1_issues__key__comments_post",
        "security": [
          {
            "PersonalToken": []
          }
        ],
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Key"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Comment"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "401": {
            "description": "Токен отсутствует, недействителен или отозван"
          },
          "403": {
            "description": "Недостаточно прав"
          },
          "404": {
            "description": "Объект недоступен в пространстве владельца"
          },
          "409": {
            "description": "Конфликт версии задачи"
          },
          "422": {
            "description": "Некорректные данные"
          },
          "503": {
            "description": "Сервис статистики временно недоступен"
          }
        }
      }
    },
    "/api/v1/issues/{key}/worklogs": {
      "post": {
        "tags": [
          "Задачи"
        ],
        "summary": "Log Time",
        "operationId": "log_time_api_v1_issues__key__worklogs_post",
        "security": [
          {
            "PersonalToken": []
          }
        ],
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Key"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Worklog"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "401": {
            "description": "Токен отсутствует, недействителен или отозван"
          },
          "403": {
            "description": "Недостаточно прав"
          },
          "404": {
            "description": "Объект недоступен в пространстве владельца"
          },
          "409": {
            "description": "Конфликт версии задачи"
          },
          "422": {
            "description": "Некорректные данные"
          },
          "503": {
            "description": "Сервис статистики временно недоступен"
          }
        }
      }
    },
    "/api/v1/statistics": {
      "post": {
        "tags": [
          "Статистика"
        ],
        "summary": "Queue Statistics",
        "operationId": "queue_statistics_api_v1_statistics_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Filters"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "401": {
            "description": "Токен отсутствует, недействителен или отозван"
          },
          "403": {
            "description": "Недостаточно прав"
          },
          "404": {
            "description": "Объект недоступен в пространстве владельца"
          },
          "409": {
            "description": "Конфликт версии задачи"
          },
          "422": {
            "description": "Некорректные данные"
          },
          "503": {
            "description": "Сервис статистики временно недоступен"
          }
        },
        "security": [
          {
            "PersonalToken": []
          }
        ]
      }
    },
    "/api/v1/dashboards": {
      "get": {
        "tags": [
          "Дашборды"
        ],
        "summary": "List Dashboards",
        "operationId": "list_dashboards_api_v1_dashboards_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "401": {
            "description": "Токен отсутствует, недействителен или отозван"
          },
          "403": {
            "description": "Недостаточно прав"
          },
          "404": {
            "description": "Объект недоступен в пространстве владельца"
          },
          "409": {
            "description": "Конфликт версии задачи"
          },
          "422": {
            "description": "Некорректные данные"
          },
          "503": {
            "description": "Сервис статистики временно недоступен"
          }
        },
        "security": [
          {
            "PersonalToken": []
          }
        ]
      },
      "post": {
        "tags": [
          "Дашборды"
        ],
        "summary": "Create Dashboard",
        "operationId": "create_dashboard_api_v1_dashboards_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Dashboard"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "401": {
            "description": "Токен отсутствует, недействителен или отозван"
          },
          "403": {
            "description": "Недостаточно прав"
          },
          "404": {
            "description": "Объект недоступен в пространстве владельца"
          },
          "409": {
            "description": "Конфликт версии задачи"
          },
          "422": {
            "description": "Некорректные данные"
          },
          "503": {
            "description": "Сервис статистики временно недоступен"
          }
        },
        "security": [
          {
            "PersonalToken": []
          }
        ]
      }
    },
    "/api/v1/dashboards/{dashboard_id}": {
      "put": {
        "tags": [
          "Дашборды"
        ],
        "summary": "Update Dashboard",
        "operationId": "update_dashboard_api_v1_dashboards__dashboard_id__put",
        "security": [
          {
            "PersonalToken": []
          }
        ],
        "parameters": [
          {
            "name": "dashboard_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "title": "Dashboard Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Dashboard"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "401": {
            "description": "Токен отсутствует, недействителен или отозван"
          },
          "403": {
            "description": "Недостаточно прав"
          },
          "404": {
            "description": "Объект недоступен в пространстве владельца"
          },
          "409": {
            "description": "Конфликт версии задачи"
          },
          "422": {
            "description": "Некорректные данные"
          },
          "503": {
            "description": "Сервис статистики временно недоступен"
          }
        }
      }
    },
    "/api/v1/queues/{queue_id}/permissions": {
      "get": {
        "tags": [
          "Права"
        ],
        "summary": "Permissions",
        "operationId": "permissions_api_v1_queues__queue_id__permissions_get",
        "security": [
          {
            "PersonalToken": []
          }
        ],
        "parameters": [
          {
            "name": "queue_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "title": "Queue Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "401": {
            "description": "Токен отсутствует, недействителен или отозван"
          },
          "403": {
            "description": "Недостаточно прав"
          },
          "404": {
            "description": "Объект недоступен в пространстве владельца"
          },
          "409": {
            "description": "Конфликт версии задачи"
          },
          "422": {
            "description": "Некорректные данные"
          },
          "503": {
            "description": "Сервис статистики временно недоступен"
          }
        }
      }
    },
    "/api/v1/queues/{queue_id}/permissions/{user_id}": {
      "put": {
        "tags": [
          "Права"
        ],
        "summary": "Grant",
        "operationId": "grant_api_v1_queues__queue_id__permissions__user_id__put",
        "security": [
          {
            "PersonalToken": []
          }
        ],
        "parameters": [
          {
            "name": "queue_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "title": "Queue Id"
            }
          },
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "title": "User Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QueuePermission"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "401": {
            "description": "Токен отсутствует, недействителен или отозван"
          },
          "403": {
            "description": "Недостаточно прав"
          },
          "404": {
            "description": "Объект недоступен в пространстве владельца"
          },
          "409": {
            "description": "Конфликт версии задачи"
          },
          "422": {
            "description": "Некорректные данные"
          },
          "503": {
            "description": "Сервис статистики временно недоступен"
          }
        }
      },
      "delete": {
        "tags": [
          "Права"
        ],
        "summary": "Revoke",
        "operationId": "revoke_api_v1_queues__queue_id__permissions__user_id__delete",
        "security": [
          {
            "PersonalToken": []
          }
        ],
        "parameters": [
          {
            "name": "queue_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "title": "Queue Id"
            }
          },
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "title": "User Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "401": {
            "description": "Токен отсутствует, недействителен или отозван"
          },
          "403": {
            "description": "Недостаточно прав"
          },
          "404": {
            "description": "Объект недоступен в пространстве владельца"
          },
          "409": {
            "description": "Конфликт версии задачи"
          },
          "422": {
            "description": "Некорректные данные"
          },
          "503": {
            "description": "Сервис статистики временно недоступен"
          }
        }
      }
    },
    "/api/v1/queues/{queue_id}": {
      "patch": {
        "tags": [
          "Очереди"
        ],
        "summary": "Settings",
        "operationId": "settings_api_v1_queues__queue_id__patch",
        "security": [
          {
            "PersonalToken": []
          }
        ],
        "parameters": [
          {
            "name": "queue_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "title": "Queue Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QueueSettings"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "401": {
            "description": "Токен отсутствует, недействителен или отозван"
          },
          "403": {
            "description": "Недостаточно прав"
          },
          "404": {
            "description": "Объект недоступен в пространстве владельца"
          },
          "409": {
            "description": "Конфликт версии задачи"
          },
          "422": {
            "description": "Некорректные данные"
          },
          "503": {
            "description": "Сервис статистики временно недоступен"
          }
        }
      }
    },
    "/api/v1/users/{user_id}": {
      "patch": {
        "tags": [
          "Команда"
        ],
        "summary": "User Role",
        "operationId": "user_role_api_v1_users__user_id__patch",
        "security": [
          {
            "PersonalToken": []
          }
        ],
        "parameters": [
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "title": "User Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserChanges"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "401": {
            "description": "Токен отсутствует, недействителен или отозван"
          },
          "403": {
            "description": "Недостаточно прав"
          },
          "404": {
            "description": "Объект недоступен в пространстве владельца"
          },
          "409": {
            "description": "Конфликт версии задачи"
          },
          "422": {
            "description": "Некорректные данные"
          },
          "503": {
            "description": "Сервис статистики временно недоступен"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Comment": {
        "properties": {
          "body": {
            "type": "string",
            "maxLength": 50000,
            "minLength": 1,
            "title": "Body"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "body"
        ],
        "title": "Comment"
      },
      "Dashboard": {
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 500,
            "minLength": 1,
            "title": "Name"
          },
          "widgets": {
            "items": {
              "$ref": "#/components/schemas/Widget"
            },
            "type": "array",
            "maxItems": 30,
            "title": "Widgets"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "name",
          "widgets"
        ],
        "title": "Dashboard"
      },
      "Filters": {
        "properties": {
          "search": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Search"
          },
          "queue_ids": {
            "items": {
              "type": "integer",
              "exclusiveMinimum": 0.0
            },
            "type": "array",
            "title": "Queue Ids"
          },
          "status_ids": {
            "items": {
              "type": "integer",
              "exclusiveMinimum": 0.0
            },
            "type": "array",
            "title": "Status Ids"
          },
          "assignee_ids": {
            "items": {
              "type": "integer",
              "exclusiveMinimum": 0.0
            },
            "type": "array",
            "title": "Assignee Ids"
          },
          "mine": {
            "type": "boolean",
            "title": "Mine",
            "default": false
          },
          "priority": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "low",
                  "normal",
                  "high",
                  "critical"
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Priority"
          },
          "category": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "open",
                  "progress",
                  "done"
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Category"
          },
          "overdue": {
            "type": "boolean",
            "title": "Overdue",
            "default": false
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "Filters"
      },
      "IssueCreate": {
        "properties": {
          "assignee_id": {
            "anyOf": [
              {
                "type": "integer",
                "exclusiveMinimum": 0.0
              },
              {
                "type": "null"
              }
            ],
            "title": "Assignee Id"
          },
          "parent_id": {
            "anyOf": [
              {
                "type": "integer",
                "exclusiveMinimum": 0.0
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent Id"
          },
          "priority": {
            "type": "string",
            "enum": [
              "low",
              "normal",
              "high",
              "critical"
            ],
            "title": "Priority",
            "default": "normal"
          },
          "type": {
            "type": "string",
            "title": "Type",
            "default": "task"
          },
          "labels": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Labels"
          },
          "due_date": {
            "anyOf": [
              {
                "type": "string",
                "format": "date"
              },
              {
                "type": "null"
              }
            ],
            "title": "Due Date"
          },
          "estimate_minutes": {
            "type": "integer",
            "minimum": 0.0,
            "title": "Estimate Minutes",
            "default": 0
          },
          "queue_id": {
            "type": "integer",
            "exclusiveMinimum": 0.0,
            "title": "Queue Id"
          },
          "title": {
            "type": "string",
            "maxLength": 500,
            "minLength": 1,
            "title": "Title"
          },
          "description": {
            "type": "string",
            "title": "Description",
            "default": ""
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "queue_id",
          "title"
        ],
        "title": "IssueCreate"
      },
      "IssueUpdate": {
        "properties": {
          "version": {
            "type": "integer",
            "exclusiveMinimum": 0.0,
            "title": "Version"
          },
          "title": {
            "type": "string",
            "maxLength": 500,
            "minLength": 1,
            "title": "Title"
          },
          "description": {
            "type": "string",
            "title": "Description"
          },
          "status_id": {
            "type": "integer",
            "exclusiveMinimum": 0.0,
            "title": "Status Id"
          },
          "position": {
            "type": "number",
            "title": "Position"
          },
          "assignee_id": {
            "anyOf": [
              {
                "type": "integer",
                "exclusiveMinimum": 0.0
              },
              {
                "type": "null"
              }
            ],
            "title": "Assignee Id"
          },
          "parent_id": {
            "anyOf": [
              {
                "type": "integer",
                "exclusiveMinimum": 0.0
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent Id"
          },
          "priority": {
            "type": "string",
            "enum": [
              "low",
              "normal",
              "high",
              "critical"
            ],
            "title": "Priority"
          },
          "type": {
            "type": "string",
            "title": "Type"
          },
          "labels": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Labels"
          },
          "due_date": {
            "anyOf": [
              {
                "type": "string",
                "format": "date"
              },
              {
                "type": "null"
              }
            ],
            "title": "Due Date"
          },
          "estimate_minutes": {
            "type": "integer",
            "minimum": 0.0,
            "title": "Estimate Minutes"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "IssueUpdate"
      },
      "Queue": {
        "properties": {
          "key": {
            "type": "string",
            "maxLength": 12,
            "minLength": 2,
            "title": "Key"
          },
          "name": {
            "type": "string",
            "maxLength": 100,
            "minLength": 1,
            "title": "Name"
          },
          "description": {
            "type": "string",
            "title": "Description",
            "default": ""
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "key",
          "name"
        ],
        "title": "Queue"
      },
      "QueuePermission": {
        "properties": {
          "role": {
            "type": "string",
            "enum": [
              "read-only",
              "read-write",
              "admin"
            ],
            "title": "Role"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "role"
        ],
        "title": "QueuePermission"
      },
      "QueueSettings": {
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 100,
            "minLength": 1,
            "title": "Name"
          },
          "description": {
            "type": "string",
            "title": "Description"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "QueueSettings"
      },
      "UserChanges": {
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 100,
            "minLength": 1,
            "title": "Name"
          },
          "role": {
            "type": "string",
            "enum": [
              "admin",
              "member"
            ],
            "title": "Role"
          },
          "active": {
            "type": "boolean",
            "title": "Active"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "UserChanges"
      },
      "Widget": {
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "stats",
              "issues",
              "statuses",
              "queues",
              "time",
              "assignees"
            ],
            "title": "Type"
          },
          "title": {
            "type": "string",
            "title": "Title",
            "default": ""
          },
          "filters": {
            "$ref": "#/components/schemas/Filters"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "type"
        ],
        "title": "Widget"
      },
      "Worklog": {
        "properties": {
          "minutes": {
            "type": "integer",
            "maximum": 1440.0,
            "minimum": 1.0,
            "title": "Minutes"
          },
          "description": {
            "type": "string",
            "title": "Description",
            "default": ""
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "minutes"
        ],
        "title": "Worklog"
      }
    },
    "securitySchemes": {
      "PersonalToken": {
        "type": "http",
        "description": "Личный токен из Настройки → MCP и API. Доступ только к пространству владельца.",
        "scheme": "bearer"
      }
    }
  },
  "servers": [
    {
      "url": "https://tracker.18d.ru"
    }
  ]
}