From 02a50077a26d56ec0a1b408aa16aff4860e817c5 Mon Sep 17 00:00:00 2001 From: yurichechulin Date: Wed, 29 Oct 2025 13:18:04 +0500 Subject: [PATCH] Add pledges tin fields --- CHANGELOG.md | 7 ++++++ fields/default/fields_list.json | 22 ++++++++++++++++++ reports/default/examples/empty.json | 6 +++-- reports/default/examples/full.json | 6 +++-- reports/default/json-schema.json | 36 +++++++++++++++++++++++++++++ 5 files changed, 73 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f8c62b..3476f3e 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 + +- Field with path `pledges.items[].pledgors[].tin` +- Field with path `pledges.items[].pledgees[].tin` + ## v5.11.0 ### Added diff --git a/fields/default/fields_list.json b/fields/default/fields_list.json index 1b4803c..5f273d7 100644 --- a/fields/default/fields_list.json +++ b/fields/default/fields_list.json @@ -3514,6 +3514,17 @@ "pledge.house" ] }, + { + "path": "pledges.items[].pledgors[].tin", + "description": "Обременения на ТС: ИНН залогодателя", + "types": [ + "string" + ], + "fillable_by": [ + "pledge", + "pledge.house" + ] + }, { "path": "pledges.items[].pledgees[].name", "description": "Обременения на ТС: Имя залогодержателя [REFUSE, ЗАО ГлавЭлектро, ...]", @@ -3547,6 +3558,17 @@ "pledge.house" ] }, + { + "path": "pledges.items[].pledgees[].tin", + "description": "Обременения на ТС: ИНН залогодержателя", + "types": [ + "string" + ], + "fillable_by": [ + "pledge", + "pledge.house" + ] + }, { "path": "pledges.items[].data", "description": "Обременения на ТС: Дополнительные данные о залоге", diff --git a/reports/default/examples/empty.json b/reports/default/examples/empty.json index e7feadd..7c7112d 100644 --- a/reports/default/examples/empty.json +++ b/reports/default/examples/empty.json @@ -813,14 +813,16 @@ { "name": null, "type": null, - "dob": null + "dob": null, + "tin": null } ], "pledgees": [ { "name": null, "type": null, - "dob": null + "dob": null, + "tin": null } ], "pledge_managers": [ diff --git a/reports/default/examples/full.json b/reports/default/examples/full.json index 1ec1ff2..850740a 100644 --- a/reports/default/examples/full.json +++ b/reports/default/examples/full.json @@ -1031,14 +1031,16 @@ { "name": "Евгения Сергеевна Дроздова", "type": "PERSON", - "dob": "1983-08-31" + "dob": "1983-08-31", + "tin": "3664069397" } ], "pledgees": [ { "name": "ЗАО ГлавЭлектро", "type": "LEGAL", - "dob": null + "dob": null, + "tin": "3664069654" } ], "pledge_managers": [ diff --git a/reports/default/json-schema.json b/reports/default/json-schema.json index 4d0bf1c..2b5bd2b 100644 --- a/reports/default/json-schema.json +++ b/reports/default/json-schema.json @@ -6491,6 +6491,24 @@ "pledge", "pledge.house" ] + }, + "tin": { + "description": "ИНН залогодателя", + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/definitions/tin_code" + } + ], + "examples": [ + "1233423534" + ], + "fillable_by": [ + "pledge", + "pledge.house" + ] } } } @@ -6562,6 +6580,24 @@ "pledge", "pledge.house" ] + }, + "tin": { + "description": "ИНН залогодержателя", + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/definitions/tin_code" + } + ], + "examples": [ + "1233423534" + ], + "fillable_by": [ + "pledge", + "pledge.house" + ] } } }