diff --git a/CHANGELOG.md b/CHANGELOG.md index 75e46bb..a149159 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver]. +## Unreleased + +### Added + +- Source `pledgors.registry` +- Fields with path `pledge_pledgors.*` + ## v5.25.0 ### Changed diff --git a/fields/default/fields_list.json b/fields/default/fields_list.json index 289ba0f..d82a96e 100644 --- a/fields/default/fields_list.json +++ b/fields/default/fields_list.json @@ -8793,5 +8793,295 @@ "fillable_by": [ "insurance.history.base" ] + }, + { + "path": "pledge_pledgors.date.update", + "description": "Одновременные залоги: Дата актуальности базы залогов", + "types": [ + "string" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.latest_pledgors[].name", + "description": "Одновременные залоги: Актуальный залогодатель, ФИО/название; для person маскируем, оставляем первые буквы и 5 звездочек", + "types": [ + "string" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.latest_pledgors[].type", + "description": "Одновременные залоги: Актуальный залогодатель, тип участника", + "types": [ + "string" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.latest_pledgors[].dob", + "description": "Одновременные залоги: Актуальный залогодатель, дата рождения; для person маскируем, оставляем первые 3 цифры, остальное звездочки", + "types": [ + "string" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.latest_pledgors[].tin", + "description": "Одновременные залоги: Актуальный залогодатель, ИНН", + "types": [ + "string" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.latest_pledgors[].is_multi_pledgor", + "description": "Одновременные залоги: Актуальный залогодатель, является ли наборщиком", + "types": [ + "boolean" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.multi_pledged_vehicles[].identifiers.vin", + "description": "Одновременные залоги: ТС наборщика в нескольких залогах, VIN", + "types": [ + "string" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.multi_pledged_vehicles[].identifiers.body", + "description": "Одновременные залоги: ТС наборщика в нескольких залогах, номер кузова", + "types": [ + "string" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.multi_pledged_vehicles[].identifiers.chassis", + "description": "Одновременные залоги: ТС наборщика в нескольких залогах, номер шасси", + "types": [ + "string" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.multi_pledged_vehicles[].identifiers.pin", + "description": "Одновременные залоги: ТС наборщика в нескольких залогах, PIN", + "types": [ + "string" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.items[].pledgors[].name", + "description": "Одновременные залоги: Залогодатель, ФИО/название; для person маскируем, оставляем первые буквы и 5 звездочек", + "types": [ + "string" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.items[].pledgors[].type", + "description": "Одновременные залоги: Залогодатель, тип участника", + "types": [ + "string" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.items[].pledgors[].dob", + "description": "Одновременные залоги: Залогодатель, дата рождения; для person маскируем, оставляем первые 3 цифры, остальное звездочки", + "types": [ + "string" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.items[].pledgors[].tin", + "description": "Одновременные залоги: Залогодатель, ИНН", + "types": [ + "string" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.items[].pledgors[].is_multi_pledgor", + "description": "Одновременные залоги: Залогодатель, является ли наборщиком", + "types": [ + "boolean" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.items[].pledgees[].name", + "description": "Одновременные залоги: Залогодержатель, ФИО/название", + "types": [ + "string" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.items[].pledgees[].type", + "description": "Одновременные залоги: Залогодержатель, тип участника", + "types": [ + "string" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.items[].pledgees[].dob", + "description": "Одновременные залоги: Залогодержатель, дата рождения", + "types": [ + "string" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.items[].pledgees[].tin", + "description": "Одновременные залоги: Залогодержатель, ИНН", + "types": [ + "string" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.items[].pledgees[].is_multi_pledgor", + "description": "Одновременные залоги: Залогодержатель, является ли наборщиком", + "types": [ + "boolean" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.items[].vehicle[].identifiers.vin", + "description": "Одновременные залоги: Субъект залога ТС, VIN", + "types": [ + "string" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.items[].vehicle[].identifiers.body", + "description": "Одновременные залоги: Субъект залога ТС, номер кузова", + "types": [ + "string" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.items[].vehicle[].identifiers.chassis", + "description": "Одновременные залоги: Субъект залога ТС, номер шасси", + "types": [ + "string" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.items[].vehicle[].identifiers.pin", + "description": "Одновременные залоги: Субъект залога ТС, PIN", + "types": [ + "string" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.items[].vehicle[].date.from", + "description": "Одновременные залоги: Субъект залога ТС, когда ТС впервые попало в залог", + "types": [ + "string" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.items[].pledge_histories[].date", + "description": "Одновременные залоги: История уведомления, дата", + "types": [ + "string" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.items[].pledge_histories[].type", + "description": "Одновременные залоги: История уведомления, тип", + "types": [ + "string" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.items[].pledge_histories[].type_description", + "description": "Одновременные залоги: История уведомления, описание", + "types": [ + "string" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + { + "path": "pledge_pledgors.items[].pledge_histories[].refrence_number", + "description": "Одновременные залоги: История уведомления, uid", + "types": [ + "string" + ], + "fillable_by": [ + "pledgors.registry" + ] } -] +] \ No newline at end of file diff --git a/reports/default/examples/empty.json b/reports/default/examples/empty.json index f16c6e8..bb3422d 100644 --- a/reports/default/examples/empty.json +++ b/reports/default/examples/empty.json @@ -903,6 +903,73 @@ }, "count": 1 }, + "pledge_pledgors": { + "date": { + "update": null + }, + "latest_pledgors": [ + { + "name": null, + "type": null, + "dob": null, + "tin": null, + "is_multi_pledgor": null + } + ], + "multi_pledged_vehicles": [ + { + "identifiers": { + "vin": null, + "body": null, + "chassis": null, + "pin": null + } + } + ], + "items": [ + { + "pledgors": [ + { + "name": null, + "type": null, + "dob": null, + "tin": null, + "is_multi_pledgor": null + } + ], + "pledgees": [ + { + "name": null, + "type": null, + "dob": null, + "tin": null, + "is_multi_pledgor": null + } + ], + "vehicle": [ + { + "identifiers": { + "vin": null, + "body": null, + "chassis": null, + "pin": null + }, + "date": { + "from": null + } + } + ], + "pledge_histories": [ + { + "date": null, + "type": null, + "type_description": null, + "refrence_number": null + } + ] + } + ] + }, "insurance": { "osago": { "items": [ @@ -2290,4 +2357,4 @@ "update": null } } -} +} \ No newline at end of file diff --git a/reports/default/examples/full.json b/reports/default/examples/full.json index 139a61a..c13d866 100644 --- a/reports/default/examples/full.json +++ b/reports/default/examples/full.json @@ -1165,6 +1165,73 @@ }, "count": 1 }, + "pledge_pledgors": { + "date": { + "update": "2026-06-21 00:00:00" + }, + "latest_pledgors": [ + { + "name": "К Е Б*****", + "type": "person", + "dob": "195*******", + "tin": null, + "is_multi_pledgor": false + } + ], + "multi_pledged_vehicles": [ + { + "identifiers": { + "vin": "XTC652200B1198533", + "body": null, + "chassis": null, + "pin": null + } + } + ], + "items": [ + { + "pledgors": [ + { + "name": "К Е Б*****", + "type": "person", + "dob": "195*******", + "tin": null, + "is_multi_pledgor": false + } + ], + "pledgees": [ + { + "name": "Общество с ограниченной ответственностью \"Русфинанс банк\"", + "type": "org", + "dob": null, + "tin": "5012003647", + "is_multi_pledgor": null + } + ], + "vehicle": [ + { + "identifiers": { + "vin": "Z6F4XXEEC4JT51437", + "body": null, + "chassis": null, + "pin": null + }, + "date": { + "from": "2018-08-14T15:45:00" + } + } + ], + "pledge_histories": [ + { + "date": "2018-08-14", + "type": "Возникновение", + "type_description": "Возникновение залога", + "refrence_number": "2018-002-540478-465" + } + ] + } + ] + }, "insurance": { "osago": { "items": [ @@ -2627,4 +2694,4 @@ "update": "2023-08-09 00:00:00" } } -} +} \ No newline at end of file diff --git a/reports/default/json-schema.json b/reports/default/json-schema.json index 222d044..7b7cb9d 100644 --- a/reports/default/json-schema.json +++ b/reports/default/json-schema.json @@ -7219,6 +7219,409 @@ } } }, + "pledge_pledgors": { + "type": "object", + "additionalProperties": false, + "description": "Реестр наборщиков залоговых ТС", + "properties": { + "date": { + "type": "object", + "additionalProperties": false, + "properties": { + "update": { + "description": "Дата актуальности базы залогов", + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/definitions/datetime" + } + ], + "examples": [ + "2026-06-21 00:00:00" + ], + "fillable_by": [ + "pledgors.registry" + ] + } + } + }, + "latest_pledgors": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": false, + "properties": { + "name": { + "description": "Актуальный залогодатель, ФИО/название", + "type": [ + "string", + "null" + ], + "examples": [ + "К Е Б*****" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + "type": { + "description": "Актуальный залогодатель, тип участника", + "type": [ + "string", + "null" + ], + "examples": [ + "person" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + "dob": { + "description": "Актуальный залогодатель, дата рождения", + "type": [ + "string", + "null" + ], + "examples": [ + "195*******" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + "tin": { + "description": "Актуальный залогодатель, ИНН", + "type": [ + "string", + "null" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + "is_multi_pledgor": { + "description": "Актуальный залогодатель, является ли наборщиком", + "type": [ + "boolean", + "null" + ], + "examples": [ + false + ], + "fillable_by": [ + "pledgors.registry" + ] + } + } + } + }, + "multi_pledged_vehicles": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": false, + "properties": { + "identifiers": { + "type": "object", + "additionalProperties": false, + "properties": { + "vin": { + "description": "ТС наборщика в нескольких залогах, VIN", + "type": [ + "string", + "null" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + "body": { + "description": "ТС наборщика в нескольких залогах, номер кузова", + "type": [ + "string", + "null" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + "chassis": { + "description": "ТС наборщика в нескольких залогах, номер шасси", + "type": [ + "string", + "null" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + "pin": { + "description": "ТС наборщика в нескольких залогах, PIN", + "type": [ + "string", + "null" + ], + "fillable_by": [ + "pledgors.registry" + ] + } + } + } + } + } + }, + "items": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": false, + "properties": { + "pledgors": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": false, + "properties": { + "name": { + "description": "Залогодатель, ФИО/название", + "type": [ + "string", + "null" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + "type": { + "description": "Залогодатель, тип участника", + "type": [ + "string", + "null" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + "dob": { + "description": "Залогодатель, дата рождения", + "type": [ + "string", + "null" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + "tin": { + "description": "Залогодатель, ИНН", + "type": [ + "string", + "null" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + "is_multi_pledgor": { + "description": "Залогодатель, является ли наборщиком", + "type": [ + "boolean", + "null" + ], + "fillable_by": [ + "pledgors.registry" + ] + } + } + } + }, + "pledgees": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": false, + "properties": { + "name": { + "description": "Залогодержатель, ФИО/название", + "type": [ + "string", + "null" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + "type": { + "description": "Залогодержатель, тип участника", + "type": [ + "string", + "null" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + "dob": { + "description": "Залогодержатель, дата рождения", + "type": [ + "string", + "null" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + "tin": { + "description": "Залогодержатель, ИНН", + "type": [ + "string", + "null" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + "is_multi_pledgor": { + "description": "Залогодержатель, является ли наборщиком", + "type": [ + "boolean", + "null" + ], + "fillable_by": [ + "pledgors.registry" + ] + } + } + } + }, + "vehicle": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": false, + "properties": { + "identifiers": { + "type": "object", + "additionalProperties": false, + "properties": { + "vin": { + "description": "Субъект залога ТС, VIN", + "type": [ + "string", + "null" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + "body": { + "description": "Субъект залога ТС, номер кузова", + "type": [ + "string", + "null" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + "chassis": { + "description": "Субъект залога ТС, номер шасси", + "type": [ + "string", + "null" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + "pin": { + "description": "Субъект залога ТС, PIN", + "type": [ + "string", + "null" + ], + "fillable_by": [ + "pledgors.registry" + ] + } + } + }, + "date": { + "type": "object", + "additionalProperties": false, + "properties": { + "from": { + "description": "Субъект залога ТС, когда ТС впервые попало в залог", + "type": [ + "string", + "null" + ], + "fillable_by": [ + "pledgors.registry" + ] + } + } + } + } + } + }, + "pledge_histories": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": false, + "properties": { + "date": { + "description": "История уведомления, дата", + "type": [ + "string", + "null" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + "type": { + "description": "История уведомления, тип", + "type": [ + "string", + "null" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + "type_description": { + "description": "История уведомления, описание", + "type": [ + "string", + "null" + ], + "fillable_by": [ + "pledgors.registry" + ] + }, + "refrence_number": { + "description": "История уведомления, uid", + "type": [ + "string", + "null" + ], + "fillable_by": [ + "pledgors.registry" + ] + } + } + } + } + } + } + } + } + }, "insurance": { "type": "object", "additionalProperties": false, @@ -16896,4 +17299,4 @@ } } } -} +} \ No newline at end of file diff --git a/sources/default/sources_list.json b/sources/default/sources_list.json index 17d830f..b05a3a6 100644 --- a/sources/default/sources_list.json +++ b/sources/default/sources_list.json @@ -338,5 +338,10 @@ "name": "insurance.history.base", "description": "История страхования", "enabled": true + }, + { + "name": "pledgors.registry", + "description": "Реестр наборщиков залоговых ТС", + "enabled": true } ]