From 515dae9a2a7f9e1e913136bb88805c963d75ea8b Mon Sep 17 00:00:00 2001 From: Vadim Abzalov Date: Thu, 18 Jun 2026 13:14:44 +0500 Subject: [PATCH] Fixed Consistency --- CHANGELOG.md | 6 + fields/default/fields_list.json | 38 +++--- reports/default/json-schema.json | 210 ++++++++++++++++++++++++------- 3 files changed, 187 insertions(+), 67 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d03a5d..dbc2fcd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ 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 + +### Fixed + +- Consistency [json-schema.json](reports/default/json-schema.json) and [fields_list.json](fields/default/fields_list.json) + ## v5.24.0 ### Added diff --git a/fields/default/fields_list.json b/fields/default/fields_list.json index fb07205..289ba0f 100644 --- a/fields/default/fields_list.json +++ b/fields/default/fields_list.json @@ -8611,7 +8611,7 @@ "string" ], "fillable_by": [ - "insurance.history" + "insurance.history.base" ] }, { @@ -8621,7 +8621,7 @@ "string" ], "fillable_by": [ - "insurance.history" + "insurance.history.base" ] }, { @@ -8631,7 +8631,7 @@ "string" ], "fillable_by": [ - "insurance.history" + "insurance.history.base" ] }, { @@ -8641,7 +8641,7 @@ "string" ], "fillable_by": [ - "insurance.history" + "insurance.history.base" ] }, { @@ -8651,7 +8651,7 @@ "object" ], "fillable_by": [ - "insurance.history" + "insurance.history.base" ] }, { @@ -8661,7 +8661,7 @@ "object" ], "fillable_by": [ - "insurance.history" + "insurance.history.base" ] }, { @@ -8671,7 +8671,7 @@ "string" ], "fillable_by": [ - "insurance.history" + "insurance.history.base" ] }, { @@ -8681,7 +8681,7 @@ "string" ], "fillable_by": [ - "insurance.history" + "insurance.history.base" ] }, { @@ -8691,7 +8691,7 @@ "string" ], "fillable_by": [ - "insurance.history" + "insurance.history.base" ] }, { @@ -8701,7 +8701,7 @@ "string" ], "fillable_by": [ - "insurance.history" + "insurance.history.base" ] }, { @@ -8711,7 +8711,7 @@ "string" ], "fillable_by": [ - "insurance.history" + "insurance.history.base" ] }, { @@ -8721,7 +8721,7 @@ "string" ], "fillable_by": [ - "insurance.history" + "insurance.history.base" ] }, { @@ -8731,7 +8731,7 @@ "string" ], "fillable_by": [ - "insurance.history" + "insurance.history.base" ] }, { @@ -8741,7 +8741,7 @@ "object" ], "fillable_by": [ - "insurance.history" + "insurance.history.base" ] }, { @@ -8751,7 +8751,7 @@ "object" ], "fillable_by": [ - "insurance.history" + "insurance.history.base" ] }, { @@ -8761,7 +8761,7 @@ "string" ], "fillable_by": [ - "insurance.history" + "insurance.history.base" ] }, { @@ -8771,7 +8771,7 @@ "string" ], "fillable_by": [ - "insurance.history" + "insurance.history.base" ] }, { @@ -8781,7 +8781,7 @@ "string" ], "fillable_by": [ - "insurance.history" + "insurance.history.base" ] }, { @@ -8791,7 +8791,7 @@ "string" ], "fillable_by": [ - "insurance.history" + "insurance.history.base" ] } ] diff --git a/reports/default/json-schema.json b/reports/default/json-schema.json index 1b985af..222d044 100644 --- a/reports/default/json-schema.json +++ b/reports/default/json-schema.json @@ -2264,7 +2264,7 @@ ], "minimum": 0, "examples": [ - 100.0 + 100 ], "fillable_by": [ "references.transdekra" @@ -2484,7 +2484,7 @@ "null" ], "examples": [ - 180.0 + 180 ], "fillable_by": [ "references.rsa" @@ -2499,7 +2499,7 @@ "null" ], "examples": [ - 1800.0 + 1800 ], "fillable_by": [ "references.rsa" @@ -2841,7 +2841,7 @@ "null" ], "examples": [ - 104.0 + 104 ], "fillable_by": [] }, @@ -2852,7 +2852,7 @@ "null" ], "examples": [ - 77.0 + 77 ], "fillable_by": [] } @@ -2865,7 +2865,7 @@ "null" ], "examples": [ - 1800.0 + 1800 ], "fillable_by": [] } @@ -4241,7 +4241,7 @@ "null" ], "examples": [ - 4200.0 + 4200 ], "fillable_by": [ "fines.base", @@ -4257,7 +4257,7 @@ "null" ], "examples": [ - 4200.0 + 4200 ], "fillable_by": [ "fines.base", @@ -4281,7 +4281,7 @@ "null" ], "examples": [ - 50.0 + 50 ], "minimum": 0, "fillable_by": [ @@ -8780,16 +8780,34 @@ "type": "object", "properties": { "body": { - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ], + "description": "История страхования ОСАГО: Номер кузова ТС", + "fillable_by": [ + "insurance.history.base" + ] }, "chassis": { - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ], + "description": "История страхования ОСАГО: Номер шасси ТС", + "fillable_by": [ + "insurance.history.base" + ] }, "vin": { - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ], + "description": "История страхования ОСАГО: VIN ТС", + "fillable_by": [ + "insurance.history.base" + ] } } } @@ -8804,28 +8822,64 @@ "type": "object", "properties": { "last_name": { - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ], + "description": "История страхования ОСАГО: Фамилия водителя", + "fillable_by": [ + "insurance.history.base" + ] }, "first_name": { - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ], + "description": "История страхования ОСАГО: Имя водителя", + "fillable_by": [ + "insurance.history.base" + ] }, "middle_name": { - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ], + "description": "История страхования ОСАГО: Отчество водителя", + "fillable_by": [ + "insurance.history.base" + ] }, "dob": { - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ], + "description": "История страхования ОСАГО: Дата рождения водителя", + "fillable_by": [ + "insurance.history.base" + ] }, "country_info": { - "type": "object", - "nullable": true + "type": [ + "object", + "null" + ], + "description": "История страхования ОСАГО: Страна водительского удостоверения", + "fillable_by": [ + "insurance.history.base" + ] }, "doc_type_info": { - "type": "object", - "nullable": true + "type": [ + "object", + "null" + ], + "description": "История страхования ОСАГО: Тип водительского удостоверения", + "fillable_by": [ + "insurance.history.base" + ] } } } @@ -9340,8 +9394,14 @@ ] }, "address": { - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ], + "description": "История страхования КАСКО: Адрес страхового случая", + "fillable_by": [ + "insurance.history.base" + ] } } }, @@ -9599,8 +9659,14 @@ "type": "object", "properties": { "name": { - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ], + "description": "История страхования КАСКО: Наименование типа ущерба", + "fillable_by": [ + "insurance.history.base" + ] } } } @@ -9616,8 +9682,14 @@ "type": "object", "properties": { "name": { - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ], + "description": "История страхования КАСКО: Наименование поврежденной части ТС", + "fillable_by": [ + "insurance.history.base" + ] } } } @@ -9793,8 +9865,14 @@ ] }, "type": { - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ], + "description": "История страхования КАСКО: Код типа риска", + "fillable_by": [ + "insurance.history.base" + ] } } } @@ -9820,28 +9898,64 @@ "type": "object", "properties": { "last_name": { - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ], + "description": "История страхования КАСКО: Фамилия водителя", + "fillable_by": [ + "insurance.history.base" + ] }, "first_name": { - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ], + "description": "История страхования КАСКО: Имя водителя", + "fillable_by": [ + "insurance.history.base" + ] }, "middle_name": { - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ], + "description": "История страхования КАСКО: Отчество водителя", + "fillable_by": [ + "insurance.history.base" + ] }, "dob": { - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ], + "description": "История страхования КАСКО: Дата рождения водителя", + "fillable_by": [ + "insurance.history.base" + ] }, "country_info": { - "type": "object", - "nullable": true + "type": [ + "object", + "null" + ], + "description": "История страхования КАСКО: Страна водительского удостоверения", + "fillable_by": [ + "insurance.history.base" + ] }, "doc_type_info": { - "type": "object", - "nullable": true + "type": [ + "object", + "null" + ], + "description": "История страхования КАСКО: Тип водительского удостоверения", + "fillable_by": [ + "insurance.history.base" + ] } } } @@ -16593,7 +16707,7 @@ "null" ], "examples": [ - 130.0 + 130 ], "fillable_by": [ "fssp.base.executive"