Загрузка данных
"components": {
"schemas": {
"UpdateResponse": {
"type": "object",
"additionalProperties": false,
"description": "Структура ответа в случае успеха",
"properties": {
"id": {
"type": "string",
"description": "Идентификатор объекта",
"example": "SWTRTST",
"maxLength": 100,
"pattern": "^.{0,100}$"
}
},
"required": [
"id"
],
"example": null
},
"ErrorDTO": {
"type": "object",
"additionalProperties": false,
"description": "Ответ в случае ошибки",
"properties": {
"exceptionUUID": {
"type": "string",
"description": "Exception uuid",
"example": "sCC2UHNchV",
"maxLength": 36,
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
},
"errorDtoObject": {
"type": "object",
"format": "Object",
"additionalProperties": false,
"description": "Exception uuid",
"example": null
},
"errorType": {
"type": "string",
"description": "Error type",
"example": "Error type",
"maxLength": 1000,
"pattern": "^.*$"
},
"stackTrace": {
"type": "string",
"description": "Stack Trace",
"example": "ru.sbt.swtr.track.core.exception.AppRuntimeException: Access denied to url",
"maxLength": 1000,
"pattern": "^.*$"
},
"uiErrorMessage": {
"type": "string",
"description": "Error message",
"example": "any application error",
"maxLength": 1000,
"pattern": "^.*$"
}
},
"required": [
"exceptionUUID",
"uiErrorMessage"
],
"example": null
},
"Id": {
"type": "object",
"additionalProperties": false,
"description": "Id",
"properties": {
"code": {
"type": "string",
"description": "code",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
}
},
"example": null
},
"PositionDto": {
"type": "object",
"additionalProperties": false,
"description": "Позиция",
"properties": {
"x": {
"type": "string",
"description": "Координата X",
"example": 10,
"maxLength": 2147483647,
"pattern": ".*"
},
"y": {
"type": "string",
"description": "Координата Y",
"example": 10,
"maxLength": 2147483647,
"pattern": ".*"
}
},
"required": [
"x",
"y"
],
"example": null
},
"SizeDto": {
"type": "object",
"additionalProperties": false,
"description": "Высота и ширина",
"properties": {
"width": {
"type": "string",
"description": "Ширина",
"example": 256,
"maxLength": 2147483647,
"pattern": ".*"
},
"height": {
"type": "string",
"description": "Высота",
"example": 256,
"maxLength": 2147483647,
"pattern": ".*"
}
},
"required": [
"height",
"width"
],
"example": null
},
"StyleDto": {
"type": "object",
"additionalProperties": false,
"description": "Стили",
"properties": {
"iconColorStatus": {
"type": "string",
"description": "Цвет иконки статуса",
"example": "white",
"maxLength": 2147483647,
"pattern": ".*"
},
"colorByEdsRef": {
"type": "string",
"description": "Цвет иконки статуса для ЕДС",
"example": "white",
"maxLength": 2147483647,
"pattern": ".*"
},
"backgroundColorStatus": {
"type": "string",
"description": "Цвет фона статуса",
"example": "black",
"maxLength": 2147483647,
"pattern": ".*"
}
},
"required": [
"backgroundColorStatus",
"iconColorStatus"
],
"example": null
},
"WfStatusMetadataDto": {
"type": "object",
"additionalProperties": false,
"description": "Метаданные статуса воркфлоу",
"properties": {
"size": {
"$ref": "#/components/schemas/SizeDto",
"additionalProperties": false,
"description": "Высота и ширина",
"required": [
"height",
"width"
],
"example": null
},
"style": {
"$ref": "#/components/schemas/StyleDto",
"additionalProperties": false,
"description": "Стили",
"required": [
"colorSchemeCode"
],
"example": null
},
"position": {
"$ref": "#/components/schemas/PositionDto",
"additionalProperties": false,
"description": "Позиция",
"required": [
"x",
"y"
],
"example": null
}
},
"required": [
"code",
"description",
"name",
"position",
"size",
"style"
],
"example": null
},
"UnitAttributeInfo": {
"type": "object",
"additionalProperties": false,
"description": "Информация об атрибуте задачи",
"properties": {
"code": {
"type": "string",
"description": "Код атрибута",
"example": "external_link",
"maxLength": 100,
"pattern": "^.{0,100}$"
},
"name": {
"type": "string",
"description": "Наименование атрибута",
"example": "Внешние ссылки",
"maxLength": 1024,
"pattern": "^.{0,1024}$"
},
"description": {
"type": "string",
"description": "Описание",
"example": "Таксономия с поиском",
"maxLength": 2147483647,
"pattern": ".*"
},
"type": {
"type": "string",
"description": "Код типа атрибута",
"example": "external_link",
"maxLength": 100,
"pattern": "^.{0,100}$"
}
},
"required": [
"code",
"name",
"type"
],
"example": null
},
"SpaceTypeInfoDto": {
"type": "object",
"additionalProperties": false,
"description": "SpaceTypeInfoDto",
"properties": {
"createdAt": {
"type": "string",
"format": "date-time",
"description": "createdAt",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"code": {
"type": "string",
"description": "code",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"name": {
"type": "string",
"description": "name",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"description": {
"type": "string",
"description": "description",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"description": "updatedAt",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"status": {
"type": "string",
"description": "status",
"enum": [
"ACTIVE",
"INACTIVE"
],
"example": "Пример"
}
},
"required": [
"code",
"createdAt",
"name",
"status",
"updatedAt"
],
"example": null
},
"PageDtoRq": {
"type": "object",
"additionalProperties": false,
"description": "Параметры пагинации",
"properties": {
"size": {
"type": "integer",
"format": "int32",
"description": "Размер страницы",
"example": 10,
"maximum": 2147483647,
"minimum": 1
},
"page": {
"type": "integer",
"format": "int32",
"description": "Номер страницы",
"example": 1,
"maximum": 2147483647,
"minimum": 0
}
},
"example": null
},
"WfActionDto": {
"type": "object",
"additionalProperties": false,
"description": "Справочник действий воркфлоу",
"properties": {
"code": {
"type": "string",
"description": "Код действия",
"example": "initAction",
"maxLength": 50,
"pattern": "^.{0,50}$"
},
"deleted": {
"type": "boolean",
"description": "Флаг удаления действия",
"example": false
},
"name": {
"type": "string",
"description": "Наименование действия",
"example": "APProcess Task Flow 1.0",
"maxLength": 255,
"pattern": "^.{0,255}$"
},
"exists": {
"type": "boolean",
"description": "Флаг существования действия",
"example": false
}
},
"required": [
"code",
"deleted",
"exists",
"name"
],
"example": null
},
"WfStatusDto": {
"type": "object",
"additionalProperties": false,
"description": "Статус воркфлоу",
"properties": {
"code": {
"type": "string",
"description": "Код статуса",
"example": "to_do",
"maxLength": 50,
"pattern": "^.{0,50}$"
},
"deleted": {
"type": "boolean",
"description": "Флаг удаления",
"example": false
},
"statusType": {
"type": "object",
"$ref": "#/components/schemas/WfStatusTypeDto",
"additionalProperties": false,
"description": "Схема вокрфлоу",
"required": [
"code",
"deleted",
"name",
"statusTypeMetadata"
],
"example": null
},
"name": {
"type": "string",
"description": "Наименование статуса",
"example": "В работу",
"maxLength": 255,
"pattern": "^.{0,255}$"
},
"exists": {
"type": "boolean",
"description": "Флаг существования",
"example": false
}
},
"required": [
"code",
"deleted",
"exists",
"name",
"statusType"
],
"example": null
},
"WfStatusTypeDto": {
"type": "object",
"additionalProperties": false,
"description": "Справочник категорий статусов воркфлоу",
"properties": {
"code": {
"type": "string",
"description": "Код категории статуса",
"example": "progress",
"maxLength": 50,
"pattern": "^.{0,50}$"
},
"deleted": {
"type": "boolean",
"description": "Флаг удаления",
"example": false
},
"name": {
"type": "string",
"description": "Наименование категории статуса",
"example": "В работу",
"maxLength": 255,
"pattern": "^.{0,255}$"
},
"statusTypeMetadata": {
"$ref": "#/components/schemas/WfStatusTypeMetadataDto",
"additionalProperties": false,
"description": "Метаданные типа статуса",
"required": [
"style"
],
"example": null
}
},
"required": [
"code",
"deleted",
"name",
"statusTypeMetadata"
],
"example": null
},
"WfStatusTypeMetadataDto": {
"type": "object",
"additionalProperties": false,
"description": "Метаданные типа статуса",
"properties": {
"style": {
"$ref": "#/components/schemas/StyleDto",
"additionalProperties": false,
"description": "Стили",
"required": [
"backgroundColorStatus",
"iconColorStatus"
],
"example": null
}
},
"required": [
"style"
],
"example": null
},
"WfTransitionDto": {
"type": "object",
"additionalProperties": false,
"description": "Транзит вокрфлоу",
"properties": {
"oldStatus": {
"$ref": "#/components/schemas/WfStatusDto",
"additionalProperties": false,
"description": "Старый статус",
"required": [
"code",
"deleted",
"exists",
"name"
],
"example": null
},
"destStatus": {
"$ref": "#/components/schemas/WfStatusDto",
"additionalProperties": false,
"description": "Целевой статус",
"required": [
"code",
"deleted",
"exists",
"name"
],
"example": null
},
"wfAction": {
"$ref": "#/components/schemas/WfActionDto",
"additionalProperties": false,
"description": "Схема вокрфлоу",
"required": [
"code",
"deleted",
"exists",
"name"
],
"example": null
}
},
"required": [
"destStatus",
"oldStatus",
"wfAction"
],
"example": null
},
"WfSchemaStatusDto": {
"type": "object",
"additionalProperties": false,
"description": "Схема воркфлоу",
"properties": {
"wfStatusMetadata": {
"$ref": "#/components/schemas/WfStatusMetadataDto",
"additionalProperties": false,
"description": "Метаданные статуса воркфлоу",
"required": [
"code",
"description",
"name"
],
"example": null
},
"wfStatus": {
"$ref": "#/components/schemas/WfStatusDto",
"additionalProperties": false,
"description": "Статус воркфлоу",
"required": [
"code",
"description",
"name"
],
"example": null
}
},
"required": [
"wfStatus",
"wfStatusMetadata"
],
"example": null
},
"WfRepresentationDto": {
"type": "object",
"additionalProperties": false,
"description": "Представление вокрфлоу",
"properties": {
"wfTransitions": {
"type": "array",
"description": "Список переходов вокрфлоу",
"items": {
"$ref": "#/components/schemas/WfTransitionDto",
"additionalProperties": false,
"description": "Переход воркфлоу",
"example": [
{
"wfActionCode": "start_progress",
"oldStatusCode": "to_do",
"destStatusCode": "in_progress"
},
{
"wfActionCode": "start",
"oldStatusCode": null,
"destStatusCode": "to_do"
}
],
"maxItems": 2147483647,
"required": [
"destStatus",
"oldStatus",
"wfAction"
]
},
"maxItems": 2147483647,
"minItems": 0,
"example": null
},
"wfSchemaStatuses": {
"type": "array",
"description": "Список статусов воркфлоу",
"items": {
"$ref": "#/components/schemas/WfSchemaStatusDto",
"additionalProperties": false,
"description": "Статус воркфлоу",
"example": [
{
"wfStatusCode": "done",
"wfStatusMetadata": null
},
{
"wfStatusCode": "need_info",
"wfStatusMetadata": null
},
{
"wfStatusCode": "to_do",
"wfStatusMetadata": null
},
{
"wfStatusCode": "in_progress",
"wfStatusMetadata": null
}
],
"maxItems": 2147483647,
"required": [
"wfStatus",
"wfStatusMetadata"
]
},
"maxItems": 2147483647,
"minItems": 0,
"example": null
},
"wfSchema": {
"type": "object",
"$ref": "#/components/schemas/WfSchemaDto",
"additionalProperties": false,
"description": "Схема вокрфлоу",
"required": [
"code",
"description",
"name"
],
"example": null
}
},
"required": [
"wfSchema"
],
"example": null
},
"WfSchemaDto": {
"type": "object",
"additionalProperties": false,
"description": "Схема воркфлоу",
"properties": {
"code": {
"type": "string",
"description": "Код воркфлоу",
"example": "default_workflow",
"maxLength": 50,
"pattern": "^.{0,50}$"
},
"name": {
"type": "string",
"description": "Наименование воркфлоу",
"example": "APProcess Task Flow 1.0",
"maxLength": 255,
"pattern": "^.{0,255}$"
},
"description": {
"type": "string",
"description": "Описание воркфлоу",
"example": "Описание воркфлоу",
"maxLength": 2147483647,
"pattern": ".*"
}
},
"required": [
"code",
"name"
],
"example": null
},
"UserGroupInfoDto": {
"type": "object",
"additionalProperties": false,
"description": "Информация о группе пользователей",
"example": {
"code": "GROUP-123",
"name": "Группа 1"
},
"properties": {
"code": {
"type": "string",
"description": "Код группы пользователей",
"example": "developers",
"maxLength": 100,
"minLength": 1,
"pattern": ".*"
},
"meta": {
"$ref": "#/components/schemas/UserGroupMetaDto",
"description": "мета информация группы пользователей",
"example": null
},
"name": {
"type": "string",
"description": "Наименование группы пользователей",
"example": "Разработчики",
"maxLength": 255,
"minLength": 1,
"pattern": ".*"
},
"description": {
"type": "string",
"description": "Описание группы пользователей",
"example": "BE Разработчики",
"maxLength": 4000,
"minLength": 1,
"pattern": ".*"
}
},
"required": [
"code",
"name"
]
},
"UserGroupMetaDto": {
"type": "object",
"additionalProperties": false,
"description": "Мета-информация группы пользователей",
"properties": {
"mutable": {
"type": "boolean",
"description": "Изменяемая группа",
"example": true
}
},
"required": [
"mutable"
],
"example": null
},
"UserDetailDto": {
"type": "object",
"additionalProperties": false,
"description": "Дополнительная информация о пользователе",
"properties": {
"type": {
"$ref": "#/components/schemas/UserDetailTypeDto",
"additionalProperties": false,
"description": "Тип дополнительной информации",
"required": [
"code",
"name",
"properties",
"visible"
],
"example": null
},
"value": {
"type": "string",
"description": "Значение дополнительной информации",
"example": "value",
"maxLength": 2147483647,
"pattern": ".*"
}
},
"required": [
"type",
"value"
],
"example": null
},
"UserDetailTypeDto": {
"type": "object",
"additionalProperties": false,
"description": "Тип дополнительной информации о пользователе",
"properties": {
"code": {
"type": "string",
"description": "Код типа",
"example": "email",
"maxLength": 100,
"minLength": 0,
"pattern": "^.{0,100}$"
},
"visible": {
"type": "boolean",
"description": "Признак отображения",
"example": false
},
"name": {
"type": "string",
"description": "Наименование типа",
"example": "Почта",
"maxLength": 100,
"minLength": 0,
"pattern": "^.{0,100}$"
},
"properties": {
"type": "object",
"additionalProperties": false,
"description": "Свойства типа",
"example": "[\"key\": \"value\"]",
"required": [
"key",
"value"
]
}
},
"required": [
"code",
"name",
"properties",
"visible"
],
"example": null
},
"SuitInUnitInfo": {
"type": "object",
"additionalProperties": false,
"description": "Тип задачи",
"properties": {
"code": {
"type": "string",
"description": "Код типа задачи",
"example": "task",
"maxLength": 100,
"pattern": "^.{0,100}$"
},
"name": {
"type": "string",
"description": "Название типа задачи",
"example": "Задача",
"maxLength": 1024,
"pattern": "^.{0,1024}$"
},
"icon": {
"type": "string",
"description": "Иконка типа задачи",
"example": "task",
"maxLength": 2147483647,
"pattern": ".*"
}
},
"required": [
"code",
"name"
],
"example": null
},
"UserInfoWithDetails": {
"type": "object",
"additionalProperties": false,
"description": "Автор шаблона",
"properties": {
"firstName": {
"type": "string",
"description": "Имя пользователя",
"example": "Иван",
"maxLength": 2147483647,
"pattern": ".*"
},
"lastName": {
"type": "string",
"description": "Фамилия пользователя",
"example": "Иванов",
"maxLength": 2147483647,
"pattern": ".*"
},
"externalId": {
"type": "string",
"description": "Внешний ИД пользователя",
"example": 100002,
"maxLength": 2147483647,
"pattern": ".*"
},
"middleName": {
"type": "string",
"description": "Отчество пользователя",
"example": "Иванович",
"maxLength": 2147483647,
"pattern": ".*"
},
"login": {
"type": "string",
"description": "Логин",
"example": "testov.i.i",
"maxLength": 2147483647,
"pattern": ".*"
},
"userDetails": {
"type": "array",
"description": "Информация о пользователях",
"items": {
"$ref": "#/components/schemas/UserDetailDto",
"additionalProperties": false,
"description": "Дополнительная информация о пользователе",
"maxItems": 2147483647,
"required": [
"type",
"vale"
]
},
"maxItems": 2147483647,
"minItems": 0,
"example": null
}
},
"required": [
"externalId",
"firstName",
"lastName",
"login",
"middleName"
],
"example": null
},
"QLPropertyFilterDto": {
"type": "object",
"additionalProperties": false,
"description": "Фильтр по свойствам",
"properties": {
"negate": {
"type": "boolean",
"description": "Инвертировать значение",
"example": false
},
"property": {
"type": "string",
"description": "Свойство",
"example": "code",
"maxLength": 100,
"pattern": ".*"
},
"value": {
"type": "object",
"additionalProperties": false,
"description": "Значение",
"example": 123
},
"operator": {
"type": "string",
"description": "Оператор",
"enum": [
"eq",
"like",
"in",
"ge",
"le"
],
"example": "eq"
}
},
"required": [
"operator",
"property",
"value"
],
"example": null
},
"QLAttributeFilterDto": {
"type": "object",
"additionalProperties": false,
"description": "Фильтир по атрибутам",
"properties": {
"negate": {
"type": "boolean",
"description": "Инвертировать значение",
"example": false
},
"attribute": {
"type": "string",
"description": "Атрибут",
"example": "code",
"maxLength": 100,
"pattern": ".*"
},
"value": {
"type": "object",
"additionalProperties": false,
"description": "Значение",
"example": 123
},
"operator": {
"type": "string",
"description": "Оператор",
"enum": [
"eq",
"like",
"in",
"ge",
"le"
],
"example": "eq"
}
},
"required": [
"attribute",
"operator"
],
"example": null
},
"QLAttributeFiltersDto": {
"type": "object",
"additionalProperties": false,
"description": "Фильтры по атрибутам",
"properties": {
"or": {
"type": "array",
"description": "Список фильтров 'или'",
"example": {
"property": "code",
"operator": "eq",
"value": "123"
},
"items": {
"$ref": "#/components/schemas/QLAttributeFilterDto"
},
"maxItems": 50,
"minItems": 0
},
"and": {
"type": "array",
"description": "Список фильтров 'и'",
"example": {
"property": "status",
"operator": "in",
"value": [
"ACTIVE",
"PENDING"
]
},
"items": {
"$ref": "#/components/schemas/QLAttributeFilterDto"
},
"maxItems": 50,
"minItems": 0
}
},
"example": null
},
"QLPropertyFilters": {
"type": "object",
"additionalProperties": false,
"description": "Фильтры по свойствам",
"properties": {
"or": {
"type": "array",
"description": "Список фильтров 'или'",
"example": {
"property": "code",
"operator": "eq",
"value": "123"
},
"items": {
"$ref": "#/components/schemas/QLPropertyFilterDto"
},
"maxItems": 50,
"minItems": 0
},
"and": {
"type": "array",
"description": "Список фильтров 'и'",
"example": {
"property": "status",
"operator": "in",
"value": [
"ACTIVE",
"PENDING"
]
},
"items": {
"$ref": "#/components/schemas/QLPropertyFilterDto"
},
"maxItems": 50,
"minItems": 0
}
},
"example": null
},
"QLRequestDto": {
"type": "object",
"additionalProperties": false,
"description": "Запрос поиска юнитов",
"properties": {
"calculatedAttributes": {
"type": "array",
"description": "Cписок получаемых вычисляемых атрибутов",
"example": [
"votes"
],
"items": {
"type": "string",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"maxItems": 100,
"minItems": 0
},
"attributes": {
"type": "array",
"description": "Список получаемых атрибутов",
"example": [
"code",
"updatedAt"
],
"items": {
"type": "string",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"maxItems": 100,
"minItems": 0
},
"filters": {
"$ref": "#/components/schemas/QLUnitFilterDto",
"description": "Фильтры запроса",
"example": null
},
"page": {
"$ref": "#/components/schemas/PageDtoRq",
"description": "Параметры страницы",
"example": null
},
"sort": {
"$ref": "#/components/schemas/UnitSortDto",
"description": "Направление и список полей сортировки",
"example": null
}
},
"example": null
},
"QLUnitFilterDto": {
"type": "object",
"additionalProperties": false,
"description": "Фильтр по задачам",
"example": {
"spaces": [
"SWTR1",
"SWTR2"
]
},
"properties": {
"deleted": {
"type": "boolean",
"description": "Фильтр по удаленным записям",
"example": true
},
"spaces": {
"type": "array",
"description": "Список пространств для фильтрации",
"example": [
"SWTR1",
"SWTR2"
],
"items": {
"type": "string",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"maxItems": 100,
"minItems": 0
},
"attributes": {
"$ref": "#/components/schemas/QLAttributeFiltersDto",
"description": "Фильтры по атрибутам",
"example": null
},
"units": {
"type": "array",
"description": "Список задач для фильтрации",
"example": [
"SWTR-123",
"SWTR-321"
],
"items": {
"type": "string",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"maxItems": 100,
"minItems": 0
},
"suits": {
"type": "array",
"description": "Список типов задач для фильтрации",
"example": [
"SWTR-123",
"SWTR-321"
],
"items": {
"type": "string",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"maxItems": 100,
"minItems": 0
},
"properties": {
"$ref": "#/components/schemas/QLPropertyFilters",
"description": "Фильтры по свойствам",
"example": null
}
}
},
"UnitSortDto": {
"type": "object",
"additionalProperties": false,
"description": "Сортировка",
"properties": {
"attribute": {
"type": "array",
"description": "Список полей для сортировки",
"example": [
"name",
"createdAt"
],
"items": {
"type": "string",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"maxItems": 5,
"minItems": 0
},
"direction": {
"type": "string",
"description": "Направление сортировки",
"enum": [
"ASC",
"DESC",
"ASC",
"DESC"
],
"example": "ASC",
"examples": [
"ASC",
"DESC"
]
}
},
"example": null
},
"QLSpaceInfoDto": {
"type": "object",
"additionalProperties": false,
"description": "Информация о простанстве",
"properties": {
"code": {
"type": "string",
"format": "text",
"description": "Код пространства",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"name": {
"type": "string",
"format": "text",
"description": "Имя пространства",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
}
},
"required": [
"code",
"name"
],
"example": null
},
"UnitAttributeValueInfo": {
"type": "object",
"additionalProperties": false,
"description": "Информация о значении атрибута задачи",
"properties": {
"valueAsString": {
"type": "string",
"description": "Значение атрибута в текстовом виде",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"attribute": {
"$ref": "#/components/schemas/UnitAttributeInfo",
"description": "Информация об атрибуте",
"example": null
},
"value": {
"type": "object",
"additionalProperties": false,
"description": "Значение атрибута",
"example": null
}
},
"required": [
"attribute"
],
"example": null
},
"CalculatedAttributeDto": {
"type": "object",
"additionalProperties": false,
"description": "Информация о вычисляемом атрибуте задачи",
"properties": {
"code": {
"type": "string",
"description": "Уникальный код атрибута",
"example": "votes",
"maxLength": 2147483647,
"pattern": ".*"
}
},
"required": [
"code"
],
"example": null
},
"CalculatedAttributeValueDto": {
"type": "object",
"additionalProperties": false,
"description": "Вычисляемый атрибут задачи со значением",
"properties": {
"attribute": {
"$ref": "#/components/schemas/CalculatedAttributeDto",
"description": "Информация о вычисляемом атрибуте задачи",
"example": null
},
"value": {
"type": "object",
"additionalProperties": false,
"description": "Значение атрибута",
"example": 1
}
},
"required": [
"attribute"
],
"example": null
},
"QLResponseDto": {
"type": "object",
"additionalProperties": false,
"description": "Ответ для QL запроса",
"properties": {
"unit": {
"$ref": "#/components/schemas/QLUnitInfoDto",
"description": "Информация о задаче",
"example": null
},
"calculatedAttributes": {
"type": "array",
"description": "Список вычисляемых атрибутов",
"items": {
"$ref": "#/components/schemas/CalculatedAttributeValueDto"
},
"maxItems": 100,
"minItems": 0,
"example": null
},
"attributes": {
"type": "array",
"description": "Список атрибутов задачи",
"items": {
"$ref": "#/components/schemas/UnitAttributeValueInfo"
},
"maxItems": 2147483647,
"minItems": 0,
"example": null
}
},
"required": [
"calculatedAttributes",
"unit"
],
"example": null
},
"QLUnitInfoDto": {
"type": "object",
"additionalProperties": false,
"description": "Информация о задаче для QL запросов",
"properties": {
"summary": {
"type": "string",
"format": "text",
"description": "Заголовок задачи",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"createdAt": {
"type": "string",
"format": "date-time",
"description": "Время создания задачи",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"code": {
"type": "string",
"format": "text",
"description": "Код задачи",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"updatedBy": {
"$ref": "#/components/schemas/UserInfoWithDetails",
"description": "Информация о пользователе, обновившем задачу",
"example": null
},
"createdBy": {
"$ref": "#/components/schemas/UserInfoWithDetails",
"description": "Информация о пользователе, создавшем задачу",
"example": null
},
"spaces": {
"type": "array",
"description": "Список пространств задачи",
"items": {
"$ref": "#/components/schemas/QLSpaceInfoDto",
"description": "Информация о простанстве"
},
"maxItems": 1,
"minItems": 1,
"example": null
},
"description": {
"type": "string",
"format": "text",
"description": "Описание задачи в формате wysiwyg (JSON)",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"suit": {
"$ref": "#/components/schemas/QLUnitSuitInfoDto",
"description": "Информация о типе задачи",
"example": null
},
"descriptionPlain": {
"type": "string",
"format": "text",
"description": "Описание задачи в обычном текстовом формате",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"space": {
"$ref": "#/components/schemas/QLSpaceInfoDto",
"description": "Информация о пространстве задачи",
"example": null
},
"updatedAt": {
"type": "string",
"format": "date-time",
"description": "Время последнего обновления задачи",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"isFavorite": {
"type": "boolean",
"description": "Является ли задача избранной",
"example": true
}
},
"required": [
"code",
"suit",
"summary"
],
"example": null
},
"QLUnitSuitInfoDto": {
"type": "object",
"additionalProperties": false,
"description": "Информация о типе задачи",
"properties": {
"code": {
"type": "string",
"format": "text",
"description": "Код типа",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"name": {
"type": "string",
"format": "text",
"description": "Имя",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"icon": {
"type": "string",
"format": "text",
"description": "Иконка",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
}
},
"required": [
"code",
"name"
],
"example": null
},
"LinkTypeFiltersDto": {
"type": "object",
"additionalProperties": false,
"description": "Фильтр поиска типов связей",
"properties": {
"textSearch": {
"type": "string",
"description": "Текст, по которому происходит поиск",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"linkTypeCodes": {
"type": "array",
"description": "Список кодов типов связей для фильтрации",
"items": {
"type": "string",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"maxItems": 2147483647,
"minItems": 0,
"example": null
}
},
"example": null
},
"LinkTypePageRq": {
"type": "object",
"additionalProperties": false,
"description": "Запрос на поиск типа связи пагинированный",
"properties": {
"filters": {
"$ref": "#/components/schemas/LinkTypeFiltersDto",
"description": "filters",
"example": null
},
"page": {
"$ref": "#/components/schemas/PageDtoRq",
"description": "page",
"example": null
}
},
"example": null
},
"PageDtoRs": {
"type": "object",
"additionalProperties": false,
"description": "Информация о странице",
"properties": {
"pageNumber": {
"type": "integer",
"format": "int32",
"description": "Номер страницы",
"example": 1,
"maximum": 2147483647,
"minimum": 0
},
"pageSize": {
"type": "integer",
"format": "int32",
"description": "Размер страницы",
"example": 10,
"maximum": 2147483647,
"minimum": 1
},
"hasNext": {
"type": "boolean",
"description": "Наличие следующей страницы",
"example": true
},
"content": {
"type": "array",
"description": "Список элементов на странице",
"example": [
"object",
"object"
],
"items": {
"description": "Элемент на странице",
"example": null
},
"maxItems": 2147483647,
"minItems": 0
},
"totalElements": {
"type": "integer",
"format": "int32",
"description": "Всего элементов",
"example": 10,
"maximum": 2147483647,
"minimum": 0
}
},
"example": null
},
"UnitLinkRq": {
"type": "object",
"additionalProperties": false,
"description": "Запрос на изменение связи юнита",
"properties": {
"destination": {
"type": "string",
"description": "Код юнита - назначения",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"source": {
"type": "string",
"description": "Код юнита - источника",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"type": {
"type": "string",
"description": "Тип связи",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
}
},
"required": [
"destination",
"source",
"type"
],
"example": null
},
"CreateUnitLinkTypeRq": {
"type": "object",
"additionalProperties": false,
"description": "Запрос на создание типа связи",
"properties": {
"code": {
"type": "string",
"description": "Код типа связи",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"name": {
"type": "string",
"description": "Имя типа связи",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"destination": {
"$ref": "#/components/schemas/LinkTypeDestinationInfoDto",
"description": "Назначение",
"example": null
},
"description": {
"type": "string",
"description": "Описание типа связи",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"source": {
"$ref": "#/components/schemas/LinkTypeSourceInfoDto",
"description": "Источник",
"example": null
},
"relationship": {
"type": "string",
"description": "Отношение",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
}
},
"required": [
"code",
"name",
"relationship",
"source"
],
"example": null
},
"LinkTypeDestinationInfoDto": {
"type": "object",
"additionalProperties": false,
"description": "Назначение типа связи",
"properties": {
"name": {
"type": "string",
"description": "Название назначения",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"description": {
"type": "string",
"description": "Описание назначения",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
}
},
"required": [
"name"
],
"example": null
},
"LinkTypeSourceInfoDto": {
"type": "object",
"additionalProperties": false,
"description": "Источник типа связи",
"properties": {
"name": {
"type": "string",
"description": "Название источника",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"description": {
"type": "string",
"description": "Описание источника",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
}
},
"required": [
"name"
],
"example": null
},
"FindWithPageRq": {
"type": "object",
"additionalProperties": false,
"description": "Запрос на поиск с информацией о странице",
"properties": {
"page": {
"$ref": "#/components/schemas/PageDtoRq",
"description": "Параметры пагинации",
"example": null
}
},
"example": null
},
"UnitLinkSearchRq": {
"type": "object",
"additionalProperties": false,
"description": "Запрос на поиск связи юнита",
"properties": {
"types": {
"type": "array",
"description": "Список искомых типов связи",
"items": {
"type": "string",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"maxItems": 2147483647,
"minItems": 0,
"uniqueItems": true,
"example": null
},
"unitId": {
"type": "string",
"description": "Код юнита по которому ведем поиск",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"page": {
"$ref": "#/components/schemas/FindWithPageRq",
"description": "Информация о странице",
"example": null
},
"direction": {
"type": "string",
"description": "Направление связи",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
}
},
"required": [
"unitId"
],
"example": null
},
"UserInfo": {
"type": "object",
"additionalProperties": false,
"description": "Информация о пользователе",
"properties": {
"firstName": {
"type": "string",
"description": "Имя",
"example": "Иван",
"maxLength": 240,
"minLength": 1,
"pattern": ".*"
},
"lastName": {
"type": "string",
"description": "Фамилия",
"example": "Иванов",
"maxLength": 240,
"minLength": 1,
"pattern": ".*"
},
"externalId": {
"type": "string",
"description": "Внешний идентификатор пользователя",
"example": 1234567890,
"maxLength": 240,
"minLength": 1,
"pattern": ".*"
},
"middleName": {
"type": "string",
"description": "Отчество",
"example": "Иванович",
"maxLength": 240,
"minLength": 1,
"pattern": ".*"
},
"login": {
"type": "string",
"description": "Логин",
"example": "ivan.ivanov",
"maxLength": 240,
"minLength": 1,
"pattern": ".*"
},
"locale": {
"type": "string",
"description": "Локаль",
"example": "ru_RU",
"maxLength": 35,
"minLength": 1,
"pattern": ".*"
},
"userDetails": {
"type": "array",
"description": "Дополнительные данные пользователя",
"example": {},
"items": {
"$ref": "#/components/schemas/UserDetailDto"
},
"maxItems": 100,
"minItems": 0
}
},
"required": [
"externalId",
"firstName",
"lastName",
"locale",
"login",
"userDetails"
],
"example": null
},
"QueryFilter": {
"type": "object",
"additionalProperties": false,
"description": "QueryFilter",
"properties": {
"property": {
"type": "string",
"description": "property",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"value": {
"type": "object",
"additionalProperties": false,
"description": "value",
"example": null
},
"operator": {
"type": "string",
"description": "Операции фильтрации для запросов",
"enum": [
"eq",
"like",
"in",
"ge",
"le"
],
"example": "Пример"
}
},
"required": [
"operator",
"property",
"value"
],
"example": null
},
"UnitFilters": {
"type": "object",
"additionalProperties": false,
"description": "UnitFilters",
"properties": {
"spaces": {
"type": "array",
"description": "spaces",
"items": {
"type": "string",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"maxItems": 2147483647,
"minItems": 0,
"example": null
},
"units": {
"type": "array",
"description": "units",
"items": {
"type": "string",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"maxItems": 2147483647,
"minItems": 0,
"example": null
},
"properties": {
"$ref": "#/components/schemas/UnitPropertyFilter",
"description": "properties",
"example": null
}
},
"example": null
},
"UnitPageDto": {
"type": "object",
"additionalProperties": false,
"description": "UnitPageDto",
"properties": {
"filters": {
"$ref": "#/components/schemas/UnitFilters",
"description": "filters",
"example": null
},
"sort": {
"$ref": "#/components/schemas/UnitSortDto",
"description": "sort",
"example": null
},
"page": {
"$ref": "#/components/schemas/PageDtoRq",
"description": "page",
"example": null
}
},
"example": null
},
"UnitPropertyFilter": {
"type": "object",
"additionalProperties": false,
"description": "UnitPropertyFilter",
"properties": {
"or": {
"type": "array",
"description": "or",
"items": {
"$ref": "#/components/schemas/QueryFilter"
},
"maxItems": 2147483647,
"minItems": 0,
"example": null
},
"and": {
"type": "array",
"description": "and",
"items": {
"$ref": "#/components/schemas/QueryFilter"
},
"maxItems": 2147483647,
"minItems": 0,
"example": null
}
},
"example": null
},
"AllowedAction": {
"type": "object",
"additionalProperties": false,
"description": "Разрешенное действие",
"properties": {
"name": {
"type": "string",
"description": "Наименование разрешения",
"example": "read",
"maxLength": 2147483647,
"pattern": ".*"
}
},
"required": [
"name"
],
"example": null
},
"PageDtoRsUnitInSuitWithSpacesInfo": {
"type": "object",
"additionalProperties": false,
"description": "Информация о странице",
"properties": {
"pageNumber": {
"type": "integer",
"format": "int32",
"description": "Номер страницы",
"example": 1,
"maximum": 2147483647,
"minimum": 0
},
"pageSize": {
"type": "integer",
"format": "int32",
"description": "Размер страницы",
"example": 10,
"maximum": 2147483647,
"minimum": 1
},
"hasNext": {
"type": "boolean",
"description": "Наличие следующей страницы",
"example": true
},
"content": {
"type": "array",
"description": "Список элементов на странице",
"example": [
"object",
"object"
],
"items": {
"description": "Элемент на странице",
"example": null
},
"maxItems": 2147483647,
"minItems": 0
},
"totalElements": {
"type": "integer",
"format": "int32",
"description": "Всего элементов",
"example": 10,
"maximum": 2147483647,
"minimum": 0
}
},
"example": null
},
"SpaceInUnitInfo": {
"type": "object",
"additionalProperties": false,
"description": "Информация о пространстве",
"properties": {
"code": {
"type": "string",
"description": "Код пространства",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
},
"name": {
"type": "string",
"description": "Название пространства",
"example": "Пример",
"maxLength": 2147483647,
"pattern": ".*"
}
},
"required": [
"code",
"name"
],
"example": null
},
"UnitConvertSuitFilter": {
"type": "object",
"additionalProperties": false,
"description": "Фильтр для запроса типов задач",
"properties": {
"unit": {
"type": "string",
"description": "Код задачи",
"example": "SWTR-1",
"maxLength": 100,
"pattern": ".*"
},
"textSearch": {
"type": "string",
"description": "Текстовый фильтр для поиска (по названию или описанию)",
"example": "Баг",
"maxLength": 2147483647,
"pattern": ".*"
},
"space": {
"type": "string",
"description": "Код пространства",
"example": "SWTR",
"maxLength": 100,
"pattern": ".*"
}
},
"required": [
"unit"
],
"example": null
},
"UnitConvertSuitPageRq": {
"type": "object",
"additionalProperties": false,
"description": "Запрос типов задач",
"properties": {
"filters": {
"$ref": "#/components/schemas/UnitConvertSuitFilter",
"additionalProperties": false,
"description": "Фильтры",
"required": [
"unit"
],
"example": null
},
"page": {
"$ref": "#/components/schemas/PageDtoRq",
"additionalProperties": false,
"description": "Параметры страницы",
"required": [
"page",
"size"
],
"example": null
}
},
"required": [
"filters"
],
"example": null
},
"UnitConvertSuitInfo": {
"type": "object",
"additionalProperties": false,
"description": "Информация о типе задачи",
"properties": {
"code": {
"type": "string",
"description": "Код типа задачи",
"example": "task",
"maxLength": 2147483647,
"pattern": ".*"
},
"name": {
"type": "string",
"description": "Наименование типа задачи",
"example": "Задача",
"maxLength": 2147483647,
"pattern": ".*"
},
"icon": {
"type": "string",
"description": "Идентификатор иконки для типа задачи",
"example": "task",
"maxLength": 2147483647,
"pattern": ".*"
},
"description": {
"type": "string",
"description": "Описание типа задачи",
"example": "Задача",
"maxLength": 2147483647,
"pattern": ".*"
}
},
"required": [
"code",
"name"
],
"example": null
},