Raw schema
{
"type": "object",
"properties": {
"service_id": {
"description": "ID услуги из list_services",
"title": "Service Id",
"type": "integer"
},
"purpose": {
"anyOf": [
{
"enum": [
"notarius",
"sud",
"opeka",
"bank",
"prodazha",
"strakh"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Цель оценки (на цену не влияет, влияет на документы)",
"title": "Purpose"
},
"visit": {
"anyOf": [
{
"enum": [
"visit_inside_mkad",
"visit_30km",
"visit_30_50km",
"visit_50km_plus"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Выезд оценщика; для ущерба игнорируется (включён)",
"title": "Visit"
},
"print_count": {
"default": 0,
"description": "Доп. печатные экземпляры сверх включённого",
"maximum": 5,
"minimum": 0,
"title": "Print Count",
"type": "integer"
},
"delivery": {
"default": false,
"description": "Доставка курьером в пределах МКАД (+700)",
"title": "Delivery",
"type": "boolean"
},
"loyal": {
"default": false,
"description": "Постоянный клиент (−10%)",
"title": "Loyal",
"type": "boolean"
},
"rooms": {
"default": 1,
"description": "Помещений (только ущерб от залива/пожара)",
"maximum": 20,
"minimum": 1,
"title": "Rooms",
"type": "integer"
},
"items": {
"default": 0,
"description": "Единиц повреждённого имущества (только ущерб)",
"maximum": 50,
"minimum": 0,
"title": "Items",
"type": "integer"
},
"source_id": {
"anyOf": [
{
"maxLength": 64,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Машинный идентификатор интеграции/кампании (НЕ ПД): [A-Za-z0-9._:-], до 64",
"title": "Source Id"
}
},
"required": [
"service_id"
],
"additionalProperties": false,
"description": "Параметры заявки: те же поля расчёта + опциональный машинный source_id.\nБез контакт-полей и без свободного текста — персональные данные через MCP не передаются.",
"title": "CreateLeadInput"
}