diff --git a/CHANGELOG.md b/CHANGELOG.md index 79a9a39..ed0aded 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,16 @@ 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 `insurance.antifraud.probability.score` +- Field with path `insurance_antifraud_scores.pre_insurance_osago.victim_score.value` +- Field with path `insurance_antifraud_scores.pre_insurance_osago.guilty_score.value` +- Field with path `insurance_antifraud_scores.pre_insurance_osago.fraud_category_segmentations.value` +- Field with path `insurance_antifraud_scores.pre_insurance_osago.fraud_category_segmentations.reason` + ## v5.13.0 ### Changed diff --git a/fields/default/fields_list.json b/fields/default/fields_list.json index 5f273d7..af9cf91 100644 --- a/fields/default/fields_list.json +++ b/fields/default/fields_list.json @@ -2214,6 +2214,46 @@ "insurance.event.probability.score" ] }, + { + "path": "insurance_antifraud_scores.pre_insurance_osago.victim_score.value", + "description": "Предстраховой антифрод: Результат предсказания модели предстрахового антифрода для потерпевшего", + "types": [ + "float" + ], + "fillable_by": [ + "insurance.antifraud.probability.score" + ] + }, + { + "path": "insurance_antifraud_scores.pre_insurance_osago.guilty_score.value", + "description": "Предстраховой антифрод: Результат предсказания модели предстрахового антифрода для виновника", + "types": [ + "float" + ], + "fillable_by": [ + "insurance.antifraud.probability.score" + ] + }, + { + "path": "insurance_antifraud_scores.pre_insurance_osago.fraud_category_segmentations.value", + "description": "Предстраховой антифрод: Значение сегмента «Категория фрода»", + "types": [ + "string" + ], + "fillable_by": [ + "insurance.antifraud.probability.score" + ] + }, + { + "path": "insurance_antifraud_scores.pre_insurance_osago.fraud_category_segmentations.reason", + "description": "Предстраховой антифрод: Причина присвоения категории", + "types": [ + "string" + ], + "fillable_by": [ + "insurance.antifraud.probability.score" + ] + }, { "path": "calculate.tax.moscow.yearly.amount", "description": "Калькулятор налога: Сумма налога за 12 месяцев (для Москвы)", diff --git a/reports/default/examples/empty.json b/reports/default/examples/empty.json index 7c7112d..aecdb91 100644 --- a/reports/default/examples/empty.json +++ b/reports/default/examples/empty.json @@ -1022,6 +1022,20 @@ "value": null } }, + "insurance_antifraud_scores": { + "pre_insurance_osago": { + "victim_score": { + "value": null + }, + "guilty_score": { + "value": null + }, + "fraud_category_segmentations": { + "value": null, + "reason": null + } + } + }, "accidents": { "statistics": { "date": { diff --git a/reports/default/examples/full.json b/reports/default/examples/full.json index 850740a..9b0f15e 100644 --- a/reports/default/examples/full.json +++ b/reports/default/examples/full.json @@ -1284,6 +1284,20 @@ "value": 0.066888586 } }, + "insurance_antifraud_scores": { + "pre_insurance_osago": { + "victim_score": { + "value": 3.21 + }, + "guilty_score": { + "value": 1.23 + }, + "fraud_category_segmentations": { + "value": "GREEN", + "reason": "Low probability of fraud" + } + } + }, "accidents": { "statistics": { "date": { diff --git a/reports/default/json-schema.json b/reports/default/json-schema.json index 2b5bd2b..08f9541 100644 --- a/reports/default/json-schema.json +++ b/reports/default/json-schema.json @@ -8192,6 +8192,90 @@ } } }, + "insurance_antifraud_scores": { + "type": "object", + "additionalProperties": false, + "description": "Предстраховой антифрод", + "properties": { + "pre_insurance_osago": { + "type": "object", + "additionalProperties": false, + "properties": { + "victim_score": { + "type": "object", + "additionalProperties": false, + "properties": { + "value": { + "description": "Результат предсказания модели предстрахового антифрода для потерпевшего", + "type": [ + "number", + "null" + ], + "examples": [ + 3.21 + ], + "fillable_by": [ + "insurance.antifraud.probability.score" + ] + } + } + }, + "guilty_score": { + "type": "object", + "additionalProperties": false, + "properties": { + "value": { + "description": "Результат предсказания модели предстрахового антифрода для виновника", + "type": [ + "number", + "null" + ], + "examples": [ + 1.23 + ], + "fillable_by": [ + "insurance.antifraud.probability.score" + ] + } + } + }, + "fraud_category_segmentations": { + "type": "object", + "additionalProperties": false, + "properties": { + "value": { + "description": "Значение сегмента «Категория фрода»", + "type": [ + "string", + "null" + ], + "examples": [ + "RED", + "GREEN" + ], + "fillable_by": [ + "insurance.antifraud.probability.score" + ] + }, + "reason": { + "description": "Причина присвоения категории", + "type": [ + "string", + "null" + ], + "examples": [ + "Low probability of fraud" + ], + "fillable_by": [ + "insurance.antifraud.probability.score" + ] + } + } + } + } + } + } + }, "accidents": { "type": "object", "additionalProperties": false, @@ -8207,13 +8291,9 @@ "properties": { "update": { "description": "Дата обновления данных", - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/definitions/datetime" - } + "type": [ + "string", + "null" ], "examples": [ "2021-12-31 11:30:20" diff --git a/sources/default/sources_list.json b/sources/default/sources_list.json index becf601..a7a155c 100644 --- a/sources/default/sources_list.json +++ b/sources/default/sources_list.json @@ -318,5 +318,10 @@ "name": "ads.exposition", "description": "Время экспозиции объявлений", "enabled": true + }, + { + "name": "insurance.antifraud.probability.score", + "description": "Предстраховой антифрод", + "enabled": true } ]