{
  "openapi": "3.0.0",
  "info": {
    "title": "Документация API v.1",
    "version": "0.4.0",
    "x-logo": {
      "url": "logo.png",
      "altText": "СмартЛомбард",
      "href": "./"
    },
    "description": "Все разделы API v.1 одним файлом.\n\n| Раздел | Адрес сервера |\n|---|---|\n| Методы авторизации | `https://online.smartlombard.ru/api/exchange/v1` |\n| Методы просмотра (операции с имуществами) | `https://online.smartlombard.ru/api/exchange/v1` |\n| Методы изменения (операции с имуществами) | `https://online.smartlombard.ru/api/exchange/v1` |\n| Методы просмотра (операции с товарами) | `https://goods.api.smartlombard.ru/api/exchange/v1` |\n| Проверка работоспособности интеграции | `https://online.smartlombard.ru` |\n\n**По разделам:**\n\n- [Методы авторизации](downloads/auth.json)\n- [Методы просмотра (операции с имуществами)](downloads/view.json)\n- [Методы изменения (операции с имуществами)](downloads/edit.json)\n- [Методы просмотра (операции с товарами)](downloads/goods.json)\n- [Проверка работоспособности интеграции](downloads/status.json)"
  },
  "externalDocs": {
    "description": "Документация и схемы API v.1",
    "url": "/API/V1"
  },
  "tags": [
    {
      "name": "Метод авторизации"
    },
    {
      "name": "Методы для просмотра залоговых билетов"
    },
    {
      "name": "Методы для просмотра операций"
    },
    {
      "name": "Методы для просмотра элементарных операций"
    },
    {
      "name": "Методы для просмотра залоговых имуществ"
    },
    {
      "name": "Методы для просмотра клиентов физ. лиц"
    },
    {
      "name": "Методы для просмотра клиентов юр. лиц"
    },
    {
      "name": "Методы для просмотра юр. лиц филиалов (не клиентов)"
    },
    {
      "name": "Методы для просмотра филиалов"
    },
    {
      "name": "Методы для просмотра документов клиента физ. лица"
    },
    {
      "name": "Методы для просмотра банковских карт клиента физ. лица"
    },
    {
      "name": "Методы для просмотра истории бонусов"
    },
    {
      "name": "Методы для просмотра тарифов"
    },
    {
      "name": "Методы для просмотра сотрудников"
    },
    {
      "name": "Методы для просмотра категорий/подкатегорий"
    },
    {
      "name": "Методы для просмотра мест хранения"
    },
    {
      "name": "Методы для просмотра драгоценных металлов и проб"
    },
    {
      "name": "Методы для просмотра драгоценных камней"
    },
    {
      "name": "Методы для просмотра рекламных каналов"
    },
    {
      "name": "Методы для просмотра типов документов"
    },
    {
      "name": "Методы для создания/редактирования операции \"Залог\""
    },
    {
      "name": "Методы для создания/редактирования операции \"Продление\""
    },
    {
      "name": "Методы для создания/редактирования операции \"Перезалог\""
    },
    {
      "name": "Методы для создания/редактирования операции \"Добор\""
    },
    {
      "name": "Методы для создания/редактирования операции \"Частичный выкуп\""
    },
    {
      "name": "Методы для создания/редактирования операции \"Частичный выкуп имущества\""
    },
    {
      "name": "Методы для создания/редактирования операции \"Выкуп\""
    },
    {
      "name": "Методы для создания/редактирования операции \"Отправка на реализацию\""
    },
    {
      "name": "Методы для создания/редактирования операции \"Реализация\""
    },
    {
      "name": "Методы для создания/редактирования операции \"Изъятие\""
    },
    {
      "name": "Методы для редактирования залоговых имуществ"
    },
    {
      "name": "Методы для создания/редактирования клиентов физ. лиц"
    },
    {
      "name": "Методы для создания/редактирования документов у клиентов физ. лиц"
    },
    {
      "name": "Методы для создания/редактирования банковских карт у клиентов физ. лиц"
    },
    {
      "name": "Методы для создания/редактирования клиентов юр. лица"
    },
    {
      "name": "Методы для открытия/закрытия смен"
    },
    {
      "name": "Метод для загрузки картинок"
    },
    {
      "name": "Методы для просмотра товаров"
    },
    {
      "name": "Методы для просмотра договоров клиентов"
    },
    {
      "name": "Проверка работоспособности интеграции"
    }
  ],
  "x-tagGroups": [
    {
      "name": "Методы авторизации",
      "tags": [
        "Метод авторизации"
      ]
    },
    {
      "name": "Методы просмотра (операции с имуществами)",
      "tags": [
        "Методы для просмотра залоговых билетов",
        "Методы для просмотра операций",
        "Методы для просмотра элементарных операций",
        "Методы для просмотра залоговых имуществ",
        "Методы для просмотра клиентов физ. лиц",
        "Методы для просмотра клиентов юр. лиц",
        "Методы для просмотра юр. лиц филиалов (не клиентов)",
        "Методы для просмотра филиалов",
        "Методы для просмотра документов клиента физ. лица",
        "Методы для просмотра банковских карт клиента физ. лица",
        "Методы для просмотра истории бонусов",
        "Методы для просмотра тарифов",
        "Методы для просмотра сотрудников",
        "Методы для просмотра категорий/подкатегорий",
        "Методы для просмотра мест хранения",
        "Методы для просмотра драгоценных металлов и проб",
        "Методы для просмотра драгоценных камней",
        "Методы для просмотра рекламных каналов",
        "Методы для просмотра типов документов"
      ]
    },
    {
      "name": "Методы изменения (операции с имуществами)",
      "tags": [
        "Методы для создания/редактирования операции \"Залог\"",
        "Методы для создания/редактирования операции \"Продление\"",
        "Методы для создания/редактирования операции \"Перезалог\"",
        "Методы для создания/редактирования операции \"Добор\"",
        "Методы для создания/редактирования операции \"Частичный выкуп\"",
        "Методы для создания/редактирования операции \"Частичный выкуп имущества\"",
        "Методы для создания/редактирования операции \"Выкуп\"",
        "Методы для создания/редактирования операции \"Отправка на реализацию\"",
        "Методы для создания/редактирования операции \"Реализация\"",
        "Методы для создания/редактирования операции \"Изъятие\"",
        "Методы для редактирования залоговых имуществ",
        "Методы для создания/редактирования клиентов физ. лиц",
        "Методы для создания/редактирования документов у клиентов физ. лиц",
        "Методы для создания/редактирования банковских карт у клиентов физ. лиц",
        "Методы для создания/редактирования клиентов юр. лица",
        "Методы для открытия/закрытия смен",
        "Метод для загрузки картинок"
      ]
    },
    {
      "name": "Методы просмотра (операции с товарами)",
      "tags": [
        "Методы для просмотра товаров",
        "Методы для просмотра договоров клиентов"
      ]
    },
    {
      "name": "Проверка работоспособности интеграции",
      "tags": [
        "Проверка работоспособности интеграции"
      ]
    }
  ],
  "paths": {
    "/auth/access_token": {
      "post": {
        "tags": [
          "Метод авторизации"
        ],
        "summary": "Авторизация по ID пользователя и секретному ключу",
        "description": "Важно! Секретный ключ будет автоматически удален при:\n* Отключении секретного ключа вручную в карточке сотрудника;\n* Смене пароля у сотрудника;\n* Восстановлении пароля через кнопку \"Забыли?\" на форме авторизации;\n* Увольнении сотрудника;\n* У одного сотрудника может быть только один access_token.\n",
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "account_id": {
                    "type": "integer",
                    "example": 95,
                    "description": "ID пользователя"
                  },
                  "secret_key": {
                    "type": "string",
                    "description": "Секретный ключ",
                    "example": "a41dc49100e08d3a4aa3b8a206f6dd1d"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель положительного ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код положительного ответ"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "access_token": {
                          "$ref": "#/components/schemas/Token"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/ErrorAuthResponse"
          }
        },
        "x-internal": false,
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets": {
      "get": {
        "tags": [
          "Методы для просмотра залоговых билетов"
        ],
        "summary": "Просмотр списка залоговых билетов",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/pageParam"
          },
          {
            "$ref": "#/components/parameters/limitParam"
          },
          {
            "name": "open_date_begin",
            "description": "Период дат открытия залоговых билетов начало",
            "in": "query",
            "schema": {
              "type": "string",
              "example": "01.03.2023"
            }
          },
          {
            "name": "open_date_end",
            "description": "Период дат открытия залоговых билетов конец",
            "in": "query",
            "schema": {
              "type": "string",
              "example": "01.04.2023"
            }
          },
          {
            "name": "close_date_begin",
            "description": "Период дат закрытия залоговых билетов начало",
            "in": "query",
            "schema": {
              "type": "string",
              "example": "01.03.2023"
            }
          },
          {
            "name": "close_date_end",
            "description": "Период дат закрытия залоговых билетов конец",
            "in": "query",
            "schema": {
              "type": "string",
              "example": "01.04.2023"
            }
          },
          {
            "name": "end_date_begin",
            "description": "Период дат предполагаемого закрытия залоговых билетов начало",
            "in": "query",
            "schema": {
              "type": "string",
              "example": "01.03.2023"
            }
          },
          {
            "name": "end_date_end",
            "description": "Период дат предполагаемого закрытия залоговых билетов конец",
            "in": "query",
            "schema": {
              "type": "string",
              "example": "01.04.2023"
            }
          },
          {
            "name": "status",
            "explode": false,
            "in": "query",
            "description": "Множественный выбор из массива состояний залогового билета  (через запятую):\n* 1 - На реализации\n* 2 - Открыт\n* 3 - Просрочен\n* 4 - Просрочен (готов к продаже)\n* 5 - Закрыт\n",
            "schema": {
              "type": "string",
              "example": "1, 2, 3, 4, 5"
            }
          },
          {
            "name": "workplace_id",
            "description": "ID филиала",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/Workplace/properties/id"
            }
          },
          {
            "name": "clients",
            "description": "Множественный выбор из массива ID клиентов (через запятую)",
            "in": "query",
            "schema": {
              "type": "string",
              "example": "89, 90"
            }
          },
          {
            "name": "pawn_chain_id",
            "description": "ID цепочки залоговых билетов",
            "in": "query",
            "schema": {
              "type": "integer",
              "example": 79
            }
          },
          {
            "name": "document_number",
            "description": "Номер документа залогового билета",
            "in": "query",
            "schema": {
              "type": "string",
              "example": "ВО005"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "pawn_tickets": {
                          "type": "array",
                          "description": "Массиив объектов залоговых билетов",
                          "items": {
                            "$ref": "#/components/schemas/PawnTicket"
                          }
                        }
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    }
                  }
                }
              }
            },
            "headers": {
              "Pagination-Page": {
                "$ref": "#/components/headers/PaginationPage"
              },
              "Pagination-PageSize": {
                "$ref": "#/components/headers/PaginationPageSize"
              },
              "Pagination-CountRecords": {
                "$ref": "#/components/headers/PaginationTotalRecords"
              },
              "Pagination-CountPages": {
                "$ref": "#/components/headers/PaginationTotalPages"
              },
              "Pagination-PreviousPage": {
                "$ref": "#/components/headers/PaginationPreviousPage"
              },
              "Pagination-NextPage": {
                "$ref": "#/components/headers/PaginationNextPage"
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorListResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/{pawn_ticket_id}": {
      "get": {
        "tags": [
          "Методы для просмотра залоговых билетов"
        ],
        "summary": "Просмотр данных залогового билета по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "pawn_ticket_id",
            "in": "path",
            "required": true,
            "description": "ID - залогового билета (сквозной ID)",
            "schema": {
              "$ref": "#/components/schemas/PawnTicket/properties/id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "pawn_ticket": {
                          "$ref": "#/components/schemas/PawnTicket"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorGetResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/{pawn_ticket_id}/pawn_goods": {
      "get": {
        "tags": [
          "Методы для просмотра залоговых билетов"
        ],
        "summary": "Просмотр списка залоговых имуществ по ID залогового билета.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "pawn_ticket_id",
            "in": "path",
            "required": true,
            "description": "ID - залогового билета (сквозной ID)",
            "schema": {
              "$ref": "#/components/schemas/PawnTicket/properties/id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "pawn_goods": {
                          "type": "array",
                          "description": "Массиив объектов имуществ",
                          "items": {
                            "$ref": "#/components/schemas/PawnGood"
                          }
                        }
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorGetResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/operations": {
      "get": {
        "tags": [
          "Методы для просмотра операций"
        ],
        "summary": "Просмотр списка операций",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/pageParam"
          },
          {
            "$ref": "#/components/parameters/limitParam"
          },
          {
            "name": "pawn_ticket_id",
            "in": "query",
            "description": "ID залогового билета",
            "schema": {
              "$ref": "#/components/schemas/PawnTicket/properties/id"
            }
          },
          {
            "name": "pawn_chain_id",
            "in": "query",
            "description": "ID цепочки залогового билета",
            "schema": {
              "$ref": "#/components/schemas/PawnTicket/properties/pawn_chain_id"
            }
          },
          {
            "name": "entity_id",
            "in": "query",
            "description": "ID, юр. лица (открывающего ЗБ если операция составная, сквозной ID)",
            "schema": {
              "$ref": "#/components/schemas/Entity/properties/id"
            }
          },
          {
            "name": "type_operation",
            "in": "query",
            "description": "Тип операций. Варианты:\n  * pledge - залог\n  * prolongation - продление\n  * prolongation_online - онлайн-продление\n  * repledge - перезалог\n  * dobor - добор\n  * part_buyout - частичный выкуп\n  * part_buyout_pawn_good - частичный выкуп имущества\n  * sale_pledge - вывод из залога\n  * buyout - выкуп\n  * withdraw - изъятие имущества\n  * send_realization - Отправка на реализацию\n  * sell_realization - Реализация\n  * withdraw - Изъятие\n",
            "schema": {
              "$ref": "#/components/schemas/Operation/properties/elementary_operations/properties/opening_operation/properties/type_operation"
            }
          },
          {
            "name": "account_id",
            "in": "query",
            "description": "ID сотрудника",
            "schema": {
              "$ref": "#/components/schemas/Account/properties/id"
            }
          },
          {
            "name": "workplace_id",
            "in": "query",
            "description": "ID филиала",
            "schema": {
              "$ref": "#/components/schemas/Workplace/properties/id"
            }
          },
          {
            "name": "date_begin",
            "description": "Начало периода дат проведения операции",
            "in": "query",
            "schema": {
              "type": "string",
              "example": "01.03.2023"
            }
          },
          {
            "name": "date_end",
            "description": "Конец периода дат проведения операции",
            "in": "query",
            "schema": {
              "type": "string",
              "example": "01.04.2023"
            }
          },
          {
            "$ref": "#/components/parameters/TestOperation"
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "operations": {
                          "type": "array",
                          "description": "Массиив объекта операций",
                          "items": {
                            "$ref": "#/components/schemas/Operation"
                          }
                        }
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorGetResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/operations/{operation_id}": {
      "get": {
        "tags": [
          "Методы для просмотра операций"
        ],
        "summary": "Просмотр данных операции по ID.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "operation_id",
            "in": "path",
            "description": "ID - операции (сквозной ID)",
            "required": true,
            "schema": {
              "type": "integer",
              "example": 123
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "$ref": "#/components/schemas/Operation"
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorGetResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/elementary_operations": {
      "get": {
        "tags": [
          "Методы для просмотра элементарных операций"
        ],
        "summary": "Просмотр списка элементарных операций",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/pageParam"
          },
          {
            "$ref": "#/components/parameters/limitParam"
          },
          {
            "name": "pawn_ticket_id",
            "in": "query",
            "description": "ID залогового билета",
            "schema": {
              "$ref": "#/components/schemas/PawnTicket/properties/id"
            }
          },
          {
            "name": "type_operation",
            "in": "query",
            "description": "Тип операций. Варианты:\n  * pledge - залог\n  * prolongation - продление\n  * prolongation_online - онлайн-продление\n  * sale_pledge - вывод из залога\n  * buyout - выкуп\n  * withdraw - изъятие имущества\n",
            "schema": {
              "$ref": "#/components/schemas/ElementaryOperation/properties/type_operation"
            }
          },
          {
            "name": "account_id",
            "in": "query",
            "description": "ID сотрудника",
            "schema": {
              "$ref": "#/components/schemas/Account/properties/id"
            }
          },
          {
            "name": "entity_id",
            "in": "query",
            "description": "ID юр. лица",
            "schema": {
              "$ref": "#/components/schemas/Entity/properties/id"
            }
          },
          {
            "name": "workplace_id",
            "in": "query",
            "description": "ID филиала",
            "schema": {
              "$ref": "#/components/schemas/Workplace/properties/id"
            }
          },
          {
            "name": "date_begin",
            "description": "Начало периода дат проведения операции",
            "in": "query",
            "schema": {
              "type": "string",
              "example": "01.03.2023"
            }
          },
          {
            "name": "date_end",
            "description": "Конец периода дат проведения операции",
            "in": "query",
            "schema": {
              "type": "string",
              "example": "01.04.2023"
            }
          },
          {
            "$ref": "#/components/parameters/TestOperation"
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "operations": {
                          "type": "array",
                          "description": "Массиив объектов элементарных операций",
                          "items": {
                            "$ref": "#/components/schemas/ElementaryOperation"
                          }
                        }
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorGetResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/elementary_operations/{operation_id}": {
      "get": {
        "tags": [
          "Методы для просмотра элементарных операций"
        ],
        "summary": "Просмотр данных элементарной операции по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "operation_id",
            "in": "path",
            "description": "ID - операции (сквозной ID)",
            "required": true,
            "schema": {
              "type": "integer",
              "example": 200,
              "description": "Код ответа"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "$ref": "#/components/schemas/ElementaryOperation"
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorGetResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_goods": {
      "get": {
        "tags": [
          "Методы для просмотра залоговых имуществ"
        ],
        "summary": "Просмотр списка залоговых имуществ",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/pageParam"
          },
          {
            "$ref": "#/components/parameters/limitParam"
          },
          {
            "name": "category_id",
            "in": "query",
            "description": "Категория/подкатегория",
            "schema": {
              "$ref": "#/components/schemas/Category/properties/id"
            }
          },
          {
            "name": "workplace_id",
            "in": "query",
            "description": "ID филиала, где находится имущество",
            "schema": {
              "$ref": "#/components/schemas/Workplace/properties/id"
            }
          },
          {
            "name": "status",
            "in": "query",
            "description": "Состояние залогового имущества:\n  * 1 - На реализации\n  * 2 - Реализован\n  * 3 - Заложен\n  * 4 - Заложен (просрочен)\n  * 5 - Выкуплен\n  * 6 - Готов к продаже\n  * 7 - Выведен из залога\n  * 8 - Изъят\n",
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "enum": [
                  1,
                  2,
                  3,
                  4,
                  5,
                  6,
                  7,
                  8
                ],
                "example": 1
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "pawn_goods": {
                          "type": "array",
                          "description": "Массив объектов имуществ",
                          "items": {
                            "$ref": "#/components/schemas/PawnGood"
                          }
                        }
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    }
                  }
                }
              }
            },
            "headers": {
              "Pagination-Page": {
                "$ref": "#/components/headers/PaginationPage"
              },
              "Pagination-PageSize": {
                "$ref": "#/components/headers/PaginationPageSize"
              },
              "Pagination-CountRecords": {
                "$ref": "#/components/headers/PaginationTotalRecords"
              },
              "Pagination-CountPages": {
                "$ref": "#/components/headers/PaginationTotalPages"
              },
              "Pagination-PreviousPage": {
                "$ref": "#/components/headers/PaginationPreviousPage"
              },
              "Pagination-NextPage": {
                "$ref": "#/components/headers/PaginationNextPage"
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorListResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_goods/{pawn_good_id}": {
      "get": {
        "tags": [
          "Методы для просмотра залоговых имуществ"
        ],
        "summary": "Просмотр данных залогового имущества по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "pawn_good_id",
            "in": "path",
            "description": "ID имущества",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/PawnGood/properties/id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "pawn_good": {
                          "$ref": "#/components/schemas/PawnGood"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorGetResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/clients/natural_persons": {
      "get": {
        "tags": [
          "Методы для просмотра клиентов физ. лиц"
        ],
        "summary": "Просмотр списка клиентов физ. лиц",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/pageParam"
          },
          {
            "$ref": "#/components/parameters/limitParam"
          },
          {
            "name": "full_name",
            "in": "query",
            "description": "Фильтрация по ФИО (поиск по полям фамилия, имя, отчество)",
            "schema": {
              "type": "string",
              "example": "Иванов"
            }
          },
          {
            "name": "phone",
            "in": "query",
            "description": "Фильтрация по номеру телефона",
            "schema": {
              "type": "string",
              "example": "+79033080944"
            }
          },
          {
            "name": "inn",
            "in": "query",
            "description": "Фильтрация по  ИНН/ИИН",
            "schema": {
              "type": "string",
              "example": "213123213"
            }
          },
          {
            "name": "loyalty_card_number",
            "in": "query",
            "description": "Фильтрация по номеру карты постоянного клиента",
            "schema": {
              "type": "string",
              "example": "9586"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "clients_natural_persons": {
                          "type": "array",
                          "description": "Массиив объектов клиентов физ. лиц",
                          "items": {
                            "$ref": "#/components/schemas/NaturalPerson"
                          }
                        }
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    }
                  }
                }
              }
            },
            "headers": {
              "Pagination-Page": {
                "$ref": "#/components/headers/PaginationPage"
              },
              "Pagination-PageSize": {
                "$ref": "#/components/headers/PaginationPageSize"
              },
              "Pagination-CountRecords": {
                "$ref": "#/components/headers/PaginationTotalRecords"
              },
              "Pagination-CountPages": {
                "$ref": "#/components/headers/PaginationTotalPages"
              },
              "Pagination-PreviousPage": {
                "$ref": "#/components/headers/PaginationPreviousPage"
              },
              "Pagination-NextPage": {
                "$ref": "#/components/headers/PaginationNextPage"
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorListResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      },
      "post": {
        "tags": [
          "Методы для создания/редактирования клиентов физ. лиц"
        ],
        "summary": "Метод позволяет добавить клиента физ. лица",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NaturalPerson_edit"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Положительный ответ на запрос создания клиента",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "natural_person_id": {
                          "$ref": "#/components/schemas/Other/properties/natural_person_id"
                        },
                        "natural_person_documents_id": {
                          "type": "array",
                          "description": "ID документов клиента",
                          "example": [
                            81,
                            82
                          ],
                          "items": {
                            "type": "integer"
                          }
                        },
                        "natural_person_loyalty_card_id": {
                          "description": "ID карты постоянного клиента",
                          "type": "integer",
                          "example": 80
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/clients/natural_persons/{client_natural_person_id}": {
      "get": {
        "tags": [
          "Методы для просмотра клиентов физ. лиц"
        ],
        "summary": "Просмотр данных клиента физ. лица по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "client_natural_person_id",
            "in": "path",
            "description": "ID клиента",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/NaturalPerson/properties/id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "client_natural_person": {
                          "$ref": "#/components/schemas/NaturalPerson"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorGetResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/clients/legal_persons": {
      "get": {
        "tags": [
          "Методы для просмотра клиентов юр. лиц"
        ],
        "summary": "Просмотр списка клиентов юр. лиц",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/pageParam"
          },
          {
            "$ref": "#/components/parameters/limitParam"
          },
          {
            "name": "name",
            "in": "query",
            "description": "Фильтрация по наименованию клиента",
            "schema": {
              "type": "string",
              "example": "Ломбард"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "client_legal_persons": {
                          "type": "array",
                          "description": "Массиив объектов юр. лиц",
                          "items": {
                            "$ref": "#/components/schemas/LegalPerson"
                          }
                        }
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    }
                  }
                }
              }
            },
            "headers": {
              "Pagination-Page": {
                "$ref": "#/components/headers/PaginationPage"
              },
              "Pagination-PageSize": {
                "$ref": "#/components/headers/PaginationPageSize"
              },
              "Pagination-CountRecords": {
                "$ref": "#/components/headers/PaginationTotalRecords"
              },
              "Pagination-CountPages": {
                "$ref": "#/components/headers/PaginationTotalPages"
              },
              "Pagination-PreviousPage": {
                "$ref": "#/components/headers/PaginationPreviousPage"
              },
              "Pagination-NextPage": {
                "$ref": "#/components/headers/PaginationNextPage"
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorListResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      },
      "post": {
        "tags": [
          "Методы для создания/редактирования клиентов юр. лица"
        ],
        "summary": "Метод позволяет добавить клиента юр. лица",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LegalPerson_edit"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Положительный ответ на запрос создания клиента",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "legal_person_id": {
                          "$ref": "#/components/schemas/Other/properties/legal_person_id"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/clients/legal_persons/{client_legal_person_id}": {
      "get": {
        "tags": [
          "Методы для просмотра клиентов юр. лиц"
        ],
        "summary": "Просмотр данных клиента юр.лица по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "client_legal_person_id",
            "in": "path",
            "description": "ID юр. лица",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/LegalPerson/properties/id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "client_legal_person": {
                          "$ref": "#/components/schemas/LegalPerson"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorGetResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/entities": {
      "get": {
        "tags": [
          "Методы для просмотра юр. лиц филиалов (не клиентов)"
        ],
        "summary": "Просмотр списка юр. лиц филиалов (не клиентов)",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/pageParam"
          },
          {
            "$ref": "#/components/parameters/limitParam"
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "status": {
                          "type": "boolean",
                          "example": true,
                          "description": "Указатель ответа"
                        },
                        "http_code": {
                          "type": "integer",
                          "example": 200,
                          "description": "Код ответа"
                        },
                        "result": {
                          "type": "object",
                          "description": "Результат запроса",
                          "properties": {
                            "entities": {
                              "type": "array",
                              "description": "Массиив объектов юр. лиц реквизитов",
                              "items": {
                                "$ref": "#/components/schemas/Entity"
                              }
                            }
                          }
                        }
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    }
                  }
                }
              }
            },
            "headers": {
              "Pagination-Page": {
                "$ref": "#/components/headers/PaginationPage"
              },
              "Pagination-PageSize": {
                "$ref": "#/components/headers/PaginationPageSize"
              },
              "Pagination-CountRecords": {
                "$ref": "#/components/headers/PaginationTotalRecords"
              },
              "Pagination-CountPages": {
                "$ref": "#/components/headers/PaginationTotalPages"
              },
              "Pagination-PreviousPage": {
                "$ref": "#/components/headers/PaginationPreviousPage"
              },
              "Pagination-NextPage": {
                "$ref": "#/components/headers/PaginationNextPage"
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorListResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/entities/{entity_id}": {
      "get": {
        "tags": [
          "Методы для просмотра юр. лиц филиалов (не клиентов)"
        ],
        "summary": "Просмотр данных юр. лица филиала (не клиента) по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "entity_id",
            "in": "path",
            "description": "ID юр. лица",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Entity/properties/id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "entity": {
                          "$ref": "#/components/schemas/Entity"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorGetResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/workplaces": {
      "get": {
        "tags": [
          "Методы для просмотра филиалов"
        ],
        "summary": "Просмотр списка филиалов",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/pageParam"
          },
          {
            "$ref": "#/components/parameters/limitParam"
          },
          {
            "name": "state",
            "in": "query",
            "description": "Видимость филиалов\n * 1 - Только активные филиалы\n * 2 - Только скрытые филиалы\n",
            "schema": {
              "type": "integer",
              "enum": [
                1,
                2
              ],
              "example": 2
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "workplaces": {
                          "type": "array",
                          "description": "Массиив объекта филиала",
                          "items": {
                            "$ref": "#/components/schemas/Workplace"
                          }
                        }
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    }
                  }
                }
              }
            },
            "headers": {
              "Pagination-Page": {
                "$ref": "#/components/headers/PaginationPage"
              },
              "Pagination-PageSize": {
                "$ref": "#/components/headers/PaginationPageSize"
              },
              "Pagination-CountRecords": {
                "$ref": "#/components/headers/PaginationTotalRecords"
              },
              "Pagination-CountPages": {
                "$ref": "#/components/headers/PaginationTotalPages"
              },
              "Pagination-PreviousPage": {
                "$ref": "#/components/headers/PaginationPreviousPage"
              },
              "Pagination-NextPage": {
                "$ref": "#/components/headers/PaginationNextPage"
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorListResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/workplaces/{workplace_id}": {
      "get": {
        "tags": [
          "Методы для просмотра филиалов"
        ],
        "summary": "Просмотр данных филиала по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "workplace_id",
            "in": "path",
            "description": "ID филиала",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Workplace/properties/id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "workplace": {
                          "$ref": "#/components/schemas/Workplace"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorGetResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/clients/natural_persons/{client_id}/documents": {
      "get": {
        "tags": [
          "Методы для просмотра документов клиента физ. лица"
        ],
        "summary": "Просмотр списка документов по ID клиента",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "client_id",
            "in": "path",
            "required": true,
            "description": "ID клиента",
            "schema": {
              "$ref": "#/components/schemas/NaturalPerson/properties/id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "documents": {
                          "type": "array",
                          "description": "Массив объектов документов",
                          "items": {
                            "$ref": "#/components/schemas/Document"
                          }
                        }
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorGetResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      },
      "post": {
        "tags": [
          "Методы для создания/редактирования документов у клиентов физ. лиц"
        ],
        "summary": "Метод позволяет добавлять документы клиента физ. лицо",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "client_id",
            "in": "path",
            "description": "ID клиента",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Other/properties/natural_person_id"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "documents": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Document_edit"
                    }
                  }
                },
                "required": [
                  "documents"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseDocumentsCreate"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/clients/natural_persons/{client_id}/documents/{document_id}": {
      "get": {
        "tags": [
          "Методы для просмотра документов клиента физ. лица"
        ],
        "summary": "Просмотр данных документа по ID документа и ID клиента",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "client_id",
            "in": "path",
            "required": true,
            "description": "ID клиента",
            "schema": {
              "$ref": "#/components/schemas/NaturalPerson/properties/id"
            }
          },
          {
            "name": "document_id",
            "in": "path",
            "required": true,
            "description": "ID документа",
            "schema": {
              "$ref": "#/components/schemas/Document/properties/id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "document": {
                          "$ref": "#/components/schemas/Document"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorGetResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/clients/natural_persons/{client_id}/bank_cards": {
      "get": {
        "tags": [
          "Методы для просмотра банковских карт клиента физ. лица"
        ],
        "summary": "Просмотр списка банковских карт по ID клиента",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "client_id",
            "in": "path",
            "required": true,
            "description": "ID клиента",
            "schema": {
              "$ref": "#/components/schemas/NaturalPerson/properties/id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "bank_cards": {
                          "type": "array",
                          "description": "Массив объектов банковских карт",
                          "items": {
                            "$ref": "#/components/schemas/BankCard"
                          }
                        }
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorGetResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      },
      "post": {
        "tags": [
          "Методы для создания/редактирования банковских карт у клиентов физ. лиц"
        ],
        "summary": "Метод позволяет добавлять банковские карты клиенту физ. лицо",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "client_id",
            "in": "path",
            "description": "ID клиента",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Other/properties/natural_person_id"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "bank_cards": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/BankCard_edit"
                    }
                  }
                },
                "required": [
                  "bank_cards"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseBankCardsCreate"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/clients/natural_persons/{client_id}/bank_cards/{bank_card_id}": {
      "get": {
        "tags": [
          "Методы для просмотра банковских карт клиента физ. лица"
        ],
        "summary": "Просмотр данных банковских карт по ID кары и ID клиента",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "client_id",
            "in": "path",
            "required": true,
            "description": "ID клиента",
            "schema": {
              "$ref": "#/components/schemas/NaturalPerson/properties/id"
            }
          },
          {
            "name": "bank_card_id",
            "in": "path",
            "required": true,
            "description": "ID банковской карты",
            "schema": {
              "$ref": "#/components/schemas/BankCard/properties/id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "bank_card": {
                          "$ref": "#/components/schemas/BankCard"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorGetResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/clients/natural_persons/{client_id}/bonuses_history": {
      "get": {
        "tags": [
          "Методы для просмотра истории бонусов"
        ],
        "summary": "Просмотр списка истории начисления/списания бонусов",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "client_id",
            "in": "path",
            "required": true,
            "description": "ID клиента",
            "schema": {
              "$ref": "#/components/schemas/NaturalPerson/properties/id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "bonuses_history": {
                          "type": "array",
                          "description": "Массив истории начисления/списания бонусов",
                          "items": {
                            "$ref": "#/components/schemas/BonusesHistory"
                          }
                        }
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    }
                  }
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/ErrorGetResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/tariffs": {
      "get": {
        "tags": [
          "Методы для просмотра тарифов"
        ],
        "summary": "Просмотр списка тарифов",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/pageParam"
          },
          {
            "$ref": "#/components/parameters/limitParam"
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "tariffs": {
                          "type": "array",
                          "description": "Массиив объектов Тарифов",
                          "items": {
                            "$ref": "#/components/schemas/Tariff"
                          }
                        }
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    }
                  }
                }
              }
            },
            "headers": {
              "Pagination-Page": {
                "$ref": "#/components/headers/PaginationPage"
              },
              "Pagination-PageSize": {
                "$ref": "#/components/headers/PaginationPageSize"
              },
              "Pagination-CountRecords": {
                "$ref": "#/components/headers/PaginationTotalRecords"
              },
              "Pagination-CountPages": {
                "$ref": "#/components/headers/PaginationTotalPages"
              },
              "Pagination-PreviousPage": {
                "$ref": "#/components/headers/PaginationPreviousPage"
              },
              "Pagination-NextPage": {
                "$ref": "#/components/headers/PaginationNextPage"
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorListResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/accounts": {
      "get": {
        "tags": [
          "Методы для просмотра сотрудников"
        ],
        "summary": "Просмотр списка сотрудников",
        "parameters": [
          {
            "$ref": "#/components/parameters/pageParam"
          },
          {
            "$ref": "#/components/parameters/limitParam"
          },
          {
            "in": "query",
            "name": "status",
            "description": "Статус:\n * 1 - Действующий\n * 2 - Уволен\n * 3 - Забанен\n",
            "example": 1,
            "schema": {
              "$ref": "#/components/schemas/Account/properties/status"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "accounts": {
                          "type": "array",
                          "description": "Массиив объектов сотрудников",
                          "items": {
                            "$ref": "#/components/schemas/Account"
                          }
                        }
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    }
                  }
                }
              }
            },
            "headers": {
              "Pagination-Page": {
                "$ref": "#/components/headers/PaginationPage"
              },
              "Pagination-PageSize": {
                "$ref": "#/components/headers/PaginationPageSize"
              },
              "Pagination-CountRecords": {
                "$ref": "#/components/headers/PaginationTotalRecords"
              },
              "Pagination-CountPages": {
                "$ref": "#/components/headers/PaginationTotalPages"
              },
              "Pagination-PreviousPage": {
                "$ref": "#/components/headers/PaginationPreviousPage"
              },
              "Pagination-NextPage": {
                "$ref": "#/components/headers/PaginationNextPage"
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorListResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/accounts/{account_id}": {
      "get": {
        "tags": [
          "Методы для просмотра сотрудников"
        ],
        "summary": "Просмотр данных сотрудника по ID.",
        "parameters": [
          {
            "in": "path",
            "name": "account_id",
            "required": true,
            "description": "ID - Сотрудника",
            "schema": {
              "$ref": "#/components/schemas/Account/properties/id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "account": {
                          "$ref": "#/components/schemas/Account"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorGetResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/categories": {
      "get": {
        "tags": [
          "Методы для просмотра категорий/подкатегорий"
        ],
        "summary": "Просмотр списка категорий верхнего уровня.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/pageParam"
          },
          {
            "$ref": "#/components/parameters/limitParam"
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "categories": {
                          "type": "array",
                          "description": "Массиив объектов категорий",
                          "items": {
                            "$ref": "#/components/schemas/Category"
                          }
                        }
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    }
                  }
                }
              }
            },
            "headers": {
              "Pagination-Page": {
                "$ref": "#/components/headers/PaginationPage"
              },
              "Pagination-PageSize": {
                "$ref": "#/components/headers/PaginationPageSize"
              },
              "Pagination-CountRecords": {
                "$ref": "#/components/headers/PaginationTotalRecords"
              },
              "Pagination-CountPages": {
                "$ref": "#/components/headers/PaginationTotalPages"
              },
              "Pagination-PreviousPage": {
                "$ref": "#/components/headers/PaginationPreviousPage"
              },
              "Pagination-NextPage": {
                "$ref": "#/components/headers/PaginationNextPage"
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorListResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/subcategory/{category_id}": {
      "get": {
        "tags": [
          "Методы для просмотра категорий/подкатегорий"
        ],
        "summary": "Просмотр списка подкатегорий по ID родительской категори верхнего уровня.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "category_id",
            "in": "path",
            "description": "ID категории",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Category/properties/id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "subcategories": {
                          "type": "array",
                          "description": "Массиив объектов подкатегории",
                          "items": {
                            "$ref": "#/components/schemas/Subcategory"
                          }
                        }
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorGetResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/junior_subcategories/{category_id}/{subcategory_id}": {
      "get": {
        "tags": [
          "Методы для просмотра категорий/подкатегорий"
        ],
        "summary": "Просмотр списка младших подкатегорий по ID родительских категорий верхнего уровня.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "category_id",
            "in": "path",
            "description": "ID категории",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Category/properties/id"
            }
          },
          {
            "name": "subcategory_id",
            "in": "path",
            "description": "ID подкатегории",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Subcategory/properties/id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "junior_subcategories": {
                          "type": "array",
                          "description": "Массиив объектов младших подкатегорий",
                          "items": {
                            "$ref": "#/components/schemas/JuniorSubcategory"
                          }
                        }
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorGetResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/storage_places/{workplace_id}": {
      "get": {
        "tags": [
          "Методы для просмотра мест хранения"
        ],
        "summary": "Метод позволяет получить все места хранения по ID филиаила",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/WorkplaceId"
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "storages": {
                          "description": "Массив объектов данных о местах хранения",
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/StoragePlaces"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorGetResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/metals": {
      "get": {
        "tags": [
          "Методы для просмотра драгоценных металлов и проб"
        ],
        "summary": "Метод позволяет получить список ID и наименования драгоценных металлов.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PageParam"
          },
          {
            "$ref": "#/components/parameters/LimitParam"
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "precious_metals": {
                          "type": "array",
                          "description": "Массив объектов данных драгоценных металлов",
                          "items": {
                            "$ref": "#/components/schemas/Metal"
                          }
                        }
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "X-Pagination-Page": {
                "$ref": "#/components/headers/PaginationPage"
              },
              "X-Pagination-PageSize": {
                "$ref": "#/components/headers/PaginationPageSize"
              },
              "X-Pagination-TotalRecords": {
                "$ref": "#/components/headers/PaginationTotalRecords"
              },
              "X-Pagination-TotalPages": {
                "$ref": "#/components/headers/PaginationTotalPages"
              },
              "X-Pagination-PreviousPage": {
                "$ref": "#/components/headers/PaginationPreviousPage"
              },
              "X-Pagination-NextPage": {
                "$ref": "#/components/headers/PaginationNextPage"
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorListResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/metals/{metal_id}/metals_standarts": {
      "get": {
        "tags": [
          "Методы для просмотра драгоценных металлов и проб"
        ],
        "summary": "Метод позволяет получить список ID и наименований проб по ID металла",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/MetalId"
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "metals_standarts": {
                          "type": "array",
                          "description": "Массив объектов данных проб",
                          "items": {
                            "$ref": "#/components/schemas/MetalStandart"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorGetResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_goods/jewelry_gems": {
      "get": {
        "tags": [
          "Методы для просмотра драгоценных камней"
        ],
        "summary": "Метод позволяет получить справочники для добавления драгоценных камней.",
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "measures_units": {
                          "type": "array",
                          "description": "Единицы измерения",
                          "items": {
                            "properties": {
                              "measure_unit_id": {
                                "type": "integer",
                                "example": 56,
                                "description": "ID единицы измерения"
                              },
                              "measure_unit_title": {
                                "type": "string",
                                "example": "Карат",
                                "description": "Наименования единицы измерения"
                              }
                            }
                          }
                        },
                        "gems_types": {
                          "type": "array",
                          "description": "Типы камней",
                          "items": {
                            "properties": {
                              "type_id": {
                                "type": "integer",
                                "example": 156,
                                "description": "ID типа камня"
                              },
                              "type_title": {
                                "type": "string",
                                "example": "Бриллиант",
                                "description": "Наименование типа камня"
                              },
                              "cut_type": {
                                "type": "array",
                                "description": "Массив видов огранки",
                                "items": {
                                  "properties": {
                                    "cut_type_id": {
                                      "type": "integer",
                                      "example": 56,
                                      "description": "ID видов огранки"
                                    },
                                    "cut_type_title": {
                                      "type": "string",
                                      "example": "Бп-25",
                                      "description": "Наименование видов огранки"
                                    }
                                  }
                                }
                              },
                              "color_group": {
                                "type": "array",
                                "description": "Массив групп цвета",
                                "items": {
                                  "properties": {
                                    "color_group_id": {
                                      "type": "integer",
                                      "example": 56,
                                      "description": "ID группа цвета"
                                    },
                                    "color_group_title": {
                                      "type": "string",
                                      "example": "Сине-зеленый",
                                      "description": "Наименование группы цвета"
                                    }
                                  }
                                }
                              },
                              "purity_group": {
                                "type": "array",
                                "description": "Массив групп чистоты",
                                "items": {
                                  "properties": {
                                    "purity_group_id": {
                                      "type": "integer",
                                      "example": 56,
                                      "description": "ID группы чистоты"
                                    },
                                    "purity_group_title": {
                                      "type": "string",
                                      "example": "К1",
                                      "description": "Наименование группы чистоты"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorGetResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_goods/{pawn_good_id}/jewelry_gems": {
      "get": {
        "tags": [
          "Методы для просмотра драгоценных камней"
        ],
        "summary": "Метод позволяет получить данные драгоценных камней по ID имущества (Ювелирного изделия).",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId"
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "jewelry_gems": {
                          "type": "array",
                          "description": "Массив объектов данных о драгоценных камнях",
                          "items": {
                            "$ref": "#/components/schemas/AnswerGem"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorGetResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/ad_channels": {
      "get": {
        "tags": [
          "Методы для просмотра рекламных каналов"
        ],
        "summary": "Метод позволяет получить список ID и наименований рекламных каналов",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "ad_channels": {
                          "description": "Массив объектов данных рекламных каналов",
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/AdChannels"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorGetResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/document_types": {
      "get": {
        "tags": [
          "Методы для просмотра типов документов"
        ],
        "summary": "Метод позволяет получить список ID, наименований типов документов",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "document_types": {
                          "description": "Массив объектов данных рекламных каналов",
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/DocumentTypes"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorGetResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/operations": {
      "post": {
        "tags": [
          "Методы для создания/редактирования операции \"Залог\""
        ],
        "summary": "Метод позволяет добавить операцию залог и залоговый билет.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "* Не поддерживается возможность выплаты на карту.\n* Категорию \"Автотранспорт\" можно добавлять в залог в единственном числе и нельзя совмещать с другими типами имуществ.\n",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "client_id": {
                    "$ref": "#/components/schemas/Other/properties/client_id"
                  },
                  "document_id": {
                    "$ref": "#/components/schemas/Other/properties/document_id"
                  },
                  "workplace_id": {
                    "$ref": "#/components/schemas/Other/properties/workplace_id"
                  },
                  "entity_id": {
                    "$ref": "#/components/schemas/Other/properties/entity_id"
                  },
                  "tariff_id": {
                    "$ref": "#/components/schemas/Other/properties/tariff_id"
                  },
                  "duration": {
                    "$ref": "#/components/schemas/Other/properties/duration"
                  },
                  "price": {
                    "$ref": "#/components/schemas/Other/properties/price"
                  },
                  "pawn_good": {
                    "type": "object",
                    "description": "Имущества, массив сущностей имуществ или ID уже добавленных имущества (не более 10)",
                    "properties": {
                      "pawn_good_ids": {
                        "type": "array",
                        "description": "Массив из ID заложенных имуществ (которые уже есть в системе)",
                        "items": {
                          "$ref": "#/components/schemas/Other/properties/pawn_good_id"
                        },
                        "example": [
                          2107,
                          2108,
                          2109
                        ]
                      },
                      "new_pawn_goods": {
                        "type": "array",
                        "description": "Массив сущностей новых имуществ (которых нет в системе)",
                        "items": {
                          "anyOf": [
                            {
                              "$ref": "#/components/schemas/PawnGood_edit"
                            },
                            {
                              "$ref": "#/components/schemas/PawnGoodJewelryExtra"
                            },
                            {
                              "$ref": "#/components/schemas/PawnGoodVehicleExtra"
                            },
                            {
                              "$ref": "#/components/schemas/PawnGoodPhoneExtra"
                            },
                            {
                              "$ref": "#/components/schemas/PawnGoodTabletEbookExtra"
                            },
                            {
                              "$ref": "#/components/schemas/PawnGoodPhotoEquipExtra"
                            },
                            {
                              "$ref": "#/components/schemas/PawnGoodTvVideoExtra"
                            },
                            {
                              "$ref": "#/components/schemas/PawnGoodWatchExtra"
                            },
                            {
                              "$ref": "#/components/schemas/PawnGoodHomeApplianceExtra"
                            },
                            {
                              "$ref": "#/components/schemas/PawnGoodToolExtra"
                            },
                            {
                              "$ref": "#/components/schemas/PawnGoodPcComponentExtra"
                            },
                            {
                              "$ref": "#/components/schemas/PawnGoodClothesExtra"
                            },
                            {
                              "$ref": "#/components/schemas/PawnGoodKidsClothesExtra"
                            },
                            {
                              "$ref": "#/components/schemas/PawnGoodLaptopExtra"
                            }
                          ]
                        }
                      }
                    }
                  },
                  "payment_method": {
                    "$ref": "#/components/schemas/Other/properties/payment_method"
                  },
                  "bank_detail_id": {
                    "$ref": "#/components/schemas/Other/properties/bank_detail_id"
                  },
                  "ad_channel_id": {
                    "$ref": "#/components/schemas/Other/properties/ad_channel_id"
                  },
                  "test_operation": {
                    "$ref": "#/components/schemas/Other/properties/test_operation"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/Other/properties/comment"
                  },
                  "open_date": {
                    "$ref": "#/components/schemas/Other/properties/open_date"
                  }
                },
                "required": [
                  "client_id",
                  "document_id",
                  "workplace_id",
                  "entity_id",
                  "tariff_id",
                  "duration",
                  "price",
                  "pawn_good",
                  "payment_method"
                ]
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Положительный ответ на запрос создания операции и залогового билета",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 201,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "operation_id": {
                          "$ref": "#/components/schemas/Other/properties/operation_id"
                        },
                        "pawn_ticket_id": {
                          "$ref": "#/components/schemas/Other/properties/pawn_ticket_id"
                        },
                        "pawn_good_ids": {
                          "type": "array",
                          "description": "Массив из ID имуществ",
                          "example": [
                            2107,
                            2108,
                            2109
                          ],
                          "items": {
                            "$ref": "#/components/schemas/Other/properties/pawn_good_id"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/operations/{operation_id}": {
      "put": {
        "tags": [
          "Методы для создания/редактирования операции \"Залог\""
        ],
        "summary": "Метод позволяет редактировать последнюю операцию \"Залог\" в залоговом билете, по ID.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "* НЕ поддерживается возможность выплаты на карту.",
        "parameters": [
          {
            "$ref": "#/components/parameters/OperationId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "document_id": {
                    "$ref": "#/components/schemas/Other/properties/document_id"
                  },
                  "tariff_id": {
                    "$ref": "#/components/schemas/Other/properties/tariff_id"
                  },
                  "duration": {
                    "$ref": "#/components/schemas/Other/properties/duration"
                  },
                  "price": {
                    "$ref": "#/components/schemas/Other/properties/price"
                  },
                  "payment_method": {
                    "$ref": "#/components/schemas/Other/properties/payment_method"
                  },
                  "bank_detail_id": {
                    "$ref": "#/components/schemas/Other/properties/bank_detail_id"
                  },
                  "ad_channel_id": {
                    "$ref": "#/components/schemas/Other/properties/ad_channel_id"
                  },
                  "test_operation": {
                    "$ref": "#/components/schemas/Other/properties/test_operation"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/Other/properties/comment"
                  }
                },
                "required": [
                  "document_id",
                  "tariff_id",
                  "duration",
                  "price",
                  "payment_method"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/{pawn_ticket_id}/operations/prolongations": {
      "post": {
        "tags": [
          "Методы для создания/редактирования операции \"Продление\""
        ],
        "summary": "Метод позволяет добавить операцию \"Продление\" по ID залогового билета.",
        "description": "* НЕ поддерживается возможность выплаты на карту.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnTicketId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "document_id": {
                    "$ref": "#/components/schemas/Other/properties/document_id"
                  },
                  "duration": {
                    "$ref": "#/components/schemas/Other/properties/duration"
                  },
                  "sum_percent_pay": {
                    "$ref": "#/components/schemas/Other/properties/sum_percent_pay"
                  },
                  "payment_method": {
                    "$ref": "#/components/schemas/Other/properties/payment_method"
                  },
                  "bank_detail_id": {
                    "$ref": "#/components/schemas/Other/properties/bank_detail_id"
                  },
                  "sum_bonus_pay": {
                    "$ref": "#/components/schemas/Other/properties/sum_bonus_pay"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/Other/properties/comment"
                  },
                  "open_date": {
                    "$ref": "#/components/schemas/Other/properties/open_date"
                  },
                  "workplace_id": {
                    "$ref": "#/components/schemas/Other/properties/workplace_id"
                  }
                },
                "required": [
                  "document_id",
                  "duration",
                  "sum_percent_pay",
                  "payment_method"
                ]
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Положительный ответ на запрос создания операции",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "operation_id": {
                          "$ref": "#/components/schemas/Other/properties/operation_id"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/operations/{operation_id}/prolongations": {
      "put": {
        "tags": [
          "Методы для создания/редактирования операции \"Продление\""
        ],
        "summary": "Метод позволяет редактировать последнюю операцию \"Продление\" в залоговом билете, по ID.",
        "description": "* НЕ поддерживается возможность выплаты на карту.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/OperationId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "document_id": {
                    "$ref": "#/components/schemas/Other/properties/document_id"
                  },
                  "duration": {
                    "$ref": "#/components/schemas/Other/properties/duration"
                  },
                  "sum_percent_pay": {
                    "$ref": "#/components/schemas/Other/properties/sum_percent_pay"
                  },
                  "payment_method": {
                    "$ref": "#/components/schemas/Other/properties/payment_method"
                  },
                  "bank_detail_id": {
                    "$ref": "#/components/schemas/Other/properties/bank_detail_id"
                  },
                  "sum_bonus_pay": {
                    "$ref": "#/components/schemas/Other/properties/sum_bonus_pay"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/Other/properties/comment"
                  }
                },
                "required": [
                  "document_id",
                  "duration",
                  "sum_percent_pay",
                  "payment_method"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/{pawn_ticket_id}/operations/repledges": {
      "post": {
        "tags": [
          "Методы для создания/редактирования операции \"Перезалог\""
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Метод позволяет добавить операцию \"Перезалог\" по ID залогового билета.",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnTicketId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "document_id": {
                    "$ref": "#/components/schemas/Other/properties/document_id"
                  },
                  "tariff_id": {
                    "$ref": "#/components/schemas/Other/properties/tariff_id"
                  },
                  "duration": {
                    "$ref": "#/components/schemas/Other/properties/duration"
                  },
                  "sum_percent_pay": {
                    "$ref": "#/components/schemas/Other/properties/sum_percent_pay"
                  },
                  "payment_method": {
                    "$ref": "#/components/schemas/Other/properties/payment_method"
                  },
                  "bank_detail_id": {
                    "$ref": "#/components/schemas/Other/properties/bank_detail_id"
                  },
                  "payment_method_close": {
                    "$ref": "#/components/schemas/Other/properties/payment_method_close"
                  },
                  "bank_detail_close_id": {
                    "$ref": "#/components/schemas/Other/properties/bank_detail_close_id"
                  },
                  "settings_difference": {
                    "$ref": "#/components/schemas/Other/properties/settings_difference"
                  },
                  "sum_bonus_pay": {
                    "$ref": "#/components/schemas/Other/properties/sum_bonus_pay"
                  },
                  "open_date": {
                    "$ref": "#/components/schemas/Other/properties/open_date"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/Other/properties/comment"
                  },
                  "workplace_id": {
                    "$ref": "#/components/schemas/Other/properties/workplace_id"
                  }
                },
                "required": [
                  "document_id",
                  "tariff_id",
                  "entity_id",
                  "duration",
                  "sum_percent_pay",
                  "payment_method"
                ]
              }
            }
          }
        },
        "responses": {
          "201": {
            "$ref": "#/components/responses/SuccessfulResponseOperationCreatedPawnTicketNew"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/operations/{operation_id}/repledges": {
      "put": {
        "tags": [
          "Методы для создания/редактирования операции \"Перезалог\""
        ],
        "summary": "Метод позволяет редактировать последнюю операцию \"Перезалог\" в залоговом билете, по ID.",
        "description": "* НЕ поддерживается возможность выплаты на карту.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/OperationId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "document_id": {
                    "$ref": "#/components/schemas/Other/properties/document_id"
                  },
                  "tariff_id": {
                    "$ref": "#/components/schemas/Other/properties/tariff_id"
                  },
                  "duration": {
                    "$ref": "#/components/schemas/Other/properties/duration"
                  },
                  "sum_percent_pay": {
                    "$ref": "#/components/schemas/Other/properties/sum_percent_pay"
                  },
                  "payment_method": {
                    "$ref": "#/components/schemas/Other/properties/payment_method"
                  },
                  "bank_detail_id": {
                    "$ref": "#/components/schemas/Other/properties/bank_detail_id"
                  },
                  "payment_method_close": {
                    "$ref": "#/components/schemas/Other/properties/payment_method_close"
                  },
                  "bank_detail_close_id": {
                    "$ref": "#/components/schemas/Other/properties/bank_detail_close_id"
                  },
                  "sum_bonus_pay": {
                    "$ref": "#/components/schemas/Other/properties/sum_bonus_pay"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/Other/properties/comment"
                  }
                },
                "required": [
                  "document_id",
                  "tariff_id",
                  "entity_id",
                  "duration",
                  "sum_percent_pay",
                  "payment_method"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/{pawn_ticket_id}/operations/additionals": {
      "post": {
        "tags": [
          "Методы для создания/редактирования операции \"Добор\""
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Метод позволяет добавить операцию \"Добор\" по ID залогового билета.",
        "description": "* НЕ поддерживается возможность выплаты на карту.",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnTicketId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "document_id": {
                    "$ref": "#/components/schemas/Other/properties/document_id"
                  },
                  "tariff_id": {
                    "$ref": "#/components/schemas/Other/properties/tariff_id"
                  },
                  "entity_id": {
                    "$ref": "#/components/schemas/Other/properties/entity_id"
                  },
                  "duration": {
                    "$ref": "#/components/schemas/Other/properties/duration"
                  },
                  "price_add": {
                    "$ref": "#/components/schemas/Other/properties/price_add"
                  },
                  "payment_method": {
                    "$ref": "#/components/schemas/Other/properties/payment_method"
                  },
                  "bank_detail_id": {
                    "$ref": "#/components/schemas/Other/properties/bank_detail_id"
                  },
                  "payment_method_close": {
                    "$ref": "#/components/schemas/Other/properties/payment_method_close"
                  },
                  "bank_detail_close_id": {
                    "$ref": "#/components/schemas/Other/properties/bank_detail_close_id"
                  },
                  "open_date": {
                    "$ref": "#/components/schemas/Other/properties/open_date"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/Other/properties/comment"
                  },
                  "workplace_id": {
                    "$ref": "#/components/schemas/Other/properties/workplace_id"
                  }
                },
                "required": [
                  "document_id",
                  "tariff_id",
                  "entity_id",
                  "duration",
                  "price_add",
                  "sum_percent_pay",
                  "payment_method"
                ]
              }
            }
          }
        },
        "responses": {
          "201": {
            "$ref": "#/components/responses/SuccessfulResponseOperationCreatedPawnTicketNew"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/operations/{operation_id}/additionals": {
      "put": {
        "tags": [
          "Методы для создания/редактирования операции \"Добор\""
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Метод позволяет редактировать последнюю операцию \"Добор\" в залоговом билете, по ID.",
        "description": "* НЕ поддерживается возможность выплаты на карту.",
        "parameters": [
          {
            "$ref": "#/components/parameters/OperationId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "document_id": {
                    "$ref": "#/components/schemas/Other/properties/document_id"
                  },
                  "tariff_id": {
                    "$ref": "#/components/schemas/Other/properties/tariff_id"
                  },
                  "duration": {
                    "$ref": "#/components/schemas/Other/properties/duration"
                  },
                  "price_add": {
                    "$ref": "#/components/schemas/Other/properties/price_add"
                  },
                  "payment_method": {
                    "$ref": "#/components/schemas/Other/properties/payment_method"
                  },
                  "bank_detail_id": {
                    "$ref": "#/components/schemas/Other/properties/bank_detail_id"
                  },
                  "payment_method_close": {
                    "$ref": "#/components/schemas/Other/properties/payment_method_close"
                  },
                  "bank_detail_close_id": {
                    "$ref": "#/components/schemas/Other/properties/bank_detail_close_id"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/Other/properties/comment"
                  }
                },
                "required": [
                  "document_id",
                  "tariff_id",
                  "entity_id",
                  "duration",
                  "price_add",
                  "sum_percent_pay",
                  "payment_method"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/{pawn_ticket_id}/operations/partial_buyout": {
      "post": {
        "tags": [
          "Методы для создания/редактирования операции \"Частичный выкуп\""
        ],
        "summary": "Метод позволяет добавить операцию \"Частичный выкуп\" по ID залогового билета.",
        "description": "* НЕ поддерживается возможность выплаты на карту.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnTicketId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "document_id": {
                    "$ref": "#/components/schemas/Other/properties/document_id"
                  },
                  "tariff_id": {
                    "$ref": "#/components/schemas/Other/properties/tariff_id"
                  },
                  "entity_id": {
                    "$ref": "#/components/schemas/Other/properties/entity_id"
                  },
                  "duration": {
                    "$ref": "#/components/schemas/Other/properties/duration"
                  },
                  "sum_partial_buyout": {
                    "$ref": "#/components/schemas/Other/properties/sum_partial_buyout"
                  },
                  "sum_percent_pay": {
                    "$ref": "#/components/schemas/Other/properties/sum_percent_pay"
                  },
                  "payment_method": {
                    "$ref": "#/components/schemas/Other/properties/payment_method"
                  },
                  "bank_detail_id": {
                    "$ref": "#/components/schemas/Other/properties/bank_detail_id"
                  },
                  "payment_method_close": {
                    "$ref": "#/components/schemas/Other/properties/payment_method_close"
                  },
                  "bank_detail_close_id": {
                    "$ref": "#/components/schemas/Other/properties/bank_detail_close_id"
                  },
                  "sum_bonus_pay": {
                    "$ref": "#/components/schemas/Other/properties/sum_bonus_pay"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/Other/properties/comment"
                  },
                  "open_date": {
                    "$ref": "#/components/schemas/Other/properties/open_date"
                  },
                  "workplace_id": {
                    "$ref": "#/components/schemas/Other/properties/workplace_id"
                  }
                },
                "required": [
                  "document_id",
                  "tariff_id",
                  "entity_id",
                  "duration",
                  "sum_partial_buyout",
                  "sum_percent_pay",
                  "payment_method"
                ]
              }
            }
          }
        },
        "responses": {
          "201": {
            "$ref": "#/components/responses/SuccessfulResponseOperationCreatedPawnTicketNew"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/operations/{operation_id}/partial_buyout": {
      "put": {
        "tags": [
          "Методы для создания/редактирования операции \"Частичный выкуп\""
        ],
        "summary": "Метод позволяет редактировать последнюю операцию \"Частичный выкуп\" в залоговом билете, по ID.",
        "description": "* НЕ поддерживается возможность выплаты на карту.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/OperationId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "document_id": {
                    "$ref": "#/components/schemas/Other/properties/document_id"
                  },
                  "tariff_id": {
                    "$ref": "#/components/schemas/Other/properties/tariff_id"
                  },
                  "duration": {
                    "$ref": "#/components/schemas/Other/properties/duration"
                  },
                  "sum_partial_buyout": {
                    "$ref": "#/components/schemas/Other/properties/sum_partial_buyout"
                  },
                  "sum_percent_pay": {
                    "$ref": "#/components/schemas/Other/properties/sum_percent_pay"
                  },
                  "payment_method": {
                    "$ref": "#/components/schemas/Other/properties/payment_method"
                  },
                  "bank_detail_id": {
                    "$ref": "#/components/schemas/Other/properties/bank_detail_id"
                  },
                  "payment_method_close": {
                    "$ref": "#/components/schemas/Other/properties/payment_method_close"
                  },
                  "bank_detail_close_id": {
                    "$ref": "#/components/schemas/Other/properties/bank_detail_close_id"
                  },
                  "sum_bonus_pay": {
                    "$ref": "#/components/schemas/Other/properties/sum_bonus_pay"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/Other/properties/comment"
                  }
                },
                "required": [
                  "document_id",
                  "tariff_id",
                  "entity_id",
                  "duration",
                  "sum_partial_buyout",
                  "sum_percent_pay",
                  "payment_method"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/{pawn_ticket_id}/operations/partial_buyout_pawn_good": {
      "post": {
        "tags": [
          "Методы для создания/редактирования операции \"Частичный выкуп имущества\""
        ],
        "summary": "Метод позволяет добавить операцию \"Частичный выкуп имущества\" по ID залогового билета.",
        "description": "* НЕ поддерживается возможность выплаты на карту.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnTicketId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "document_id": {
                    "$ref": "#/components/schemas/Other/properties/document_id"
                  },
                  "tariff_id": {
                    "$ref": "#/components/schemas/Other/properties/tariff_id"
                  },
                  "entity_id": {
                    "$ref": "#/components/schemas/Other/properties/entity_id"
                  },
                  "duration": {
                    "$ref": "#/components/schemas/Other/properties/duration"
                  },
                  "sum_partial_buyout": {
                    "$ref": "#/components/schemas/Other/properties/sum_partial_buyout"
                  },
                  "sum_percent_pay": {
                    "$ref": "#/components/schemas/Other/properties/sum_percent_pay"
                  },
                  "pawn_good_ids": {
                    "type": "array",
                    "description": "Список из ID выкупаемых имуществ",
                    "example": [
                      2107,
                      2108
                    ],
                    "items": {
                      "$ref": "#/components/schemas/Other/properties/pawn_good_id"
                    }
                  },
                  "payment_method": {
                    "$ref": "#/components/schemas/Other/properties/payment_method"
                  },
                  "bank_detail_id": {
                    "$ref": "#/components/schemas/Other/properties/bank_detail_id"
                  },
                  "payment_method_close": {
                    "$ref": "#/components/schemas/Other/properties/payment_method_close"
                  },
                  "bank_detail_close_id": {
                    "$ref": "#/components/schemas/Other/properties/bank_detail_close_id"
                  },
                  "sum_bonus_pay": {
                    "$ref": "#/components/schemas/Other/properties/sum_bonus_pay"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/Other/properties/comment"
                  },
                  "open_date": {
                    "$ref": "#/components/schemas/Other/properties/open_date"
                  }
                },
                "required": [
                  "document_id",
                  "tariff_id",
                  "entity_id",
                  "duration",
                  "sum_partial_buyout",
                  "sum_percent_pay",
                  "payment_method"
                ]
              }
            }
          }
        },
        "responses": {
          "201": {
            "$ref": "#/components/responses/SuccessfulResponseOperationCreatedPawnTicketNew"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/operations/{operation_id}/partial_buyout_pawn_good": {
      "put": {
        "tags": [
          "Методы для создания/редактирования операции \"Частичный выкуп имущества\""
        ],
        "summary": "Метод позволяет редактировать последнюю операцию \"Частичный выкуп имущества\" в залоговом билете, по ID.",
        "description": "* НЕ поддерживается возможность выплаты на карту.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/OperationId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "document_id": {
                    "$ref": "#/components/schemas/Other/properties/document_id"
                  },
                  "tariff_id": {
                    "$ref": "#/components/schemas/Other/properties/tariff_id"
                  },
                  "entity_id": {
                    "$ref": "#/components/schemas/Other/properties/entity_id"
                  },
                  "duration": {
                    "$ref": "#/components/schemas/Other/properties/duration"
                  },
                  "sum_partial_buyout": {
                    "$ref": "#/components/schemas/Other/properties/sum_partial_buyout"
                  },
                  "sum_percent_pay": {
                    "$ref": "#/components/schemas/Other/properties/sum_percent_pay"
                  },
                  "payment_method": {
                    "$ref": "#/components/schemas/Other/properties/payment_method"
                  },
                  "bank_detail_id": {
                    "$ref": "#/components/schemas/Other/properties/bank_detail_id"
                  },
                  "payment_method_close": {
                    "$ref": "#/components/schemas/Other/properties/payment_method_close"
                  },
                  "bank_detail_close_id": {
                    "$ref": "#/components/schemas/Other/properties/bank_detail_close_id"
                  },
                  "sum_bonus_pay": {
                    "$ref": "#/components/schemas/Other/properties/sum_bonus_pay"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/Other/properties/comment"
                  }
                },
                "required": [
                  "document_id",
                  "tariff_id",
                  "entity_id",
                  "duration",
                  "sum_partial_buyout",
                  "sum_percent_pay",
                  "payment_method"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/{pawn_ticket_id}/operations/buyouts": {
      "post": {
        "tags": [
          "Методы для создания/редактирования операции \"Выкуп\""
        ],
        "summary": "Метод позволяет добавить операцию \"Выкуп\" по ID залогового билета.",
        "description": "* НЕ поддерживается возможность выплаты на карту.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnTicketId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "document_id": {
                    "$ref": "#/components/schemas/Other/properties/document_id"
                  },
                  "sum_buyout": {
                    "$ref": "#/components/schemas/Other/properties/sum_buyout"
                  },
                  "payment_method": {
                    "$ref": "#/components/schemas/Other/properties/payment_method"
                  },
                  "bank_detail_id": {
                    "$ref": "#/components/schemas/Other/properties/bank_detail_id"
                  },
                  "sum_bonus_pay": {
                    "$ref": "#/components/schemas/Other/properties/sum_bonus_pay"
                  },
                  "open_date": {
                    "$ref": "#/components/schemas/Other/properties/open_date"
                  }
                },
                "required": [
                  "document_id",
                  "sum_buyout",
                  "payment_method"
                ]
              }
            }
          }
        },
        "responses": {
          "201": {
            "$ref": "#/components/responses/SuccessfulResponseOperationCreated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/operations/{operation_id}/buyouts": {
      "put": {
        "tags": [
          "Методы для создания/редактирования операции \"Выкуп\""
        ],
        "summary": "Метод позволяет редактировать последнюю операцию \"Выкуп\" в залоговом билете, по ID.",
        "description": "* НЕ поддерживается возможность выплаты на карту.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/OperationId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "document_id": {
                    "$ref": "#/components/schemas/Other/properties/document_id"
                  },
                  "sum_buyout": {
                    "$ref": "#/components/schemas/Other/properties/sum_buyout"
                  },
                  "payment_method": {
                    "$ref": "#/components/schemas/Other/properties/payment_method"
                  },
                  "bank_detail_id": {
                    "$ref": "#/components/schemas/Other/properties/bank_detail_id"
                  },
                  "sum_bonus_pay": {
                    "$ref": "#/components/schemas/Other/properties/sum_bonus_pay"
                  }
                },
                "required": [
                  "document_id",
                  "sum_buyout",
                  "payment_method"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/{pawn_ticket_id}/operations/send_realization": {
      "post": {
        "tags": [
          "Методы для создания/редактирования операции \"Отправка на реализацию\""
        ],
        "summary": "Метод позволяет добавить операцию \"Отправка на реализацию\" по ID залогового билета.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnTicketId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "open_date": {
                    "$ref": "#/components/schemas/Other/properties/open_date"
                  },
                  "pawn_goods": {
                    "$ref": "#/components/schemas/Other/properties/pawn_goods_sale"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "$ref": "#/components/responses/SuccessfulResponseOperationCreated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/operations/{operation_id}/send_realization": {
      "put": {
        "tags": [
          "Методы для создания/редактирования операции \"Отправка на реализацию\""
        ],
        "summary": "Метод позволяет редактировать последнюю операцию \"Отправка на реализацию\" в залоговом билете, по ID.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/OperationId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "pawn_goods": {
                    "$ref": "#/components/schemas/Other/properties/pawn_goods_sale"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/{pawn_ticket_id}/operations/sell_realization": {
      "post": {
        "tags": [
          "Методы для создания/редактирования операции \"Реализация\""
        ],
        "summary": "Метод позволяет добавить операцию \"Реализация\" по ID залогового билета.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnTicketId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "client_id": {
                    "description": "ID клиента (покупателя)",
                    "type": "integer",
                    "example": 1
                  },
                  "open_date": {
                    "$ref": "#/components/schemas/Other/properties/open_date"
                  },
                  "payment_method": {
                    "$ref": "#/components/schemas/Other/properties/payment_method"
                  },
                  "bank_detail_id": {
                    "$ref": "#/components/schemas/Other/properties/bank_detail_id"
                  },
                  "pawn_goods": {
                    "$ref": "#/components/schemas/Other/properties/pawn_goods_sell"
                  }
                },
                "required": [
                  "pawn_goods"
                ]
              }
            }
          }
        },
        "responses": {
          "201": {
            "$ref": "#/components/responses/SuccessfulResponseOperationCreated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/operations/{operation_id}/sell_realization": {
      "put": {
        "tags": [
          "Методы для создания/редактирования операции \"Реализация\""
        ],
        "summary": "Метод позволяет редактировать последнюю операцию \"Реализация\" в залоговом билете, по ID.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "* Если данный массив \"pawn_goods\" не указан или пустой - имущества и суммы реализации редактироваться не будут;\n* Наличие или отсуствие данных в массиве \"pawn_goods\" позволяет добавлять и удалять имущества из операции.\n",
        "parameters": [
          {
            "$ref": "#/components/parameters/OperationId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "payment_method": {
                    "$ref": "#/components/schemas/Other/properties/payment_method"
                  },
                  "bank_detail_id": {
                    "$ref": "#/components/schemas/Other/properties/bank_detail_id"
                  },
                  "pawn_goods": {
                    "$ref": "#/components/schemas/Other/properties/pawn_goods_sell"
                  }
                },
                "required": [
                  "sum_buyout"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/{pawn_ticket_id}/pawn_goods/{pawn_good_id}/operations/withdraw": {
      "post": {
        "tags": [
          "Методы для создания/редактирования операции \"Изъятие\""
        ],
        "summary": "Метод позволяет добавить операцию \"Изъятие\" по ID залогового билета.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnTicketId_edit"
          },
          {
            "$ref": "#/components/parameters/PawnGoodId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "open_date": {
                    "$ref": "#/components/schemas/Other/properties/open_date"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/Other/properties/comment"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "$ref": "#/components/responses/SuccessfulResponseOperationCreated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/operations/{operation_id}/withdraw": {
      "put": {
        "tags": [
          "Методы для создания/редактирования операции \"Изъятие\""
        ],
        "summary": "Метод позволяет редактировать операцию \"Изъятие\" в залоговом билете, по ID.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/OperationId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "comment": {
                    "$ref": "#/components/schemas/Other/properties/comment"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные залогового имущества по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "* В \"Request body\" нет обязательных полей",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "category_id": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/category_id"
                  },
                  "subcategory_id": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/subcategory_id"
                  },
                  "junior_subcategory_id": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/junior_subcategory_id"
                  },
                  "name": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/name"
                  },
                  "estimate_price": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
                  },
                  "storage_id": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
                  },
                  "serial_number": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/serial_number"
                  },
                  "description": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/description"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
                  },
                  "length": {
                    "type": "string",
                    "example": "10 см",
                    "description": "Длина (для страны профиля Казахстан)"
                  },
                  "width": {
                    "type": "string",
                    "example": "15 см",
                    "description": "Ширина (для страны профиля Казахстан)"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}/jewelry": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные имущества Ювелирного изделия по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "subcategory_id": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/subcategory_id"
                  },
                  "junior_subcategory_id": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/junior_subcategory_id"
                  },
                  "name": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/name"
                  },
                  "estimate_price": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
                  },
                  "storage_id": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
                  },
                  "uin": {
                    "$ref": "#/components/schemas/PawnGoodJewelryExtra/properties/jewelry_extra/properties/uin"
                  },
                  "size": {
                    "$ref": "#/components/schemas/PawnGoodJewelryExtra/properties/jewelry_extra/properties/size"
                  },
                  "manufacturer": {
                    "$ref": "#/components/schemas/PawnGoodJewelryExtra/properties/jewelry_extra/properties/manufacturer"
                  },
                  "dm_code": {
                    "$ref": "#/components/schemas/PawnGoodJewelryExtra/properties/jewelry_extra/properties/dm_code"
                  },
                  "metal_id": {
                    "$ref": "#/components/schemas/PawnGoodJewelryExtra/properties/jewelry_extra/properties/metal_id"
                  },
                  "metal_standart_id": {
                    "$ref": "#/components/schemas/PawnGoodJewelryExtra/properties/jewelry_extra/properties/metal_standart_id"
                  },
                  "product_type": {
                    "$ref": "#/components/schemas/PawnGoodJewelryExtra/properties/jewelry_extra/properties/product_type"
                  },
                  "weight": {
                    "$ref": "#/components/schemas/PawnGoodJewelryExtra/properties/jewelry_extra/properties/weight"
                  },
                  "weight_inserts": {
                    "$ref": "#/components/schemas/PawnGoodJewelryExtra/properties/jewelry_extra/properties/weight_inserts"
                  },
                  "estimate_inserts": {
                    "$ref": "#/components/schemas/PawnGoodJewelryExtra/properties/jewelry_extra/properties/estimate_inserts"
                  },
                  "color": {
                    "$ref": "#/components/schemas/PawnGoodJewelryExtra/properties/jewelry_extra/properties/color"
                  },
                  "gender": {
                    "$ref": "#/components/schemas/PawnGoodJewelryExtra/properties/jewelry_extra/properties/gender"
                  },
                  "strap_type": {
                    "$ref": "#/components/schemas/PawnGoodJewelryExtra/properties/jewelry_extra/properties/strap_type"
                  },
                  "mechanism": {
                    "$ref": "#/components/schemas/PawnGoodJewelryExtra/properties/jewelry_extra/properties/mechanism"
                  },
                  "brand": {
                    "$ref": "#/components/schemas/PawnGoodJewelryExtra/properties/jewelry_extra/properties/brand"
                  },
                  "description": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/description"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}/vehicle": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные залогового имущества Транспортного средства по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "В \"Request body\" нет обязательных полей",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "subcategory_id": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/subcategory_id"
                  },
                  "junior_subcategory_id": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/junior_subcategory_id"
                  },
                  "name": {
                    "$ref": "#/components/schemas/PawnGoodVehicleExtra/properties/name"
                  },
                  "estimate_price": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
                  },
                  "storage_id": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
                  },
                  "product_year": {
                    "$ref": "#/components/schemas/PawnGoodVehicleExtra/properties/vehicle_extra/properties/product_year"
                  },
                  "vin": {
                    "$ref": "#/components/schemas/PawnGoodVehicleExtra/properties/vehicle_extra/properties/vin"
                  },
                  "body_color": {
                    "$ref": "#/components/schemas/PawnGoodVehicleExtra/properties/vehicle_extra/properties/body_color"
                  },
                  "reg_number": {
                    "$ref": "#/components/schemas/PawnGoodVehicleExtra/properties/vehicle_extra/properties/reg_number"
                  },
                  "engine_model_number": {
                    "$ref": "#/components/schemas/PawnGoodVehicleExtra/properties/vehicle_extra/properties/engine_model_number"
                  },
                  "engine_volume": {
                    "$ref": "#/components/schemas/PawnGoodVehicleExtra/properties/vehicle_extra/properties/engine_volume"
                  },
                  "chassis_number": {
                    "$ref": "#/components/schemas/PawnGoodVehicleExtra/properties/vehicle_extra/properties/chassis_number"
                  },
                  "trailer_number": {
                    "$ref": "#/components/schemas/PawnGoodVehicleExtra/properties/vehicle_extra/properties/trailer_number"
                  },
                  "mileage": {
                    "$ref": "#/components/schemas/PawnGoodVehicleExtra/properties/vehicle_extra/properties/mileage"
                  },
                  "pts_number": {
                    "$ref": "#/components/schemas/PawnGoodVehicleExtra/properties/vehicle_extra/properties/pts_number"
                  },
                  "pts_issued_by": {
                    "$ref": "#/components/schemas/PawnGoodVehicleExtra/properties/vehicle_extra/properties/pts_issued_by"
                  },
                  "pts_issued_date": {
                    "$ref": "#/components/schemas/PawnGoodVehicleExtra/properties/vehicle_extra/properties/pts_issued_date"
                  },
                  "sts_number": {
                    "$ref": "#/components/schemas/PawnGoodVehicleExtra/properties/vehicle_extra/properties/sts_number"
                  },
                  "sts_issued_by": {
                    "$ref": "#/components/schemas/PawnGoodVehicleExtra/properties/vehicle_extra/properties/sts_issued_by"
                  },
                  "sts_issued_date": {
                    "$ref": "#/components/schemas/PawnGoodVehicleExtra/properties/vehicle_extra/properties/sts_issued_date"
                  },
                  "description": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/description"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}/phone": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные залогового имущества Мобильного телефона по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "В \"Request body\" нет обязательных полей",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "subcategory_id": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/subcategory_id"
                  },
                  "name": {
                    "$ref": "#/components/schemas/PawnGoodPhoneExtra/properties/name"
                  },
                  "estimate_price": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
                  },
                  "storage_id": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
                  },
                  "serial_number": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/serial_number"
                  },
                  "brand": {
                    "$ref": "#/components/schemas/PawnGoodPhoneExtra/properties/phone_extra/properties/brand"
                  },
                  "device_model": {
                    "$ref": "#/components/schemas/PawnGoodPhoneExtra/properties/phone_extra/properties/device_model"
                  },
                  "memory_size": {
                    "$ref": "#/components/schemas/PawnGoodPhoneExtra/properties/phone_extra/properties/memory_size"
                  },
                  "color": {
                    "$ref": "#/components/schemas/PawnGoodPhoneExtra/properties/phone_extra/properties/color"
                  },
                  "ram_size": {
                    "$ref": "#/components/schemas/PawnGoodPhoneExtra/properties/phone_extra/properties/ram_size"
                  },
                  "screen_condition_id": {
                    "$ref": "#/components/schemas/PawnGoodPhoneExtra/properties/phone_extra/properties/screen_condition_id"
                  },
                  "case_condition_id": {
                    "$ref": "#/components/schemas/PawnGoodPhoneExtra/properties/phone_extra/properties/case_condition_id"
                  },
                  "description": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/description"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}/tablet_ebook": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные залогового имущества Планшеты и электронные книги по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "В \"Request body\" нет обязательных полей",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/name"
                  },
                  "estimate_price": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
                  },
                  "storage_id": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
                  },
                  "serial_number": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/serial_number"
                  },
                  "brand": {
                    "$ref": "#/components/schemas/PawnGoodTabletEbookExtra/properties/tablet_extra/properties/brand"
                  },
                  "device_model": {
                    "$ref": "#/components/schemas/PawnGoodTabletEbookExtra/properties/tablet_extra/properties/device_model"
                  },
                  "memory_size": {
                    "$ref": "#/components/schemas/PawnGoodTabletEbookExtra/properties/tablet_extra/properties/memory_size"
                  },
                  "sim_slot": {
                    "$ref": "#/components/schemas/PawnGoodTabletEbookExtra/properties/tablet_extra/properties/sim_slot"
                  },
                  "color": {
                    "$ref": "#/components/schemas/PawnGoodTabletEbookExtra/properties/tablet_extra/properties/color"
                  },
                  "ram_size": {
                    "$ref": "#/components/schemas/PawnGoodTabletEbookExtra/properties/tablet_extra/properties/ram_size"
                  },
                  "description": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/description"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}/tv_video": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные залогового имущества ТВ и видеотехника по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "В \"Request body\" нет обязательных полей",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/name"
                  },
                  "estimate_price": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
                  },
                  "storage_id": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
                  },
                  "serial_number": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/serial_number"
                  },
                  "brand": {
                    "$ref": "#/components/schemas/PawnGoodTvVideoExtra/properties/tv_extra/properties/brand"
                  },
                  "device_model": {
                    "$ref": "#/components/schemas/PawnGoodTvVideoExtra/properties/tv_extra/properties/device_model"
                  },
                  "device_work": {
                    "$ref": "#/components/schemas/PawnGoodTvVideoExtra/properties/tv_extra/properties/device_work"
                  },
                  "screen_flaws_id": {
                    "$ref": "#/components/schemas/PawnGoodTvVideoExtra/properties/tv_extra/properties/screen_flaws_id"
                  },
                  "case_flaws_id": {
                    "$ref": "#/components/schemas/PawnGoodTvVideoExtra/properties/tv_extra/properties/case_flaws_id"
                  },
                  "description": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/description"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}/watch": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные залогового имущества Часы по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "В \"Request body\" нет обязательных полей",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/name"
                  },
                  "estimate_price": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
                  },
                  "storage_id": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
                  },
                  "serial_number": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/serial_number"
                  },
                  "brand": {
                    "$ref": "#/components/schemas/PawnGoodWatchExtra/properties/watch_extra/properties/brand"
                  },
                  "gender": {
                    "$ref": "#/components/schemas/PawnGoodWatchExtra/properties/watch_extra/properties/gender"
                  },
                  "color": {
                    "$ref": "#/components/schemas/PawnGoodWatchExtra/properties/watch_extra/properties/color"
                  },
                  "strap_type": {
                    "$ref": "#/components/schemas/PawnGoodWatchExtra/properties/watch_extra/properties/strap_type"
                  },
                  "mechanism": {
                    "$ref": "#/components/schemas/PawnGoodWatchExtra/properties/watch_extra/properties/mechanism"
                  },
                  "device_work": {
                    "$ref": "#/components/schemas/PawnGoodWatchExtra/properties/watch_extra/properties/device_work"
                  },
                  "akb": {
                    "$ref": "#/components/schemas/PawnGoodWatchExtra/properties/watch_extra/properties/akb"
                  },
                  "screen_flaws_id": {
                    "$ref": "#/components/schemas/PawnGoodWatchExtra/properties/watch_extra/properties/screen_flaws_id"
                  },
                  "case_flaws_id": {
                    "$ref": "#/components/schemas/PawnGoodWatchExtra/properties/watch_extra/properties/case_flaws_id"
                  },
                  "description": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/description"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}/photo_equip": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные залогового имущества Фототехника по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "В \"Request body\" нет обязательных полей",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "device_work": {
                    "type": "integer",
                    "example": 1,
                    "description": "Включается ли устройство :\n* 1 - Включается\n* 2 - Не включается\n"
                  },
                  "screen_flaws_id": {
                    "type": "array",
                    "example": [
                      1,
                      2,
                      3
                    ],
                    "items": {
                      "type": "integer"
                    },
                    "description": "Состояние экрана :\n* 1 - Без дефектов\n* 2 - Мелкие царапины\n* 3 - Крупные царапины\n* 4 - Трещины, сколы\n* 5 - Дефекты изображения\n* 6 - Разбит\n* 7 - Не работает\n"
                  },
                  "case_flaws_id": {
                    "type": "array",
                    "example": [
                      3,
                      2,
                      1
                    ],
                    "items": {
                      "type": "integer"
                    },
                    "description": "Состояние корпуса :\n* 1 - Без дефектов\n* 2 - Царапины\n* 3 - Трещины\n* 4 - Вмятины, сколы\n* 5 - Нет частей корпуса\n* 6 - Загрязнения\n"
                  },
                  "name": {
                    "$ref": "#/components/schemas/PawnGoodPhoneExtra/properties/name"
                  },
                  "estimate_price": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
                  },
                  "serial_number": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/serial_number"
                  },
                  "storage_id": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
                  },
                  "description": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/description"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}/pc_component": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные залогового имущества Товары для компьютера по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "В \"Request body\" нет обязательных полей",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "brand": {
                    "$ref": "#/components/schemas/PawnGoodPcComponentExtra/properties/pc_extra/properties/brand"
                  },
                  "device_model": {
                    "$ref": "#/components/schemas/PawnGoodPcComponentExtra/properties/pc_extra/properties/device_model"
                  },
                  "name": {
                    "$ref": "#/components/schemas/PawnGoodPhoneExtra/properties/name"
                  },
                  "estimate_price": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
                  },
                  "serial_number": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/serial_number"
                  },
                  "storage_id": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
                  },
                  "description": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/description"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}/laptop_netbook": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные залогового имущества Ноутбуки и нетбуки по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "В \"Request body\" нет обязательных полей",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/name"
                  },
                  "estimate_price": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
                  },
                  "storage_id": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
                  },
                  "serial_number": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/serial_number"
                  },
                  "device_work": {
                    "$ref": "#/components/schemas/PawnGoodLaptopExtra/properties/laptop_netbook_extra/properties/device_work"
                  },
                  "akb_hours": {
                    "$ref": "#/components/schemas/PawnGoodLaptopExtra/properties/laptop_netbook_extra/properties/akb_hours"
                  },
                  "keyboard_layout": {
                    "$ref": "#/components/schemas/PawnGoodLaptopExtra/properties/laptop_netbook_extra/properties/keyboard_layout"
                  },
                  "screen_condition_id": {
                    "$ref": "#/components/schemas/PawnGoodLaptopExtra/properties/laptop_netbook_extra/properties/screen_condition_id"
                  },
                  "case_condition_id": {
                    "$ref": "#/components/schemas/PawnGoodLaptopExtra/properties/laptop_netbook_extra/properties/case_condition_id"
                  },
                  "keyboad_condition_id": {
                    "$ref": "#/components/schemas/PawnGoodLaptopExtra/properties/laptop_netbook_extra/properties/keyboad_condition_id"
                  },
                  "description": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/description"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}/home_appliance": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные залогового имущества Техника для дома по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "В \"Request body\" нет обязательных полей",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "type": "object",
                    "title": "Стиральные машины",
                    "properties": {
                      "name": {
                        "$ref": "#/components/schemas/PawnGoodPhoneExtra/properties/name"
                      },
                      "estimate_price": {
                        "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
                      },
                      "storage_id": {
                        "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
                      },
                      "serial_number": {
                        "$ref": "#/components/schemas/PawnGood_edit/properties/serial_number"
                      },
                      "brand": {
                        "type": "string",
                        "example": "Bosch",
                        "description": "Бренд стиральной машины. <a href=\"https://www.avito.ru/autoload/documentation/templates/113178?fileFormat=xml#field-Brand\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
                      },
                      "model": {
                        "type": "string",
                        "example": "WAWH8640",
                        "description": "Модель стиральной машины. <a href=\"https://www.avito.ru/autoload/documentation/templates/113178?fileFormat=xml#field-Model\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
                      },
                      "device_work": {
                        "type": "integer",
                        "example": 1,
                        "description": "Включается ли устройство :\n* 1 - Включается\n* 2 - Не включается\n"
                      },
                      "useful_life": {
                        "type": "integer",
                        "example": 2,
                        "description": "Срок использования :\n* 1 - До 3 лет\n* 2 - 3-5 лет\n* 3 - Больше 5 лет\n"
                      },
                      "warranty": {
                        "type": "integer",
                        "example": 2,
                        "description": "Гарантия :\n* 1 - Действует\n* 2 - Истекла\n* 3 - Не знаю\n"
                      },
                      "case_flaws_id": {
                        "type": "array",
                        "example": [
                          3,
                          2,
                          1
                        ],
                        "items": {
                          "type": "integer"
                        },
                        "description": "Состояние корпуса :\n* 1 - Без дефектов\n* 2 - Царапины\n* 3 - Трещины\n* 4 - Вмятины, сколы\n* 5 - Нет частей корпуса\n* 6 - Загрязнения\n"
                      },
                      "description": {
                        "$ref": "#/components/schemas/PawnGood_edit/properties/description"
                      },
                      "comment": {
                        "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
                      }
                    }
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}/tool": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные залогового имущества Инструментов по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "В \"Request body\" нет обязательных полей",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "type": "object",
                    "title": "Дрели и шуруповерты",
                    "properties": {
                      "name": {
                        "$ref": "#/components/schemas/PawnGoodToolExtra/properties/name"
                      },
                      "estimate_price": {
                        "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
                      },
                      "storage_id": {
                        "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
                      },
                      "serial_number": {
                        "$ref": "#/components/schemas/PawnGood_edit/properties/serial_number"
                      },
                      "device_type": {
                        "type": "string",
                        "example": "Шуруповерт",
                        "description": "Тип инструмента"
                      },
                      "brand": {
                        "type": "string",
                        "example": "Makita",
                        "description": "Бренд инструмента. <a href=\"https://www.avito.ru/autoload/documentation/templates/97970?fileFormat=xml#field-Brand\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
                      },
                      "device_model": {
                        "type": "string",
                        "example": "Не указана",
                        "description": "Модель инструмента. <a href=\"https://www.avito.ru/autoload/documentation/templates/97970?fileFormat=xml#field-Model\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
                      },
                      "power_type": {
                        "type": "string",
                        "example": "Аккумуляторный",
                        "description": "Тип питания. <a href=\"https://www.avito.ru/autoload/documentation/templates/97970?fileFormat=xml#field-PowerType\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
                      },
                      "battery_voltage": {
                        "type": "string",
                        "example": "18.0",
                        "description": "Напряжение. <a href=\"https://www.avito.ru/autoload/documentation/templates/97970?fileFormat=xml#field-BatteryVoltage\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
                      },
                      "description": {
                        "$ref": "#/components/schemas/PawnGood_edit/properties/description"
                      },
                      "comment": {
                        "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "title": "Перфораторы и отбойные молотки",
                    "properties": {
                      "name": {
                        "$ref": "#/components/schemas/PawnGoodToolExtra/properties/name"
                      },
                      "estimate_price": {
                        "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
                      },
                      "storage_id": {
                        "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
                      },
                      "serial_number": {
                        "$ref": "#/components/schemas/PawnGood_edit/properties/serial_number"
                      },
                      "tool_type_id": {
                        "type": "integer",
                        "example": 1,
                        "enum": [
                          1,
                          2
                        ],
                        "description": "ID типа инструмента\n  * 1 - Перфораторы\n  * 2 - Отбойные молотки\n"
                      },
                      "brand": {
                        "type": "string",
                        "example": "Makita",
                        "description": "Бренд инструмента. <a href=\"https://www.avito.ru/autoload/documentation/templates/97971?fileFormat=xml#field-Brand\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения для перфораторов</a>. <a href=\"https://www.avito.ru/autoload/documentation/templates/97976?fileFormat=xml#field-Brand\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения для отбойных молотков</a>"
                      },
                      "cartridge_type_id": {
                        "type": "integer",
                        "example": 4,
                        "enum": [
                          1,
                          2,
                          3,
                          4,
                          5,
                          6,
                          7
                        ],
                        "description": "ID типа патрона. Актуально для типа инструмента \"1\" - Перфораторы.\n  * 1 - SDS – plus\n  * 2 - SDS – max\n  * 3 - SDS – top\n  * 4 - SDS – quick\n  * 5 - Быстрозажимной\n  * 6 - Ключевой\n  * 7 - Цанговый\n"
                      },
                      "modes": {
                        "type": "string",
                        "example": 2,
                        "description": "Количество режимов. Актуально для типа инструмента \"1\" - Перфораторы. <a href=\"https://www.avito.ru/autoload/documentation/templates/97971?fileFormat=xml#field-Modes\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
                      },
                      "power_type_id": {
                        "type": "integer",
                        "example": 1,
                        "enum": [
                          1,
                          2
                        ],
                        "description": "ID типа питания. Актуально для типа инструмента \"1\" - Перфораторы.\n  * 1 - Аккумуляторный\n  * 2 - Сетевой\n"
                      },
                      "description": {
                        "$ref": "#/components/schemas/PawnGood_edit/properties/description"
                      },
                      "comment": {
                        "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "title": "Болгарки и шлифмашинки",
                    "properties": {
                      "name": {
                        "$ref": "#/components/schemas/PawnGoodToolExtra/properties/name"
                      },
                      "estimate_price": {
                        "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
                      },
                      "storage_id": {
                        "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
                      },
                      "serial_number": {
                        "$ref": "#/components/schemas/PawnGood_edit/properties/serial_number"
                      },
                      "tool_type_id": {
                        "type": "integer",
                        "example": 1,
                        "enum": [
                          1,
                          2
                        ],
                        "description": "ID типа инструмента\n\n  <br />1 - Болгарки\n  <br />2 - Шлифмашинки\n"
                      },
                      "brand": {
                        "type": "string",
                        "example": "Makita",
                        "description": "Бренд инструмента. <a href=\"https://www.avito.ru/autoload/documentation/templates/97972?fileFormat=xml#field-Brand\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения для болгарок</a>. <a href=\"https://www.avito.ru/autoload/documentation/templates/97973?fileFormat=xml#field-Brand\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения для Шлифмашинок</a>"
                      },
                      "device_model": {
                        "type": "string",
                        "example": "Не указана",
                        "description": "Модель инструмента. Актуально для типа инструмента \"1\" - Болгарки. <a href=\"https://www.avito.ru/autoload/documentation/templates/97972?fileFormat=xml#field-Model\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
                      },
                      "disc_diameter": {
                        "type": "string",
                        "example": "125",
                        "description": "Диаметр диска. Актуально для типа инструмента \"1\" - Болгарки. <a href=\"https://www.avito.ru/autoload/documentation/templates/97972?fileFormat=xml#field-DiscDiameter\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
                      },
                      "power_type": {
                        "type": "string",
                        "example": "От сети",
                        "description": "Тип питания. Актуально для типа инструмента \"1\" - Болгарки. <a href=\"https://www.avito.ru/autoload/documentation/templates/97972?fileFormat=xml#field-PowerType\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
                      },
                      "grinding_tool_type_id": {
                        "type": "integer",
                        "example": 3,
                        "enum": [
                          1,
                          2,
                          3,
                          4,
                          5,
                          6,
                          7,
                          8
                        ],
                        "description": "ID типа шлифмашинки. Актуально для типа инструмента \"2\" - Шлифмашинки.\n\n  <br />1 - Для стен и потолков (жираф)\n  <br />2 - Эксцентриковые\n  <br />3 - Полировальные машины\n  <br />4 - Ленточные\n  <br />5 - Плоскошлифовальные\n  <br />6 - Граверы\n  <br />7 - Реноваторы (МФИ)\n  <br />8 - Другое\n"
                      },
                      "description": {
                        "$ref": "#/components/schemas/PawnGood_edit/properties/description"
                      },
                      "comment": {
                        "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "title": "Лобзики",
                    "properties": {
                      "name": {
                        "$ref": "#/components/schemas/PawnGoodToolExtra/properties/name"
                      },
                      "estimate_price": {
                        "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
                      },
                      "storage_id": {
                        "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
                      },
                      "serial_number": {
                        "$ref": "#/components/schemas/PawnGood_edit/properties/serial_number"
                      },
                      "brand": {
                        "type": "string",
                        "example": "Makita",
                        "description": "Бренд инструмента. <a href=\"https://www.avito.ru/autoload/documentation/templates/97977?fileFormat=xml#field-Brand\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
                      },
                      "description": {
                        "$ref": "#/components/schemas/PawnGood_edit/properties/description"
                      },
                      "comment": {
                        "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
                      }
                    }
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}/clothes": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные залогового имущества Одежды по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "В \"Request body\" нет обязательных полей",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "subcategory_id": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/subcategory_id"
                  },
                  "name": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/name"
                  },
                  "estimate_price": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
                  },
                  "storage_id": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
                  },
                  "serial_number": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/serial_number"
                  },
                  "brand": {
                    "$ref": "#/components/schemas/PawnGoodClothesExtra/properties/clothes_extra/properties/brand"
                  },
                  "clothes_size": {
                    "$ref": "#/components/schemas/PawnGoodClothesExtra/properties/clothes_extra/properties/clothes_size"
                  },
                  "shoes_type_id": {
                    "$ref": "#/components/schemas/PawnGoodClothesExtra/properties/clothes_extra/properties/shoes_type_id"
                  },
                  "description": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/description"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}/kids_clothes": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные залогового имущества Одежда для детей по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "В \"Request body\" нет обязательных полей",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId_edit"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "subcategory_id": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/subcategory_id"
                  },
                  "name": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/name"
                  },
                  "estimate_price": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
                  },
                  "storage_id": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
                  },
                  "serial_number": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/serial_number"
                  },
                  "brand": {
                    "$ref": "#/components/schemas/PawnGoodKidsClothesExtra/properties/kids_clothes_extra/properties/brand"
                  },
                  "clothes_size": {
                    "$ref": "#/components/schemas/PawnGoodKidsClothesExtra/properties/kids_clothes_extra/properties/clothes_size"
                  },
                  "shoes_type_id": {
                    "$ref": "#/components/schemas/PawnGoodKidsClothesExtra/properties/kids_clothes_extra/properties/shoes_type_id"
                  },
                  "description": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/description"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/clients/natural_persons/{client_id}": {
      "put": {
        "tags": [
          "Методы для создания/редактирования клиентов физ. лиц"
        ],
        "summary": "Метод позволяет обновлять данные клиента физ. лицо",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "client_id",
            "in": "path",
            "description": "ID клиента",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Other/properties/natural_person_id"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "$ref": "#/components/schemas/NaturalPerson_edit/properties/name"
                  },
                  "last_name": {
                    "$ref": "#/components/schemas/NaturalPerson_edit/properties/last_name"
                  },
                  "patronymic": {
                    "$ref": "#/components/schemas/NaturalPerson_edit/properties/patronymic"
                  },
                  "nationality": {
                    "$ref": "#/components/schemas/NaturalPerson_edit/properties/nationality"
                  },
                  "resident": {
                    "$ref": "#/components/schemas/NaturalPerson_edit/properties/resident"
                  },
                  "birth_date": {
                    "$ref": "#/components/schemas/NaturalPerson_edit/properties/birth_date"
                  },
                  "registered_city": {
                    "$ref": "#/components/schemas/NaturalPerson_edit/properties/registered_city"
                  },
                  "street": {
                    "$ref": "#/components/schemas/NaturalPerson_edit/properties/street"
                  },
                  "house": {
                    "$ref": "#/components/schemas/NaturalPerson_edit/properties/house"
                  },
                  "appartment": {
                    "$ref": "#/components/schemas/NaturalPerson_edit/properties/appartment"
                  },
                  "place_of_birth": {
                    "$ref": "#/components/schemas/NaturalPerson_edit/properties/place_of_birth"
                  },
                  "actual_address": {
                    "$ref": "#/components/schemas/NaturalPerson_edit/properties/actual_address"
                  },
                  "actual_address_with_registration": {
                    "$ref": "#/components/schemas/NaturalPerson_edit/properties/actual_address_with_registration"
                  },
                  "phone": {
                    "$ref": "#/components/schemas/NaturalPerson_edit/properties/phone"
                  },
                  "email": {
                    "$ref": "#/components/schemas/NaturalPerson_edit/properties/email"
                  },
                  "gender": {
                    "$ref": "#/components/schemas/NaturalPerson_edit/properties/gender"
                  },
                  "inn": {
                    "$ref": "#/components/schemas/NaturalPerson_edit/properties/inn"
                  },
                  "iin": {
                    "$ref": "#/components/schemas/NaturalPerson_edit/properties/iin"
                  },
                  "iin_date_issued": {
                    "$ref": "#/components/schemas/NaturalPerson_edit/properties/iin_date_issued"
                  },
                  "snils": {
                    "$ref": "#/components/schemas/NaturalPerson_edit/properties/snils"
                  },
                  "about": {
                    "$ref": "#/components/schemas/NaturalPerson_edit/properties/about"
                  },
                  "warning_message": {
                    "$ref": "#/components/schemas/NaturalPerson_edit/properties/warning_message"
                  },
                  "type_loyalty_card": {
                    "$ref": "#/components/schemas/NaturalPerson_edit/properties/type_loyalty_card"
                  },
                  "number_loyalty_card": {
                    "$ref": "#/components/schemas/NaturalPerson_edit/properties/number_loyalty_card"
                  },
                  "barcode_loyalty_card": {
                    "$ref": "#/components/schemas/NaturalPerson_edit/properties/barcode_loyalty_card"
                  },
                  "ad_channel_id": {
                    "$ref": "#/components/schemas/Other/properties/ad_channel_id"
                  }
                },
                "required": [
                  "name",
                  "last_name",
                  "birth_date",
                  "registered_city",
                  "street",
                  "house",
                  "nationality",
                  "resident"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/clients/natural_persons/documents/{document_id}": {
      "put": {
        "tags": [
          "Методы для создания/редактирования документов у клиентов физ. лиц"
        ],
        "summary": "Метод позволяет редактировать документ клиента физ. лица",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "document_id",
            "in": "path",
            "description": "ID документа",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Other/properties/document_id"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Document_edit"
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/clients/natural_persons/bank_card/{bank_card_id}": {
      "put": {
        "tags": [
          "Методы для создания/редактирования банковских карт у клиентов физ. лиц"
        ],
        "summary": "Метод позволяет обновлять данные банковской карты клиента юр. лица",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "bank_card_id",
            "in": "path",
            "description": "ID клиента",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Other/properties/bank_card_id"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "description": "Клиент юр. лицо",
                "properties": {
                  "bank_card_number": {
                    "$ref": "#/components/schemas/BankCard_edit/properties/bank_card_number"
                  },
                  "bank_card_date_end": {
                    "$ref": "#/components/schemas/BankCard_edit/properties/bank_card_date_end"
                  },
                  "bank_name": {
                    "$ref": "#/components/schemas/BankCard_edit/properties/bank_name"
                  }
                },
                "required": [
                  "bank_card_number",
                  "bank_card_date_end"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseBankCardsCreate"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/clients/legal_persons/{client_legal_id}": {
      "put": {
        "tags": [
          "Методы для создания/редактирования клиентов юр. лица"
        ],
        "summary": "Метод позволяет обновлять данные клиента юр. лица",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "client_legal_id",
            "in": "path",
            "description": "ID клиента",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Other/properties/legal_person_id"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "description": "Клиент юр. лицо",
                "properties": {
                  "legal_form": {
                    "$ref": "#/components/schemas/LegalPerson_edit/properties/legal_form"
                  },
                  "legal_name": {
                    "$ref": "#/components/schemas/LegalPerson_edit/properties/legal_name"
                  },
                  "country": {
                    "$ref": "#/components/schemas/LegalPerson_edit/properties/country"
                  },
                  "registered_city": {
                    "$ref": "#/components/schemas/LegalPerson_edit/properties/registered_city"
                  },
                  "street": {
                    "$ref": "#/components/schemas/LegalPerson_edit/properties/street"
                  },
                  "house": {
                    "$ref": "#/components/schemas/LegalPerson_edit/properties/house"
                  },
                  "building_number": {
                    "$ref": "#/components/schemas/LegalPerson_edit/properties/building_number"
                  },
                  "apartment": {
                    "$ref": "#/components/schemas/LegalPerson_edit/properties/apartment"
                  },
                  "post_index": {
                    "$ref": "#/components/schemas/LegalPerson_edit/properties/post_index"
                  },
                  "actual_address": {
                    "$ref": "#/components/schemas/LegalPerson_edit/properties/actual_address"
                  },
                  "actual_address_with_registration": {
                    "$ref": "#/components/schemas/LegalPerson_edit/properties/actual_address_with_registration"
                  },
                  "phone": {
                    "$ref": "#/components/schemas/LegalPerson_edit/properties/phone"
                  },
                  "director": {
                    "$ref": "#/components/schemas/LegalPerson_edit/properties/director"
                  },
                  "accountant": {
                    "$ref": "#/components/schemas/LegalPerson_edit/properties/accountant"
                  },
                  "inn": {
                    "$ref": "#/components/schemas/LegalPerson_edit/properties/inn"
                  },
                  "bin": {
                    "$ref": "#/components/schemas/LegalPerson_edit/properties/bin"
                  },
                  "kpp": {
                    "$ref": "#/components/schemas/LegalPerson_edit/properties/kpp"
                  },
                  "ogrn": {
                    "$ref": "#/components/schemas/LegalPerson_edit/properties/ogrn"
                  },
                  "okpo": {
                    "$ref": "#/components/schemas/LegalPerson_edit/properties/okpo"
                  },
                  "oktmo": {
                    "$ref": "#/components/schemas/LegalPerson_edit/properties/oktmo"
                  },
                  "email": {
                    "$ref": "#/components/schemas/LegalPerson_edit/properties/email"
                  },
                  "ad_channel_id": {
                    "$ref": "#/components/schemas/Other/properties/ad_channel_id"
                  },
                  "about": {
                    "$ref": "#/components/schemas/LegalPerson_edit/properties/about"
                  },
                  "warning_message": {
                    "$ref": "#/components/schemas/LegalPerson_edit/properties/warning_message"
                  }
                },
                "required": [
                  "legal_form",
                  "legal_name",
                  "country",
                  "registered_city",
                  "street",
                  "house"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/cash/open": {
      "post": {
        "tags": [
          "Методы для открытия/закрытия смен"
        ],
        "summary": "Метод позволяет открыть смену",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "workplace_id": {
                    "$ref": "#/components/schemas/Other/properties/workplace_id"
                  }
                },
                "required": [
                  "workplace_id"
                ]
              }
            }
          }
        },
        "responses": {
          "201": {
            "$ref": "#/components/responses/SuccessfulResponseOperationCreated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/cash/close": {
      "post": {
        "tags": [
          "Методы для открытия/закрытия смен"
        ],
        "summary": "Метод позволяет закрыть смену",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "workplace_id": {
                    "$ref": "#/components/schemas/Other/properties/workplace_id"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/Other/properties/comment"
                  }
                },
                "required": [
                  "workplace_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseOperationCreated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/image/upload": {
      "post": {
        "tags": [
          "Метод для загрузки картинок"
        ],
        "summary": "Метод позволяет загрузить одну картинку по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/ObjectId"
          },
          {
            "name": "type",
            "in": "query",
            "required": true,
            "schema": {
              "enum": [
                "pawn_good",
                "client_avatar",
                "client_file"
              ]
            },
            "description": "Тип объекта:\n * pawn_good - Залоговое имущество (1 файл, форматы: png, jpeg, jpg, gif);\n * client_file - Фотографии и файлы клиента (1 файл, форматы: png, jpeg, jpg, gif);\n * client_avatar - Фотография клиента (1 файл, форматы: png, jpeg, jpg, gif).\n"
          },
          {
            "name": "file",
            "in": "query",
            "description": "Загружаемый файл один (не более 2MB или 2048KB)",
            "required": true,
            "schema": {
              "type": "string",
              "example": "C:/documents/images/phone.jpg"
            }
          },
          {
            "name": "workplace_id",
            "in": "query",
            "description": "ID филиала. Обязательный только при загрузке фотографии, файлов и аватарки клиента.",
            "required": false,
            "schema": {
              "type": "integer",
              "example": 345
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Положительный ответ на запрос загрузки изображеия",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 201,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "message": {
                          "type": "string",
                          "description": "Сообщение",
                          "example": "Файл успешно загружен!"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_edit"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        },
        "servers": [
          {
            "url": "https://online.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/goods": {
      "get": {
        "tags": [
          "Методы для просмотра товаров"
        ],
        "summary": "Просмотр товаров",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/offsetParam"
          },
          {
            "$ref": "#/components/parameters/limitParam"
          },
          {
            "name": "workplace_id",
            "description": "ID филиала, где находится товар.",
            "in": "query",
            "schema": {
              "type": "integer",
              "example": 242
            }
          },
          {
            "name": "entity_id",
            "description": "ID юридического лица.",
            "in": "query",
            "schema": {
              "type": "integer",
              "example": 15
            }
          },
          {
            "name": "category_id",
            "description": "ID Категории.",
            "in": "query",
            "schema": {
              "type": "integer",
              "example": 17
            }
          },
          {
            "name": "is_repair_goods",
            "description": "Одиночный выбор из массива:\n* 1 - Нет\n* 2 - Да\n",
            "in": "query",
            "schema": {
              "type": "integer",
              "example": 1
            }
          },
          {
            "name": "reserved",
            "description": "Одиночный выбор из массива:\n* 1 - Нет\n* 2 - Да\n",
            "in": "query",
            "schema": {
              "type": "integer",
              "example": 1
            }
          },
          {
            "name": "status",
            "explode": false,
            "in": "query",
            "description": "Множественный выбор из массива “Состояние товара б/у”:\n* 1 - Скуплен\n* 2 - Выведен из залога\n* 3 - Продан\n* 4 - Возвращен\n* 5 - Принят на реализацию\n* 6 - Снят с реализации\n* 7 - Продан (реализация)\n* 8 - Возвращен (реализация)\n* 9 - Расчет (реализация)\n* 10 - На предпродажной подготовке\n* 11 - Списан\n* 12 - Изъят\n",
            "schema": {
              "type": "string",
              "example": "[1, 2, 3, 4, 5]"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "goods": {
                          "type": "array",
                          "description": "Массив объектов товара",
                          "items": {
                            "$ref": "#/components/schemas/Good"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_goods"
          },
          "default": {
            "$ref": "#/components/responses/ErrorListResponse_goods"
          }
        },
        "servers": [
          {
            "url": "https://goods.api.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/clients/natural_persons/{client_id}/contracts": {
      "get": {
        "tags": [
          "Методы для просмотра договоров клиентов"
        ],
        "summary": "Просмотр договоров клиентов физ. лиц",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "client_id",
            "in": "path",
            "required": true,
            "description": "ID - клиента физ. лица",
            "schema": {
              "$ref": "#/components/schemas/NaturalPerson_goods/properties/id"
            }
          },
          {
            "$ref": "#/components/parameters/offsetParam"
          },
          {
            "$ref": "#/components/parameters/limitParam"
          },
          {
            "name": "status",
            "description": "Статус договора. Варианты:\n  * 1 - Открытые (по умолчанию),\n  * 2 - Закрытые\n  * 3 - Все статусы\n",
            "in": "query",
            "schema": {
              "type": "integer",
              "example": 2,
              "default": 1
            }
          },
          {
            "name": "workplace_id",
            "description": "ID филиала (по умолчанию все филиалы)",
            "in": "query",
            "schema": {
              "type": "integer",
              "example": 242
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "contracts": {
                          "type": "array",
                          "description": "Массив объектов договоров",
                          "items": {
                            "$ref": "#/components/schemas/Contract"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_goods"
          },
          "default": {
            "$ref": "#/components/responses/ErrorListResponse_goods"
          }
        },
        "servers": [
          {
            "url": "https://goods.api.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/clients/legal_persons/{client_id}/contracts": {
      "get": {
        "tags": [
          "Методы для просмотра договоров клиентов"
        ],
        "summary": "Просмотр договоров клиентов юр. лиц",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "client_id",
            "in": "path",
            "required": true,
            "description": "ID - клиента юр. лица",
            "schema": {
              "$ref": "#/components/schemas/LegalPerson_goods/properties/id"
            }
          },
          {
            "$ref": "#/components/parameters/offsetParam"
          },
          {
            "$ref": "#/components/parameters/limitParam"
          },
          {
            "name": "status",
            "description": "Статус договора. Варианты:\n  * 1 - Открытые (по умолчанию),\n  * 2 - Закрытые\n  * 3 - Все статусы\n",
            "in": "query",
            "schema": {
              "type": "integer",
              "example": 2,
              "default": 1
            }
          },
          {
            "name": "workplace_id",
            "description": "ID филиала (по умолчанию все филиалы)",
            "in": "query",
            "schema": {
              "type": "integer",
              "example": 242
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код ответа"
                    },
                    "result": {
                      "type": "object",
                      "description": "Результат запроса",
                      "properties": {
                        "contracts": {
                          "type": "array",
                          "description": "Массив объектов договоров",
                          "items": {
                            "$ref": "#/components/schemas/Contract"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed_goods"
          },
          "default": {
            "$ref": "#/components/responses/ErrorListResponse_goods"
          }
        },
        "servers": [
          {
            "url": "https://goods.api.smartlombard.ru/api/exchange/v1"
          }
        ]
      }
    },
    "/status": {
      "post": {
        "tags": [
          "Проверка работоспособности интеграции"
        ],
        "summary": "Проверка работоспособности интеграции",
        "responses": {
          "200": {
            "description": "Положительный ответ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Объект данных ответа",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "description": "Указатель положительного ответа"
                    },
                    "http_code": {
                      "type": "integer",
                      "example": 200,
                      "description": "Код положительного ответ"
                    }
                  }
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/ErrorAuthResponse_status"
          }
        },
        "x-internal": false,
        "servers": [
          {
            "url": "https://online.smartlombard.ru"
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "Token": {
        "type": "object",
        "description": "Ответ авторизации",
        "properties": {
          "token": {
            "type": "string",
            "example": "eya41dc49e08d3a4aUzIa3b8JhbGca206f6d100d1diOiJII",
            "description": "Токен"
          },
          "expiration_time": {
            "type": "string",
            "example": "23.12.2022 12:17:32",
            "description": "Время запроса"
          },
          "token_type": {
            "type": "string",
            "example": "Bearer",
            "description": "Тип запроса"
          }
        }
      },
      "PawnTicket": {
        "type": "object",
        "description": "Объект с данными по залоговому билету",
        "properties": {
          "id": {
            "type": "integer",
            "example": 7832,
            "description": "ID залогового билета (сквозной ID)"
          },
          "pawn_chain_id": {
            "type": "integer",
            "example": 7831,
            "description": "ID цепочки залогового билета (сквозной ID)"
          },
          "document_number": {
            "type": "string",
            "example": "AA000064",
            "description": "Полный номер залогового билета"
          },
          "tariff_id": {
            "type": "integer",
            "example": 589,
            "description": "ID тарифа (сквозной ID)"
          },
          "loan_amount": {
            "type": "number",
            "example": 1600.4,
            "description": "Сумма займа"
          },
          "currency_code": {
            "$ref": "#/components/schemas/CurrencyCode"
          },
          "duration": {
            "type": "integer",
            "example": 7,
            "description": "Срок займа, дней"
          },
          "paid_percents": {
            "type": "number",
            "example": 800.77,
            "description": "Сумма уплаченных процентов (как у нас в каталоге)"
          },
          "accrued_percent": {
            "type": "number",
            "example": 810.77,
            "description": "Сумма начисленных процентов (как у нас в каталоге)"
          },
          "open_date": {
            "type": "string",
            "example": "15.08.2022",
            "description": "Дата открытия залогового билета"
          },
          "close_date": {
            "type": "string",
            "example": "15.08.2022",
            "description": "Фактическая дата закрытия. Возвращается только если ЗБ закрыт."
          },
          "end_date": {
            "type": "string",
            "example": "15.08.2022",
            "description": "Срок окончания по ЗБ без учета продлений"
          },
          "comment": {
            "type": "string",
            "example": "Коментарий",
            "description": "Комментарий"
          },
          "status": {
            "type": "integer",
            "description": "Cостояния залогового билета:\n  * 1 - На реализации\n  * 2 - Открыт\n  * 3 - Просрочен\n  * 4 - Просрочен (готов к продаже)\n  * 5 - Закрыт\n",
            "enum": [
              1,
              2,
              3,
              4,
              5
            ],
            "example": 2
          },
          "workplace_id": {
            "$ref": "#/components/schemas/Workplace/properties/id"
          },
          "client_natural_person_id": {
            "$ref": "#/components/schemas/NaturalPerson/properties/id"
          },
          "client_legal_person_id": {
            "type": "integer",
            "example": null,
            "description": "ID клинета юр. лица"
          },
          "entity_id": {
            "$ref": "#/components/schemas/Entity/properties/id"
          },
          "test_operation": {
            "$ref": "#/components/parameters/TestOperation/schema"
          },
          "pawn_ticket_debt": {
            "type": "object",
            "description": "Массив с данными по задолженности в залоговом билете",
            "properties": {
              "percents_to_pay": {
                "type": "number",
                "example": "7500.52",
                "description": "Задолженность по процентам"
              },
              "commission_sum": {
                "type": "number",
                "example": "500.17",
                "description": "Комиссия банка"
              },
              "sum_debt": {
                "type": "number",
                "example": "4500.95",
                "description": "Общая задолженность по залоговому билету"
              }
            }
          },
          "online_prolongation_url": {
            "type": "string",
            "example": "https://online.smartlombard.ru/public/online_prolongation/?org_id=1&workplace_id=1&token=70d6acbb9844376f7c9e1299e2fb4ca1&number=АА000001",
            "description": "Cсылка на форму для онлайн-оплаты процентов"
          }
        }
      },
      "PawnGood": {
        "type": "object",
        "description": "Объект с данными по имуществу",
        "properties": {
          "id": {
            "type": "integer",
            "example": 1895,
            "description": "ID имущества (сквозной ID)"
          },
          "pawn_id": {
            "type": "integer",
            "example": 15,
            "description": "ID залогового билета"
          },
          "article": {
            "type": "integer",
            "example": 895,
            "description": "Артикул имущества"
          },
          "name": {
            "type": "string",
            "example": "Кольцо",
            "description": "Наименование имущества"
          },
          "serial_number": {
            "type": "string",
            "example": "9063",
            "description": "Серийный номер (не для всех типов категорий)"
          },
          "estimate_price": {
            "type": "number",
            "example": 1600.4,
            "description": "Сумма оценки"
          },
          "currency_code": {
            "$ref": "#/components/schemas/CurrencyCode"
          },
          "category_id": {
            "$ref": "#/components/schemas/Category/properties/id"
          },
          "workplace_id": {
            "type": "integer",
            "example": 8,
            "description": "ID филиала, где находится имущество"
          },
          "type": {
            "type": "string",
            "description": "Тип имущества. Варианты:\n  * other - Обычное\n  * jewelry - Ювелирное изделие\n  * vehicle - Транспортное средство\n  * mobile - Мобильный\n  * tablet - Планшеты\n  * tv_video - Телевизоры или игровые приставки\n  * photo_equip - Фототехника\n  * watch - Часы\n  * tool - Инструменты\n  * pc_component - Товары для компьютера\n  * clothes - Одежда\n  * kids_clothes - Для детей\n  * home_appliance - Техника для дома\n  * laptop_netbook - Ноутбуки и нетбуки\n",
            "enum": [
              "other",
              "jewelry",
              "vehicle",
              "mobile",
              "tablet",
              "tv_video",
              "photo_equip",
              "watch",
              "tool",
              "clothes",
              "kids_clothes",
              "pc_component",
              "home_appliance",
              "laptop_netbook"
            ]
          },
          "storage": {
            "type": "string",
            "example": "Склад",
            "description": ""
          },
          "status": {
            "type": "integer",
            "description": "Состояние залогового имущества:\n  * 1 - На реализации\n  * 2 - Реализован\n  * 3 - Заложен\n  * 4 - Заложен (просрочен)\n  * 5 - Выкуплен\n  * 6 - Готов к продаже\n  * 7 - Выведен из залога\n  * 8 - Изъят\n",
            "enum": [
              1,
              2,
              3,
              4,
              5,
              6,
              7,
              8
            ],
            "example": 2
          },
          "test_operation": {
            "$ref": "#/components/parameters/TestOperation/schema"
          },
          "description": {
            "type": "string",
            "example": "Описание",
            "description": "Описание"
          },
          "comment": {
            "type": "string",
            "example": "Коментарий",
            "description": "Коментарий"
          },
          "images_links": {
            "$ref": "#/components/schemas/ImagesLinks"
          },
          "jewelry_extra": {
            "type": "object",
            "description": "Объект с дополнительными полями для ювелирных изделий",
            "properties": {
              "manufacturer": {
                "type": "string",
                "example": "ООО \"Карат\"",
                "description": "Производитель"
              },
              "uin": {
                "type": "string",
                "example": "6432012345678901",
                "description": "УИН (только для Ювелирных изделий)"
              },
              "size": {
                "type": "number",
                "example": 2.7,
                "description": "Размер/длина (только для Ювелирных изделий)"
              },
              "metal_name": {
                "type": "string",
                "example": "Золото",
                "description": "Наименование металла (только для Ювелирных изделий) "
              },
              "metal_standart_name": {
                "type": "string",
                "example": "999",
                "description": "Наименование пробы (только для Ювелирных изделий)"
              },
              "weight": {
                "type": "number",
                "example": 1.678,
                "description": "Вес, г (только для Ювелирных изделий)"
              },
              "weight_inserts": {
                "type": "number",
                "example": 0.635,
                "description": "Вес вставок, г (только для Ювелирных изделий)"
              },
              "product_type": {
                "type": "string",
                "example": "Изделие",
                "description": "Лом/Изделие (только для Ювелирных изделий)"
              },
              "estimate_inserts": {
                "type": "number",
                "example": 635,
                "description": "Сумма оценки вставок (только для Ювелирных изделий)"
              },
              "brand": {
                "type": "string",
                "example": "Casio",
                "description": "Модель часов"
              },
              "color": {
                "type": "string",
                "example": "Красный",
                "description": "Цвет часов"
              },
              "gender": {
                "type": "string",
                "example": "Мужские",
                "description": "Для кого"
              },
              "strap_type": {
                "type": "string",
                "example": "Титан",
                "description": "Тип ремешка"
              },
              "mechanism": {
                "type": "string",
                "example": "Кварцевые",
                "description": "Тип механизма"
              }
            }
          },
          "vehicle_extra": {
            "type": "object",
            "description": "Объект дополнительных полей для Автотранспорта",
            "properties": {
              "model": {
                "type": "string",
                "example": "Volga",
                "description": "Марка, модель (только для Автотранспорта)"
              },
              "product_year": {
                "type": "integer",
                "example": 1998,
                "description": "Год выпуска (только для Автотранспорта)"
              },
              "body_color": {
                "type": "string",
                "example": "Белый",
                "description": "Цвет кузова (только для Автотранспорта)"
              },
              "reg_number": {
                "type": "string",
                "example": "A163BT",
                "description": "Гос. номер (только для Автотранспорта)"
              },
              "vin": {
                "type": "string",
                "example": "ATM09988734634Z5767",
                "description": "VIN (только для Автотранспорта)"
              },
              "engine_description": {
                "type": "string",
                "example": "45996F23",
                "description": "Модель, № Двигателя (только для Автотранспорта)"
              },
              "engine_volume": {
                "type": "string",
                "example": "67",
                "description": "Рабочий объем двигателя, куб. см. (только для Автотранспорта)"
              },
              "chassis_number": {
                "type": "string",
                "example": "90853",
                "description": "Шасси (рама) № (только для Автотранспорта)"
              },
              "trailer_number": {
                "type": "string",
                "example": "3457",
                "description": "Кузов (прицеп) № (только для Автотранспорта)"
              },
              "pts_number": {
                "type": "string",
                "example": "ATM0569709W345",
                "description": ""
              },
              "pts_issued_by": {
                "type": "string",
                "example": "ГИБДД Ставропольского района",
                "description": "Серия, номер ПТС (только для Автотранспорта)"
              },
              "pts_issued_date": {
                "type": "string",
                "example": "10.08.2019",
                "description": "ПТС выдан (только для Автотранспорта)"
              },
              "sts_number": {
                "type": "string",
                "example": "ATM0569709W345",
                "description": "Серия, номер СТС (только для Автотранспорта)"
              },
              "sts_issued_by": {
                "type": "string",
                "example": "ГИБДД Ставропольского района",
                "description": "СТС Выдан (только для Автотранспорта)"
              },
              "sts_issued_date": {
                "type": "string",
                "example": "10.08.2019",
                "description": "Дата выдачи СТС (только для Автотранспорта)"
              }
            }
          },
          "phone_extra": {
            "type": "object",
            "description": "Объект дополнительных полей для мобильных телефонов",
            "properties": {
              "brand": {
                "type": "string",
                "example": "Apple",
                "description": "Модель телефона"
              },
              "model": {
                "type": "string",
                "example": "Iphone 15",
                "description": "Модель телефона"
              },
              "memory_size": {
                "type": "string",
                "example": "128 Gb",
                "description": "Встроенная память (размер встроенного хранилища)"
              },
              "color": {
                "type": "string",
                "example": "Красный",
                "description": "Цвет телефона"
              },
              "ram_size": {
                "type": "string",
                "example": "128 Gb",
                "description": "Оперативная память"
              }
            }
          },
          "tablet_extra": {
            "type": "object",
            "description": "Объект дополнительных полей для планшетов",
            "properties": {
              "brand": {
                "type": "string",
                "example": "Haier",
                "description": "Бренд планшета"
              },
              "model": {
                "type": "string",
                "example": "G800",
                "description": "Модель планшета"
              },
              "sim_slot": {
                "type": "string",
                "example": "Есть",
                "description": "Слот для сим карты"
              },
              "memory_size": {
                "type": "string",
                "example": "128 Gb",
                "description": "Встроенная память (размер встроенного хранилища)"
              },
              "color": {
                "type": "string",
                "example": "Красный",
                "description": "Цвет планшета"
              },
              "ram_size": {
                "type": "string",
                "example": "128 Gb",
                "description": "Оперативная память"
              }
            }
          },
          "tv_extra": {
            "type": "object",
            "description": "Объект дополнительных полей для ТВ и видеотехники",
            "properties": {
              "brand": {
                "type": "string",
                "example": "Haier",
                "description": "Бренд телевизора"
              },
              "model": {
                "type": "string",
                "example": "HT3728",
                "description": "Модель телевизора"
              },
              "device_work": {
                "type": "integer",
                "example": 1,
                "description": "Включается ли устройство\n  * 1 - Включается\n  * 2 - Не включается\n"
              },
              "screen_flaws_id": {
                "type": "array",
                "description": "Только для телевизоров. Состояния экрана\n  * 1 - Без дефектов\n  * 2 - Мелкие царапины\n  * 3 - Крупные царапины\n  * 4 - Засветы\n  * 5 - Белые пятна\n  * 6 - Выгоревшие области\n  * 7 - Битые пиксели\n  * 8 - Вертикальные полосы\n  * 9 - Трещины, сколы\n  * 10 - Искажение цвета\n  * 11 - Не работает\n  * 12 - Разбит\n",
                "items": {
                  "type": "integer",
                  "enum": [
                    1,
                    2,
                    3,
                    4,
                    5,
                    6,
                    7,
                    8,
                    9,
                    10,
                    11,
                    12
                  ]
                }
              },
              "case_flaws_id": {
                "type": "array",
                "description": "Только для телевизоров. Состояния корпуса\n  * 1 - Без дефектов\n  * 2 - Царапины\n  * 3 - Загрязнения\n  * 4 - Трещины\n  * 5 - Нет частей корпуса\n  * 6 - Вмятины или сколы\n",
                "items": {
                  "type": "integer",
                  "enum": [
                    1,
                    2,
                    3,
                    4,
                    5,
                    6
                  ]
                }
              }
            }
          },
          "photo_equip_extra": {
            "type": "object",
            "description": "Объект дополнительных полей для Фототехники",
            "properties": {
              "device_work": {
                "type": "integer",
                "example": 1,
                "description": "Включается ли устройство :\n* 1 - Включается\n* 2 - Не включается\n"
              },
              "screen_flaws_id": {
                "type": "array",
                "example": [
                  1,
                  2,
                  3
                ],
                "items": {
                  "type": "integer"
                },
                "description": "Состояние экрана :\n* 1 - Без дефектов\n* 2 - Мелкие царапины\n* 3 - Крупные царапины\n* 4 - Трещины, сколы\n* 5 - Дефекты изображения\n* 6 - Разбит\n* 7 - Не работает\n"
              },
              "case_flaws_id": {
                "type": "array",
                "example": [
                  3,
                  2,
                  1
                ],
                "items": {
                  "type": "integer"
                },
                "description": "Состояние корпуса :\n* 1 - Без дефектов\n* 2 - Царапины\n* 3 - Трещины\n* 4 - Вмятины, сколы\n* 5 - Нет частей корпуса\n* 6 - Загрязнения\n"
              }
            }
          },
          "pc_extra": {
            "type": "object",
            "description": "Объект дополнительных полей для Товары для компьютера",
            "properties": {
              "brand": {
                "type": "string",
                "example": "Haier",
                "description": "Бренд монитора"
              },
              "model": {
                "type": "string",
                "example": "HT3728",
                "description": "Модель монитора"
              }
            }
          },
          "watch_extra": {
            "type": "object",
            "description": "Объект дополнительных полей для Часы",
            "properties": {
              "brand": {
                "type": "string",
                "example": "Casio",
                "description": "Бренд часов"
              },
              "gender": {
                "type": "string",
                "example": "Мужские",
                "description": "Для кого"
              },
              "color": {
                "type": "string",
                "example": "Чёрный",
                "description": "Цвет часов"
              },
              "strap_type": {
                "type": "string",
                "example": "Титан",
                "description": "Тип ремешка"
              },
              "mechanism": {
                "type": "string",
                "example": "Кварцевые",
                "description": "Тип механизма"
              },
              "device_work": {
                "type": "integer",
                "example": 1,
                "description": "Включается ли устройство :\n* 1 - Включается\n* 2 - Не включается\n"
              },
              "akb": {
                "type": "integer",
                "example": 100,
                "description": "Cостояние аккумулятора, %"
              },
              "screen_flaws_id": {
                "type": "array",
                "example": [
                  1,
                  2,
                  3
                ],
                "items": {
                  "type": "integer"
                },
                "description": "Включается ли устройство :\n* 1 - Без дефектов\n* 2 - 1-2 мелкие царапины\n* 3 - Много мелких царапин\n* 4 - Глубокие царапины\n* 5 - Сколы, трещины\n* 6 - Полосы и битые пиксели\n* 7 - Пятна, блики или выгорание\n* 8 - Не работает\n"
              },
              "case_flaws_id": {
                "type": "array",
                "example": [
                  3,
                  2,
                  1
                ],
                "items": {
                  "type": "integer"
                },
                "description": "Включается ли устройство :\n* 1 - Без дефектов\n* 2 - Царапины\n* 3 - Трещины\n* 4 - Вмятины, сколы\n* 5 - Нет частей корпуса\n* 6 - Загрязнения\n"
              }
            }
          },
          "clothes_extra": {
            "type": "object",
            "description": "Объект дополнительных полей для Одежды",
            "properties": {
              "brand": {
                "type": "string",
                "example": "Lacoste",
                "description": "Бренд одежды"
              },
              "clothes_size": {
                "type": "string",
                "example": "XXL",
                "description": "Размер одежды"
              },
              "shoes_type_id": {
                "type": "integer",
                "example": "1",
                "description": "Тип обуви"
              }
            }
          },
          "kids_clothes_extra": {
            "type": "object",
            "description": "Объект дополнительных полей для Для детей",
            "properties": {
              "brand": {
                "type": "string",
                "example": "Lacoste",
                "description": "Бренд одежды"
              },
              "clothes_size": {
                "type": "string",
                "example": "XXL",
                "description": "Размер одежды"
              }
            }
          },
          "home_appliance_extra": {
            "type": "object",
            "description": "Объект дополнительных полей для Техника для дома",
            "properties": {
              "brand": {
                "type": "string",
                "example": "Bosch",
                "description": "Бренд техники"
              },
              "model": {
                "type": "string",
                "example": "WAWH8640",
                "description": "Модель бренда техники"
              },
              "device_work": {
                "type": "integer",
                "example": 1,
                "description": "Включается ли устройство :\n* 1 - Включается\n* 2 - Не включается\n"
              },
              "useful_life": {
                "type": "integer",
                "example": 2,
                "description": "Срок использования :\n* 1 - До 3 лет\n* 2 - 3-5 лет\n* 3 - Больше 5 лет\n"
              },
              "warranty": {
                "type": "integer",
                "example": 2,
                "description": "Гарантия :\n* 1 - Действует\n* 2 - Истекла\n* 3 - Не знаю\n"
              },
              "case_flaws_id": {
                "type": "array",
                "example": [
                  3,
                  2,
                  1
                ],
                "items": {
                  "type": "integer"
                },
                "description": "Состояние корпуса :\n* 1 - Без дефектов\n* 2 - Царапины\n* 3 - Трещины\n* 4 - Вмятины, сколы\n* 5 - Нет частей корпуса\n* 6 - Загрязнения\n"
              }
            }
          },
          "tool_extra": {
            "type": "object",
            "description": "Объект дополнительных полей для Инструментов",
            "properties": {
              "device_type": {
                "type": "string",
                "example": "Шуруповерт",
                "description": "Тип инструмента"
              },
              "brand": {
                "type": "string",
                "example": "Makita",
                "description": "Бренд инструмента"
              },
              "device_model": {
                "type": "string",
                "example": "Не указана",
                "description": "Модель инструмента"
              },
              "tool_type_id": {
                "type": "integer",
                "example": 1,
                "description": "ID типа инструмента"
              },
              "disc_diameter": {
                "type": "string",
                "example": "125",
                "description": "Диаметр диска"
              },
              "cartridge_type_id": {
                "type": "integer",
                "example": 2,
                "description": "ID типа патрона"
              },
              "modes": {
                "type": "integer",
                "example": 2,
                "description": "Количество режимов"
              },
              "power_type_id": {
                "type": "integer",
                "example": 2,
                "description": "ID типа питания"
              },
              "power_type": {
                "type": "string",
                "example": "Аккумуляторный",
                "description": "Тип питания"
              },
              "battery_voltage": {
                "type": "string",
                "example": "18.0",
                "description": "Напряжение"
              },
              "grinding_tool_type_id": {
                "type": "integer",
                "example": 3,
                "description": "ID типа шлифмашинки"
              }
            }
          },
          "laptop_netbook_extra": {
            "type": "object",
            "description": "Тип имущества - Ноутбуки и нетбуки",
            "properties": {
              "device_work": {
                "type": "integer",
                "example": "1",
                "description": "Включается ли устройство"
              },
              "akb_hours": {
                "type": "integer",
                "example": "1",
                "description": "Время работы от аккумулятора"
              },
              "keyboard_layout": {
                "type": "integer",
                "example": "1",
                "description": "Раскладка клавиатуры"
              },
              "screen_condition_id": {
                "type": "integer",
                "example": "1",
                "description": "ID состояния экрана"
              },
              "case_condition_id": {
                "type": "integer",
                "example": "1",
                "description": "ID состояния корпуса"
              },
              "keyboad_condition_id": {
                "type": "integer",
                "example": "1",
                "description": "ID состояния клавиатуры"
              }
            }
          }
        }
      },
      "Operation": {
        "type": "object",
        "description": "Объект с данными по операции",
        "properties": {
          "id": {
            "type": "integer",
            "example": 595,
            "description": "ID операции, если составная то ID открывающей ЗБ (сквозной ID)"
          },
          "elementary_operations": {
            "description": "Объекты элементарных операций",
            "type": "object",
            "properties": {
              "opening_operation": {
                "type": "object",
                "description": "Объект элементарной операции открытия",
                "properties": {
                  "id": {
                    "type": "integer",
                    "example": 595,
                    "description": "ID операции, открывающей ЗБ (сквозной ID)"
                  },
                  "pawn_tiket_id": {
                    "type": "integer",
                    "example": 789,
                    "description": "ID залогового билета, открываемого, если операция составная (сквозной ID)"
                  },
                  "entity_id": {
                    "type": "integer",
                    "example": 10,
                    "description": " ID юр. лица, открывающего залоговый билет, если операция составная (сквозной ID)"
                  },
                  "type_operation": {
                    "type": "string",
                    "example": "part_buyout,dobor",
                    "description": "Варианты:\n  * pledge (Залог)\n  * prolongation (Продление)\n  * prolongation_online (Онлайн-продление)\n  * repledge (Перезалог)\n  * dobor (Добор)\n  * part_buyout (Частичный выкуп)\n  * part_buyout_pawn_good (Частичный выкуп имущества)\n  * sale_pledge (Вывод из залога)\n  * buyout (Выкуп залогового билета)\n  * withdraw (Изъятие имущества)\n  * send_realization (Отправка на реализацию)\n  * sell_realization (Реализация)\n  * withdraw (Изъятие)\n"
                  },
                  "payment_method": {
                    "type": "string",
                    "example": "cash",
                    "description": "Способ расчета, если операция составная, то открывающей операции). Варианты:\n  * cash (Касса)\n  * bank_transfer (Безналичный расчет)\n"
                  },
                  "bank_account": {
                    "$ref": "#/components/schemas/BankDetail/properties/bank_account"
                  }
                }
              },
              "closing_operation": {
                "type": "object",
                "description": "Элементарная операция закрытия",
                "properties": {
                  "id": {
                    "type": "integer",
                    "example": 594,
                    "description": "ID операции, если составная то ID закрывающей ЗБ (сквозной ID)"
                  },
                  "pawn_tiket_id": {
                    "type": "integer",
                    "example": 788,
                    "description": "ID залогового билета, закрываемого, если операция составная (сквозной ID)"
                  },
                  "entity_id": {
                    "type": "integer",
                    "example": 9,
                    "description": "ID юр. лица, закрывающего залоговый билет, если операция составная (сквозной ID)"
                  },
                  "type_operation": {
                    "type": "string",
                    "example": "buyout",
                    "description": "Тип операции"
                  },
                  "payment_method": {
                    "type": "string",
                    "example": "cash",
                    "description": "Способ расчета"
                  },
                  "bank_account": {
                    "$ref": "#/components/schemas/BankDetail/properties/bank_account"
                  },
                  "percent": {
                    "type": "integer",
                    "example": 50,
                    "description": "Процеты"
                  },
                  "paid_dept_sum": {
                    "type": "string",
                    "example": "1050",
                    "description": "Сумма долга"
                  }
                }
              }
            }
          },
          "pawn_chain_id": {
            "type": "integer",
            "example": 8832,
            "description": "ID цепочки операций ЗБ (сквозной ID первого ЗБ, в цепочке операций)"
          },
          "UTC": {
            "type": "string",
            "example": "+04:00",
            "description": "Часовой пояс"
          },
          "date": {
            "type": "string",
            "example": "18.09.2022",
            "description": "Дата операции"
          },
          "sum": {
            "type": "number",
            "example": 1706.36,
            "description": "Сумма"
          },
          "workplace_id": {
            "$ref": "#/components/schemas/Workplace/properties/id"
          },
          "account_id": {
            "$ref": "#/components/schemas/Account/properties/id"
          },
          "client_natural_person_id": {
            "$ref": "#/components/schemas/NaturalPerson/properties/id"
          },
          "client_legal_person_id": {
            "$ref": "#/components/schemas/LegalPerson/properties/id"
          },
          "ad_channel_id": {
            "description": "Рекламный канал",
            "type": "integer",
            "example": 10
          },
          "test_operation": {
            "$ref": "#/components/schemas/ElementaryOperation/properties/test_operation"
          }
        }
      },
      "ElementaryOperation": {
        "type": "object",
        "description": "Объект с данными по элементарной операции",
        "properties": {
          "id": {
            "type": "integer",
            "example": 596,
            "description": "ID элементарной операции (сквозной ID)"
          },
          "pawn_ticket_id": {
            "type": "integer",
            "example": 7832,
            "description": "ID залогового билета к которой привязана Элементарная операция. (сквозной ID)"
          },
          "pawn_chain_id": {
            "type": "integer",
            "example": 7832,
            "description": "ID цепочки операций ЗБ (ID первого ЗБ, в цепочке операций) (сквозной ID)"
          },
          "type_operation": {
            "type": "string",
            "description": "Тип операций. Варианты:\n  * pledge (залог)\n  * prolongation (продление)\n  * prolongation_online (онлайн-продление)\n  * sale_pledge (вывод из залога)\n  * buyout (выкуп)\n  * send_realization (отправка на реализацию)\n  * sell_realization (реализация)\n  * withdraw (изъятие)\n",
            "enum": [
              "pledge",
              "prolongation",
              "prolongation_online",
              "sale_pledge",
              "buyout",
              "send_realization",
              "sell_realization",
              "withdraw"
            ],
            "example": "pledge,prolongation"
          },
          "type_sub_operation": {
            "type": "string",
            "description": "Тип операций. Варианты:\n  * repledge - перезалог\n  * dobor - добор\n  * sale_pledge - Вывод из залога\n  * part_buyout - частичный выкуп\n  * part_buyout_pawn_good - частичный выкуп имущества\n",
            "enum": [
              "repledge",
              "dobor",
              "sale_pledge",
              "part_buyout",
              "part_buyout_pawn_good"
            ],
            "example": "repledge"
          },
          "payment_method": {
            "type": "string",
            "description": "Тип операций. Варианты:\n  * cash - Касса\n  * bank_transfer - Безналичный расчет\n",
            "enum": [
              "cash",
              "bank_transfer"
            ],
            "example": "cash"
          },
          "bank_account": {
            "$ref": "#/components/schemas/BankDetail/properties/bank_account"
          },
          "date": {
            "type": "string",
            "example": "18.09.2022",
            "description": "Дата операции"
          },
          "UTC": {
            "type": "string",
            "example": "+04:00",
            "description": "Часовой пояс"
          },
          "sum": {
            "type": "number",
            "example": 1706.36,
            "description": "Сумма"
          },
          "workplace_id": {
            "$ref": "#/components/schemas/Workplace/properties/id"
          },
          "account_id": {
            "$ref": "#/components/schemas/Account/properties/id"
          },
          "entity_id": {
            "$ref": "#/components/schemas/Entity/properties/id"
          },
          "client_natural_person_id": {
            "$ref": "#/components/schemas/NaturalPerson/properties/id"
          },
          "client_legal_person_id": {
            "type": "number",
            "example": null,
            "description": "ID клинета юр. лица"
          },
          "percent": {
            "type": "number",
            "example": 450.56,
            "description": "Процеты"
          },
          "paid_debt_sum": {
            "type": "number",
            "example": 150.9,
            "description": "Основной долг"
          },
          "loss": {
            "type": "number",
            "example": 150.9,
            "description": "Убыток"
          },
          "overprofit": {
            "type": "number",
            "example": 120.08,
            "description": "Получено сверх обязательств"
          },
          "ad_channel_id": {
            "description": "Рекламный канал",
            "type": "integer",
            "example": 10
          },
          "test_operation": {
            "description": "Тестовая операция\n* 0 - Не тестовая операция\n* 1 - Тестовая операция\n",
            "type": "integer",
            "example": 1,
            "enum": [
              1,
              2
            ]
          }
        }
      },
      "NaturalPerson": {
        "type": "object",
        "description": "Объект клиент физ. лицo",
        "properties": {
          "id": {
            "type": "integer",
            "example": 90,
            "description": "ID клиента физ. лица"
          },
          "last_name": {
            "type": "string",
            "example": "Иванов",
            "description": "Фамилия клиента"
          },
          "name": {
            "type": "string",
            "example": "Иван",
            "description": "Имя клиента"
          },
          "patronymic": {
            "type": "string",
            "example": "Иванович",
            "description": "Отчество клиента"
          },
          "birth_date": {
            "type": "string",
            "example": "01.12.1980",
            "description": "Дата рождения клиента"
          },
          "address": {
            "type": "string",
            "example": "г. Москва, ул. Победы, д. 10, кв. 25",
            "description": "Адрес регистрации"
          },
          "actual_address": {
            "type": "string",
            "example": "г. Москва, ул. Победы, д. 10, кв. 25",
            "description": "Фактический адрес проживания"
          },
          "place_of_birth": {
            "type": "string",
            "example": "Москва",
            "description": "Место рождения"
          },
          "phone": {
            "type": "string",
            "example": "+79033080944",
            "description": "Номер телефона в международном формате"
          },
          "email": {
            "type": "string",
            "example": "email@email.ru",
            "description": "Электронная почта"
          },
          "photo_link": {
            "$ref": "#/components/schemas/ImagesLinks"
          },
          "nationality": {
            "type": "integer",
            "example": 643,
            "description": "Гражданство. Числовой код страны в справочнике ОКСМ"
          },
          "resident": {
            "type": "integer",
            "example": 1,
            "description": "Является резидентом РФ:\n* 1 - Да\n* 2 - Нет\n",
            "enum": [
              1,
              2
            ]
          },
          "inn": {
            "type": "string",
            "example": "7743013902",
            "description": "ИНН или ИИН (для РК)"
          },
          "snils": {
            "type": "string",
            "example": "222-233-445 85",
            "description": "СНИЛС"
          },
          "additional_info": {
            "type": "string",
            "example": "Текст информации",
            "description": "Дополнительная информация"
          },
          "warning_message": {
            "type": "string",
            "example": "Носит краденное",
            "description": "Предупреждение"
          },
          "loyalty_card_number": {
            "type": "string",
            "example": "8563",
            "description": "Номер карты постоянного клиента"
          },
          "loyalty_card_discount": {
            "type": "object",
            "description": "Скидки по картам лояльности",
            "properties": {
              "discount_lombard": {
                "type": "integer",
                "example": "11",
                "description": "Процент скидки на проценты ломбарда"
              },
              "discount_sell": {
                "type": "integer",
                "example": "10",
                "description": "Процент скидки при покупке товаров"
              },
              "discount_sell_realization": {
                "type": "integer",
                "example": "12",
                "description": "Процент скидки при покупке товаров, принятых на реализацию"
              }
            }
          },
          "bonuses": {
            "type": "integer",
            "example": 122,
            "description": "Количество бонусов"
          },
          "ad_channel_id": {
            "description": "Рекламный канал",
            "type": "integer",
            "example": 10
          },
          "date_added": {
            "description": "Дата добавления",
            "type": "string",
            "example": "20.09.2024"
          }
        }
      },
      "LegalPerson": {
        "type": "object",
        "description": "Объект с данными юридического лица",
        "properties": {
          "id": {
            "type": "integer",
            "example": 78,
            "description": "ID клинета юр. лица"
          },
          "name": {
            "type": "string",
            "example": "Ломбард",
            "description": "Название юр. лица"
          },
          "legal_address": {
            "type": "string",
            "example": "г. Москва, ул. Спортивная 5",
            "description": "Юридический адрес юр. лица"
          },
          "phone": {
            "type": "string",
            "example": "+79033080944",
            "description": "Общий телефон организации"
          },
          "director_fio": {
            "type": "string",
            "example": "Иванов Иван Иванович",
            "description": "ФИО директора"
          },
          "chief_accountant_fio": {
            "type": "string",
            "example": "Петров Перт Петрович",
            "description": "ФИО главного бухгалтера"
          },
          "inn": {
            "type": "string",
            "example": "7743013902",
            "description": "ИНН"
          },
          "kpp": {
            "type": "string",
            "example": "123456789",
            "description": "КПП"
          },
          "ogrn": {
            "type": "string",
            "example": "1234567890123",
            "description": "ОГРН"
          },
          "okpo": {
            "type": "string",
            "example": "12345678",
            "description": "ОКПО"
          },
          "oktmo": {
            "type": "string",
            "example": "12345678",
            "description": "ОКТМО"
          },
          "ad_channel_id": {
            "description": "Рекламный канал",
            "type": "integer",
            "example": 10
          },
          "date_added": {
            "description": "Дата добавления",
            "type": "string",
            "example": "20.09.2024"
          }
        }
      },
      "Entity": {
        "type": "object",
        "description": "Объект реквизитов юр. лица",
        "properties": {
          "id": {
            "type": "integer",
            "example": 5,
            "description": "ID юр. лица"
          },
          "legal_form": {
            "type": "string",
            "example": "ООО",
            "description": "правовая форма"
          },
          "name": {
            "type": "string",
            "example": "Карат",
            "description": "Название юр. лица"
          },
          "inn": {
            "type": "string",
            "example": "123456789",
            "description": "ИНН"
          },
          "legal_address": {
            "type": "string",
            "example": "Пример: г. Москва, ул. Центральная, д. 7",
            "description": "Юридический адрес юр. лица"
          },
          "phone": {
            "type": "string",
            "example": "+79033080944",
            "description": "Общий телефон организации"
          },
          "director_fio": {
            "type": "string",
            "example": "Иванов Иван Иванович",
            "description": "ФИО директора"
          },
          "chief_accountant_fio": {
            "type": "string",
            "example": "Иванов Иван Иванович",
            "description": "ФИО главного бухгалтера"
          },
          "taxation_system": {
            "type": "integer",
            "description": "Система налогообложения:\n  * 1 - ОСНО\n  * 2 - УСН (Доходы)\n  * 3 - УСН (Доходы минус расходы)\n  * 4 - ПСН\n",
            "enum": [
              1,
              2,
              3,
              4
            ],
            "example": 2
          },
          "kpp": {
            "type": "string",
            "example": "775001001",
            "description": "КПП"
          },
          "ogrn": {
            "type": "string",
            "example": "306501133200012",
            "description": "ОГРН"
          },
          "okpo": {
            "type": "string",
            "example": "50886585",
            "description": "ОКПО"
          },
          "oktmo": {
            "type": "string",
            "example": "4537000",
            "description": "ОКТМО"
          },
          "number_in_lombard_register": {
            "type": "string",
            "example": "1234",
            "description": "Номер в реестре ломбардов"
          },
          "property_insurance_sum": {
            "type": "string",
            "example": "12000000",
            "description": "Сумма страховки имущества"
          },
          "bank_details": {
            "type": "array",
            "description": "Банковские реквизиты",
            "items": {
              "$ref": "#/components/schemas/BankDetail"
            }
          }
        }
      },
      "Workplace": {
        "type": "object",
        "description": "Объект данных филиала",
        "properties": {
          "id": {
            "type": "integer",
            "example": 890,
            "description": "ID филиала"
          },
          "title": {
            "type": "string",
            "example": "Ломбард",
            "description": "Название филиала"
          },
          "city": {
            "type": "string",
            "example": "Москва",
            "description": "Город"
          },
          "address": {
            "type": "string",
            "example": "г. Москва, ул. Горького, д 25",
            "description": "Адрес филиала"
          },
          "okato": {
            "type": "string",
            "example": "232343234",
            "description": "ОКАТО филиала"
          },
          "phone": {
            "type": "string",
            "example": "+79033080944",
            "description": "Телефон филиала"
          },
          "state": {
            "type": "integer",
            "description": "Видимость филиала. Варианты:\n  * 1 - Только активные филиалы\n  * 2 - Только скрытые филиалы\n",
            "enum": [
              1,
              2
            ],
            "example": 1
          },
          "image_links": {
            "$ref": "#/components/schemas/ImagesLinks"
          }
        }
      },
      "Document": {
        "type": "object",
        "description": "Объект данных документа клиента",
        "properties": {
          "id": {
            "type": "integer",
            "example": 569,
            "description": "ID документа"
          },
          "type": {
            "type": "string",
            "example": "Паспорт",
            "description": "Тип документа"
          },
          "series_number": {
            "type": "string",
            "example": "0598 898652",
            "description": "Серия номер"
          },
          "issued_by": {
            "type": "string",
            "example": "УФМС г. Москва",
            "description": "Место выдачи"
          },
          "issued_date": {
            "type": "string",
            "example": "02.02.2022",
            "description": "Дата выдачи"
          },
          "code_department": {
            "type": "string",
            "example": "670-110",
            "description": "Код документа"
          },
          "note": {
            "type": "string",
            "example": "Описание примечания",
            "description": "Примечание"
          }
        }
      },
      "Tariff": {
        "type": "object",
        "description": "Объект данных тарифа",
        "properties": {
          "id": {
            "type": "integer",
            "example": 589,
            "description": "ID тарифа"
          },
          "name": {
            "type": "string",
            "example": "Основной",
            "description": "Название тарифа"
          },
          "comment": {
            "type": "string",
            "example": "Описание",
            "description": "Коментарий"
          },
          "payment_min_sum": {
            "type": "number",
            "example": 800.2,
            "description": "Минимальная сумма оплаты"
          },
          "free_days": {
            "type": "integer",
            "example": 3,
            "description": "Количество первых бесплатных дней"
          },
          "loyalty_card_allowed": {
            "type": "boolean",
            "example": true,
            "description": "Действует ли карта постоянного клиента"
          },
          "workplaces_id": {
            "type": "array",
            "description": "Массиив из ID филиалов",
            "items": {
              "$ref": "#/components/schemas/Workplace/properties/id"
            }
          },
          "status": {
            "type": "integer",
            "description": "Статус тарифа. Варианты:\n  * 1 - Активен\n  * 2 - Скрыт\n  * 3 - Удалён\n",
            "enum": [
              1,
              2,
              3
            ],
            "example": 1
          },
          "option_round_sum_pay": {
            "type": "string",
            "description": "'Округление итоговой суммы оплаты. Варианты:\n  * Без округления\n  * Округлять до 1 знака после запятой\n  * Округлять до целого значения\n  * Округлять до значения кратного 10 (в большую сторону)'\n",
            "example": "Округлять до 1 знака после запятой"
          },
          "alert_exceeding_psk": {
            "type": "boolean",
            "description": "Предупреждать о превышении ПСК",
            "example": true
          },
          "duration_mode": {
            "type": "string",
            "description": "Тип срока займа. Варианты:\n  * Произвольное\n  * Выбор из списка\n",
            "example": "Выбор из списка"
          },
          "pawn_period": {
            "type": "array",
            "description": "Cрок займа (дней)",
            "items": {
              "type": "object",
              "properties": {
                "list": {
                  "type": "integer",
                  "description": "Список периодов срока займа",
                  "example": 4,
                  "enum": [
                    2,
                    4,
                    8
                  ]
                },
                "max": {
                  "type": "integer",
                  "description": "Максимальный срок займа, дней",
                  "example": 4
                }
              }
            }
          },
          "max_pawn_sum": {
            "type": "string",
            "description": "Максимальная сумма займа",
            "example": "9999.99"
          },
          "round_duration": {
            "type": "array",
            "description": "Округление срока залога",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string",
                  "description": "Вариант округления:\n  * Без округления\n  * До срока займа\n  * Своё значение\n",
                  "example": "Своё значение"
                },
                "value": {
                  "type": "integer",
                  "description": "Своё значение округления",
                  "example": "4"
                }
              }
            }
          },
          "min_duration_days": {
            "type": "integer",
            "description": "Минимальное количество дней залога",
            "example": "5"
          },
          "calculation_days": {
            "type": "integer",
            "description": "Расчет количества дней. Варианты:\n* Обычный расчет\n* Прибавлять дополнительный день\n",
            "example": "Прибавлять дополнительный день"
          },
          "period_calculation": {
            "type": "array",
            "description": "Процентные ставки",
            "items": {
              "type": "object",
              "properties": {
                "duration_pledge": {
                  "type": "string",
                  "description": "Процент в зависимости от срока залога",
                  "example": "от 3 до 4 дней"
                },
                "sum_pledge": {
                  "type": "string",
                  "description": "Процент в зависимости от суммы залога",
                  "example": "от 1000 до 6000 руб."
                },
                "value": {
                  "type": "string",
                  "description": "Значение",
                  "example": "26.12345"
                }
              }
            }
          },
          "grace_period_type": {
            "type": "string",
            "description": "Единицы измерения льготного периода. Варианты:\n  * Календарный месяц\n  * По дням\n",
            "example": "По дням"
          },
          "grace_period_value": {
            "type": "integer",
            "description": "Срок просрочки (льготного периода)",
            "example": "6"
          },
          "grace_period_calculation": {
            "type": "integer",
            "description": "Тип расчета льготного периода\n  * Фиксированный\n  * Дифференцированный\n",
            "example": "Фиксированный"
          },
          "grace_period_percents": {
            "type": "array",
            "description": "Процентные ставки льготного периода по займу",
            "items": {
              "type": "object",
              "properties": {
                "duration_pledge": {
                  "type": "string",
                  "description": "Процент в зависимости от срока залога",
                  "example": "от 3 до 4 дней"
                },
                "sum_pledge": {
                  "type": "string",
                  "description": "Процент в зависимости от суммы залога",
                  "example": "от 1000 до 6000 руб."
                },
                "value": {
                  "type": "string",
                  "description": "Значение",
                  "example": "26.12345"
                }
              }
            }
          },
          "storage_fee": {
            "type": "string",
            "description": "Сумма оплаты хранения",
            "example": "1100.00"
          },
          "estimate_cost": {
            "type": "string",
            "description": "Сумма оплаты оценки",
            "example": "1200.00"
          },
          "tariff_percents": {
            "type": "string",
            "description": "Процентная ставка по займу",
            "example": "5%"
          },
          "specific_services": {
            "type": "string",
            "description": "На прочие услуги",
            "example": "0.4%"
          }
        }
      },
      "BankDetail": {
        "type": "object",
        "description": "Объект данных банковских реквизитов",
        "properties": {
          "bank_account": {
            "type": "string",
            "example": "7895/985",
            "description": "Расчетный счет"
          },
          "bank_name": {
            "type": "string",
            "example": "Сбербанк",
            "description": "Банк"
          },
          "correspondent_account": {
            "type": "string",
            "example": "1234567",
            "description": "к/с"
          },
          "bik": {
            "type": "string",
            "example": "123456789",
            "description": "БИК"
          }
        }
      },
      "Category": {
        "type": "object",
        "description": "Объект данных родительской категории",
        "properties": {
          "id": {
            "type": "integer",
            "example": 15,
            "description": "ID категории"
          },
          "name": {
            "type": "string",
            "example": "Ювелирные изделия",
            "description": "Наименование категории"
          },
          "system_category": {
            "type": "integer",
            "description": "\"Системная ли категория. Варианты:\n* 0 - Пользовательская\n* 1 - Системная\"\n",
            "enum": [
              0,
              1
            ],
            "example": 1
          }
        }
      },
      "Subcategory": {
        "type": "object",
        "description": "Объект данных дочерней категории",
        "properties": {
          "id": {
            "type": "integer",
            "example": 45,
            "description": "ID подкатегории"
          },
          "name": {
            "type": "string",
            "example": "Кольца",
            "description": "Наименование подкатегории"
          },
          "system_category": {
            "type": "integer",
            "enum": [
              0,
              1
            ],
            "example": 0,
            "description": "Системная ли подкатегория. Варианты:\n* 0 - Пользовательская\n* 1 - Системная\n"
          }
        }
      },
      "JuniorSubcategory": {
        "type": "object",
        "description": "Объект данных младшей категории",
        "properties": {
          "id": {
            "type": "integer",
            "example": 78,
            "description": "ID младшей подкатегории"
          },
          "name": {
            "type": "string",
            "example": "Кольца",
            "description": "Наименование младшей подкатегории"
          },
          "system_category": {
            "type": "integer",
            "enum": [
              0,
              1
            ],
            "example": 0,
            "description": "Системная ли подкатегория. Варианты:\n* 0 - Пользовательская\n* 1 - Системная\n"
          }
        }
      },
      "Account": {
        "type": "object",
        "description": "Объект данных сотрудника",
        "properties": {
          "id": {
            "type": "integer",
            "example": 7963,
            "description": "ID аккаунта"
          },
          "login": {
            "type": "string",
            "example": "example@gmail.com",
            "description": "Логин"
          },
          "full_name": {
            "type": "string",
            "example": "Иванов Иван Иванович",
            "description": "ФИО"
          },
          "phone": {
            "type": "string",
            "example": "+79033080944",
            "description": "Телефон"
          },
          "inn": {
            "type": "string",
            "example": "165123546763",
            "description": "ИНН"
          },
          "role": {
            "type": "string",
            "example": "Администратор",
            "description": "Роль"
          },
          "comment": {
            "type": "string",
            "example": "Текст комментария",
            "description": "Комментарий"
          },
          "status": {
            "type": "integer",
            "description": "Статус:\n * 1 - Действующий\n * 2 - Уволен\n * 3 - Забанен\n",
            "enum": [
              1,
              2,
              3
            ],
            "example": 1
          }
        }
      },
      "ImagesLinks": {
        "type": "object",
        "description": "Ссылки на изображения",
        "properties": {
          "full_size": {
            "type": "string",
            "example": "https://online.smartlombard.ru/img/image1_full_size.jpg",
            "description": "Ссылка на полное изображения"
          },
          "preview": {
            "type": "string",
            "example": "https://online.smartlombard.ru/img/image1_preview.jpg",
            "description": "Ссылка на превъю"
          }
        }
      },
      "CurrencyCode": {
        "type": "string",
        "enum": [
          "RUB",
          "UAH",
          "KZT",
          "GEL",
          "MDL",
          "LVL",
          "TMM",
          "KGS",
          "TJS",
          "LTL",
          "EUR",
          "USD",
          "AMD"
        ],
        "example": "RUB",
        "description": "Текстовый код валюты по ISO 4217"
      },
      "Metadata": {
        "type": "object",
        "description": "Объект метаданных",
        "properties": {
          "links": {
            "type": "object",
            "description": "Объект данных ссылок по пагинации",
            "properties": {
              "self": {
                "type": "string",
                "example": "https://online.smartlombard.ru/api/exchange/v1/pawn_goods?page=3&limit=20",
                "description": "Текущая страница"
              },
              "first": {
                "type": "string",
                "example": "https://online.smartlombard.ru/api/exchange/v1/pawn_goods?page=1&limit=20",
                "description": "Первая страница"
              },
              "previous": {
                "type": "string",
                "example": "https://online.smartlombard.ru/api/exchange/v1/pawn_goods?page=2&limit=20",
                "description": "Предыдущая страница"
              },
              "next": {
                "type": "string",
                "example": "https://online.smartlombard.ru/api/exchange/v1/pawn_goods?page=4&limit=20",
                "description": "Следующая страница"
              },
              "last": {
                "type": "string",
                "example": "https://online.smartlombard.ru/api/exchange/v1/pawn_goods?page=5&limit=20",
                "description": "Последняя страница"
              }
            }
          },
          "pagination": {
            "type": "object",
            "description": "Объект данных по пагинации",
            "properties": {
              "page": {
                "type": "integer",
                "example": 3,
                "description": "Текущая страница"
              },
              "count_records": {
                "type": "integer",
                "example": 100,
                "description": "Количество записей на странице"
              },
              "count_pages": {
                "type": "integer",
                "example": 5,
                "description": "Количество страниц"
              },
              "previous_page": {
                "type": "integer",
                "example": 2,
                "description": "Предыдущая страница"
              },
              "next_page": {
                "type": "integer",
                "example": 4,
                "description": "Следующая страница"
              },
              "page_size": {
                "type": "integer",
                "example": 20,
                "description": "Количество записей на странице"
              }
            }
          }
        }
      },
      "AnswerGem": {
        "type": "object",
        "description": "Драгоценный камень",
        "properties": {
          "gem_type_id": {
            "type": "integer",
            "example": 1,
            "description": "Тип вставки. Варианты:\n* 1. Драгоценные камни;\n* 2. Полудрагоценные камни;\n* 3. Недрагоценные вставки.\n"
          },
          "amount": {
            "type": "integer",
            "example": 1,
            "description": "Количество камней"
          },
          "weight": {
            "type": "number",
            "example": 2.4,
            "description": "Вес"
          },
          "type_title": {
            "type": "string",
            "example": "Бриллиант",
            "description": "Наименование типа"
          },
          "cut_type_title": {
            "type": "string",
            "example": "Бп-25",
            "description": "Наименование вида огранки"
          },
          "color_group_title": {
            "type": "string",
            "example": "Сине-зеленый",
            "description": "Наименование группы цвета"
          },
          "purity_group_title": {
            "type": "string",
            "example": "К1",
            "description": "Наименование группы чистоты"
          },
          "measure_unit_title": {
            "type": "string",
            "example": "Карат",
            "description": "Наименование единици измерения"
          },
          "gem_estimate_price": {
            "type": "string",
            "example": "5000.00",
            "description": "Сумма оценки вставки"
          }
        }
      },
      "StoragePlaces": {
        "description": "Место хранения",
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "example": 12,
            "description": "ID места хранения"
          },
          "name": {
            "type": "string",
            "example": "Склад",
            "description": "Наименование места хранения"
          }
        }
      },
      "BankCard": {
        "type": "object",
        "description": "Банковская карта клиента физ. лица",
        "properties": {
          "id": {
            "type": "integer",
            "example": 801,
            "description": "ID банковской карты клиента"
          },
          "number": {
            "type": "string",
            "example": "1111 2222 3333 4444",
            "description": "Номер банковской карты клиента"
          },
          "date_end": {
            "type": "string",
            "example": "10.2023",
            "description": "Дата банковской карты клиента"
          },
          "bank_name": {
            "type": "string",
            "example": "ПАО Сбербанк",
            "description": "Наменование банка"
          }
        }
      },
      "Metal": {
        "type": "object",
        "description": "Драгоценный металл",
        "properties": {
          "metal_id": {
            "description": "ID драгоценного металла",
            "type": "integer",
            "example": 85
          },
          "metal_name": {
            "description": "Наименование драгоценного металла",
            "type": "string",
            "example": "Золото"
          }
        }
      },
      "MetalStandart": {
        "type": "object",
        "description": "Проба",
        "properties": {
          "metal_standart_id": {
            "description": "ID пробы",
            "type": "integer",
            "example": 74
          },
          "metal_standart_code": {
            "description": "Код пробы",
            "type": "string",
            "example": "999"
          },
          "metal_standart_name": {
            "description": "Наименование пробы",
            "type": "string",
            "example": "999b (Советская)"
          }
        }
      },
      "BonusesHistory": {
        "type": "object",
        "description": "Начисление",
        "properties": {
          "data_time_operation": {
            "description": "Дата и время операций",
            "type": "string",
            "example": "14.11.2024 12:06"
          },
          "type_operation": {
            "description": "Тип операции. Варианты:\n  * prolongation (Продление);\n  * prolongation_online (Онлайн-продление);\n  * sale_pledge (Вывод из залога);\n  * buyout (Выкуп залогового билета);\n  * withdraw (Изъятие имущества);\n  * repledge (Типы операций залога);\n  * dobor (Добор);\n  * part_buyout (Частичный выкуп);\n  * buying_up (Скупка);\n  * sale (Продажа);\n  * sale_realization (Продажа - реализация);\n  * refund (Возврат);\n  * refund_realization (Возврат - реализация);\n  * payment_for_repair (Оплата ремонта клиентом);\n",
            "type": "string",
            "example": "repledge"
          },
          "percent_add": {
            "description": "Процент начислений",
            "type": "string",
            "example": "15.90"
          },
          "bonus_addition": {
            "description": "Начисления",
            "type": "integer",
            "example": 215
          },
          "bonus_remove": {
            "description": "Списания",
            "type": "integer",
            "example": 163
          },
          "accrued": {
            "description": "Начислены ли бонусы\n   * 1 - Да\n   * 0 - Нет\n",
            "type": "integer",
            "example": 1
          }
        }
      },
      "AdChannels": {
        "type": "object",
        "description": "Рекламные каналы",
        "properties": {
          "ad_channel_id": {
            "description": "ID рекламного канала",
            "type": "integer",
            "example": 6
          },
          "ad_channel_title": {
            "description": "Наименование рекламного канала",
            "type": "string",
            "example": "Реклама в лифте"
          }
        }
      },
      "DocumentTypes": {
        "type": "object",
        "description": "Типы документов",
        "properties": {
          "id": {
            "description": "ID типа документов",
            "type": "integer",
            "example": 6
          },
          "name": {
            "description": "Наименование типа документов",
            "type": "string",
            "example": "Удостоверение"
          },
          "state": {
            "description": "Видимость типа. Варианты:\n  * 0 - активная\n  * 1 - скрытая\n",
            "type": "integer",
            "example": 0
          },
          "system_document_type": {
            "description": "Системность типа документов. Варианты:\n  * 0 - пользовательская\n  * 1 - системная\n",
            "type": "integer",
            "example": 1
          }
        }
      },
      "PawnGood_edit": {
        "type": "object",
        "description": "Тип имущества - Другое",
        "properties": {
          "type": {
            "type": "string",
            "description": "Тип имущества\n  * other - Другое\n  * jewelry - Ювелирное изделие\n  * vehicle - Автотранспорт\n  * mobile - Мобильный телефон\n  * tablet_ebook - Планшеты и электронные книги\n  * photo_equip - Фототехника\n  * tv_video - ТВ и видеотехника\n  * watch - Часы\n  * home_appliance - Техника для дома\n  * tool - Инструменты\n  * pc_component - Товары для компьютера\n  * clothes - Одежда\n  * kids_clothes - Для детей\n  * laptop_netbook - Ноутбуки и нетбуки\n",
            "enum": [
              "other",
              "jewelry",
              "vehicle",
              "mobile",
              "tablet_ebook",
              "photo_equip",
              "tv_video",
              "watch",
              "home_appliance",
              "tool",
              "pc_component",
              "clothes",
              "kids_clothes",
              "laptop_netbook"
            ]
          },
          "name": {
            "type": "string",
            "example": "Паркер",
            "description": "Наименование"
          },
          "serial_number": {
            "type": "string",
            "example": "9063T 8562A",
            "description": "Серийный номер"
          },
          "estimate_price": {
            "type": "number",
            "example": 1600.04,
            "description": "Сумма оценки"
          },
          "category_id": {
            "type": "integer",
            "example": 16,
            "description": "Категория"
          },
          "subcategory_id": {
            "type": "integer",
            "example": 18,
            "description": "Подкатегория"
          },
          "junior_subcategory_id": {
            "type": "integer",
            "example": 19,
            "description": "Младшая подкатегория"
          },
          "storage_id": {
            "$ref": "#/components/schemas/Other/properties/storage_places_id"
          },
          "width": {
            "type": "integer",
            "example": 20,
            "description": "Ширина"
          },
          "length": {
            "type": "integer",
            "example": 20,
            "description": "Длина"
          },
          "description": {
            "type": "string",
            "example": "Пример описания",
            "description": "Описание"
          },
          "comment": {
            "$ref": "#/components/schemas/Other/properties/comment"
          }
        }
      },
      "PawnGoodJewelryExtra": {
        "type": "object",
        "description": "Тип имущества - Ювелирное изделие",
        "properties": {
          "type": {
            "type": "string",
            "description": "Тип имущества\n  * other - Другое\n  * jewelry - Ювелирное изделие\n  * vehicle - Автотранспорт\n  * mobile - Мобильный телефон\n  * tablet_ebook - Планшеты и электронные книги\n  * photo_equip - Фототехника\n  * tv_video - ТВ и видеотехника\n  * watch - Часы\n  * home_appliance - Техника для дома\n  * tool - Инструменты\n  * pc_component - Товары для компьютера\n  * clothes - Одежда\n  * kids_clothes - Для детей\n  * laptop_netbook - Ноутбуки и нетбуки\n",
            "enum": [
              "other",
              "jewelry",
              "vehicle",
              "mobile",
              "tablet_ebook",
              "photo_equip",
              "tv_video",
              "watch",
              "home_appliance",
              "tool",
              "pc_component",
              "clothes",
              "kids_clothes",
              "laptop_netbook"
            ]
          },
          "category_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/category_id"
          },
          "subcategory_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/subcategory_id"
          },
          "junior_subcategory_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/junior_subcategory_id"
          },
          "name": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/name"
          },
          "estimate_price": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
          },
          "storage_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
          },
          "jewelry_extra": {
            "type": "object",
            "properties": {
              "manufacturer": {
                "type": "string",
                "example": "ООО Карат",
                "description": "Производитель (для страны профиля Россия)"
              },
              "uin": {
                "type": "string",
                "example": "6432012156789027",
                "description": "УИН (для страны профиля Россия)"
              },
              "size": {
                "type": "number",
                "example": 2.7,
                "description": "Размер/Длина"
              },
              "dm_code": {
                "type": "integer",
                "enum": [
                  1,
                  2
                ],
                "example": 1,
                "description": "Нанесен ли DM-код\n* 1 - Да\n* 2 - Нет\n"
              },
              "metal_id": {
                "type": "integer",
                "example": 18,
                "description": "ID вида металла"
              },
              "metal_standart_id": {
                "type": "integer",
                "example": 90,
                "description": "ID пробы"
              },
              "weight": {
                "type": "number",
                "example": 1.678,
                "description": "Вес, г"
              },
              "weight_inserts": {
                "type": "number",
                "example": 0.635,
                "description": "Вес вставок, г"
              },
              "product_type": {
                "type": "integer",
                "enum": [
                  1,
                  2
                ],
                "example": 1,
                "description": "Лом/Изделие\n* 1 - Лом\n* 2 - Изделие\n"
              },
              "estimate_inserts": {
                "type": "integer",
                "example": 635,
                "description": "Сумма оценки вставок"
              },
              "brand": {
                "type": "string",
                "example": "Casio",
                "description": "Бренд. <a href=\"https://www.avito.ru/autoload/documentation/templates/96547?fileFormat=xml#field-Brand\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
              },
              "color": {
                "type": "string",
                "example": "Белый",
                "description": "Цвет"
              },
              "gender": {
                "type": "integer",
                "example": 1,
                "enum": [
                  1,
                  2,
                  3,
                  4
                ],
                "description": "Для кого:\n* 1 - Мужской\n* 2 - Женский\n* 3 - Унисекс\n* 4 - Детские\n"
              },
              "mechanism": {
                "type": "integer",
                "example": 1,
                "enum": [
                  1,
                  2,
                  3,
                  4
                ],
                "description": "Тип механизма:\n* 1 - Кварцевые\n* 2 - Механические\n* 3 - Электронные\n* 4 - Другие\n"
              },
              "strap_type": {
                "type": "string",
                "example": "Титан",
                "description": "Тип ремешка"
              },
              "gems": {
                "$ref": "#/components/schemas/Gems"
              }
            }
          },
          "description": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/description"
          },
          "comment": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
          }
        }
      },
      "PawnGoodVehicleExtra": {
        "type": "object",
        "description": "Тип имущества - Автотранспорт можно продавать только в единственном числе и нельзя совмещать с другими типами товаров",
        "properties": {
          "type": {
            "type": "string",
            "description": "Тип имущества\n  * other - Другое\n  * jewelry - Ювелирное изделие\n  * vehicle - Автотранспорт\n  * mobile - Мобильный телефон\n  * tablet_ebook - Планшеты и электронные книги\n  * photo_equip - Фототехника\n  * tv_video - ТВ и видеотехника\n  * watch - Часы\n  * home_appliance - Техника для дома\n  * tool - Инструменты\n  * pc_component - Товары для компьютера\n  * clothes - Одежда\n  * kids_clothes - Для детей\n  * laptop_netbook - Ноутбуки и нетбуки\n",
            "enum": [
              "other",
              "jewelry",
              "vehicle",
              "mobile",
              "tablet_ebook",
              "photo_equip",
              "tv_video",
              "watch",
              "home_appliance",
              "tool",
              "pc_component",
              "clothes",
              "kids_clothes",
              "laptop_netbook"
            ]
          },
          "category_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/category_id"
          },
          "subcategory_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/subcategory_id"
          },
          "junior_subcategory_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/junior_subcategory_id"
          },
          "name": {
            "type": "string",
            "example": "Volga",
            "description": "Марка/Модель"
          },
          "estimate_price": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
          },
          "storage_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
          },
          "vehicle_extra": {
            "type": "object",
            "properties": {
              "product_year": {
                "type": "integer",
                "example": 1998,
                "description": "Год выпуска"
              },
              "body_color": {
                "type": "string",
                "example": "Белый",
                "description": "Цвет кузова"
              },
              "reg_number": {
                "type": "string",
                "example": "A163BT",
                "description": "Гос. номер"
              },
              "vin": {
                "type": "string",
                "example": "ATM09988734634Z5767",
                "description": "VIN"
              },
              "engine_model_number": {
                "type": "string",
                "example": "45996F23",
                "description": "Модель, № Двигателя"
              },
              "engine_volume": {
                "type": "integer",
                "example": 67,
                "description": "Рабочий объем двигателя, куб. см"
              },
              "chassis_number": {
                "type": "string",
                "example": "90853",
                "description": "Шасси (рама) №"
              },
              "trailer_number": {
                "type": "string",
                "example": "3457",
                "description": "Кузов (прицеп) №"
              },
              "mileage": {
                "type": "integer",
                "example": 60000,
                "description": "Пробег"
              },
              "pts_number": {
                "type": "string",
                "example": "ATM0569709W345",
                "description": "Серия, номер ПТС"
              },
              "pts_issued_by": {
                "type": "string",
                "example": "ГИБДД Ставропольского района",
                "description": "ПТС выдан"
              },
              "pts_issued_date": {
                "type": "string",
                "example": "10.08.2019",
                "description": "Дата выдачи ПТС"
              },
              "sts_number": {
                "type": "string",
                "example": "63 44 № 433754",
                "description": "Серия, номер СТС"
              },
              "sts_issued_by": {
                "type": "string",
                "example": "ГИБДД Ставропольского района",
                "description": "СТС Выдан"
              },
              "sts_issued_date": {
                "type": "string",
                "example": "10.08.2019",
                "description": "Дата выдачи СТС"
              }
            }
          },
          "description": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/description"
          },
          "comment": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
          }
        }
      },
      "PawnGoodPhoneExtra": {
        "type": "object",
        "description": "Тип имущества - Мобильный телефон",
        "properties": {
          "type": {
            "type": "string",
            "description": "Тип имущества\n  * other - Другое\n  * jewelry - Ювелирное изделие\n  * vehicle - Автотранспорт\n  * mobile - Мобильный телефон\n  * tablet_ebook - Планшеты и электронные книги\n  * photo_equip - Фототехника\n  * tv_video - ТВ и видеотехника\n  * watch - Часы\n  * home_appliance - Техника для дома\n  * tool - Инструменты\n  * pc_component - Товары для компьютера\n  * clothes - Одежда\n  * kids_clothes - Для детей\n  * laptop_netbook - Ноутбуки и нетбуки\n",
            "enum": [
              "other",
              "jewelry",
              "vehicle",
              "mobile",
              "tablet_ebook",
              "photo_equip",
              "tv_video",
              "watch",
              "home_appliance",
              "tool",
              "pc_component",
              "clothes",
              "kids_clothes",
              "laptop_netbook"
            ]
          },
          "category_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/category_id"
          },
          "subcategory_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/subcategory_id"
          },
          "junior_subcategory_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/junior_subcategory_id"
          },
          "name": {
            "type": "string",
            "example": "Nokia 3310",
            "description": "Наименование телефона"
          },
          "estimate_price": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
          },
          "storage_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
          },
          "phone_extra": {
            "type": "object",
            "properties": {
              "brand": {
                "type": "string",
                "example": "HUAWEI",
                "description": "Бренд. <a href=\"https://www.avito.ru/autoload/documentation/templates/129639?fileFormat=xml#field-Vendor\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
              },
              "device_model": {
                "type": "string",
                "example": "Nova 4",
                "description": "Модель. <a href=\"https://www.avito.ru/autoload/documentation/templates/129639?fileFormat=xml#field-Model\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
              },
              "memory_size": {
                "type": "string",
                "example": "128 ГБ",
                "description": "Встроенная память (Поле чувствительно к регистру). <a href=\"https://www.avito.ru/autoload/documentation/templates/129639?fileFormat=xml#field-MemorySize\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
              },
              "color": {
                "type": "string",
                "example": "черный",
                "description": "Цвет (Поле чувствительно к регистру). <a href=\"https://www.avito.ru/autoload/documentation/templates/129639?fileFormat=xml#field-Color\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
              },
              "ram_size": {
                "type": "string",
                "example": "8 ГБ",
                "description": "Оперативная память(Поле чувствительно к регистру). <a href=\"https://www.avito.ru/autoload/documentation/templates/129639?fileFormat=xml#field-RamSize\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
              },
              "screen_condition_id": {
                "type": "integer",
                "example": 2,
                "enum": [
                  1,
                  2,
                  3,
                  4,
                  5,
                  6,
                  7
                ],
                "description": "Варианты обозначение состояния экрана:\n  * 1 - Без дефектов\n  * 2 - 1–2 мелкие царапины\n  * 3 - Много мелких царапин\n  * 4 - Глубокие царапины\n  * 5 - Сколы, трещины\n  * 6 - Полосы и битые пиксели\n  * 7 - Пятна, блики или выгорание\n"
              },
              "case_condition_id": {
                "type": "integer",
                "example": 2,
                "enum": [
                  1,
                  2,
                  3,
                  4,
                  5,
                  6,
                  7,
                  8
                ],
                "description": "Варианты обозначение состояния корпуса:\n  * 1 - Без дефектов\n  * 2 - Мелкие царапины\n  * 3 - Глубокие царапины\n  * 4 - Сколы, трещины\n  * 5 - Щели, зазоры\n  * 6 - Изгиб\n  * 7 - Вмятины\n  * 8 - Отслоение краски\n"
              }
            }
          },
          "description": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/description"
          },
          "comment": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
          }
        }
      },
      "PawnGoodTabletEbookExtra": {
        "type": "object",
        "description": "Тип имущества - Планшеты и электронные книги",
        "properties": {
          "type": {
            "type": "string",
            "description": "Тип имущества\n  * other - Другое\n  * jewelry - Ювелирное изделие\n  * vehicle - Автотранспорт\n  * mobile - Мобильный телефон\n  * tablet_ebook - Планшеты и электронные книги\n  * photo_equip - Фототехника\n  * tv_video - ТВ и видеотехника\n  * watch - Часы\n  * home_appliance - Техника для дома\n  * tool - Инструменты\n  * pc_component - Товары для компьютера\n  * clothes - Одежда\n  * kids_clothes - Для детей\n  * laptop_netbook - Ноутбуки и нетбуки\n",
            "enum": [
              "other",
              "jewelry",
              "vehicle",
              "mobile",
              "tablet_ebook",
              "photo_equip",
              "tv_video",
              "watch",
              "home_appliance",
              "tool",
              "pc_component",
              "clothes",
              "kids_clothes",
              "laptop_netbook"
            ]
          },
          "category_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/category_id"
          },
          "subcategory_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/subcategory_id"
          },
          "junior_subcategory_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/junior_subcategory_id"
          },
          "name": {
            "type": "string",
            "example": "Haier G800",
            "description": "Наименование"
          },
          "serial_number": {
            "type": "string",
            "example": "9063T 8562A",
            "description": "Серийный номер"
          },
          "estimate_price": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
          },
          "storage_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
          },
          "tablet_extra": {
            "type": "object",
            "properties": {
              "brand": {
                "type": "string",
                "example": "Haier",
                "description": "Бренд. <a href=\"https://www.avito.ru/autoload/documentation/templates/129633?fileFormat=xml#field-Brand\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
              },
              "device_model": {
                "type": "string",
                "example": "G800",
                "description": "Модель. <a href=\"https://www.avito.ru/autoload/documentation/templates/129633?fileFormat=xml#field-Model\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
              },
              "memory_size": {
                "type": "string",
                "example": "4 ГБ",
                "description": "Встроенная память (Поле чувствительно к регистру). <a href=\"https://www.avito.ru/autoload/documentation/templates/129633?fileFormat=xml#field-MemorySize\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
              },
              "sim_slot": {
                "type": "string",
                "example": "Есть",
                "description": "Слот для сим-карты. <a href=\"https://www.avito.ru/autoload/documentation/templates/129633?fileFormat=xml#field-SimSlot\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
              },
              "color": {
                "type": "string",
                "example": "Серый",
                "description": "Цвет (Поле чувствительно к регистру). <a href=\"https://www.avito.ru/autoload/documentation/templates/129633?fileFormat=xml#field-Color\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
              },
              "ram_size": {
                "type": "string",
                "example": "128 ГБ",
                "description": "Оперативная память(Поле чувствительно к регистру). <a href=\"https://www.avito.ru/autoload/documentation/templates/129633?fileFormat=xml#field-RamSize\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
              }
            }
          },
          "description": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/description"
          },
          "comment": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
          }
        }
      },
      "PawnGoodPhotoEquipExtra": {
        "type": "object",
        "description": "Тип имущества - Фототехника",
        "properties": {
          "type": {
            "type": "string",
            "description": "Тип имущества\n  * other - Другое\n  * jewelry - Ювелирное изделие\n  * vehicle - Автотранспорт\n  * mobile - Мобильный телефон\n  * tablet_ebook - Планшеты и электронные книги\n  * photo_equip - Фототехника\n  * tv_video - ТВ и видеотехника\n  * watch - Часы\n  * home_appliance - Техника для дома\n  * tool - Инструменты\n  * pc_component - Товары для компьютера\n  * clothes - Одежда\n  * kids_clothes - Для детей\n  * laptop_netbook - Ноутбуки и нетбуки\n",
            "enum": [
              "other",
              "jewelry",
              "vehicle",
              "mobile",
              "tablet_ebook",
              "photo_equip",
              "tv_video",
              "watch",
              "home_appliance",
              "tool",
              "pc_component",
              "clothes",
              "kids_clothes",
              "laptop_netbook"
            ]
          },
          "category_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/category_id"
          },
          "subcategory_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/subcategory_id"
          },
          "junior_subcategory_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/junior_subcategory_id"
          },
          "name": {
            "type": "string",
            "example": "Стиральная машина Bosch",
            "description": "Наименование"
          },
          "serial_number": {
            "type": "string",
            "example": "9063T 8562A",
            "description": "Серийный номер"
          },
          "estimate_price": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
          },
          "storage_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
          },
          "photo_equip_extra": {
            "oneOf": [
              {
                "title": "Зеркальные фотоаппараты",
                "type": "object",
                "properties": {
                  "device_work": {
                    "type": "integer",
                    "example": 1,
                    "description": "Включается ли устройство :\n* 1 - Включается\n* 2 - Не включается\n"
                  },
                  "screen_flaws_id": {
                    "type": "array",
                    "example": [
                      1,
                      2,
                      3
                    ],
                    "items": {
                      "type": "integer"
                    },
                    "description": "Состояние экрана :\n* 1 - Без дефектов\n* 2 - Мелкие царапины\n* 3 - Крупные царапины\n* 4 - Трещины, сколы\n* 5 - Дефекты изображения\n* 6 - Разбит\n* 7 - Не работает\n"
                  },
                  "case_flaws_id": {
                    "type": "array",
                    "example": [
                      3,
                      2,
                      1
                    ],
                    "items": {
                      "type": "integer"
                    },
                    "description": "Состояние корпуса :\n* 1 - Без дефектов\n* 2 - Царапины\n* 3 - Трещины\n* 4 - Вмятины, сколы\n* 5 - Нет частей корпуса\n* 6 - Загрязнения\n"
                  }
                }
              }
            ]
          },
          "description": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/description"
          },
          "comment": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
          }
        }
      },
      "PawnGoodTvVideoExtra": {
        "type": "object",
        "description": "Тип имущества - ТВ и видеотехника",
        "properties": {
          "type": {
            "type": "string",
            "description": "Тип имущества\n  * other - Другое\n  * jewelry - Ювелирное изделие\n  * vehicle - Автотранспорт\n  * mobile - Мобильный телефон\n  * tablet_ebook - Планшеты и электронные книги\n  * photo_equip - Фототехника\n  * tv_video - ТВ и видеотехника\n  * watch - Часы\n  * home_appliance - Техника для дома\n  * tool - Инструменты\n  * pc_component - Товары для компьютера\n  * clothes - Одежда\n  * kids_clothes - Для детей\n  * laptop_netbook - Ноутбуки и нетбуки\n",
            "enum": [
              "other",
              "jewelry",
              "vehicle",
              "mobile",
              "tablet_ebook",
              "photo_equip",
              "tv_video",
              "watch",
              "home_appliance",
              "tool",
              "pc_component",
              "clothes",
              "kids_clothes",
              "laptop_netbook"
            ]
          },
          "category_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/category_id"
          },
          "subcategory_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/subcategory_id"
          },
          "junior_subcategory_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/junior_subcategory_id"
          },
          "name": {
            "type": "string",
            "example": "Haier HT3728",
            "description": "Наименование"
          },
          "serial_number": {
            "type": "string",
            "example": "9063T 8562A",
            "description": "Серийный номер"
          },
          "estimate_price": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
          },
          "storage_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
          },
          "tv_extra": {
            "type": "object",
            "properties": {
              "brand": {
                "type": "string",
                "example": "Haier",
                "description": "Бренд. <a href=\"https://www.avito.ru/autoload/documentation/templates/97235?fileFormat=xml#field-Vendor\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
              },
              "device_model": {
                "type": "string",
                "example": "HT3728",
                "description": "Модель. <a href=\"https://www.avito.ru/autoload/documentation/templates/97235?fileFormat=xml#field-Model\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
              },
              "device_work": {
                "type": "integer",
                "example": 1,
                "description": "Включается ли устройство\n  * 1 - Включается\n  * 2 - Не включается\n"
              },
              "screen_flaws_id": {
                "type": "array",
                "example": [
                  1,
                  2,
                  3
                ],
                "items": {
                  "type": "integer",
                  "enum": [
                    1,
                    2,
                    3,
                    4,
                    5,
                    6,
                    7,
                    8,
                    9,
                    10,
                    11,
                    12
                  ]
                },
                "description": "Только для телевизоров. Состояния экрана:\n  * 1 - Без дефектов\n  * 2 - Мелкие царапины\n  * 3 - Крупные царапины\n  * 4 - Засветы\n  * 5 - Белые пятна\n  * 6 - Выгоревшие области\n  * 7 - Битые пиксели\n  * 8 - Вертикальные полосы\n  * 9 - Трещины, сколы\n  * 10 - Искажение цвета\n  * 11 - Не работает\n  * 12 - Разбит\n"
              },
              "case_flaws_id": {
                "type": "array",
                "example": [
                  1,
                  2,
                  3
                ],
                "items": {
                  "type": "integer",
                  "enum": [
                    1,
                    2,
                    3,
                    4,
                    5,
                    6
                  ]
                },
                "description": "Только для телевизоров. Состояния корпуса:\n  * 1 - Без дефектов\n  * 2 - Царапины\n  * 3 - Загрязнения\n  * 4 - Трещины\n  * 5 - Нет частей корпуса\n  * 6 - Вмятины или сколы\n"
              }
            }
          },
          "description": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/description"
          },
          "comment": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
          }
        }
      },
      "PawnGoodWatchExtra": {
        "type": "object",
        "description": "Тип имущества - Часы",
        "properties": {
          "type": {
            "type": "string",
            "description": "Тип имущества\n  * other - Другое\n  * jewelry - Ювелирное изделие\n  * vehicle - Автотранспорт\n  * mobile - Мобильный телефон\n  * tablet_ebook - Планшеты и электронные книги\n  * photo_equip - Фототехника\n  * tv_video - ТВ и видеотехника\n  * watch - Часы\n  * home_appliance - Техника для дома\n  * tool - Инструменты\n  * pc_component - Товары для компьютера\n  * clothes - Одежда\n  * kids_clothes - Для детей\n  * laptop_netbook - Ноутбуки и нетбуки\n",
            "enum": [
              "other",
              "jewelry",
              "vehicle",
              "mobile",
              "tablet_ebook",
              "photo_equip",
              "tv_video",
              "watch",
              "home_appliance",
              "tool",
              "pc_component",
              "clothes",
              "kids_clothes",
              "laptop_netbook"
            ]
          },
          "category_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/category_id"
          },
          "subcategory_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/subcategory_id"
          },
          "junior_subcategory_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/junior_subcategory_id"
          },
          "name": {
            "type": "string",
            "example": "Casio Vintage A159WA-N1",
            "description": "Наименование"
          },
          "serial_number": {
            "type": "string",
            "example": "9063T 8562A",
            "description": "Серийный номер"
          },
          "estimate_price": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
          },
          "storage_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
          },
          "watch_extra": {
            "type": "object",
            "properties": {
              "brand": {
                "type": "string",
                "example": "Casio",
                "description": "Бренд часов. <a href=\"https://www.avito.ru/autoload/documentation/templates/96544?fileFormat=xml#field-Brand\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
              },
              "gender": {
                "type": "integer",
                "example": 1,
                "enum": [
                  1,
                  2,
                  3,
                  4
                ],
                "description": "Для кого:\n* 1 - Мужской\n* 2 - Женский\n* 3 - Унисекс\n* 4 - Детские\n"
              },
              "color": {
                "type": "string",
                "example": "Чёрный",
                "description": "Цвет часов"
              },
              "strap_type": {
                "type": "string",
                "example": "Титан",
                "description": "Тип ремешка"
              },
              "mechanism": {
                "type": "integer",
                "example": 1,
                "enum": [
                  1,
                  2,
                  3,
                  4
                ],
                "description": "Тип механизма:\n* 1 - Кварцевые\n* 2 - Механические\n* 3 - Электронные\n* 4 - Другие\n"
              },
              "device_work": {
                "type": "integer",
                "example": 1,
                "enum": [
                  1,
                  2
                ],
                "description": "Включается ли устройство :\n* 1 - Включается\n* 2 - Не включается\n"
              },
              "akb": {
                "type": "integer",
                "example": 100,
                "description": "Cостояние аккумулятора, %"
              },
              "screen_flaws_id": {
                "type": "array",
                "example": [
                  1,
                  2,
                  3
                ],
                "items": {
                  "type": "integer",
                  "enum": [
                    1,
                    2,
                    3,
                    4,
                    5,
                    6,
                    7,
                    8
                  ]
                },
                "description": "Состояния экрана:\n* 1 - Без дефектов\n* 2 - 1-2 мелкие царапины\n* 3 - Много мелких царапин\n* 4 - Глубокие царапины\n* 5 - Сколы, трещины\n* 6 - Полосы и битые пиксели\n* 7 - Пятна, блики или выгорание\n* 8 - Не работает\n"
              },
              "case_flaws_id": {
                "type": "array",
                "example": [
                  1,
                  2,
                  3
                ],
                "items": {
                  "type": "integer",
                  "enum": [
                    1,
                    2,
                    3,
                    4,
                    5,
                    6,
                    7,
                    8
                  ]
                },
                "description": "Состояния корпуса:\n* 1 - Без дефектов\n* 2 - Царапины\n* 3 - Трещины\n* 4 - Вмятины, сколы\n* 5 - Нет частей корпуса\n* 6 - Загрязнения\n"
              }
            }
          },
          "description": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/description"
          },
          "comment": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
          }
        }
      },
      "PawnGoodHomeApplianceExtra": {
        "type": "object",
        "description": "Тип имущества - Техника для дома",
        "properties": {
          "type": {
            "type": "string",
            "description": "Тип имущества\n  * other - Другое\n  * jewelry - Ювелирное изделие\n  * vehicle - Автотранспорт\n  * mobile - Мобильный телефон\n  * tablet_ebook - Планшеты и электронные книги\n  * photo_equip - Фототехника\n  * tv_video - ТВ и видеотехника\n  * watch - Часы\n  * home_appliance - Техника для дома\n  * tool - Инструменты\n  * pc_component - Товары для компьютера\n  * clothes - Одежда\n  * kids_clothes - Для детей\n  * laptop_netbook - Ноутбуки и нетбуки\n",
            "enum": [
              "other",
              "jewelry",
              "vehicle",
              "mobile",
              "tablet_ebook",
              "photo_equip",
              "tv_video",
              "watch",
              "home_appliance",
              "tool",
              "pc_component",
              "clothes",
              "kids_clothes",
              "laptop_netbook"
            ]
          },
          "category_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/category_id"
          },
          "subcategory_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/subcategory_id"
          },
          "junior_subcategory_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/junior_subcategory_id"
          },
          "name": {
            "type": "string",
            "example": "Стиральная машина Bosch",
            "description": "Наименование"
          },
          "serial_number": {
            "type": "string",
            "example": "9063T 8562A",
            "description": "Серийный номер"
          },
          "estimate_price": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
          },
          "storage_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
          },
          "home_appliance_extra": {
            "oneOf": [
              {
                "title": "Стиральные машины",
                "type": "object",
                "properties": {
                  "brand": {
                    "type": "string",
                    "example": "Bosch",
                    "description": "Бренд стиральной машины. <a href=\"https://www.avito.ru/autoload/documentation/templates/113178?fileFormat=xml#field-Brand\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
                  },
                  "model": {
                    "type": "string",
                    "example": "WAWH8640",
                    "description": "Модель стиральной машины. <a href=\"https://www.avito.ru/autoload/documentation/templates/113178?fileFormat=xml#field-Model\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
                  },
                  "device_work": {
                    "type": "integer",
                    "example": 1,
                    "description": "Включается ли устройство :\n* 1 - Включается\n* 2 - Не включается\n"
                  },
                  "useful_life": {
                    "type": "integer",
                    "example": 2,
                    "description": "Срок использования :\n* 1 - До 3 лет\n* 2 - 3-5 лет\n* 3 - Больше 5 лет\n"
                  },
                  "warranty": {
                    "type": "integer",
                    "example": 2,
                    "description": "Гарантия :\n* 1 - Действует\n* 2 - Истекла\n* 3 - Не знаю\n"
                  },
                  "case_flaws_id": {
                    "type": "array",
                    "example": [
                      3,
                      2,
                      1
                    ],
                    "items": {
                      "type": "integer"
                    },
                    "description": "Состояние корпуса :\n* 1 - Без дефектов\n* 2 - Царапины\n* 3 - Трещины\n* 4 - Вмятины, сколы\n* 5 - Нет частей корпуса\n* 6 - Загрязнения\n"
                  }
                }
              }
            ]
          },
          "description": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/description"
          },
          "comment": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
          }
        }
      },
      "PawnGoodToolExtra": {
        "type": "object",
        "description": "Тип имущества - Инструменты",
        "properties": {
          "type": {
            "type": "string",
            "description": "Тип имущества\n  * other - Другое\n  * jewelry - Ювелирное изделие\n  * vehicle - Автотранспорт\n  * mobile - Мобильный телефон\n  * tablet_ebook - Планшеты и электронные книги\n  * photo_equip - Фототехника\n  * tv_video - ТВ и видеотехника\n  * watch - Часы\n  * home_appliance - Техника для дома\n  * tool - Инструменты\n  * pc_component - Товары для компьютера\n  * clothes - Одежда\n  * kids_clothes - Для детей\n  * laptop_netbook - Ноутбуки и нетбуки\n",
            "enum": [
              "other",
              "jewelry",
              "vehicle",
              "mobile",
              "tablet_ebook",
              "photo_equip",
              "tv_video",
              "watch",
              "home_appliance",
              "tool",
              "pc_component",
              "clothes",
              "kids_clothes",
              "laptop_netbook"
            ]
          },
          "category_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/category_id"
          },
          "subcategory_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/subcategory_id"
          },
          "junior_subcategory_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/junior_subcategory_id"
          },
          "name": {
            "type": "string",
            "example": "Шуруповерт Makita",
            "description": "Наименование инструмента"
          },
          "serial_number": {
            "type": "string",
            "example": "9063T 8562A",
            "description": "Серийный номер"
          },
          "estimate_price": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
          },
          "storage_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
          },
          "tool_extra": {
            "oneOf": [
              {
                "title": "Дрели и шуруповерты",
                "type": "object",
                "properties": {
                  "device_type": {
                    "type": "string",
                    "example": "Шуруповерт",
                    "description": "Тип инструмента"
                  },
                  "brand": {
                    "type": "string",
                    "example": "Makita",
                    "description": "Бренд инструмента. <a href=\"https://www.avito.ru/autoload/documentation/templates/97970?fileFormat=xml#field-Brand\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
                  },
                  "device_model": {
                    "type": "string",
                    "example": "Не указана",
                    "description": "Модель инструмента. <a href=\"https://www.avito.ru/autoload/documentation/templates/97970?fileFormat=xml#field-Model\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
                  },
                  "power_type": {
                    "type": "string",
                    "example": "Аккумуляторный",
                    "description": "Тип питания. <a href=\"https://www.avito.ru/autoload/documentation/templates/97970?fileFormat=xml#field-PowerType\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
                  },
                  "battery_voltage": {
                    "type": "string",
                    "example": "18.0",
                    "description": "Напряжение. <a href=\"https://www.avito.ru/autoload/documentation/templates/97970?fileFormat=xml#field-BatteryVoltage\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
                  }
                }
              },
              {
                "title": "Болгарки и шлифмашинки",
                "type": "object",
                "properties": {
                  "tool_type_id": {
                    "type": "integer",
                    "example": 1,
                    "enum": [
                      1,
                      2
                    ],
                    "description": "ID типа инструмента\n\n  <br />1 - Болгарки\n  <br />2 - Шлифмашинки\n"
                  },
                  "brand": {
                    "type": "string",
                    "example": "Makita",
                    "description": "Бренд инструмента. <a href=\"https://www.avito.ru/autoload/documentation/templates/97972?fileFormat=xml#field-Brand\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения для болгарок</a>. <a href=\"https://www.avito.ru/autoload/documentation/templates/97973?fileFormat=xml#field-Brand\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения для Шлифмашинок</a>"
                  },
                  "device_model": {
                    "type": "string",
                    "example": "Не указана",
                    "description": "Модель инструмента. Актуально для типа инструмента \"1\" - Болгарки. <a href=\"https://www.avito.ru/autoload/documentation/templates/97972?fileFormat=xml#field-Model\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
                  },
                  "disc_diameter": {
                    "type": "string",
                    "example": "125",
                    "description": "Диаметр диска. Актуально для типа инструмента \"1\" - Болгарки. <a href=\"https://www.avito.ru/autoload/documentation/templates/97972?fileFormat=xml#field-DiscDiameter\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
                  },
                  "power_type": {
                    "type": "string",
                    "example": "От сети",
                    "description": "Тип питания. Актуально для типа инструмента \"1\" - Болгарки. <a href=\"https://www.avito.ru/autoload/documentation/templates/97972?fileFormat=xml#field-PowerType\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
                  },
                  "grinding_tool_type_id": {
                    "type": "integer",
                    "example": 3,
                    "enum": [
                      1,
                      2,
                      3,
                      4,
                      5,
                      6,
                      7,
                      8
                    ],
                    "description": "ID типа шлифмашинки. Актуально для типа инструмента \"2\" - Шлифмашинки.\n\n  <br />1 - Для стен и потолков (жираф)\n  <br />2 - Эксцентриковые\n  <br />3 - Полировальные машины\n  <br />4 - Ленточные\n  <br />5 - Плоскошлифовальные\n  <br />6 - Граверы\n  <br />7 - Реноваторы (МФИ)\n  <br />8 - Другое\n"
                  }
                }
              },
              {
                "title": "Перфораторы и отбойные молотки",
                "type": "object",
                "properties": {
                  "tool_type_id": {
                    "type": "integer",
                    "example": 1,
                    "enum": [
                      1,
                      2
                    ],
                    "description": "ID типа инструмента\n  * 1 - Перфораторы\n  * 2 - Отбойные молотки\n"
                  },
                  "brand": {
                    "type": "string",
                    "example": "Makita",
                    "description": "Бренд инструмента. <a href=\"https://www.avito.ru/autoload/documentation/templates/97971?fileFormat=xml#field-Brand\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения для перфораторов</a>. <a href=\"https://www.avito.ru/autoload/documentation/templates/97976?fileFormat=xml#field-Brand\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения для отбойных молотков</a>"
                  },
                  "cartridge_type_id": {
                    "type": "integer",
                    "example": 4,
                    "enum": [
                      1,
                      2,
                      3,
                      4,
                      5,
                      6,
                      7
                    ],
                    "description": "ID типа патрона. Актуально для типа инструмента \"1\" - Перфораторы.\n  * 1 - SDS – plus\n  * 2 - SDS – max\n  * 3 - SDS – top\n  * 4 - SDS – quick\n  * 5 - Быстрозажимной\n  * 6 - Ключевой\n  * 7 - Цанговый\n"
                  },
                  "modes": {
                    "type": "integer",
                    "example": 2,
                    "description": "Количество режимов. Актуально для типа инструмента \"1\" - Перфораторы. <a href=\"https://www.avito.ru/autoload/documentation/templates/97971?fileFormat=xml#field-Modes\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
                  },
                  "power_type_id": {
                    "type": "integer",
                    "example": 1,
                    "enum": [
                      1,
                      2
                    ],
                    "description": "ID типа питания. Актуально для типа инструмента \"1\" - Перфораторы.\n  * 1 - Аккумуляторный\n  * 2 - Сетевой\n"
                  }
                }
              },
              {
                "title": "Лобзики",
                "type": "object",
                "properties": {
                  "brand": {
                    "type": "string",
                    "example": "Makita",
                    "description": "Бренд инструмента. <a href=\"https://www.avito.ru/autoload/documentation/templates/97977?fileFormat=xml#field-Brand\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
                  }
                }
              }
            ]
          },
          "description": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/description"
          },
          "comment": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
          }
        }
      },
      "PawnGoodPcComponentExtra": {
        "type": "object",
        "description": "Тип имущества - Товары для компьютера",
        "properties": {
          "type": {
            "type": "string",
            "description": "Тип имущества\n  * other - Другое\n  * jewelry - Ювелирное изделие\n  * vehicle - Автотранспорт\n  * mobile - Мобильный телефон\n  * tablet_ebook - Планшеты и электронные книги\n  * photo_equip - Фототехника\n  * tv_video - ТВ и видеотехника\n  * watch - Часы\n  * home_appliance - Техника для дома\n  * tool - Инструменты\n  * pc_component - Товары для компьютера\n  * clothes - Одежда\n  * kids_clothes - Для детей\n  * laptop_netbook - Ноутбуки и нетбуки\n",
            "enum": [
              "other",
              "jewelry",
              "vehicle",
              "mobile",
              "tablet_ebook",
              "photo_equip",
              "tv_video",
              "watch",
              "home_appliance",
              "tool",
              "pc_component",
              "clothes",
              "kids_clothes",
              "laptop_netbook"
            ]
          },
          "category_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/category_id"
          },
          "subcategory_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/subcategory_id"
          },
          "junior_subcategory_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/junior_subcategory_id"
          },
          "name": {
            "type": "string",
            "example": "Процессор",
            "description": "Наименование"
          },
          "serial_number": {
            "type": "string",
            "example": "9063T 8562A",
            "description": "Серийный номер"
          },
          "estimate_price": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
          },
          "storage_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
          },
          "pc_extra": {
            "type": "object",
            "properties": {
              "brand": {
                "type": "string",
                "example": "Casio",
                "description": "Бренд. <a href=\"https://www.avito.ru/autoload/documentation/templates/120980?fileFormat=xml#field-Brand\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
              },
              "device_model": {
                "type": "string",
                "example": "HT3728",
                "description": "Модель. <a href=\"https://www.avito.ru/autoload/documentation/templates/120980?fileFormat=xml#field-Model\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
              }
            }
          },
          "description": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/description"
          },
          "comment": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
          }
        }
      },
      "PawnGoodClothesExtra": {
        "type": "object",
        "description": "Тип имущества - Одежда",
        "properties": {
          "type": {
            "type": "string",
            "description": "Тип имущества\n  * other - Другое\n  * jewelry - Ювелирное изделие\n  * vehicle - Автотранспорт\n  * mobile - Мобильный телефон\n  * tablet_ebook - Планшеты и электронные книги\n  * photo_equip - Фототехника\n  * tv_video - ТВ и видеотехника\n  * watch - Часы\n  * home_appliance - Техника для дома\n  * tool - Инструменты\n  * pc_component - Товары для компьютера\n  * clothes - Одежда\n  * kids_clothes - Для детей\n  * laptop_netbook - Ноутбуки и нетбуки\n",
            "enum": [
              "other",
              "jewelry",
              "vehicle",
              "mobile",
              "tablet_ebook",
              "photo_equip",
              "tv_video",
              "watch",
              "home_appliance",
              "tool",
              "pc_component",
              "clothes",
              "kids_clothes",
              "laptop_netbook"
            ]
          },
          "category_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/category_id"
          },
          "subcategory_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/subcategory_id"
          },
          "junior_subcategory_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/junior_subcategory_id"
          },
          "name": {
            "type": "string",
            "example": "Игровой ноутбук, процессор Intel Core i5",
            "description": "Наименование"
          },
          "serial_number": {
            "type": "string",
            "example": "9063T 8562A",
            "description": "Серийный номер"
          },
          "estimate_price": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
          },
          "storage_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
          },
          "clothes_extra": {
            "type": "object",
            "properties": {
              "brand": {
                "type": "string",
                "example": "Gucci",
                "description": "Бренд одежды. <a href=\"https://www.avito.ru/autoload/documentation/templates/119261?fileFormat=xml#field-Brand\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
              },
              "clothes_size": {
                "type": "string",
                "example": "48",
                "description": "Размер одежды"
              },
              "shoes_type_id": {
                "type": "integer",
                "example": "48",
                "description": "| Тип обуви (актуально, если в младшей подкатегории указано \"Обувь\"). Варианты:<br /> <br />1 - Ботинки и полуботинки <br />2 - Туфли <br />3 - Мокасины и лоферы <br />4 - Спортивная обувь <br />5 - Угги, валенки, дутики <br />6 - Резиновая обувь <br />7 - Сандалии <br />8 - Шлёпанцы и сланцы <br />9 - Домашняя обувь <br />10 - Слипоны и эспадрильи <br />11 - Уход за обувью"
              }
            }
          },
          "description": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/description"
          },
          "comment": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
          }
        }
      },
      "PawnGoodKidsClothesExtra": {
        "type": "object",
        "description": "Тип имущества - Одежда для детей",
        "properties": {
          "type": {
            "type": "string",
            "description": "Тип имущества\n  * other - Другое\n  * jewelry - Ювелирное изделие\n  * vehicle - Автотранспорт\n  * mobile - Мобильный телефон\n  * tablet_ebook - Планшеты и электронные книги\n  * photo_equip - Фототехника\n  * tv_video - ТВ и видеотехника\n  * watch - Часы\n  * home_appliance - Техника для дома\n  * tool - Инструменты\n  * pc_component - Товары для компьютера\n  * clothes - Одежда\n  * kids_clothes - Для детей\n  * laptop_netbook - Ноутбуки и нетбуки\n",
            "enum": [
              "other",
              "jewelry",
              "vehicle",
              "mobile",
              "tablet_ebook",
              "photo_equip",
              "tv_video",
              "watch",
              "home_appliance",
              "tool",
              "pc_component",
              "clothes",
              "kids_clothes",
              "laptop_netbook"
            ]
          },
          "category_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/category_id"
          },
          "subcategory_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/subcategory_id"
          },
          "junior_subcategory_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/junior_subcategory_id"
          },
          "name": {
            "type": "string",
            "example": "Игровой ноутбук, процессор Intel Core i5",
            "description": "Наименование"
          },
          "serial_number": {
            "type": "string",
            "example": "9063T 8562A",
            "description": "Серийный номер"
          },
          "estimate_price": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
          },
          "storage_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
          },
          "kids_clothes_extra": {
            "type": "object",
            "properties": {
              "brand": {
                "type": "string",
                "example": "Gucci",
                "description": "Бренд одежды. <a href=\"https://www.avito.ru/autoload/documentation/templates/106747?fileFormat=xml#field-Brand\" target=\"_blank\" rel=\"noopener noreferrer\">Возможные значения</a>"
              },
              "clothes_size": {
                "type": "string",
                "example": "48",
                "description": "Размер одежды"
              },
              "shoes_type_id": {
                "type": "integer",
                "example": "48",
                "description": "Тип обуви (актуально, если в младшей подкатегории указано \"Обувь\") | ID типа обуви. Варианты:<br /> <br />1 - Ботинки и полуботинки <br />2 - Туфли <br />3 - Мокасины и лоферы <br />4 - Спортивная обувь <br />5 - Угги, валенки, дутики <br />6 - Резиновая обувь <br />7 - Сандалии <br />8 - Шлёпанцы и сланцы <br />9 - Домашняя обувь <br />10 - Слипоны и эспадрильи <br />11 - Уход за обувью"
              }
            }
          },
          "description": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/description"
          },
          "comment": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
          }
        }
      },
      "PawnGoodLaptopExtra": {
        "type": "object",
        "description": "Тип имущества - Ноутбуки и нетбуки",
        "properties": {
          "type": {
            "type": "string",
            "description": "Тип имущества\n  * other - Другое\n  * jewelry - Ювелирное изделие\n  * vehicle - Автотранспорт\n  * mobile - Мобильный телефон\n  * tablet_ebook - Планшеты и электронные книги\n  * photo_equip - Фототехника\n  * tv_video - ТВ и видеотехника\n  * watch - Часы\n  * home_appliance - Техника для дома\n  * tool - Инструменты\n  * pc_component - Товары для компьютера\n  * clothes - Одежда\n  * kids_clothes - Для детей\n  * laptop_netbook - Ноутбуки и нетбуки\n",
            "enum": [
              "other",
              "jewelry",
              "vehicle",
              "mobile",
              "tablet_ebook",
              "photo_equip",
              "tv_video",
              "watch",
              "home_appliance",
              "tool",
              "pc_component",
              "clothes",
              "kids_clothes",
              "laptop_netbook"
            ]
          },
          "category_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/category_id"
          },
          "subcategory_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/subcategory_id"
          },
          "junior_subcategory_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/junior_subcategory_id"
          },
          "name": {
            "type": "string",
            "example": "Игровой ноутбук, процессор Intel Core i5",
            "description": "Наименование"
          },
          "serial_number": {
            "type": "string",
            "example": "9063T 8562A",
            "description": "Серийный номер"
          },
          "estimate_price": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/estimate_price"
          },
          "storage_id": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/storage_id"
          },
          "laptop_netbook_extra": {
            "type": "object",
            "properties": {
              "device_work": {
                "type": "integer",
                "example": "1",
                "enum": [
                  1,
                  2
                ],
                "description": "Включается ли устройство\n* 1 - Да\n* 2 - Нет\n"
              },
              "akb_hours": {
                "type": "integer",
                "example": "1",
                "enum": [
                  1,
                  2
                ],
                "description": "Время работы от аккумулятора\n* 1 - Меньше 30 минут\n* 2 - Больше 30 минут\n"
              },
              "keyboard_layout": {
                "type": "integer",
                "example": "1",
                "enum": [
                  1,
                  2
                ],
                "description": "Раскладка клавиатуры\n* 1 - Есть кириллица\n* 2 - Нет кириллицы\n"
              },
              "screen_condition_id": {
                "type": "integer",
                "example": "1",
                "enum": [
                  1,
                  2,
                  3,
                  4,
                  5,
                  6,
                  7,
                  8,
                  9,
                  10,
                  11
                ],
                "description": "ID состояния экрана\n* 1 - Без дефектов\n* 2 - Мелкие царапины\n* 3 - Крупные царапины\n* 4 - Выгоревшие области\n* 5 - Битые пиксели\n* 6 - Белые пятна\n* 7 - Вертикальные полосы\n* 8 - Трещины\n* 9 - Сколы\n* 10 - Следы от клавиатуры\n* 11 - Не работает\n"
              },
              "case_condition_id": {
                "type": "integer",
                "example": "1",
                "enum": [
                  1,
                  2,
                  3,
                  4,
                  5,
                  6,
                  7,
                  8,
                  9,
                  10
                ],
                "description": "ID состояния корпуса\n* 1 - Без дефектов\n* 2 - Мелкие царапины\n* 3 - Крупные царапины\n* 4 - Наклейки или их следы\n* 5 - Сильные загрязнения\n* 6 - Вмятины или сколы\n* 7 - Нет частей корпуса\n* 8 - Сломаны петли\n* 9 - Шатается экран\n* 10 - Люфт на корпусе\n"
              },
              "keyboad_condition_id": {
                "type": "integer",
                "example": "1",
                "enum": [
                  1,
                  2,
                  3,
                  4,
                  5,
                  6
                ],
                "description": "ID состояния клавиатуры\n* 1 - Без дефектов\n* 2 - Потёртости\n* 3 - Залипают клавиши\n* 4 - Нет отдельных клавиш\n* 5 - Не работает подсветка\n* 6 - Не работают клавиши\n"
              }
            }
          },
          "description": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/description"
          },
          "comment": {
            "$ref": "#/components/schemas/PawnGood_edit/properties/comment"
          }
        }
      },
      "Gems": {
        "type": "array",
        "items": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/PreciousGem"
            },
            {
              "$ref": "#/components/schemas/MiddlePreciousGem"
            },
            {
              "$ref": "#/components/schemas/NonePreciousGem"
            }
          ]
        }
      },
      "PreciousGem": {
        "type": "object",
        "description": "Драгоценные камни",
        "properties": {
          "gem_type_id": {
            "type": "integer",
            "example": 1,
            "description": "1. Драгоценные камни"
          },
          "amount": {
            "type": "integer",
            "example": 1,
            "description": "Количество драгоценных камней"
          },
          "weight": {
            "type": "number",
            "example": 2.4,
            "description": "Вес"
          },
          "type_id": {
            "type": "integer",
            "example": 2,
            "enum": [
              2,
              3,
              4,
              5,
              6,
              7
            ],
            "description": "Драгоценные камни. Варианты:\n  * 2. Бриллиант\n  * 3. Сапфир\n  * 4. Изумруд\n  * 5. Рубин\n  * 6. Жемчуг\n  * 7. Александрит\n"
          },
          "cut_type_id": {
            "type": "integer",
            "example": 951,
            "description": "ID вида огранки (Только для драгоценных камней)"
          },
          "color_group_id": {
            "type": "integer",
            "example": 753,
            "description": "ID Группы цвета (Только для драгоценных камней)"
          },
          "purity_group_id": {
            "type": "integer",
            "example": 753,
            "description": "ID Группы чистоты (Только для драгоценных камней)"
          },
          "measure_unit_id": {
            "type": "integer",
            "example": 959,
            "description": "ID Единицы измерения"
          },
          "gem_estimate_price": {
            "type": "string",
            "example": "791.52",
            "description": "Сумма оценки вставки (Только для драгоценных и полудрагоценных камней)"
          }
        }
      },
      "MiddlePreciousGem": {
        "type": "object",
        "description": "Полудрагоценные камни",
        "properties": {
          "gem_type_id": {
            "type": "integer",
            "example": 1,
            "description": "2. Полудрагоценные камни"
          },
          "amount": {
            "type": "integer",
            "example": 1,
            "description": "Количество драгоценных камней"
          },
          "weight": {
            "type": "number",
            "example": 2.4,
            "description": "Вес"
          },
          "type_id": {
            "type": "integer",
            "example": 9,
            "enum": [
              9,
              10,
              11,
              12,
              13,
              14,
              15,
              16,
              17,
              18,
              19,
              20,
              21,
              22,
              23
            ],
            "description": "Полудрагоценные камни. Варианты:\n  * 9. Агат\n  * 10. Аметист\n  * 11. Бирюза\n  * 12. Гранат\n  * 13. Топаз\n  * 14. Халцедон\n  * 15. Хризолит\n  * 16. Лунный камень\n  * 17. Оникс\n  * 18. Янтарь\n  * 19. Обсидиан\n  * 20. Турмалин\n  * 21. Малахит\n  * 22. Танзанит\n  * 23. Хромдиопсид\n"
          },
          "cut_type": {
            "type": "string",
            "example": "Основная",
            "description": "Наименование вида огранки (Только для полудрагоценных камней)"
          },
          "color_group": {
            "type": "string",
            "example": "Красный",
            "description": "Наименование группы цвета (Только для полудрагоценных камней)"
          },
          "purity_group": {
            "type": "string",
            "example": "Другая",
            "description": "Наименование группы чистоты (Только для полудрагоценных камней)"
          },
          "measure_unit_id": {
            "type": "integer",
            "example": 51,
            "description": "ID Единицы измерения"
          },
          "gem_estimate_price": {
            "type": "string",
            "example": "1889.74",
            "description": "Сумма оценки вставки (Только для драгоценных и полудрагоценных камней)"
          }
        }
      },
      "NonePreciousGem": {
        "type": "object",
        "description": "Недрагоценные вставки",
        "properties": {
          "gem_type_id": {
            "type": "integer",
            "example": 1,
            "description": "3. Недрагоценные вставки."
          },
          "amount": {
            "type": "integer",
            "example": 1,
            "description": "Количество драгоценных камней"
          },
          "weight": {
            "type": "number",
            "example": 2.4,
            "description": "Вес"
          },
          "type_id": {
            "type": "integer",
            "example": 24,
            "enum": [
              24,
              25,
              26,
              27
            ],
            "description": "Недрагоценные вставки. Варианты:\n  * 24. Фианит\n  * 25. Стекло\n  * 26. Эмаль\n  * 27. Стразы\n"
          }
        }
      },
      "Document_edit": {
        "type": "object",
        "properties": {
          "document_type": {
            "type": "integer",
            "example": 1,
            "description": "Тип документа"
          },
          "series_number": {
            "type": "string",
            "example": "0598 898652",
            "description": "Россия (серия, номер):\n* Паспорт. Маска: 4 и 6 цифр. Пример: \"1234 123459\".\n* Военный билет. Маска: 2 буквы 7 цифр. Пример: \"АВ 1234567\".\n* Временное удостоверение личности. Маска: 12 символов. Пример: \"123456789012\".\n* Вид на жительство. Маска: 2 цифры и 7 цифр. Пример: \"12 1234567\".\n* Заграничный паспорт. Маска: 2 цифры и 7 цифр. Пример: \"12 1234567\".\n* Водительские права. Маска: 4 и 6 цифр. Пример: \"1234 123456\".\nКазахстан (серия, номер):\n* Паспорт. Маска: 9 символов. Пример: \"B34345AEX\".\n"
          },
          "issued_by": {
            "type": "string",
            "example": "УФМС г. Москва",
            "description": "Кем выдан"
          },
          "issued_date": {
            "type": "string",
            "example": "02.02.2022",
            "description": "Дата выдачи"
          },
          "code_deelementaryment": {
            "type": "string",
            "example": "670-110",
            "description": "Код подразделения"
          },
          "note": {
            "type": "string",
            "example": "Пример текста",
            "description": "Примечание"
          }
        },
        "required": [
          "document_type",
          "series_number"
        ]
      },
      "BankCard_edit": {
        "type": "object",
        "description": "Банковская карта клиента физ. лица",
        "properties": {
          "bank_card_number": {
            "type": "string",
            "example": "1111 2222 3333 4444",
            "description": "Номер банковской карты клиента"
          },
          "bank_card_date_end": {
            "type": "string",
            "example": "10.2023",
            "description": "Дата банковской карты клиента"
          },
          "bank_name": {
            "type": "string",
            "example": "ПАО Сбербанк",
            "description": "Наменование банка"
          }
        },
        "required": [
          "bank_card_number",
          "bank_card_date_end"
        ]
      },
      "NaturalPerson_edit": {
        "type": "object",
        "description": "Клиент физ. лицо",
        "properties": {
          "name": {
            "type": "string",
            "example": "Иван",
            "description": "Имя клиента"
          },
          "last_name": {
            "type": "string",
            "example": "Иванов",
            "description": "Фамилия клиента"
          },
          "patronymic": {
            "type": "string",
            "example": "Иванович",
            "description": "Отчество клиента"
          },
          "nationality": {
            "type": "string",
            "example": "Россия",
            "description": "Гражданство"
          },
          "resident": {
            "type": "integer",
            "example": 1,
            "description": "Является резидентом РФ:\n* 1 - Да\n* 2 - Нет\n",
            "enum": [
              1,
              2
            ]
          },
          "birth_date": {
            "type": "string",
            "example": "18.06.2002",
            "description": "Дата рождения клиента"
          },
          "registered_city": {
            "type": "string",
            "example": "Москва",
            "description": "Нас. пункт клиента, по прописке"
          },
          "street": {
            "type": "string",
            "example": "Победы",
            "description": "Улица клиента"
          },
          "house": {
            "type": "string",
            "example": "25a",
            "description": "Дом клиента"
          },
          "appartment": {
            "type": "string",
            "example": "13",
            "description": "Квартира клиента"
          },
          "place_of_birth": {
            "type": "string",
            "example": "Москва",
            "description": "Место рождения"
          },
          "actual_address": {
            "type": "string",
            "example": "г. Москва ул.Набережная д.8 кв. 8",
            "description": "Фактический адрес проживания"
          },
          "actual_address_with_registration": {
            "type": "integer",
            "example": 1,
            "enum": [
              1,
              0
            ],
            "description": "Фактический адрес совпадает с адресом регистрации\n* 1 - Да\n* 0 - Нет\n"
          },
          "phone": {
            "type": "string",
            "example": "+79033080944",
            "description": "Номер телефона клиента"
          },
          "email": {
            "type": "string",
            "example": "example@mail.ru",
            "description": "Электронная почта"
          },
          "gender": {
            "type": "integer",
            "example": 1,
            "enum": [
              1,
              2
            ],
            "description": "Пол клиента (для Казахстана):\n* 1 - Мужской\n* 2 - Женский\n"
          },
          "inn": {
            "type": "string",
            "example": "7743013902",
            "description": "ИНН (только для России)"
          },
          "iin": {
            "type": "string",
            "example": "774301390521",
            "description": "ИИН (только для Казахстана)"
          },
          "iin_date_issued": {
            "type": "string",
            "example": "19.05.2023",
            "description": "Дата выдачи ИИН (только для Казахстана)"
          },
          "snils": {
            "type": "string",
            "example": "222-233-445-85",
            "description": "СНИЛС"
          },
          "about": {
            "type": "string",
            "example": "Постоянный клиент",
            "description": "Дополнительная информация"
          },
          "warning_message": {
            "type": "string",
            "example": "Тестовый текст",
            "description": "Предупреждение"
          },
          "type_loyalty_card": {
            "type": "integer",
            "example": 2,
            "description": "ID типа карты постоянного клиента"
          },
          "number_loyalty_card": {
            "type": "string",
            "example": "8956",
            "description": "Номер карты постоянного клиента"
          },
          "barcode_loyalty_card": {
            "type": "string",
            "example": "895611",
            "description": "Штрих-код карты постоянного клиента"
          },
          "documents": {
            "type": "array",
            "description": "Перечень документов клиента",
            "items": {
              "$ref": "#/components/schemas/Document_edit"
            }
          },
          "ad_channel_id": {
            "$ref": "#/components/schemas/Other/properties/ad_channel_id"
          }
        },
        "required": [
          "name",
          "last_name",
          "birth_date",
          "registered_city",
          "street",
          "house",
          "nationality",
          "resident"
        ]
      },
      "LegalPerson_edit": {
        "type": "object",
        "description": "Клиент юр. лицо",
        "properties": {
          "legal_form": {
            "type": "string",
            "example": "ООО",
            "description": "Организационно-правовая форма"
          },
          "legal_name": {
            "type": "string",
            "example": "Карат",
            "description": "Наименование юр. лица"
          },
          "country": {
            "type": "string",
            "example": "Россия",
            "description": "Резидентство"
          },
          "registered_city": {
            "type": "string",
            "example": "Москва",
            "description": "Нас. пункт"
          },
          "street": {
            "type": "string",
            "example": "Спортивная",
            "description": "Улица"
          },
          "house": {
            "type": "string",
            "example": "8a",
            "description": "Дом"
          },
          "building_number": {
            "type": "string",
            "example": "B",
            "description": "Строение/корпус"
          },
          "apartment": {
            "type": "string",
            "example": "189",
            "description": "Квартира/офис"
          },
          "post_index": {
            "type": "string",
            "example": "123456",
            "description": "Почтовый индекс"
          },
          "actual_address": {
            "type": "string",
            "example": "г. Москва ул.Набережная д. 8 кв. 8",
            "description": "Фактический адрес юр. лица"
          },
          "actual_address_with_registration": {
            "type": "integer",
            "example": 1,
            "enum": [
              0,
              1
            ],
            "description": "Фактический адрес совпадает с адресом регистрации:\n * 1 - Да\n * 0 - Нет\n"
          },
          "phone": {
            "type": "string",
            "example": "+71234567890",
            "description": "Контактный телефон"
          },
          "director": {
            "type": "string",
            "example": "Иванов Иван Иванович",
            "description": "Директор"
          },
          "accountant": {
            "type": "string",
            "example": "Петров Петр Петрович",
            "description": "Главный бухгалтер"
          },
          "email": {
            "type": "string",
            "example": "example@mail.ru",
            "description": "Электронная почта"
          },
          "inn": {
            "type": "string",
            "example": "165123546763",
            "description": "ИНН (для России)"
          },
          "bin": {
            "type": "string",
            "example": "546763",
            "description": "БИН (для Казахстана)"
          },
          "kpp": {
            "type": "string",
            "example": "165123",
            "description": "КПП (для России)"
          },
          "ogrn": {
            "type": "string",
            "example": "23546",
            "description": "ОГРН (для России)"
          },
          "okpo": {
            "type": "string",
            "example": "5467123",
            "description": "ОКПО (для России)"
          },
          "oktmo": {
            "type": "string",
            "example": "46123763",
            "description": "ОКТМО (для России)"
          },
          "ad_channel_id": {
            "$ref": "#/components/schemas/Other/properties/ad_channel_id"
          },
          "about": {
            "type": "string",
            "example": "Постоянный клиент",
            "description": "Дополнительная информация"
          },
          "warning_message": {
            "type": "string",
            "example": "Не принимать в залог. Носит краденое",
            "description": "Предупреждение"
          }
        },
        "required": [
          "legal_form",
          "legal_name",
          "country",
          "registered_city",
          "street",
          "house"
        ]
      },
      "Other": {
        "type": "object",
        "properties": {
          "pawn_ticket_id": {
            "description": "ID залогового билета",
            "type": "integer",
            "example": 56
          },
          "operation_id": {
            "description": "ID операции",
            "type": "integer",
            "example": 238
          },
          "pawn_goods_sale": {
            "type": "array",
            "description": "Список имуществ для вывода из залога",
            "items": {
              "type": "object",
              "properties": {
                "pawn_good_id": {
                  "$ref": "#/components/schemas/Other/properties/pawn_good_id"
                },
                "sale_price": {
                  "description": "Цена на витрине",
                  "type": "string",
                  "example": 504.06
                }
              }
            }
          },
          "pawn_goods_sell": {
            "type": "array",
            "description": "Список имуществ для вывода из залога",
            "items": {
              "type": "object",
              "properties": {
                "pawn_good_id": {
                  "$ref": "#/components/schemas/Other/properties/pawn_good_id"
                },
                "sales_amount": {
                  "description": "Цена на витрине",
                  "type": "string",
                  "example": 504.06
                }
              }
            }
          },
          "pawn_good_id": {
            "description": "ID имущества",
            "type": "integer",
            "example": 2107
          },
          "client_id": {
            "description": "ID клиента",
            "type": "integer",
            "example": 47
          },
          "document_id": {
            "description": "ID документа",
            "type": "integer",
            "example": 31
          },
          "workplace_id": {
            "description": "ID филиала",
            "type": "integer",
            "example": 40
          },
          "tariff_id": {
            "description": "ID тарифа",
            "type": "integer",
            "example": 15
          },
          "entity_id": {
            "description": "ID юр.  лица филиала",
            "type": "integer",
            "example": 86
          },
          "duration": {
            "description": "Срок продления, дней",
            "type": "integer",
            "example": 3
          },
          "price": {
            "description": "Сумма займа",
            "type": "number",
            "example": 854.22
          },
          "price_add": {
            "description": "Сумма добора",
            "type": "number",
            "example": 854.65
          },
          "sum_percent_pay": {
            "description": "Сумма процентов к оплате",
            "type": "number",
            "example": 1007.81
          },
          "sum_partial_buyout": {
            "description": "Сумма частичного выкупа",
            "type": "number",
            "example": 1501.12
          },
          "sum_buyout": {
            "description": "Сумма выкупа",
            "type": "number",
            "example": 1280.05
          },
          "sum_bonus_pay": {
            "description": "Количество бонусов для оплаты",
            "type": "integer",
            "example": 12
          },
          "payment_method": {
            "type": "integer",
            "enum": [
              1,
              2
            ],
            "example": 1,
            "description": "Cпособ оплаты открывающего юр. лица\n * 1 - Касса\n * 2 - Безналичный раcчет\n"
          },
          "payment_method_close": {
            "type": "integer",
            "enum": [
              1,
              2
            ],
            "example": 1,
            "description": "Cпособ оплаты юр. лица закрытия\n * 1 - Касса\n * 2 - Безналичный раcчет\n"
          },
          "bank_detail_id": {
            "description": "ID реквизитов открывающего юр. лица",
            "type": "integer",
            "example": 189
          },
          "bank_detail_close_id": {
            "description": "ID реквизитов закрывающего юр. лица",
            "type": "integer",
            "example": 190
          },
          "comment": {
            "description": "Комментарий",
            "type": "string",
            "example": "Пример комментария"
          },
          "open_date": {
            "description": "Дата и время операции",
            "type": "string",
            "example": "02.02.2022, 10:00"
          },
          "bank_card_id": {
            "description": "ID банковской карты",
            "type": "integer",
            "example": 45
          },
          "ad_channel_id": {
            "description": "ID рекламного канала",
            "type": "integer"
          },
          "test_operation": {
            "type": "integer",
            "description": "Тестовая операция\n  * 0 - Не тестовая операция\n  * 1 - Тестовая операция\n",
            "enum": [
              0,
              1
            ],
            "default": 0,
            "example": 0
          },
          "gem_id": {
            "type": "integer",
            "example": 195
          },
          "storage_places_id": {
            "description": "Место хранения",
            "type": "integer",
            "example": 70
          },
          "dm_code": {
            "type": "integer",
            "enum": [
              1,
              2
            ],
            "example": 1,
            "description": "Нанесен ли DM-код\n* 1 - Да\n* 2 - Нет\n"
          },
          "metal_id": {
            "description": "ID вида металла",
            "type": "integer",
            "example": 18
          },
          "metal_standart_id": {
            "description": "ID пробы",
            "type": "integer",
            "example": 90
          },
          "natural_person_id": {
            "description": "ID клиента физ. лица",
            "type": "integer",
            "example": 79
          },
          "legal_person_id": {
            "description": "ID клиента юр. лица",
            "type": "integer",
            "example": 89
          },
          "settings_difference": {
            "description": "Указатель того, что при редактировании суммы процентов в меньшую сторону разницу можно включить в сумму займа'\n  * 0 - Разница НЕ будет включена в сумму займа\n  * 1 - Разница будет включена в сумму займа\n",
            "type": "integer",
            "enum": [
              0,
              1
            ],
            "default": 0,
            "example": 0
          },
          "page": {
            "description": "Номер страници",
            "type": "integer",
            "default": 1,
            "example": 1
          },
          "limit": {
            "description": "Количество записей на странице",
            "type": "integer",
            "example": 20,
            "default": 20,
            "minimum": 0,
            "maximum": 100
          }
        }
      },
      "Good": {
        "type": "object",
        "description": "Объект с данными по товару",
        "properties": {
          "id": {
            "type": "integer",
            "example": 7832,
            "description": "ID товара (сквозной ID)"
          },
          "public_id": {
            "type": "integer",
            "example": 7832,
            "description": "ID товара в рамках профиля"
          },
          "pawn_good_id": {
            "type": "integer",
            "example": 7831,
            "description": "ID имущества (если это товар, который вывели из ЗБ) (сквозной ID)"
          },
          "name": {
            "type": "string",
            "example": "Кольцо",
            "description": "Наименование имущества"
          },
          "serial_number": {
            "type": "string",
            "example": "355123456789123",
            "description": "Серийный номер"
          },
          "buy_price": {
            "type": "number",
            "format": "float",
            "example": 100,
            "description": "Сумма скупки"
          },
          "sold_price": {
            "type": "number",
            "format": "float",
            "example": 100,
            "description": "Цена на витрине"
          },
          "profit": {
            "type": "number",
            "format": "float",
            "example": 100,
            "description": "Доход"
          },
          "sale_price": {
            "type": "number",
            "format": "float",
            "example": 100,
            "description": "Цена продажи"
          },
          "reward_price": {
            "type": "number",
            "format": "float",
            "example": 100,
            "description": "Цена вознаграждения"
          },
          "category_id": {
            "type": "integer",
            "example": 152,
            "description": "ID категории"
          },
          "status": {
            "type": "integer",
            "example": 402,
            "description": "Состояние. Варианты:\n  * 401 - Выведен из залога\n  * 402 - Скуплен\n  * 403 - Принят на реализацию\n  * 404 - Продан\n  * 405 - Продан с реализации\n  * 406 - Расчитан с клиентом\n  * 407 - Возвращен\n  * 408 - Снят с реализации\n  * 409 - Списан\n  * 410 - Конфискован\n  * 411 - Возвращен с реализации\n  * 412 - Препродажная подготовка\n"
          },
          "status_date": {
            "type": "string",
            "example": "18.09.2022",
            "description": "Дата изменения статуса"
          },
          "workplace_id": {
            "type": "integer",
            "example": 242,
            "description": "ID филиала"
          },
          "entity_id": {
            "type": "integer",
            "example": 153,
            "description": "ID юридического лица"
          },
          "client_id": {
            "type": "integer",
            "example": 24,
            "description": "ID клиента"
          },
          "repair_price": {
            "type": "number",
            "format": "float",
            "example": 100,
            "description": "Цена ремонта"
          },
          "comment": {
            "type": "string",
            "example": "Полный комплект",
            "description": "Комментарий"
          },
          "specification": {
            "type": "string",
            "example": "Цветной дисплей, Wi-Fi, bluetooth, GPS",
            "description": "Спецификация"
          },
          "description": {
            "type": "string",
            "example": "После ремонта, продавать без гарантии",
            "description": "Описание"
          },
          "test_operation": {
            "description": "Тестовая операция\n* 0 - Не тестовая операция\n* 1 - Тестовая операция\n",
            "type": "integer",
            "example": 1
          },
          "gtin_code": {
            "type": "string",
            "example": "12546532587423",
            "description": "GTIN код"
          },
          "images_links": {
            "$ref": "#/components/schemas/ImagesLinks"
          },
          "jewelry_extra": {
            "type": "object",
            "description": "Объект с дополнительными полями для ювелирных изделий",
            "properties": {
              "manufacter": {
                "type": "string",
                "example": "ООО \"Карат\"",
                "description": "Производитель"
              },
              "uin": {
                "type": "string",
                "example": "6432012345678901",
                "description": "УИН (только для Ювелирных изделий)"
              },
              "dm_code": {
                "type": "integer",
                "example": 1,
                "description": "Наличие ДМ кода. Варианты:\n  * 1 - Да\n  * 0 - Нет\n"
              },
              "size": {
                "type": "number",
                "example": 2.7,
                "description": "Размер/длина (только для Ювелирных изделий)"
              },
              "metal_name": {
                "type": "string",
                "example": "Золото",
                "description": "Наименование металла (только для Ювелирных изделий) "
              },
              "metal_standart_name": {
                "type": "string",
                "example": "999",
                "description": "Наименование пробы (только для Ювелирных изделий)"
              },
              "weight": {
                "type": "number",
                "example": 1.678,
                "description": "Вес, г (только для Ювелирных изделий)"
              },
              "weight_inserts": {
                "type": "number",
                "example": 0.635,
                "description": "Вес вставок, г (только для Ювелирных изделий)"
              },
              "product_type": {
                "type": "string",
                "example": "Изделие",
                "description": "Лом/Изделие (только для Ювелирных изделий)"
              },
              "estimate_inserts": {
                "type": "number",
                "example": 635,
                "description": "Сумма оценки вставок (только для Ювелирных изделий)"
              },
              "gems": {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/PreciousGem_goods"
                    },
                    {
                      "$ref": "#/components/schemas/MiddlePreciousGem_goods"
                    },
                    {
                      "$ref": "#/components/schemas/NonePreciousGem_goods"
                    }
                  ]
                }
              },
              "brand": {
                "type": "string",
                "example": "Casio",
                "description": "Модель часов"
              },
              "color": {
                "type": "string",
                "example": "Красный",
                "description": "Цвет часов"
              },
              "gender": {
                "type": "string",
                "example": "Мужские",
                "description": "Для кого"
              },
              "strap_type": {
                "type": "string",
                "example": "Титан",
                "description": "Тип ремешка"
              },
              "mechanism": {
                "type": "string",
                "example": "Кварцевые",
                "description": "Тип механизма"
              }
            }
          },
          "vehicle_extra": {
            "type": "object",
            "description": "Объект дополнительных полей для Автотранспорта",
            "properties": {
              "model": {
                "type": "string",
                "example": "Volga",
                "description": "Марка, модель (только для Автотранспорта)"
              },
              "product_year": {
                "type": "integer",
                "example": 1998,
                "description": "Год выпуска (только для Автотранспорта)"
              },
              "body_color": {
                "type": "string",
                "example": "Белый",
                "description": "Цвет кузова (только для Автотранспорта)"
              },
              "reg_number": {
                "type": "string",
                "example": "A163BT",
                "description": "Гос. номер (только для Автотранспорта)"
              },
              "vin": {
                "type": "string",
                "example": "ATM09988734634Z5767",
                "description": "VIN (только для Автотранспорта)"
              },
              "engine_model_number": {
                "type": "string",
                "example": "45996F23",
                "description": "Модель, № Двигателя (только для Автотранспорта)"
              },
              "engine_volume": {
                "type": "string",
                "example": "67",
                "description": "Рабочий объем двигателя, куб. см. (только для Автотранспорта)"
              },
              "chassis_number": {
                "type": "string",
                "example": "90853",
                "description": "Шасси (рама) № (только для Автотранспорта)"
              },
              "trailer_number": {
                "type": "string",
                "example": "3457",
                "description": "Кузов (прицеп) № (только для Автотранспорта)"
              },
              "mileage": {
                "type": "number",
                "example": "254543",
                "description": "Пробег (только для Автотранспорта)"
              },
              "pts_number": {
                "type": "string",
                "example": "ATM0569709W345",
                "description": "Серия, номер ПТС (только для Автотранспорта)"
              },
              "pts_issued_by": {
                "type": "string",
                "example": "ГИБДД Ставропольского района",
                "description": "ПТС выдан (только для Автотранспорта)"
              },
              "pts_issued_date": {
                "type": "string",
                "example": "10.08.2019",
                "description": "Дата выдачи ПТС (только для Автотранспорта)"
              },
              "sts_number": {
                "type": "string",
                "example": "ATM0569709W345",
                "description": "Серия, номер СТС (только для Автотранспорта)"
              },
              "sts_issued_by": {
                "type": "string",
                "example": "ГИБДД Ставропольского района",
                "description": "СТС Выдан (только для Автотранспорта)"
              },
              "sts_issued_date": {
                "type": "string",
                "example": "10.08.2019",
                "description": "Дата выдачи СТС (только для Автотранспорта)"
              }
            }
          },
          "phone_extra": {
            "type": "object",
            "description": "Объект дополнительных полей для мобильных телефонов",
            "properties": {
              "brand": {
                "type": "string",
                "example": "Apple",
                "description": "Бренд телефона"
              },
              "device_model": {
                "type": "string",
                "example": "Iphone 15",
                "description": "Модель телефона"
              },
              "memory_size": {
                "type": "string",
                "example": "128 Gb",
                "description": "Встроенная память (размер встроенного хранилища)"
              },
              "color": {
                "type": "string",
                "example": "Красный",
                "description": "Цвет телефона"
              },
              "ram_size": {
                "type": "string",
                "example": "128 Gb",
                "description": "Оперативная память"
              },
              "screen_condition_id": {
                "type": "integer",
                "example": 2,
                "enum": [
                  1,
                  2,
                  3,
                  4,
                  5,
                  6,
                  7
                ],
                "description": "Варианты обозначение cостояния экрана:\n  * 1 - Без дефектов\n  * 2 - 1–2 мелкие царапины\n  * 3 - Много мелких царапин\n  * 4 - Глубокие царапины\n  * 5 - Сколы, трещины\n  * 6 - Полосы и битые пиксели\n  * 7 - Пятна, блики или выгорание\n"
              },
              "case_condition_id": {
                "type": "integer",
                "example": 2,
                "enum": [
                  1,
                  2,
                  3,
                  4,
                  5,
                  6,
                  7,
                  8
                ],
                "description": "Варианты обозначение cостояния корпуса:\n  * 1 - Без дефектов\n  * 2 - Мелкие царапины\n  * 3 - Глубокие царапины\n  * 4 - Сколы, трещины\n  * 5 - Щели, зазоры\n  * 6 - Изгиб\n  * 7 - Вмятины\n  * 8 - Отслоение краски\n"
              }
            }
          },
          "tablet_extra": {
            "type": "object",
            "description": "Объект дополнительных полей для планшетов",
            "properties": {
              "brand": {
                "type": "string",
                "example": "Haier",
                "description": "Бренд планшета"
              },
              "device_model": {
                "type": "string",
                "example": "G800",
                "description": "Модель планшета"
              },
              "sim_slot": {
                "type": "string",
                "example": "Есть",
                "description": "Слот для сим карты"
              },
              "memory_size": {
                "type": "string",
                "example": "128 Gb",
                "description": "Встроенная память (размер встроенного хранилища)"
              },
              "color": {
                "type": "string",
                "example": "Красный",
                "description": "Цвет планшета"
              },
              "ram_size": {
                "type": "string",
                "example": "128 Gb",
                "description": "Оперативная память"
              }
            }
          },
          "tv_extra": {
            "type": "object",
            "description": "Объект дополнительных полей для ТВ и видеотехники",
            "properties": {
              "brand": {
                "type": "string",
                "example": "Haier",
                "description": "Бренд телевизора"
              },
              "model": {
                "type": "string",
                "example": "HT3728",
                "description": "Модель телевизора"
              },
              "device_work": {
                "type": "integer",
                "example": 1,
                "description": "Включается ли устройство\n  * 1 - Включается\n  * 2 - Не включается\n"
              },
              "screen_flaws_id": {
                "type": "array",
                "description": "Только для телевизоров. Состояния экрана\n  * 1 - Без дефектов\n  * 2 - Мелкие царапины\n  * 3 - Крупные царапины\n  * 4 - Засветы\n  * 5 - Белые пятна\n  * 6 - Выгоревшие области\n  * 7 - Битые пиксели\n  * 8 - Вертикальные полосы\n  * 9 - Трещины, сколы\n  * 10 - Искажение цвета\n  * 11 - Не работает\n  * 12 - Разбит\n",
                "items": {
                  "type": "integer",
                  "enum": [
                    1,
                    2,
                    3,
                    4,
                    5,
                    6,
                    7,
                    8,
                    9,
                    10,
                    11,
                    12
                  ]
                }
              },
              "case_flaws_id": {
                "type": "array",
                "description": "Только для телевизоров. Состояния корпуса\n  * 1 - Без дефектов\n  * 2 - Царапины\n  * 3 - Загрязнения\n  * 4 - Трещины\n  * 5 - Нет частей корпуса\n  * 6 - Вмятины или сколы\n",
                "items": {
                  "type": "integer",
                  "enum": [
                    1,
                    2,
                    3,
                    4,
                    5,
                    6
                  ]
                }
              }
            }
          },
          "photo_equip_extra": {
            "type": "object",
            "description": "Объект дополнительных полей для Фототехники",
            "properties": {
              "device_work": {
                "type": "integer",
                "example": 1,
                "description": "Включается ли устройство :\n* 1 - Включается\n* 2 - Не включается\n"
              },
              "screen_flaws_id": {
                "type": "array",
                "example": [
                  1,
                  2,
                  3
                ],
                "items": {
                  "type": "integer"
                },
                "description": "Состояние экрана :\n* 1 - Без дефектов\n* 2 - Мелкие царапины\n* 3 - Крупные царапины\n* 4 - Трещины, сколы\n* 5 - Дефекты изображения\n* 6 - Разбит\n* 7 - Не работает\n"
              },
              "case_flaws_id": {
                "type": "array",
                "example": [
                  3,
                  2,
                  1
                ],
                "items": {
                  "type": "integer"
                },
                "description": "Состояние корпуса :\n* 1 - Без дефектов\n* 2 - Царапины\n* 3 - Трещины\n* 4 - Вмятины, сколы\n* 5 - Нет частей корпуса\n* 6 - Загрязнения\n"
              }
            }
          },
          "pc_extra": {
            "type": "object",
            "description": "Объект дополнительных полей для Товары для компьютера",
            "properties": {
              "brand": {
                "type": "string",
                "example": "Haier",
                "description": "Бренд монитора"
              },
              "model": {
                "type": "string",
                "example": "HT3728",
                "description": "Модель монитора"
              }
            }
          },
          "watch_extra": {
            "type": "object",
            "description": "Объект дополнительных полей для Часы",
            "properties": {
              "brand": {
                "type": "string",
                "example": "Casio",
                "description": "Бренд часов"
              },
              "gender": {
                "type": "string",
                "example": "Мужские",
                "description": "Для кого"
              },
              "color": {
                "type": "string",
                "example": "Чёрный",
                "description": "Цвет часов"
              },
              "strap_type": {
                "type": "string",
                "example": "Титан",
                "description": "Тип ремешка"
              },
              "mechanism": {
                "type": "string",
                "example": "Кварцевые",
                "description": "Тип механизма"
              },
              "device_work": {
                "type": "integer",
                "example": 1,
                "description": "Включается ли устройство :\n* 1 - Включается\n* 2 - Не включается\n"
              },
              "akb": {
                "type": "integer",
                "example": 100,
                "description": "Cостояние аккумулятора, %"
              },
              "screen_flaws_id": {
                "type": "array",
                "example": [
                  1,
                  2,
                  3
                ],
                "items": {
                  "type": "integer"
                },
                "description": "Включается ли устройство :\n* 1 - Без дефектов\n* 2 - 1-2 мелкие царапины\n* 3 - Много мелких царапин\n* 4 - Глубокие царапины\n* 5 - Сколы, трещины\n* 6 - Полосы и битые пиксели\n* 7 - Пятна, блики или выгорание\n* 8 - Не работает\n"
              },
              "case_flaws_id": {
                "type": "array",
                "example": [
                  3,
                  2,
                  1
                ],
                "items": {
                  "type": "integer"
                },
                "description": "Включается ли устройство :\n* 1 - Без дефектов\n* 2 - Царапины\n* 3 - Трещины\n* 4 - Вмятины, сколы\n* 5 - Нет частей корпуса\n* 6 - Загрязнения\n"
              }
            }
          },
          "clothes_extra": {
            "type": "object",
            "description": "Объект дополнительных полей для Одежды",
            "properties": {
              "brand": {
                "type": "string",
                "example": "Lacoste",
                "description": "Бренд одежды"
              },
              "clothes_size": {
                "type": "string",
                "example": "XXL",
                "description": "Размер одежды"
              },
              "shoes_type_id": {
                "type": "integer",
                "example": "1",
                "description": "Тип обуви"
              }
            }
          },
          "kids_clothes_extra": {
            "type": "object",
            "description": "Объект дополнительных полей для Для детей",
            "properties": {
              "brand": {
                "type": "string",
                "example": "Lacoste",
                "description": "Бренд одежды"
              },
              "clothes_size": {
                "type": "string",
                "example": "XXL",
                "description": "Размер одежды"
              }
            }
          },
          "home_appliance_extra": {
            "type": "object",
            "description": "Объект дополнительных полей для Техника для дома",
            "properties": {
              "brand": {
                "type": "string",
                "example": "Bosch",
                "description": "Бренд техники"
              },
              "model": {
                "type": "string",
                "example": "WAWH8640",
                "description": "Модель бренда техники"
              },
              "device_work": {
                "type": "integer",
                "example": 1,
                "description": "Включается ли устройство :\n* 1 - Включается\n* 2 - Не включается\n"
              },
              "useful_life": {
                "type": "integer",
                "example": 2,
                "description": "Срок использования :\n* 1 - До 3 лет\n* 2 - 3-5 лет\n* 3 - Больше 5 лет\n"
              },
              "warranty": {
                "type": "integer",
                "example": 2,
                "description": "Гарантия :\n* 1 - Действует\n* 2 - Истекла\n* 3 - Не знаю\n"
              },
              "case_flaws_id": {
                "type": "array",
                "example": [
                  3,
                  2,
                  1
                ],
                "items": {
                  "type": "integer"
                },
                "description": "Состояние корпуса :\n* 1 - Без дефектов\n* 2 - Царапины\n* 3 - Трещины\n* 4 - Вмятины, сколы\n* 5 - Нет частей корпуса\n* 6 - Загрязнения\n"
              }
            }
          },
          "tool_extra": {
            "type": "object",
            "description": "Объект дополнительных полей для Инструментов",
            "properties": {
              "device_type": {
                "type": "string",
                "example": "Шуруповерт",
                "description": "Тип инструмента"
              },
              "brand": {
                "type": "string",
                "example": "Makita",
                "description": "Бренд инструмента"
              },
              "device_model": {
                "type": "string",
                "example": "Не указана",
                "description": "Модель инструмента"
              },
              "tool_type_id": {
                "type": "integer",
                "example": 1,
                "description": "ID типа инструмента"
              },
              "disc_diameter": {
                "type": "string",
                "example": "125",
                "description": "Диаметр диска"
              },
              "power_type": {
                "type": "string",
                "example": "Аккумуляторный",
                "description": "Тип питания"
              },
              "battery_voltage": {
                "type": "string",
                "example": "18.0",
                "description": "Напряжение"
              },
              "grinding_tool_type_id": {
                "type": "integer",
                "example": 3,
                "description": "ID типа шлифмашинки"
              }
            }
          }
        }
      },
      "NaturalPerson_goods": {
        "type": "object",
        "description": "Объект клиент физ. лицo",
        "properties": {
          "id": {
            "type": "integer",
            "example": 90,
            "description": "ID клиента физ. лица"
          }
        }
      },
      "LegalPerson_goods": {
        "type": "object",
        "description": "Объект с данными юридического лица",
        "properties": {
          "id": {
            "type": "integer",
            "example": 78,
            "description": "ID клинета юр. лица"
          }
        }
      },
      "Contract": {
        "type": "object",
        "description": "Oбъект договора",
        "properties": {
          "id": {
            "type": "integer",
            "example": 90,
            "description": "ID договора"
          },
          "type": {
            "type": "integer",
            "example": 1,
            "description": "Тип договора. Возможные значения:\n* 1 - Договор скупки\n* 2 - Договор приема на реализацию\n* 3 - Договор вывода из залога\n"
          },
          "status": {
            "type": "integer",
            "example": 1,
            "description": "Статус договора. Возможные значения:\n* 1 - Открытый\n* 2 - Закрытый\n"
          },
          "document_number": {
            "type": "string",
            "description": "Полный номер договора"
          },
          "currency_code": {
            "type": "string",
            "description": "Текстовый код валюты по ISO 4217"
          },
          "open_date": {
            "type": "string",
            "description": "Дата заключения договора (если contract_type - \"1\" или \"2\") или дата вывода из залога (если contract_type - \"3\")"
          },
          "sale_price": {
            "type": "integer",
            "description": "Если всего один товар в договоре, то выводится его цена витрине, если товаров несколько - общая цена продажи (если значение в contract_type - \"2\")"
          },
          "reward": {
            "type": "integer",
            "description": "Если всего один товар в договоре, то выводится его сумма вознаграждения, если товаров несколько - общая цена вознаграждения (если значение в contract_type - \"2\")"
          },
          "buy_price": {
            "type": "integer",
            "description": "Если всего один товар в договоре, то выводится его cумма скупки, если товаров несколько - общая сумма скупки (если значение в contract_type - \"1\" или \"2\")"
          },
          "profit": {
            "type": "integer",
            "description": "Если всего один товар в договоре, то выводится его доход, если товаров несколько - общий доход (для всех типов)"
          },
          "sale_pledge_summ": {
            "type": "integer",
            "description": "Сумма вывода из залога"
          },
          "repair_price": {
            "type": "integer",
            "description": "Стоимость ремонта (если значение в contract_type - \"1\" или \"3\")"
          },
          "entity_id": {
            "type": "integer",
            "description": "ID Юр. лица договора"
          },
          "comment": {
            "type": "integer",
            "description": "Общий комментарий"
          },
          "workplace_ids": {
            "type": "array",
            "description": "Массив из ID филиалов",
            "items": {
              "type": "integer",
              "description": "workplace_id - ID филиала"
            }
          }
        }
      },
      "PreciousGem_goods": {
        "type": "object",
        "description": "Драгоценный камень",
        "properties": {
          "gem_type_id": {
            "type": "integer",
            "example": 1,
            "description": "1 - Драгоценный камень"
          },
          "amount": {
            "type": "integer",
            "example": 1,
            "description": "Количество драгоценных камней"
          },
          "weight": {
            "type": "number",
            "example": 2.4,
            "description": "Вес"
          },
          "type_id": {
            "type": "integer",
            "example": 489,
            "description": "Тип камня"
          },
          "cut_type_id": {
            "type": "integer",
            "example": 951,
            "description": "ID вида огранки"
          },
          "color_group_id": {
            "type": "integer",
            "example": 753,
            "description": "ID Группы цвета"
          },
          "purity_group_id": {
            "type": "integer",
            "example": 753,
            "description": "ID Группы чистоты"
          },
          "measure_unit_id": {
            "type": "integer",
            "example": 959,
            "description": "ID Единицы измерения"
          },
          "gem_estimate_price": {
            "type": "number",
            "example": 2.4,
            "description": "Сумма оценки вставки"
          }
        }
      },
      "MiddlePreciousGem_goods": {
        "type": "object",
        "description": "Полудрагоценный камень",
        "properties": {
          "gem_type_id": {
            "type": "integer",
            "example": 2,
            "description": "2 - Полудрагоценный камень"
          },
          "amount": {
            "type": "integer",
            "example": 1,
            "description": "Количество драгоценных камней"
          },
          "weight": {
            "type": "number",
            "example": 2.4,
            "description": "Вес"
          },
          "type_id": {
            "type": "integer",
            "example": 2,
            "enum": [
              9,
              10,
              11,
              12,
              13,
              14,
              15,
              16,
              17,
              18,
              19,
              20,
              21,
              22,
              23
            ],
            "description": "Тип камня:\n  * 9 - Агат\n  * 10 - Аметист\n  * 11 - Бирюза\n  * 12 - Гранат\n  * 13 - Топаз\n  * 14 - Халцедон\n  * 15 - Хризолит\n  * 16 - Лунный камень\n  * 17 - Оникс\n  * 18 - Янтарь\n  * 19 - Обсидиан\n  * 20 - Турмалин\n  * 21 - Малахит\n  * 22 - Танзанит\n  * 23 - Хромдиопсид\n"
          },
          "cut_type": {
            "type": "string",
            "example": 951,
            "description": "Вида огранки"
          },
          "color_group": {
            "type": "string",
            "example": 753,
            "description": "Группа цвета"
          },
          "purity_group": {
            "type": "string",
            "example": 753,
            "description": "Группа чистоты"
          },
          "measure_unit_id": {
            "type": "integer",
            "example": 959,
            "description": "ID Единицы измерения"
          },
          "gem_estimate_price": {
            "type": "number",
            "example": 2.4,
            "description": "Сумма оценки вставки"
          }
        }
      },
      "NonePreciousGem_goods": {
        "type": "object",
        "description": "Недрагоценные камень",
        "properties": {
          "gem_type_id": {
            "type": "integer",
            "example": 3,
            "description": "3 - Недрагоценный камень"
          },
          "amount": {
            "type": "integer",
            "example": 1,
            "description": "Количество драгоценных камней"
          },
          "weight": {
            "type": "number",
            "example": 2.4,
            "description": "Вес"
          },
          "type_id": {
            "type": "integer",
            "example": 2,
            "enum": [
              24,
              25,
              26,
              27
            ],
            "description": "Тип камня:\n  * 24 - Фианит\n  * 25 - Стекло\n  * 26 - Эмаль\n  * 27 - Стразы\n"
          }
        }
      },
      "clothes_extra": {
        "type": "object",
        "description": "Объект дополнительных полей для Одежды",
        "properties": {
          "brand": {
            "type": "string",
            "example": "Lacoste",
            "description": "Бренд одежды"
          },
          "clothes_size": {
            "type": "string",
            "example": "XXL",
            "description": "Размер одежды"
          },
          "shoes_type_id": {
            "type": "integer",
            "example": "1",
            "description": "Тип обуви"
          }
        }
      },
      "kids_clothes_extra": {
        "type": "object",
        "description": "Объект дополнительных полей для Для детей",
        "properties": {
          "brand": {
            "type": "string",
            "example": "Lacoste",
            "description": "Бренд одежды"
          },
          "clothes_size": {
            "type": "string",
            "example": "XXL",
            "description": "Размер одежды"
          }
        }
      },
      "home_appliance_extra": {
        "type": "object",
        "description": "Объект дополнительных полей для Техника для дома",
        "properties": {
          "brand": {
            "type": "string",
            "example": "Bosch",
            "description": "Бренд техники"
          },
          "model": {
            "type": "string",
            "example": "WAWH8640",
            "description": "Модель бренда техники"
          },
          "device_work": {
            "type": "integer",
            "example": 1,
            "description": "Включается ли устройство :\n* 1 - Включается\n* 2 - Не включается\n"
          },
          "useful_life": {
            "type": "integer",
            "example": 2,
            "description": "Срок использования :\n* 1 - До 3 лет\n* 2 - 3-5 лет\n* 3 - Больше 5 лет\n"
          },
          "warranty": {
            "type": "integer",
            "example": 2,
            "description": "Гарантия :\n* 1 - Действует\n* 2 - Истекла\n* 3 - Не знаю\n"
          },
          "case_flaws_id": {
            "type": "array",
            "example": [
              3,
              2,
              1
            ],
            "items": {
              "type": "integer"
            },
            "description": "Состояние корпуса :\n* 1 - Без дефектов\n* 2 - Царапины\n* 3 - Трещины\n* 4 - Вмятины, сколы\n* 5 - Нет частей корпуса\n* 6 - Загрязнения\n"
          }
        }
      },
      "tool_extra": {
        "type": "object",
        "description": "Объект дополнительных полей для Инструментов",
        "properties": {
          "device_type": {
            "type": "string",
            "example": "Шуруповерт",
            "description": "Тип инструмента"
          },
          "brand": {
            "type": "string",
            "example": "Makita",
            "description": "Бренд инструмента"
          },
          "device_model": {
            "type": "string",
            "example": "Не указана",
            "description": "Модель инструмента"
          },
          "tool_type_id": {
            "type": "integer",
            "example": 1,
            "description": "ID типа инструмента"
          },
          "disc_diameter": {
            "type": "string",
            "example": "125",
            "description": "Диаметр диска"
          },
          "power_type": {
            "type": "string",
            "example": "Аккумуляторный",
            "description": "Тип питания"
          },
          "battery_voltage": {
            "type": "string",
            "example": "18.0",
            "description": "Напряжение"
          },
          "grinding_tool_type_id": {
            "type": "integer",
            "example": 3,
            "description": "ID типа шлифмашинки"
          },
          "cartridge_type_id": {
            "type": "integer",
            "example": 2,
            "description": "ID типа патрона"
          },
          "modes": {
            "type": "integer",
            "example": 2,
            "description": "Количество режимов"
          },
          "power_type_id": {
            "type": "integer",
            "example": 2,
            "description": "ID типа питания"
          }
        }
      }
    },
    "responses": {
      "ErrorAuthResponse": {
        "description": "Отрицательные ответы на запрос авторизации",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "description": "Данные ошибки",
              "properties": {
                "status": {
                  "type": "boolean",
                  "example": false,
                  "description": "Статус ошибка авторизации"
                },
                "http_code": {
                  "type": "integer",
                  "example": 500,
                  "description": "Код ошибки"
                },
                "error": {
                  "type": "object",
                  "description": "Примеры отрицательных ответов на запрос авторизации:<br>\n  <br>400 - Аккаунт не найден или недопустимый\n  <br>401 - Секретный ключ не найден или неверный\n  <br>403 - Пользователь уволен или забанен\n  <br>405 - Нет прав для работы с данными\n  <br>429 - Получить токен можно 1 раз за 20 минут\n  <br>500 - Неизвестная ошибка запроса\n  <br>503 - Сервер не может обработать запрос из-за временной перегрузки или технических работ\n  <br>504 - Сервер не дождался ответа в рамках установленного таймаута\n",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "Неизвестная ошибка запроса"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "ErrorListResponse": {
        "description": "Отрицательные ответы на запрос списка сущностей",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "description": "Объект отрицательного ответа на запрос массива сущностей",
              "properties": {
                "status": {
                  "type": "boolean",
                  "example": false,
                  "description": "Статус ошибка ответа"
                },
                "http_code": {
                  "type": "integer",
                  "example": 500,
                  "description": "Код ошибки"
                },
                "error": {
                  "type": "object",
                  "description": "Примеры отрицательныех ответов на запрос списка сущностей:\n* 204 - Данных по запросу не найдено\n* 401 - Недопустимый токен или время работы истекло\n* 403 - Пользователь уволен или забанен\n* 404 - Данный метод не найден или не поддерживается\n* 405 - Нет прав для просмотра данных\n* 406 - Превышен лимит запрашиваемых данных\n* 413 - Размер входных данных превышает максимально допустимый\n* 429 - Слишком много запросов за заданный промежуток времени (не более 15 за 10 секунд)\n* 500 - Неизвестная ошибка запроса\n* 503 - Сервер не может обработать запрос из-за временной перегрузки или технических работ\n* 504 - Сервер, не дождался ответа в рамках установленного таймаута\n",
                  "properties": {
                    "message": {
                      "type": "string",
                      "description": "Сообщение",
                      "example": "Неизвестная ошибка запроса"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "ErrorGetResponse": {
        "description": "Отрицательный ответ на запрос списка сущностей",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "description": "Объект отрицательного ответа на запрос сущности",
              "properties": {
                "status": {
                  "type": "boolean",
                  "example": false,
                  "description": "Статус отрицательного ответа"
                },
                "http_code": {
                  "type": "integer",
                  "example": 500,
                  "description": "Код ответа"
                },
                "error": {
                  "type": "object",
                  "description": "Примеры отрицательных ответов на запрос списка сущностей:\n  * 400 - Недопустимое значение ID\n  * 401 - Недопустимый токен или время работы истекло\n  * 403 - Пользователь уволен или забанен\n  * 404 - Данный метод не найден или не поддерживается\n  * 405 - Нет прав для просмотра данных\n  * 429 - Слишком много запросов за заданный промежуток времени (не более 15 за 10 секунд)\n  * 500 - Сервер не может обработать запрос из-за временной перегрузки или технических работ\n  * 504 - Сервер, не дождался ответа в рамках установленного таймаута.'\n",
                  "properties": {
                    "message": {
                      "type": "string",
                      "description": "Сообщение",
                      "example": "Неизвестная ошибка запроса"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "ErrorValidationFailed": {
        "description": "Ошибка валидации",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "status": {
                  "type": "boolean",
                  "example": true,
                  "description": "Указатель ответа"
                },
                "http_code": {
                  "type": "integer",
                  "example": 412,
                  "description": "Код ошибки валидации"
                },
                "errors": {
                  "type": "array",
                  "description": "Массив объектов данных по ошибке",
                  "items": {
                    "type": "object",
                    "description": "Объект данных по ошибке",
                    "properties": {
                      "field": {
                        "type": "string",
                        "example": "workplace_id",
                        "description": "Поле выдавшее ошибку валидации"
                      },
                      "message": {
                        "type": "string",
                        "example": "Некорректный ID филиала",
                        "description": "Поле сообщение ошибки валидации"
                      }
                    }
                  },
                  "example": [
                    {
                      "field": "workplace_id",
                      "message": "Некорректный ID филиала"
                    },
                    {
                      "field": "number",
                      "message": "Неверный формат числа"
                    },
                    {
                      "field": "date",
                      "message": "Некорректная дата"
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "ErrorAddResponse": {
        "description": "Другие отрицательные ответы на запрос создания сущностей",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "status": {
                  "type": "boolean",
                  "example": false,
                  "description": "Указатель ответа"
                },
                "http_code": {
                  "type": "integer",
                  "example": 500,
                  "description": "Код ответа"
                },
                "error": {
                  "type": "object",
                  "description": "Примеры отрицательныех ответов на запрос: <br />\n  <br />400 - Недопустимое значение ID\n  <br />401 - Был передан недопустимый токен или время работы истекло\n  <br />403 - Пользователь уволен или забанен\n  <br />405 - Нет прав для выполнения операции\n  <br />413 - Размер входных данных превышает максимально допустимый\n  <br />415 - Ошибка при выполнении запроса на создание (редактирование) сущности\n  <br />429 - Слишком много запросов за заданный промежуток времени (не более 15 за 10 секунд).\n  <br />500 - Сервер не может обработать запрос из-за временной перегрузки или технических работ\n  <br />504 - Сервер, не дождался ответа в рамках установленного таймаута.\n",
                  "properties": {
                    "message": {
                      "type": "string",
                      "description": "Сообщение",
                      "example": "Неизвестная ошибка запроса"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "ErrorEditResponse": {
        "description": "Другие отрицательные ответы на запрос редактирования сущностей",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "status": {
                  "type": "boolean",
                  "example": false,
                  "description": "Указатель ответа"
                },
                "http_code": {
                  "type": "integer",
                  "example": 500,
                  "description": "Код ответа"
                },
                "error": {
                  "type": "object",
                  "description": "Примеры отрицательныех ответов на запрос:<br />\n  <br />400 - Недопустимое значение ID\n  <br />401 - Был передан недопустимый токен или время работы истекло\n  <br />403 - Пользователь уволен или забанен\n  <br />405 - Нет прав для выполнения операции\n  <br />413 - Размер входных данных превышает максимально допустимый\n  <br />415 - Ошибка при выполнении запроса на создание (редактирование) сущности\n  <br />429 - Слишком много запросов за заданный промежуток времени (не более 15 за 10 секунд).\n  <br />500 - Сервер не может обработать запрос из-за временной перегрузки или технических работ\n  <br />504 - Сервер, не дождался ответа в рамках установленного таймаута.\n",
                  "properties": {
                    "message": {
                      "type": "string",
                      "description": "Сообщение",
                      "example": "Неизвестная ошибка запроса"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "ErrorValidationFailed_edit": {
        "description": "Отрицательные ответы на ошибки валидации",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "description": "Отрицательные ответы на ошибки валидации",
              "properties": {
                "status": {
                  "type": "boolean",
                  "example": true,
                  "description": "Указатель ответа"
                },
                "http_code": {
                  "type": "integer",
                  "example": 412,
                  "description": "Код ответа"
                },
                "errors": {
                  "type": "array",
                  "description": "Данные ответа",
                  "items": {
                    "type": "object",
                    "properties": {
                      "parameter": {
                        "type": "string",
                        "example": "workplace_id",
                        "description": "Указатель поля"
                      },
                      "message": {
                        "type": "string",
                        "example": "Некорректный ID филиала",
                        "description": "Сообщние о ошибке"
                      }
                    }
                  },
                  "example": [
                    {
                      "parameter": "workplace_id",
                      "message": "Некорректный ID филиала"
                    },
                    {
                      "parameter": "number",
                      "message": "Неверный формат числа"
                    },
                    {
                      "parameter": "date",
                      "message": "Некорректная дата"
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "SuccessfulResponseUpdated": {
        "description": "Положительный ответ на запрос редактирования сущности",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "description": "Положительный ответ на запрос редактирования сущности",
              "properties": {
                "status": {
                  "type": "boolean",
                  "example": true,
                  "description": "Указатель ответа"
                },
                "http_code": {
                  "type": "integer",
                  "example": 200,
                  "description": "Код ответа"
                },
                "result": {
                  "type": "object",
                  "description": "Результат запроса",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "Данные успешно обновлены",
                      "description": "Сообщение"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "SuccessfulResponseOperationCreated": {
        "description": "Положительный ответ на запрос создания операции",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "description": "Положительный ответ на запрос редактирования сущности",
              "properties": {
                "status": {
                  "type": "boolean",
                  "example": true,
                  "description": "Указатель ответа"
                },
                "http_code": {
                  "type": "integer",
                  "example": 201,
                  "description": "Код ответа"
                },
                "result": {
                  "type": "object",
                  "description": "Результат запроса",
                  "properties": {
                    "operation_id": {
                      "$ref": "#/components/schemas/Other/properties/operation_id"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "SuccessfulResponseOperationCreatedPawnTicketNew": {
        "description": "Положительный ответ на запрос создания операции и залогового билета",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "status": {
                  "type": "boolean",
                  "example": true,
                  "description": "Указатель ответа"
                },
                "http_code": {
                  "type": "integer",
                  "example": 201,
                  "description": "Код ответа"
                },
                "result": {
                  "type": "object",
                  "description": "Результат запроса",
                  "properties": {
                    "operation_id": {
                      "$ref": "#/components/schemas/Other/properties/operation_id"
                    },
                    "pawn_ticket_id": {
                      "$ref": "#/components/schemas/Other/properties/pawn_ticket_id"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "SuccessfulResponseBankCardsCreate": {
        "description": "Положительный ответ на создание сущности",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "status": {
                  "type": "boolean",
                  "example": true,
                  "description": "Указатель успешного ответа"
                },
                "http_code": {
                  "type": "integer",
                  "example": 200,
                  "description": "HTTP-код ответа"
                },
                "result": {
                  "type": "object",
                  "description": "Результат запроса — идентификаторы обновлённых/созданных сущностей",
                  "properties": {
                    "natural_person_bank_cards_id": {
                      "type": "array",
                      "items": {
                        "type": "integer"
                      },
                      "example": [
                        186,
                        187
                      ],
                      "description": "Список ID банковских карт физического лица"
                    }
                  },
                  "required": [
                    "natural_person_bank_cards_id"
                  ]
                }
              },
              "required": [
                "status",
                "http_code",
                "result"
              ]
            }
          }
        }
      },
      "SuccessfulResponseDocumentsCreate": {
        "description": "Положительный ответ на создание сущности",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "status": {
                  "type": "boolean",
                  "example": true,
                  "description": "Указатель успешного ответа"
                },
                "http_code": {
                  "type": "integer",
                  "example": 200,
                  "description": "HTTP-код ответа"
                },
                "result": {
                  "type": "object",
                  "description": "Результат запроса — идентификаторы обновлённых/созданных сущностей",
                  "properties": {
                    "natural_person_documents_id": {
                      "type": "array",
                      "items": {
                        "type": "integer"
                      },
                      "example": [
                        186,
                        187
                      ],
                      "description": "Список ID документов физического лица"
                    }
                  },
                  "required": [
                    "natural_person_documents_id"
                  ]
                }
              },
              "required": [
                "status",
                "http_code",
                "result"
              ]
            }
          }
        }
      },
      "ErrorListResponse_goods": {
        "description": "Отрицательные ответы на запрос списка сущностей",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "description": "Объект отрицательного ответа на запрос массива сущностей",
              "properties": {
                "status": {
                  "type": "boolean",
                  "example": false,
                  "description": "Статус ошибка ответа"
                },
                "http_code": {
                  "type": "integer",
                  "example": 500,
                  "description": "Код ошибки"
                },
                "error": {
                  "type": "object",
                  "description": "Примеры отрицательныех ответов на запрос списка сущностей:\n* 401 - Недопустимый токен или время работы истекло\n* 403 - Пользователь уволен или забанен\n* 404 - Данный метод не найден или не поддерживается\n* 405 - Нет прав для просмотра данных\n* 406 - Превышен лимит запрашиваемых данных\n* 413 - Размер входных данных превышает максимально допустимый\n* 429 - Слишком много запросов за заданный промежуток времени (не более 15 за 10 секунд)\n* 500 - Неизвестная ошибка запроса\n* 503 - Сервер не может обработать запрос из-за временной перегрузки или технических работ\n* 504 - Сервер, не дождался ответа в рамках установленного таймаута\n",
                  "properties": {
                    "message": {
                      "type": "string",
                      "description": "Сообщение",
                      "example": "Неизвестная ошибка запроса"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "ErrorValidationFailed_goods": {
        "description": "Ошибка валидации",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "status": {
                  "type": "boolean",
                  "example": true,
                  "description": "Указатель ответа"
                },
                "http_code": {
                  "type": "integer",
                  "example": 412,
                  "description": "Код ошибки валидации"
                },
                "errors": {
                  "type": "array",
                  "description": "Массив объектов данных по ошибке",
                  "items": {
                    "type": "object",
                    "description": "Объект данных по ошибке",
                    "properties": {
                      "message": {
                        "type": "string",
                        "example": "Некорректный ID филиала",
                        "description": "Поле сообщение ошибки валидации"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "ErrorAuthResponse_status": {
        "description": "Отрицательные ответы на запрос статуса",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "description": "Данные ошибки",
              "properties": {
                "status": {
                  "type": "boolean",
                  "example": false,
                  "description": "Статус ошибки"
                },
                "http_code": {
                  "type": "integer",
                  "example": 500,
                  "description": "Код ошибки"
                },
                "error": {
                  "type": "object",
                  "description": "Примеры отрицательных ответов на запрос статуса:<br>\n  <br>429 - Получить токен можно 1 раз за 1 секунду\n  <br>500 - Неизвестная ошибка запроса\n  <br>503 - Сервер не может обработать запрос из-за временной перегрузки или технических работ\n  <br>504 - Сервер не дождался ответа в рамках установленного таймаута\n",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "Неизвестная ошибка запроса"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "parameters": {
      "offsetParam": {
        "in": "query",
        "name": "offset",
        "description": "Смещение запроса",
        "schema": {
          "type": "integer",
          "example": 1,
          "default": 0,
          "minimum": 0
        }
      },
      "pageParam": {
        "in": "query",
        "name": "page",
        "description": "Текущая страница",
        "schema": {
          "type": "integer",
          "example": 1
        }
      },
      "limitParam": {
        "in": "query",
        "name": "limit",
        "description": "Лимит записей",
        "schema": {
          "type": "integer",
          "example": 20,
          "default": 20,
          "minimum": 1,
          "maximum": 100
        }
      },
      "WorkplaceId": {
        "name": "workplace_id",
        "in": "path",
        "description": "ID филиала",
        "required": true,
        "schema": {
          "$ref": "#/components/schemas/Workplace/properties/id"
        }
      },
      "MetalId": {
        "name": "metal_id",
        "in": "path",
        "required": true,
        "description": "ID металла",
        "schema": {
          "$ref": "#/components/schemas/Metal/properties/metal_id"
        }
      },
      "ObjectId": {
        "name": "object_id",
        "in": "query",
        "required": true,
        "description": "ID объекта",
        "schema": {
          "type": "integer",
          "example": 47
        }
      },
      "PawnGoodId": {
        "name": "pawn_good_id",
        "in": "path",
        "required": true,
        "description": "ID залогового имущества",
        "schema": {
          "$ref": "#/components/schemas/PawnGood/properties/id"
        }
      },
      "OperationId": {
        "name": "operation_id",
        "in": "path",
        "required": true,
        "description": "ID операции (для поиска операции)",
        "schema": {
          "$ref": "#/components/schemas/Operation/properties/id"
        }
      },
      "PawnTicketId": {
        "name": "pawn_ticket_id",
        "in": "path",
        "required": true,
        "description": "ID залогового билета (для поиска залогового билета)",
        "schema": {
          "$ref": "#/components/schemas/PawnTicket/properties/id"
        }
      },
      "PageParam": {
        "name": "page",
        "in": "query",
        "description": "Начинать с записи",
        "schema": {
          "type": "integer",
          "example": 17
        }
      },
      "LimitParam": {
        "name": "limit",
        "in": "query",
        "description": "Лимит записей",
        "schema": {
          "type": "integer",
          "example": 80
        }
      },
      "TestOperation": {
        "name": "test_operation",
        "description": "Тестовая операция\n* 0 - Не тестовая операция\n* 1 - Тестовая операция\n",
        "in": "query",
        "schema": {
          "description": "Тестовая операция\n* 0 - Не тестовая операция\n* 1 - Тестовая операция\n",
          "type": "integer",
          "example": 1,
          "enum": [
            0,
            1
          ]
        }
      },
      "WorkplaceId_edit": {
        "name": "workplace_id",
        "in": "path",
        "description": "ID филиала",
        "required": true,
        "schema": {
          "$ref": "#/components/schemas/Other/properties/workplace_id"
        }
      },
      "PawnGoodId_edit": {
        "name": "pawn_good_id",
        "in": "path",
        "required": true,
        "description": "ID залогового имущества",
        "schema": {
          "$ref": "#/components/schemas/Other/properties/pawn_good_id"
        }
      },
      "OperationId_edit": {
        "name": "operation_id",
        "in": "path",
        "required": true,
        "description": "ID операции (переменная для поиска редактируемой операции)",
        "schema": {
          "$ref": "#/components/schemas/Other/properties/operation_id"
        }
      },
      "PawnTicketId_edit": {
        "name": "pawn_ticket_id",
        "in": "path",
        "required": true,
        "description": "ID залогового билета (для поиска залогового билета)",
        "schema": {
          "$ref": "#/components/schemas/Other/properties/pawn_ticket_id"
        }
      },
      "PageParam_edit": {
        "name": "page",
        "in": "query",
        "description": "Начинать с записи",
        "schema": {
          "$ref": "#/components/schemas/Other/properties/page"
        }
      },
      "LimitParam_edit": {
        "name": "limit",
        "in": "query",
        "description": "Лимит записей",
        "schema": {
          "$ref": "#/components/schemas/Other/properties/limit"
        }
      }
    },
    "headers": {
      "PaginationPage": {
        "schema": {
          "type": "integer",
          "example": 2
        },
        "description": "Текущая страница пагинации"
      },
      "PaginationOffset": {
        "schema": {
          "type": "integer",
          "example": 30
        },
        "description": "Текущая страница пагинации"
      },
      "PaginationPageSize": {
        "schema": {
          "type": "integer",
          "example": 20
        },
        "description": "Количество записей на странице"
      },
      "PaginationTotalRecords": {
        "schema": {
          "type": "integer",
          "example": 1700
        },
        "description": "Всего найдено записей"
      },
      "PaginationTotalPages": {
        "schema": {
          "type": "integer",
          "example": 85
        },
        "description": "Всего страниц для пагинации"
      },
      "PaginationPreviousPage": {
        "schema": {
          "type": "integer",
          "example": 1
        },
        "description": "Предыдущая страница для пагинации"
      },
      "PaginationNextPage": {
        "schema": {
          "type": "integer",
          "example": 3
        },
        "description": "Следующая страница для пагинации"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "description": "Заголовок авторизации JWT с использованием Bearer.",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  }
}