{
"schema": "http://json-schema.org/draft-04/schema#", "title": "KaskoModificationViewModel", "additionalItems": false, "additionalProperties": false, "properties": { "parentPolicyNumber": { "title": "ParentPolicyNumber", "type": "string", "x-nullable": true, "description": "Номер родительского полиса" }, "deal": { "title": "Deal", "type": [ "null", "object" ], "x-nullable": true, "ref": "#/definitions/KaskoModificationViewModel_Deal",
"description": "Сделка"
}
},
"required": [ "deal" ],
"definitions": {
"KaskoModificationViewModel_Deal": {
"title": "KaskoModificationViewModel_Deal",
"additionalItems": false,
"additionalProperties": false,
"description": "Подробности сделки",

  "required": [ "changeDate", "isMultidrive" ],
  "properties": {
    "changeDate": {
      "title": "ChangeDate",
      "type": "string",
      "description": "Дата начала действия изменений",
      "typeDetails": "DateTime",
      "pattern": "^\\d{2}\\.\\d{2}\\.\\d{4}$",
      "format": "dd.MM.yyyy"
    },
    "isMultidrive": {
      "title": "IsMultidrive",
      "type": "boolean",
      "x-nullable": true,
      "description": "Более одного водителя"
    },
    "drivers": {
      "title": "Drivers",
      "type": [
        "array",
        "null"
      ],
      "items": {
        "x-nullable": true,
        "additionalItems": false,
        "additionalProperties": false,
        "$ref": "#/definitions/KaskoModificationViewModel_Deal_Drivers"
      },
      "description": "Водители"
    },
    "insurant": {
      "title": "Insurant",
      "type": [
        "null",
        "object"
      ],
      "x-nullable": true,
      "$ref": "#/definitions/KaskoModificationViewModel_Person",
      "description": "Страхователь"
    },
    "owner": {
      "title": "Owner",
      "type": [
        "null",
        "object"
      ],
      "x-nullable": true,
      "$ref": "#/definitions/KaskoModificationViewModel_Person",
      "description": "Владелец"
    },
    "auto": {
      "title": "Auto",
      "type": [
        "null",
        "object"
      ],
      "x-nullable": true,
      "$ref": "#/definitions/KaskoModificationViewModel_Auto_Auto",
      "description": "Транспортное средство"
    },
    "packet": {
      "title": "packet",
      "type": [
        "null",
        "object"
      ],
      "x-nullable": true,
      "$ref": "#/definitions/KaskoModificationViewModel_Deal_Packet",
      "description": "Данные по выбранному пакету"
    }
  }
},
"KaskoModificationViewModel_Deal_Drivers": {
  "title": "KaskoModificationViewModel_Deal_Drivers",
  "additionalItems": false,
  "additionalProperties": false,
  "properties": {
    "dateOfBirth": {
      "title": "DateOfBirth",
      "type": "string",
      "x-nullable": true,
      "description": "Дата рождения",
      "typeDetails": "DateTime",
      "pattern": "^\\d{2}\\.\\d{2}\\.\\d{4}$",
      "format": "dd.MM.yyyy"
    },
    "lastName": {
      "title": "LastName",
      "type": "string",
      "x-nullable": true,
      "description": "Фамилия"
    },
    "name": {
      "title": "Name",
      "type": "string",
      "x-nullable": true,
      "description": "Имя"
    },
    "middleName": {
      "title": "MiddleName",
      "type": "string",
      "x-nullable": true,
      "description": "Отчество"
    },
    "isGettingMarried": {
      "title": "IsGettingMarried",
      "type": "boolean",
      "x-nullable": true,
      "description": "Вступление в брак"
    },
    "driverLicenseSeries": {
      "title": "DriverLicenseSeries",
      "type": "string",
      "x-nullable": true,
      "description": "Серия ВУ"
    },
    "driverLicenseNumber": {
      "title": "DriverLicenseNumber",
      "type": "string",
      "x-nullable": true,
      "description": "Номер ВУ"
    },
    "drivingExperienceDateStart": {
      "title": "DrivingExperienceDateStart",
      "type": "string",
      "x-nullable": true,
      "description": "Дата начала водительского стажа",
      "typeDetails": "DateTime",
      "pattern": "^\\d{2}\\.\\d{2}\\.\\d{4}$",
      "format": "dd.MM.yyyy"
    },
    "driverLicenseIssueDate": {
      "title": "DriverLicenseIssueDate",
      "type": "string",
      "x-nullable": true,
      "description": "Дата выдачи ВУ",
      "typeDetails": "DateTime",
      "pattern": "^\\d{2}\\.\\d{2}\\.\\d{4}$",
      "format": "dd.MM.yyyy"
    },
    "previousDriverLicenseIssueDate": {
      "title": "PreviousDriverLicenseIssueDate",
      "type": "string",
      "x-nullable": true,
      "description": "Дата выдачи предыдущего ВУ",
      "typeDetails": "DateTime",
      "pattern": "^\\d{2}\\.\\d{2}\\.\\d{4}$",
      "format": "dd.MM.yyyy"
    },
    "previousDriverLicenseNumber": {
      "title": "PreviousDriverLicenseNumber",
      "type": "string",
      "x-nullable": true,
      "description": "Номер предыдущего ВУ"
    },
    "previousDriverLicenseSeries": {
      "title": "PreviousDriverLicenseSeries",
      "type": "string",
      "x-nullable": true,
      "description": "Серия предыдущего ВУ"
    },
    "previousDriverMiddleName": {
      "title": "PreviousDriverMiddleName",
      "type": "string",
      "x-nullable": true,
      "description": "Отчество в предыдущем ВУ"
    },
    "previousDriverName": {
      "title": "PreviousDriverName",
      "type": "string",
      "x-nullable": true,
      "description": "Имя в предыдущем ВУ"
    },
    "previousDriverLastName": {
      "title": "PreviousDriverLastName",
      "type": "string",
      "x-nullable": true,
      "description": "Фамилия в предыдущем ВУ"
    },
    "driverIsForeignDrivingLicense": {
      "title": "DriverIsForeignDrivingLicense",
      "type": "boolean",
      "x-nullable": true,
      "description": "Иностранное ВУ"
    }
  },
  "required": []
},
"KaskoModificationViewModel_Driver": {
  "title": "KaskoModificationViewModel_Driver",
  "additionalItems": false,
  "additionalProperties": false,
  "properties": {
    "id": {
      "title": "Id",
      "type": "integer",
      "x-nullable": true,
      "description": "Номер объекта сделки"
    },
    "type": {
      "title": "Type",
      "type": "string",
      "x-nullable": true,
      "description": "Тип объекта сделки"
    },
    "driver": {
      "title": "Driver",
      "type": [
        "null",
        "object"
      ],
      "x-nullable": true,
      "$ref": "#/definitions/KaskoModificationViewModel_Driver_Driver",
      "description": "Водитель"
    }
  },
  "required": [ "id", "type" ]
},
"KaskoModificationViewModel_Driver_Driver": {
  "title": "KaskoModificationViewModel_Driver_Driver",
  "additionalItems": false,
  "additionalProperties": false,
  "properties": {
    "dateOfBirth": {
      "title": "DateOfBirth",
      "type": "string",
      "x-nullable": true,
      "description": "Дата рождения",
      "typeDetails": "DateTime",
      "pattern": "^\\d{2}\\.\\d{2}\\.\\d{4}$",
      "format": "dd.MM.yyyy"
    },
    "lastName": {
      "title": "LastName",
      "type": "string",
      "x-nullable": true,
      "description": "Фамилия"
    },
    "name": {
      "title": "Name",
      "type": "string",
      "x-nullable": true,
      "description": "Имя"
    },
    "middleName": {
      "title": "MiddleName",
      "type": "string",
      "x-nullable": true,
      "description": "Отчество"
    },
    "driverLicenseSeries": {
      "title": "DriverLicenseSeries",
      "type": "string",
      "x-nullable": true,
      "description": "Серия ВУ"
    },
    "driverLicenseNumber": {
      "title": "DriverLicenseNumber",
      "type": "string",
      "x-nullable": true,
      "description": "Номер ВУ"
    },
    "drivingExperienceDateStart": {
      "title": "DrivingExperienceDateStart",
      "type": "string",
      "x-nullable": true,
      "description": "Дата начала водительского стажа",
      "typeDetails": "DateTime",
      "pattern": "^\\d{2}\\.\\d{2}\\.\\d{4}$",
      "format": "dd.MM.yyyy"
    },
    "driverLicenseIssueDate": {
      "title": "DriverLicenseIssueDate",
      "type": "string",
      "x-nullable": true,
      "description": "Дата выдачи ВУ",
      "typeDetails": "DateTime",
      "pattern": "^\\d{2}\\.\\d{2}\\.\\d{4}$",
      "format": "dd.MM.yyyy"
    },
    "previousDriverLicenseIssueDate": {
      "title": "PreviousDriverLicenseIssueDate",
      "type": "string",
      "x-nullable": true,
      "description": "Дата выдачи предыдущего ВУ",
      "typeDetails": "DateTime",
      "pattern": "^\\d{2}\\.\\d{2}\\.\\d{4}$",
      "format": "dd.MM.yyyy"
    },
    "previousDriverLicenseNumber": {
      "title": "PreviousDriverLicenseNumber",
      "type": "string",
      "x-nullable": true,
      "description": "Номер предыдущего ВУ"
    },
    "previousDriverLicenseSeries": {
      "title": "PreviousDriverLicenseSeries",
      "type": "string",
      "x-nullable": true,
      "description": "Серия предыдущего ВУ"
    },
    "previousDriverMiddleName": {
      "title": "PreviousDriverMiddleName",
      "type": "string",
      "x-nullable": true,
      "description": "Отчество в предыдущем ВУ"
    },
    "previousDriverName": {
      "title": "PreviousDriverName",
      "type": "string",
      "x-nullable": true,
      "description": "Имя в предыдущем ВУ"
    },
    "previousDriverLastName": {
      "title": "PreviousDriverLastName",
      "type": "string",
      "x-nullable": true,
      "description": "Фамилия в предыдущем ВУ"
    },
    "driverIsForeignDrivingLicense": {
      "title": "DriverIsForeignDrivingLicense",
      "type": "boolean",
      "x-nullable": true,
      "description": "Иностранное ВУ"
    }
  }
},
"KaskoModificationViewModel_Person": {
  "title": "KaskoModificationViewModel_Person",
  "additionalItems": false,
  "additionalProperties": false,
  "properties": {
    "person": {
      "title": "Person",
      "type": [
        "null",
        "object"
      ],
      "x-nullable": true,
      "$ref": "#/definitions/KaskoModificationViewModel_Person_Person",
      "description": "Физическое лицо"
    }
  },
  "required": []
},
"KaskoModificationViewModel_Person_Person": {
  "title": "KaskoModificationViewModel_Person_Person",
  "additionalItems": false,
  "additionalProperties": false,
  "properties": {
    "dateOfBirth": {
      "title": "DateOfBirth",
      "type": "string",
      "x-nullable": true,
      "description": "Дата рождения",
      "typeDetails": "DateTime",
      "pattern": "^\\d{2}\\.\\d{2}\\.\\d{4}$",
      "format": "dd.MM.yyyy"
    },
    "lastName": {
      "title": "LastName",
      "type": "string",
      "x-nullable": true,
      "description": "Фамилия"
    },
    "name": {
      "title": "Name",
      "type": "string",
      "x-nullable": true,
      "description": "Имя"
    },
    "middleName": {
      "title": "MiddleName",
      "type": "string",
      "x-nullable": true,
      "description": "Отчество"
    },
    "email": {
      "title": "Email",
      "type": "string",
      "x-nullable": true,
      "description": "Электронная почта"
    },
    "isGettingMarried": {
      "title": "IsGettingMarried",
      "type": "boolean",
      "x-nullable": true,
      "description": "Вступление в брак"
    },
    "addresses": {
      "title": "Addresses",
      "type": [
        "array",
        "null"
      ],
      "items": {
        "x-nullable": true,
        "additionalItems": false,
        "additionalProperties": false,
        "$ref": "#/definitions/KaskoModificationViewModel_Person_Person_Addresses"
      },
      "description": "Адреса"
    },
    "identityDocument": {
      "title": "IdentityDocument",
      "type": [
        "null",
        "object"
      ],
      "x-nullable": true,
      "$ref": "#/definitions/KaskoModificationViewModel_Person_Person_IdentityDocument",
      "description": "Документа удостоверяющий личность"
    }
  }
},
"KaskoModificationViewModel_Person_Person_Addresses": {
  "title": "KaskoModificationViewModel_Person_Person_Addresses",
  "additionalItems": false,
  "additionalProperties": false,
  "properties": {
    "addressTypeCode": {
      "type": "string",
      "description": "Тип адреса"
    },
    "country": {
      "type": "string",
      "description": "Страна"
    },
    "region": {
      "type": "string",
      "description": "Регион"
    },
    "district": {
      "type": "string",
      "description": "Район"
    },
    "city": {
      "type": "string",
      "description": "Город"
    },
    "settlement": {
      "type": "string",
      "description": "Населенный пункт"
    },
    "street": {
      "type": "string",
      "description": "Улица"
    },
    "house": {
      "type": "string",
      "description": "Дом"
    },
    "housing": {
      "type": "string",
      "description": "Корпус"
    },
    "building": {
      "type": "string",
      "description": "Строение"
    },
    "officeOrFlat": {
      "type": "string",
      "description": "Офис/Квартира"
    },
    "zipCode": {
      "type": "string",
      "description": "Почтовый индекс"
    },
    "kladrId": {
      "type": "string",
      "description": "Номер по КЛАДР"
    },
    "fiasId": {
      "type": "string",
      "description": "ID адреса по ФИАС"
    },
    "streetFiasId": {
      "type": "string",
      "description": "ID улицы по ФИАС"
    },
    "settlementFiasId": {
      "type": "string",
      "description": "ID населенного пункта (города) по ФИАС"
    },
    "cityFiasId": {
      "type": "string",
      "x-nullable": true,
      "description": "ID города по ФИАС"
    },
    "regionFiasId": {
      "type": "string",
      "x-nullable": true,
      "description": "ID региона по ФИАС"
    }
  }
},
"KaskoModificationViewModel_Person_Person_IdentityDocument": {
  "title": "KaskoModificationViewModel_Person_Person_IdentityDocument",
  "additionalItems": false,
  "additionalProperties": false,
  "properties": {
    "series": {
      "type": "string",
      "description": "Серия"
    },
    "number": {
      "type": "string",
      "description": "Номер"
    },
    "unitCode": {
      "type": "string",
      "description": "Код подразделения"
    },
    "dateIssue": {
      "type": "string",
      "description": "Дата выдачи",
      "typeDetails": "DateTime",
      "pattern": "^\\d{2}\\.\\d{2}\\.\\d{4}$",
      "format": "dd.MM.yyyy"
    },
    "issuedBy": {
      "type": "string",
      "description": "Кем выдан"
    },
    "identityDocumentTypeCode": {
      "type": "string",
      "description": "Тип документа"
    },
    "citizenshipCode": {
      "type": "string",
      "description": "Код гражданства"
    }
  }
},
"KaskoModificationViewModel_Auto": {
  "title": "KaskoModificationViewModel_Auto",
  "additionalItems": false,
  "additionalProperties": false,
  "properties": {
    "id": {
      "title": "Id",
      "type": "integer",
      "x-nullable": true,
      "description": "Номер объекта сделки"
    },
    "type": {
      "title": "Type",
      "type": "string",
      "x-nullable": true,
      "description": "Тип объекта сделки"
    },
    "auto": {
      "title": "Auto",
      "type": [
        "null",
        "object"
      ],
      "x-nullable": true,
      "$ref": "#/definitions/KaskoModificationViewModel_Auto_Auto",
      "description": "Транспортное средство"
    }
  },
  "required": [ "id", "type" ]
},
"KaskoModificationViewModel_Deal_Packet_Field": {
  "title": "KaskoModificationViewModel_Deal_Packet_Field",
  "additionalItems": false,
  "additionalProperties": false,
  "properties": {
    "name": {
      "title": "Name",
      "type": "string",
      "x-nullable": true,
      "description": "Наименование"
    },
    "code": {
      "title": "Code",
      "type": "string",
      "x-nullable": true,
      "description": "Код"
    },
    "structId": {
      "title": "StructId",
      "type": "integer",
      "x-nullable": true,
      "description": "structId"
    },
    "availableValue": {
      "title": "AvailableValue",
      "type": "string",
      "x-nullable": true,
      "description": "Стоимость"
    }
  },
  "required": []
},
"KaskoModificationViewModel_Deal_Packet_Franchises": {
  "title": "KaskoModificationViewModel_Deal_Packet_Franchises",
  "additionalItems": false,
  "additionalProperties": false,
  "properties": {
    "name": {
      "title": "Name",
      "type": "string",
      "x-nullable": true,
      "description": "Наименование"
    },
    "code": {
      "title": "Code",
      "type": "string",
      "x-nullable": true,
      "description": "Код"
    },
    "structId": {
      "title": "StructId",
      "type": "integer",
      "x-nullable": true,
      "description": "structId"
    },
    "selectedSum": {
      "title": "SelectedSum",
      "type": "string",
      "x-nullable": true,
      "description": "Стоимость"
    }
  },
  "required": []
},
"KaskoModificationViewModel_Deal_Packet": {
  "title": "KaskoModificationViewModel_Deal_Packet",
  "additionalItems": false,
  "additionalProperties": false,
  "properties": {
    "risks": {
      "title": "Risks",
      "type": [
        "array",
        "null"
      ],
      "items": {
        "x-nullable": true,
        "additionalItems": false,
        "additionalProperties": false,
        "$ref": "#/definitions/KaskoModificationViewModel_Deal_Packet_Field"
      },
      "description": "Риски"
    },
    "options": {
      "title": "Options",
      "type": [
        "array",
        "null"
      ],
      "items": {
        "x-nullable": true,
        "additionalItems": false,
        "additionalProperties": false,
        "$ref": "#/definitions/KaskoModificationViewModel_Deal_Packet_Field"
      },
      "description": "Опции"
    },
    "franchises": {
      "title": "Franchises",
      "type": [
        "array",
        "null"
      ],
      "items": {
        "x-nullable": true,
        "additionalItems": false,
        "additionalProperties": false,
        "$ref": "#/definitions/KaskoModificationViewModel_Deal_Packet_Franchises"
      },
      "description": "Франшизы"
    },
    "coverages": {
      "title": "Coverages",
      "type": [
        "array",
        "null"
      ],
      "items": {
        "x-nullable": true,
        "additionalItems": false,
        "additionalProperties": false,
        "$ref": "#/definitions/KaskoModificationViewModel_Deal_Packet_Field"
      },
      "description": "Покрытия"
    }
  }
},
"KaskoModificationViewModel_Auto_Auto": {
  "title": "KaskoModificationViewModel_Auto_Auto",
  "additionalItems": false,
  "additionalProperties": false,
  "properties": {
    "brand": {
      "type": "string",
      "description": "Код марки"
    },
    "model": {
      "type": "string",
      "description": "Модель"
    },
    "vin": {
      "type": "string",
      "description": "Номер VIN"
    },
    "yearOfIssueCode": {
      "type": "string",
      "description": "Год выпуска (строкой)"
    },
    "originalKeysAmount": {
      "type": "integer",
      "description": "Количество ключей"
    },
    "bodyNumber": {
      "type": "string",
      "description": "Номер кузова"
    },
    "chassisNumber": {
      "type": "string",
      "description": "Номер шасси"
    },
    "regNumber": {
      "type": "string",
      "description": "Регистрационный номер"
    },
    "enginePowerCode": {
      "type": "string",
      "description": "Мощность двигателя (строкой)"
    },
    "engineTypeCode": {
      "type": "string",
      "description": "Тип двигателя"
    },
    "transmissionTypeCode": {
      "type": "string",
      "description": "Тип коробки передач"
    },
    "hasAutostart": {
      "type": "boolean",
      "description": "Автозапуск"
    },
    "tsIdentityCard": {
      "title": "TsIdentityCard",
      "type": [
        "null",
        "object"
      ],
      "x-nullable": true,
      "$ref": "#/definitions/KaskoModificationViewModel_Auto_Auto_TsIdentityCard",
      "description": "Документ транспортного средства"
    }
  }
},
"KaskoModificationViewModel_Auto_Auto_TsIdentityCard": {
  "title": "KaskoModificationViewModel_Auto_Auto_TsIdentityCard",
  "additionalItems": false,
  "additionalProperties": false,
  "properties": {
    "series": {
      "type": "string",
      "description": "Серия"
    },
    "number": {
      "type": "string",
      "description": "Номер"
    },
    "dateOfIssued": {
      "type": "string",
      "description": "Дата выдачи",
      "typeDetails": "DateTime",
      "pattern": "^\\d{2}\\.\\d{2}\\.\\d{4}$",
      "format": "dd.MM.yyyy"
    },
    "tsIdentityCardTypeCode": {
      "type": "string",
      "description": "Код типа документа"
    },
    "isTheftDocuments": {
      "title": "IsTheftDocuments",
      "type": "boolean",
      "x-nullable": true,
      "description": "Кража документов"
    }
  }
}
},
"examples": {
}
}

Мне надо добавить новые поля в схему запроса

model.deal.minimalAge - number Минимальный возвраст
model.deal.minimalDrivingExperience - number Минимальный стаж
model.deal.auto.autoCost - number Стоимость авто
model.deal.auto.purposeOfUsingCode - string Цель использования ТС
model.deal.auto.inCredit - boolean В кредите
model.deal.auto.bankOfCredit - string Банк кредитор
model.deal.auto.bankOfCreditBik - string БИК банка кредитора
model.deal.auto.replacingLocks - boolean Замена личинок замков
model.deal.auto.hasAntiTheftSystem - boolean Противоугонная система
model.deal.owner.Inn - string ИНН
model.deal.insurant.Inn - string ИНН
model.paymentSchedule - массив object Данные по платежам
model.paymentSchedule.number - string Номер платежа
model.paymentSchedule.sum - number($double) Сумма платежа
model.paymentSchedule.repaymentDate - string($dd.MM.yyyy) Дата, до которой необходимо совершить платёж