{
  "openapi": "3.0.0",
  "info": {
    "title": "Методы добавления/редактирования данных имуществ API v.1",
    "version": "0.4.0"
  },
  "externalDocs": {
    "description": "Документация и схемы API v.1",
    "url": "/"
  },
  "servers": [
    {
      "url": "https://online.smartlombard.ru/api/exchange/v1"
    }
  ],
  "tags": [
    {
      "name": "Методы для создания/редактирования операции \"Залог\""
    },
    {
      "name": "Методы для создания/редактирования операции \"Продление\""
    },
    {
      "name": "Методы для создания/редактирования операции \"Перезалог\""
    },
    {
      "name": "Методы для создания/редактирования операции \"Добор\""
    },
    {
      "name": "Методы для создания/редактирования операции \"Частичный выкуп\""
    },
    {
      "name": "Методы для создания/редактирования операции \"Частичный выкуп имущества\""
    },
    {
      "name": "Методы для создания/редактирования операции \"Выкуп\""
    },
    {
      "name": "Методы для создания/редактирования операции \"Отправка на реализацию\""
    },
    {
      "name": "Методы для создания/редактирования операции \"Реализация\""
    },
    {
      "name": "Методы для создания/редактирования операции \"Изъятие\""
    },
    {
      "name": "Методы для редактирования залоговых имуществ"
    },
    {
      "name": "Методы для создания/редактирования клиентов физ. лиц"
    },
    {
      "name": "Методы для создания/редактирования документов у клиентов физ. лиц"
    },
    {
      "name": "Методы для создания/редактирования банковских карт у клиентов физ. лиц"
    },
    {
      "name": "Методы для создания/редактирования клиентов юр. лица"
    },
    {
      "name": "Методы для открытия/закрытия смен"
    },
    {
      "name": "Метод для загрузки картинок"
    }
  ],
  "paths": {
    "/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"
                            },
                            {
                              "$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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        }
      }
    },
    "/pawn_tickets/operations/{operation_id}": {
      "put": {
        "tags": [
          "Методы для создания/редактирования операции \"Залог\""
        ],
        "summary": "Метод позволяет редактировать последнюю операцию \"Залог\" в залоговом билете, по ID.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "* НЕ поддерживается возможность выплаты на карту.",
        "parameters": [
          {
            "$ref": "#/components/parameters/OperationId"
          }
        ],
        "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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/pawn_tickets/{pawn_ticket_id}/operations/prolongations": {
      "post": {
        "tags": [
          "Методы для создания/редактирования операции \"Продление\""
        ],
        "summary": "Метод позволяет добавить операцию \"Продление\" по ID залогового билета.",
        "description": "* НЕ поддерживается возможность выплаты на карту.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnTicketId"
          }
        ],
        "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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        }
      }
    },
    "/pawn_tickets/operations/{operation_id}/prolongations": {
      "put": {
        "tags": [
          "Методы для создания/редактирования операции \"Продление\""
        ],
        "summary": "Метод позволяет редактировать последнюю операцию \"Продление\" в залоговом билете, по ID.",
        "description": "* НЕ поддерживается возможность выплаты на карту.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/OperationId"
          }
        ],
        "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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/pawn_tickets/{pawn_ticket_id}/operations/repledges": {
      "post": {
        "tags": [
          "Методы для создания/редактирования операции \"Перезалог\""
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Метод позволяет добавить операцию \"Перезалог\" по ID залогового билета.",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnTicketId"
          }
        ],
        "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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        }
      }
    },
    "/pawn_tickets/operations/{operation_id}/repledges": {
      "put": {
        "tags": [
          "Методы для создания/редактирования операции \"Перезалог\""
        ],
        "summary": "Метод позволяет редактировать последнюю операцию \"Перезалог\" в залоговом билете, по ID.",
        "description": "* НЕ поддерживается возможность выплаты на карту.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/OperationId"
          }
        ],
        "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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/pawn_tickets/{pawn_ticket_id}/operations/additionals": {
      "post": {
        "tags": [
          "Методы для создания/редактирования операции \"Добор\""
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Метод позволяет добавить операцию \"Добор\" по ID залогового билета.",
        "description": "* НЕ поддерживается возможность выплаты на карту.",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnTicketId"
          }
        ],
        "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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        }
      }
    },
    "/pawn_tickets/operations/{operation_id}/additionals": {
      "put": {
        "tags": [
          "Методы для создания/редактирования операции \"Добор\""
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Метод позволяет редактировать последнюю операцию \"Добор\" в залоговом билете, по ID.",
        "description": "* НЕ поддерживается возможность выплаты на карту.",
        "parameters": [
          {
            "$ref": "#/components/parameters/OperationId"
          }
        ],
        "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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/pawn_tickets/{pawn_ticket_id}/operations/partial_buyout": {
      "post": {
        "tags": [
          "Методы для создания/редактирования операции \"Частичный выкуп\""
        ],
        "summary": "Метод позволяет добавить операцию \"Частичный выкуп\" по ID залогового билета.",
        "description": "* НЕ поддерживается возможность выплаты на карту.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnTicketId"
          }
        ],
        "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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        }
      }
    },
    "/pawn_tickets/operations/{operation_id}/partial_buyout": {
      "put": {
        "tags": [
          "Методы для создания/редактирования операции \"Частичный выкуп\""
        ],
        "summary": "Метод позволяет редактировать последнюю операцию \"Частичный выкуп\" в залоговом билете, по ID.",
        "description": "* НЕ поддерживается возможность выплаты на карту.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/OperationId"
          }
        ],
        "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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/pawn_tickets/{pawn_ticket_id}/operations/partial_buyout_pawn_good": {
      "post": {
        "tags": [
          "Методы для создания/редактирования операции \"Частичный выкуп имущества\""
        ],
        "summary": "Метод позволяет добавить операцию \"Частичный выкуп имущества\" по ID залогового билета.",
        "description": "* НЕ поддерживается возможность выплаты на карту.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnTicketId"
          }
        ],
        "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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        }
      }
    },
    "/pawn_tickets/operations/{operation_id}/partial_buyout_pawn_good": {
      "put": {
        "tags": [
          "Методы для создания/редактирования операции \"Частичный выкуп имущества\""
        ],
        "summary": "Метод позволяет редактировать последнюю операцию \"Частичный выкуп имущества\" в залоговом билете, по ID.",
        "description": "* НЕ поддерживается возможность выплаты на карту.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/OperationId"
          }
        ],
        "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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/pawn_tickets/{pawn_ticket_id}/operations/buyouts": {
      "post": {
        "tags": [
          "Методы для создания/редактирования операции \"Выкуп\""
        ],
        "summary": "Метод позволяет добавить операцию \"Выкуп\" по ID залогового билета.",
        "description": "* НЕ поддерживается возможность выплаты на карту.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnTicketId"
          }
        ],
        "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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        }
      }
    },
    "/pawn_tickets/operations/{operation_id}/buyouts": {
      "put": {
        "tags": [
          "Методы для создания/редактирования операции \"Выкуп\""
        ],
        "summary": "Метод позволяет редактировать последнюю операцию \"Выкуп\" в залоговом билете, по ID.",
        "description": "* НЕ поддерживается возможность выплаты на карту.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/OperationId"
          }
        ],
        "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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/pawn_tickets/{pawn_ticket_id}/operations/send_realization": {
      "post": {
        "tags": [
          "Методы для создания/редактирования операции \"Отправка на реализацию\""
        ],
        "summary": "Метод позволяет добавить операцию \"Отправка на реализацию\" по ID залогового билета.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnTicketId"
          }
        ],
        "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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        }
      }
    },
    "/pawn_tickets/operations/{operation_id}/send_realization": {
      "put": {
        "tags": [
          "Методы для создания/редактирования операции \"Отправка на реализацию\""
        ],
        "summary": "Метод позволяет редактировать последнюю операцию \"Отправка на реализацию\" в залоговом билете, по ID.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/OperationId"
          }
        ],
        "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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/pawn_tickets/{pawn_ticket_id}/operations/sell_realization": {
      "post": {
        "tags": [
          "Методы для создания/редактирования операции \"Реализация\""
        ],
        "summary": "Метод позволяет добавить операцию \"Реализация\" по ID залогового билета.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnTicketId"
          }
        ],
        "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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        }
      }
    },
    "/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"
          }
        ],
        "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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/pawn_tickets/{pawn_ticket_id}/pawn_goods/{pawn_good_id}/operations/withdraw": {
      "post": {
        "tags": [
          "Методы для создания/редактирования операции \"Изъятие\""
        ],
        "summary": "Метод позволяет добавить операцию \"Изъятие\" по ID залогового билета.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnTicketId"
          },
          {
            "$ref": "#/components/parameters/PawnGoodId"
          }
        ],
        "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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        }
      }
    },
    "/pawn_tickets/operations/{operation_id}/withdraw": {
      "put": {
        "tags": [
          "Методы для создания/редактирования операции \"Изъятие\""
        ],
        "summary": "Метод позволяет редактировать операцию \"Изъятие\" в залоговом билете, по ID.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/OperationId"
          }
        ],
        "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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные залогового имущества по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "* В \"Request body\" нет обязательных полей",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "category_id": {
                    "$ref": "#/components/schemas/PawnGood/properties/category_id"
                  },
                  "subcategory_id": {
                    "$ref": "#/components/schemas/PawnGood/properties/subcategory_id"
                  },
                  "junior_subcategory_id": {
                    "$ref": "#/components/schemas/PawnGood/properties/junior_subcategory_id"
                  },
                  "name": {
                    "$ref": "#/components/schemas/PawnGood/properties/name"
                  },
                  "estimate_price": {
                    "$ref": "#/components/schemas/PawnGood/properties/estimate_price"
                  },
                  "storage_id": {
                    "$ref": "#/components/schemas/PawnGood/properties/storage_id"
                  },
                  "serial_number": {
                    "$ref": "#/components/schemas/PawnGood/properties/serial_number"
                  },
                  "description": {
                    "$ref": "#/components/schemas/PawnGood/properties/description"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/PawnGood/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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}/jewelry": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные имущества Ювелирного изделия по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "subcategory_id": {
                    "$ref": "#/components/schemas/PawnGood/properties/subcategory_id"
                  },
                  "junior_subcategory_id": {
                    "$ref": "#/components/schemas/PawnGood/properties/junior_subcategory_id"
                  },
                  "name": {
                    "$ref": "#/components/schemas/PawnGood/properties/name"
                  },
                  "estimate_price": {
                    "$ref": "#/components/schemas/PawnGood/properties/estimate_price"
                  },
                  "storage_id": {
                    "$ref": "#/components/schemas/PawnGood/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/properties/description"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/PawnGood/properties/comment"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}/vehicle": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные залогового имущества Транспортного средства по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "В \"Request body\" нет обязательных полей",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "subcategory_id": {
                    "$ref": "#/components/schemas/PawnGood/properties/subcategory_id"
                  },
                  "junior_subcategory_id": {
                    "$ref": "#/components/schemas/PawnGood/properties/junior_subcategory_id"
                  },
                  "name": {
                    "$ref": "#/components/schemas/PawnGoodVehicleExtra/properties/name"
                  },
                  "estimate_price": {
                    "$ref": "#/components/schemas/PawnGood/properties/estimate_price"
                  },
                  "storage_id": {
                    "$ref": "#/components/schemas/PawnGood/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/properties/description"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/PawnGood/properties/comment"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}/phone": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные залогового имущества Мобильного телефона по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "В \"Request body\" нет обязательных полей",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "subcategory_id": {
                    "$ref": "#/components/schemas/PawnGood/properties/subcategory_id"
                  },
                  "name": {
                    "$ref": "#/components/schemas/PawnGoodPhoneExtra/properties/name"
                  },
                  "estimate_price": {
                    "$ref": "#/components/schemas/PawnGood/properties/estimate_price"
                  },
                  "storage_id": {
                    "$ref": "#/components/schemas/PawnGood/properties/storage_id"
                  },
                  "serial_number": {
                    "$ref": "#/components/schemas/PawnGood/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/properties/description"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/PawnGood/properties/comment"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}/tablet_ebook": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные залогового имущества Планшеты и электронные книги по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "В \"Request body\" нет обязательных полей",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "$ref": "#/components/schemas/PawnGood/properties/name"
                  },
                  "estimate_price": {
                    "$ref": "#/components/schemas/PawnGood/properties/estimate_price"
                  },
                  "storage_id": {
                    "$ref": "#/components/schemas/PawnGood/properties/storage_id"
                  },
                  "serial_number": {
                    "$ref": "#/components/schemas/PawnGood/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/properties/description"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/PawnGood/properties/comment"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}/tv_video": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные залогового имущества ТВ и видеотехника по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "В \"Request body\" нет обязательных полей",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "$ref": "#/components/schemas/PawnGood/properties/name"
                  },
                  "estimate_price": {
                    "$ref": "#/components/schemas/PawnGood/properties/estimate_price"
                  },
                  "storage_id": {
                    "$ref": "#/components/schemas/PawnGood/properties/storage_id"
                  },
                  "serial_number": {
                    "$ref": "#/components/schemas/PawnGood/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/properties/description"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/PawnGood/properties/comment"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}/watch": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные залогового имущества Часы по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "В \"Request body\" нет обязательных полей",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "$ref": "#/components/schemas/PawnGood/properties/name"
                  },
                  "estimate_price": {
                    "$ref": "#/components/schemas/PawnGood/properties/estimate_price"
                  },
                  "storage_id": {
                    "$ref": "#/components/schemas/PawnGood/properties/storage_id"
                  },
                  "serial_number": {
                    "$ref": "#/components/schemas/PawnGood/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/properties/description"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/PawnGood/properties/comment"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}/photo_equip": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные залогового имущества Фототехника по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "В \"Request body\" нет обязательных полей",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId"
          }
        ],
        "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/properties/estimate_price"
                  },
                  "serial_number": {
                    "$ref": "#/components/schemas/PawnGood/properties/serial_number"
                  },
                  "storage_id": {
                    "$ref": "#/components/schemas/PawnGood/properties/storage_id"
                  },
                  "description": {
                    "$ref": "#/components/schemas/PawnGood/properties/description"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/PawnGood/properties/comment"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}/pc_component": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные залогового имущества Товары для компьютера по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "В \"Request body\" нет обязательных полей",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId"
          }
        ],
        "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/properties/estimate_price"
                  },
                  "serial_number": {
                    "$ref": "#/components/schemas/PawnGood/properties/serial_number"
                  },
                  "storage_id": {
                    "$ref": "#/components/schemas/PawnGood/properties/storage_id"
                  },
                  "description": {
                    "$ref": "#/components/schemas/PawnGood/properties/description"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/PawnGood/properties/comment"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}/laptop_netbook": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные залогового имущества Ноутбуки и нетбуки по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "В \"Request body\" нет обязательных полей",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "$ref": "#/components/schemas/PawnGood/properties/name"
                  },
                  "estimate_price": {
                    "$ref": "#/components/schemas/PawnGood/properties/estimate_price"
                  },
                  "storage_id": {
                    "$ref": "#/components/schemas/PawnGood/properties/storage_id"
                  },
                  "serial_number": {
                    "$ref": "#/components/schemas/PawnGood/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/properties/description"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/PawnGood/properties/comment"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}/home_appliance": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные залогового имущества Техника для дома по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "В \"Request body\" нет обязательных полей",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "type": "object",
                    "title": "Стиральные машины",
                    "properties": {
                      "name": {
                        "$ref": "#/components/schemas/PawnGoodPhoneExtra/properties/name"
                      },
                      "estimate_price": {
                        "$ref": "#/components/schemas/PawnGood/properties/estimate_price"
                      },
                      "storage_id": {
                        "$ref": "#/components/schemas/PawnGood/properties/storage_id"
                      },
                      "serial_number": {
                        "$ref": "#/components/schemas/PawnGood/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/properties/description"
                      },
                      "comment": {
                        "$ref": "#/components/schemas/PawnGood/properties/comment"
                      }
                    }
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}/tool": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные залогового имущества Инструментов по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "В \"Request body\" нет обязательных полей",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "type": "object",
                    "title": "Дрели и шуруповерты",
                    "properties": {
                      "name": {
                        "$ref": "#/components/schemas/PawnGoodToolExtra/properties/name"
                      },
                      "estimate_price": {
                        "$ref": "#/components/schemas/PawnGood/properties/estimate_price"
                      },
                      "storage_id": {
                        "$ref": "#/components/schemas/PawnGood/properties/storage_id"
                      },
                      "serial_number": {
                        "$ref": "#/components/schemas/PawnGood/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/properties/description"
                      },
                      "comment": {
                        "$ref": "#/components/schemas/PawnGood/properties/comment"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "title": "Перфораторы и отбойные молотки",
                    "properties": {
                      "name": {
                        "$ref": "#/components/schemas/PawnGoodToolExtra/properties/name"
                      },
                      "estimate_price": {
                        "$ref": "#/components/schemas/PawnGood/properties/estimate_price"
                      },
                      "storage_id": {
                        "$ref": "#/components/schemas/PawnGood/properties/storage_id"
                      },
                      "serial_number": {
                        "$ref": "#/components/schemas/PawnGood/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/properties/description"
                      },
                      "comment": {
                        "$ref": "#/components/schemas/PawnGood/properties/comment"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "title": "Болгарки и шлифмашинки",
                    "properties": {
                      "name": {
                        "$ref": "#/components/schemas/PawnGoodToolExtra/properties/name"
                      },
                      "estimate_price": {
                        "$ref": "#/components/schemas/PawnGood/properties/estimate_price"
                      },
                      "storage_id": {
                        "$ref": "#/components/schemas/PawnGood/properties/storage_id"
                      },
                      "serial_number": {
                        "$ref": "#/components/schemas/PawnGood/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/properties/description"
                      },
                      "comment": {
                        "$ref": "#/components/schemas/PawnGood/properties/comment"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "title": "Лобзики",
                    "properties": {
                      "name": {
                        "$ref": "#/components/schemas/PawnGoodToolExtra/properties/name"
                      },
                      "estimate_price": {
                        "$ref": "#/components/schemas/PawnGood/properties/estimate_price"
                      },
                      "storage_id": {
                        "$ref": "#/components/schemas/PawnGood/properties/storage_id"
                      },
                      "serial_number": {
                        "$ref": "#/components/schemas/PawnGood/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/properties/description"
                      },
                      "comment": {
                        "$ref": "#/components/schemas/PawnGood/properties/comment"
                      }
                    }
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}/clothes": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные залогового имущества Одежды по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "В \"Request body\" нет обязательных полей",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "subcategory_id": {
                    "$ref": "#/components/schemas/PawnGood/properties/subcategory_id"
                  },
                  "name": {
                    "$ref": "#/components/schemas/PawnGood/properties/name"
                  },
                  "estimate_price": {
                    "$ref": "#/components/schemas/PawnGood/properties/estimate_price"
                  },
                  "storage_id": {
                    "$ref": "#/components/schemas/PawnGood/properties/storage_id"
                  },
                  "serial_number": {
                    "$ref": "#/components/schemas/PawnGood/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/properties/description"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/PawnGood/properties/comment"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/pawn_tickets/pawn_goods/{pawn_good_id}/kids_clothes": {
      "patch": {
        "tags": [
          "Методы для редактирования залоговых имуществ"
        ],
        "summary": "Метод позволяет редактировать данные залогового имущества Одежда для детей по ID",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "В \"Request body\" нет обязательных полей",
        "parameters": [
          {
            "$ref": "#/components/parameters/PawnGoodId"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "subcategory_id": {
                    "$ref": "#/components/schemas/PawnGood/properties/subcategory_id"
                  },
                  "name": {
                    "$ref": "#/components/schemas/PawnGood/properties/name"
                  },
                  "estimate_price": {
                    "$ref": "#/components/schemas/PawnGood/properties/estimate_price"
                  },
                  "storage_id": {
                    "$ref": "#/components/schemas/PawnGood/properties/storage_id"
                  },
                  "serial_number": {
                    "$ref": "#/components/schemas/PawnGood/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/properties/description"
                  },
                  "comment": {
                    "$ref": "#/components/schemas/PawnGood/properties/comment"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/clients/natural_persons": {
      "post": {
        "tags": [
          "Методы для создания/редактирования клиентов физ. лиц"
        ],
        "summary": "Метод позволяет добавить клиента физ. лица",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NaturalPerson"
              }
            }
          }
        },
        "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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        }
      }
    },
    "/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/properties/name"
                  },
                  "last_name": {
                    "$ref": "#/components/schemas/NaturalPerson/properties/last_name"
                  },
                  "patronymic": {
                    "$ref": "#/components/schemas/NaturalPerson/properties/patronymic"
                  },
                  "nationality": {
                    "$ref": "#/components/schemas/NaturalPerson/properties/nationality"
                  },
                  "resident": {
                    "$ref": "#/components/schemas/NaturalPerson/properties/resident"
                  },
                  "birth_date": {
                    "$ref": "#/components/schemas/NaturalPerson/properties/birth_date"
                  },
                  "registered_city": {
                    "$ref": "#/components/schemas/NaturalPerson/properties/registered_city"
                  },
                  "street": {
                    "$ref": "#/components/schemas/NaturalPerson/properties/street"
                  },
                  "house": {
                    "$ref": "#/components/schemas/NaturalPerson/properties/house"
                  },
                  "appartment": {
                    "$ref": "#/components/schemas/NaturalPerson/properties/appartment"
                  },
                  "place_of_birth": {
                    "$ref": "#/components/schemas/NaturalPerson/properties/place_of_birth"
                  },
                  "actual_address": {
                    "$ref": "#/components/schemas/NaturalPerson/properties/actual_address"
                  },
                  "actual_address_with_registration": {
                    "$ref": "#/components/schemas/NaturalPerson/properties/actual_address_with_registration"
                  },
                  "phone": {
                    "$ref": "#/components/schemas/NaturalPerson/properties/phone"
                  },
                  "email": {
                    "$ref": "#/components/schemas/NaturalPerson/properties/email"
                  },
                  "gender": {
                    "$ref": "#/components/schemas/NaturalPerson/properties/gender"
                  },
                  "inn": {
                    "$ref": "#/components/schemas/NaturalPerson/properties/inn"
                  },
                  "iin": {
                    "$ref": "#/components/schemas/NaturalPerson/properties/iin"
                  },
                  "iin_date_issued": {
                    "$ref": "#/components/schemas/NaturalPerson/properties/iin_date_issued"
                  },
                  "snils": {
                    "$ref": "#/components/schemas/NaturalPerson/properties/snils"
                  },
                  "about": {
                    "$ref": "#/components/schemas/NaturalPerson/properties/about"
                  },
                  "warning_message": {
                    "$ref": "#/components/schemas/NaturalPerson/properties/warning_message"
                  },
                  "type_loyalty_card": {
                    "$ref": "#/components/schemas/NaturalPerson/properties/type_loyalty_card"
                  },
                  "number_loyalty_card": {
                    "$ref": "#/components/schemas/NaturalPerson/properties/number_loyalty_card"
                  },
                  "barcode_loyalty_card": {
                    "$ref": "#/components/schemas/NaturalPerson/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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/clients/natural_persons/{client_id}/documents": {
      "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"
                    }
                  }
                },
                "required": [
                  "documents"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseDocumentsCreate"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/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"
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/clients/natural_persons/{client_id}/bank_cards": {
      "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"
                    }
                  }
                },
                "required": [
                  "bank_cards"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseBankCardsCreate"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/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/properties/bank_card_number"
                  },
                  "bank_card_date_end": {
                    "$ref": "#/components/schemas/BankCard/properties/bank_card_date_end"
                  },
                  "bank_name": {
                    "$ref": "#/components/schemas/BankCard/properties/bank_name"
                  }
                },
                "required": [
                  "bank_card_number",
                  "bank_card_date_end"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseBankCardsCreate"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/clients/legal_persons": {
      "post": {
        "tags": [
          "Методы для создания/редактирования клиентов юр. лица"
        ],
        "summary": "Метод позволяет добавить клиента юр. лица",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LegalPerson"
              }
            }
          }
        },
        "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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        }
      }
    },
    "/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/properties/legal_form"
                  },
                  "legal_name": {
                    "$ref": "#/components/schemas/LegalPerson/properties/legal_name"
                  },
                  "country": {
                    "$ref": "#/components/schemas/LegalPerson/properties/country"
                  },
                  "registered_city": {
                    "$ref": "#/components/schemas/LegalPerson/properties/registered_city"
                  },
                  "street": {
                    "$ref": "#/components/schemas/LegalPerson/properties/street"
                  },
                  "house": {
                    "$ref": "#/components/schemas/LegalPerson/properties/house"
                  },
                  "building_number": {
                    "$ref": "#/components/schemas/LegalPerson/properties/building_number"
                  },
                  "apartment": {
                    "$ref": "#/components/schemas/LegalPerson/properties/apartment"
                  },
                  "post_index": {
                    "$ref": "#/components/schemas/LegalPerson/properties/post_index"
                  },
                  "actual_address": {
                    "$ref": "#/components/schemas/LegalPerson/properties/actual_address"
                  },
                  "actual_address_with_registration": {
                    "$ref": "#/components/schemas/LegalPerson/properties/actual_address_with_registration"
                  },
                  "phone": {
                    "$ref": "#/components/schemas/LegalPerson/properties/phone"
                  },
                  "director": {
                    "$ref": "#/components/schemas/LegalPerson/properties/director"
                  },
                  "accountant": {
                    "$ref": "#/components/schemas/LegalPerson/properties/accountant"
                  },
                  "inn": {
                    "$ref": "#/components/schemas/LegalPerson/properties/inn"
                  },
                  "bin": {
                    "$ref": "#/components/schemas/LegalPerson/properties/bin"
                  },
                  "kpp": {
                    "$ref": "#/components/schemas/LegalPerson/properties/kpp"
                  },
                  "ogrn": {
                    "$ref": "#/components/schemas/LegalPerson/properties/ogrn"
                  },
                  "okpo": {
                    "$ref": "#/components/schemas/LegalPerson/properties/okpo"
                  },
                  "oktmo": {
                    "$ref": "#/components/schemas/LegalPerson/properties/oktmo"
                  },
                  "email": {
                    "$ref": "#/components/schemas/LegalPerson/properties/email"
                  },
                  "ad_channel_id": {
                    "$ref": "#/components/schemas/Other/properties/ad_channel_id"
                  },
                  "about": {
                    "$ref": "#/components/schemas/LegalPerson/properties/about"
                  },
                  "warning_message": {
                    "$ref": "#/components/schemas/LegalPerson/properties/warning_message"
                  }
                },
                "required": [
                  "legal_form",
                  "legal_name",
                  "country",
                  "registered_city",
                  "street",
                  "house"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessfulResponseUpdated"
          },
          "412": {
            "$ref": "#/components/responses/ErrorValidationFailed"
          },
          "default": {
            "$ref": "#/components/responses/ErrorEditResponse"
          }
        }
      }
    },
    "/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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        }
      }
    },
    "/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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        }
      }
    },
    "/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"
          },
          "default": {
            "$ref": "#/components/responses/ErrorAddResponse"
          }
        }
      }
    }
  },
  "components": {
    "parameters": {
      "WorkplaceId": {
        "name": "workplace_id",
        "in": "path",
        "description": "ID филиала",
        "required": true,
        "schema": {
          "$ref": "#/components/schemas/Other/properties/workplace_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/Other/properties/pawn_good_id"
        }
      },
      "OperationId": {
        "name": "operation_id",
        "in": "path",
        "required": true,
        "description": "ID операции (переменная для поиска редактируемой операции)",
        "schema": {
          "$ref": "#/components/schemas/Other/properties/operation_id"
        }
      },
      "PawnTicketId": {
        "name": "pawn_ticket_id",
        "in": "path",
        "required": true,
        "description": "ID залогового билета (для поиска залогового билета)",
        "schema": {
          "$ref": "#/components/schemas/Other/properties/pawn_ticket_id"
        }
      },
      "PageParam": {
        "name": "page",
        "in": "query",
        "description": "Начинать с записи",
        "schema": {
          "$ref": "#/components/schemas/Other/properties/page"
        }
      },
      "LimitParam": {
        "name": "limit",
        "in": "query",
        "description": "Лимит записей",
        "schema": {
          "$ref": "#/components/schemas/Other/properties/limit"
        }
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "description": "JWT Authorization header using the Bearer scheme.",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "headers": {
      "PaginationPage": {
        "schema": {
          "type": "integer",
          "example": 2
        },
        "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": "Следующая страница для пагинации"
      }
    },
    "responses": {
      "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": {
        "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"
              ]
            }
          }
        }
      }
    },
    "schemas": {
      "PawnGood": {
        "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/properties/category_id"
          },
          "subcategory_id": {
            "$ref": "#/components/schemas/PawnGood/properties/subcategory_id"
          },
          "junior_subcategory_id": {
            "$ref": "#/components/schemas/PawnGood/properties/junior_subcategory_id"
          },
          "name": {
            "$ref": "#/components/schemas/PawnGood/properties/name"
          },
          "estimate_price": {
            "$ref": "#/components/schemas/PawnGood/properties/estimate_price"
          },
          "storage_id": {
            "$ref": "#/components/schemas/PawnGood/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/properties/description"
          },
          "comment": {
            "$ref": "#/components/schemas/PawnGood/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/properties/category_id"
          },
          "subcategory_id": {
            "$ref": "#/components/schemas/PawnGood/properties/subcategory_id"
          },
          "junior_subcategory_id": {
            "$ref": "#/components/schemas/PawnGood/properties/junior_subcategory_id"
          },
          "name": {
            "type": "string",
            "example": "Volga",
            "description": "Марка/Модель"
          },
          "estimate_price": {
            "$ref": "#/components/schemas/PawnGood/properties/estimate_price"
          },
          "storage_id": {
            "$ref": "#/components/schemas/PawnGood/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/properties/description"
          },
          "comment": {
            "$ref": "#/components/schemas/PawnGood/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/properties/category_id"
          },
          "subcategory_id": {
            "$ref": "#/components/schemas/PawnGood/properties/subcategory_id"
          },
          "junior_subcategory_id": {
            "$ref": "#/components/schemas/PawnGood/properties/junior_subcategory_id"
          },
          "name": {
            "type": "string",
            "example": "Nokia 3310",
            "description": "Наименование телефона"
          },
          "estimate_price": {
            "$ref": "#/components/schemas/PawnGood/properties/estimate_price"
          },
          "storage_id": {
            "$ref": "#/components/schemas/PawnGood/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/properties/description"
          },
          "comment": {
            "$ref": "#/components/schemas/PawnGood/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/properties/category_id"
          },
          "subcategory_id": {
            "$ref": "#/components/schemas/PawnGood/properties/subcategory_id"
          },
          "junior_subcategory_id": {
            "$ref": "#/components/schemas/PawnGood/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/properties/estimate_price"
          },
          "storage_id": {
            "$ref": "#/components/schemas/PawnGood/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/properties/description"
          },
          "comment": {
            "$ref": "#/components/schemas/PawnGood/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/properties/category_id"
          },
          "subcategory_id": {
            "$ref": "#/components/schemas/PawnGood/properties/subcategory_id"
          },
          "junior_subcategory_id": {
            "$ref": "#/components/schemas/PawnGood/properties/junior_subcategory_id"
          },
          "name": {
            "type": "string",
            "example": "Стиральная машина Bosch",
            "description": "Наименование"
          },
          "serial_number": {
            "type": "string",
            "example": "9063T 8562A",
            "description": "Серийный номер"
          },
          "estimate_price": {
            "$ref": "#/components/schemas/PawnGood/properties/estimate_price"
          },
          "storage_id": {
            "$ref": "#/components/schemas/PawnGood/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/properties/description"
          },
          "comment": {
            "$ref": "#/components/schemas/PawnGood/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/properties/category_id"
          },
          "subcategory_id": {
            "$ref": "#/components/schemas/PawnGood/properties/subcategory_id"
          },
          "junior_subcategory_id": {
            "$ref": "#/components/schemas/PawnGood/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/properties/estimate_price"
          },
          "storage_id": {
            "$ref": "#/components/schemas/PawnGood/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/properties/description"
          },
          "comment": {
            "$ref": "#/components/schemas/PawnGood/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/properties/category_id"
          },
          "subcategory_id": {
            "$ref": "#/components/schemas/PawnGood/properties/subcategory_id"
          },
          "junior_subcategory_id": {
            "$ref": "#/components/schemas/PawnGood/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/properties/estimate_price"
          },
          "storage_id": {
            "$ref": "#/components/schemas/PawnGood/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/properties/description"
          },
          "comment": {
            "$ref": "#/components/schemas/PawnGood/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/properties/category_id"
          },
          "subcategory_id": {
            "$ref": "#/components/schemas/PawnGood/properties/subcategory_id"
          },
          "junior_subcategory_id": {
            "$ref": "#/components/schemas/PawnGood/properties/junior_subcategory_id"
          },
          "name": {
            "type": "string",
            "example": "Стиральная машина Bosch",
            "description": "Наименование"
          },
          "serial_number": {
            "type": "string",
            "example": "9063T 8562A",
            "description": "Серийный номер"
          },
          "estimate_price": {
            "$ref": "#/components/schemas/PawnGood/properties/estimate_price"
          },
          "storage_id": {
            "$ref": "#/components/schemas/PawnGood/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/properties/description"
          },
          "comment": {
            "$ref": "#/components/schemas/PawnGood/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/properties/category_id"
          },
          "subcategory_id": {
            "$ref": "#/components/schemas/PawnGood/properties/subcategory_id"
          },
          "junior_subcategory_id": {
            "$ref": "#/components/schemas/PawnGood/properties/junior_subcategory_id"
          },
          "name": {
            "type": "string",
            "example": "Шуруповерт Makita",
            "description": "Наименование инструмента"
          },
          "serial_number": {
            "type": "string",
            "example": "9063T 8562A",
            "description": "Серийный номер"
          },
          "estimate_price": {
            "$ref": "#/components/schemas/PawnGood/properties/estimate_price"
          },
          "storage_id": {
            "$ref": "#/components/schemas/PawnGood/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/properties/description"
          },
          "comment": {
            "$ref": "#/components/schemas/PawnGood/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/properties/category_id"
          },
          "subcategory_id": {
            "$ref": "#/components/schemas/PawnGood/properties/subcategory_id"
          },
          "junior_subcategory_id": {
            "$ref": "#/components/schemas/PawnGood/properties/junior_subcategory_id"
          },
          "name": {
            "type": "string",
            "example": "Процессор",
            "description": "Наименование"
          },
          "serial_number": {
            "type": "string",
            "example": "9063T 8562A",
            "description": "Серийный номер"
          },
          "estimate_price": {
            "$ref": "#/components/schemas/PawnGood/properties/estimate_price"
          },
          "storage_id": {
            "$ref": "#/components/schemas/PawnGood/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/properties/description"
          },
          "comment": {
            "$ref": "#/components/schemas/PawnGood/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/properties/category_id"
          },
          "subcategory_id": {
            "$ref": "#/components/schemas/PawnGood/properties/subcategory_id"
          },
          "junior_subcategory_id": {
            "$ref": "#/components/schemas/PawnGood/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/properties/estimate_price"
          },
          "storage_id": {
            "$ref": "#/components/schemas/PawnGood/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/properties/description"
          },
          "comment": {
            "$ref": "#/components/schemas/PawnGood/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/properties/category_id"
          },
          "subcategory_id": {
            "$ref": "#/components/schemas/PawnGood/properties/subcategory_id"
          },
          "junior_subcategory_id": {
            "$ref": "#/components/schemas/PawnGood/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/properties/estimate_price"
          },
          "storage_id": {
            "$ref": "#/components/schemas/PawnGood/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/properties/description"
          },
          "comment": {
            "$ref": "#/components/schemas/PawnGood/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/properties/category_id"
          },
          "subcategory_id": {
            "$ref": "#/components/schemas/PawnGood/properties/subcategory_id"
          },
          "junior_subcategory_id": {
            "$ref": "#/components/schemas/PawnGood/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/properties/estimate_price"
          },
          "storage_id": {
            "$ref": "#/components/schemas/PawnGood/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/properties/description"
          },
          "comment": {
            "$ref": "#/components/schemas/PawnGood/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": {
        "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": {
        "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": {
        "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"
            }
          },
          "ad_channel_id": {
            "$ref": "#/components/schemas/Other/properties/ad_channel_id"
          }
        },
        "required": [
          "name",
          "last_name",
          "birth_date",
          "registered_city",
          "street",
          "house",
          "nationality",
          "resident"
        ]
      },
      "LegalPerson": {
        "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
          }
        }
      }
    }
  }
}