From feee03f728527d7602a3b5c488acd39fda969c20 Mon Sep 17 00:00:00 2001 From: yurichechulin Date: Thu, 16 Oct 2025 14:18:26 +0500 Subject: [PATCH] Ad ads.exposition source --- CHANGELOG.md | 11 ++++ fields/default/fields_list.json | 50 ++++++++++++++++++ reports/default/examples/empty.json | 9 ++++ reports/default/examples/full.json | 9 ++++ reports/default/json-schema.json | 81 +++++++++++++++++++++++++++++ sources/default/sources_list.json | 5 ++ 6 files changed, 165 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 56c6e68..7ffa853 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,17 @@ 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 `ads_exposition` +- Field with path `ads_exposition.min_seconds` +- Field with path `ads_exposition.max_seconds` +- Field with path `ads_exposition.avg_seconds` +- Field with path `ads_exposition.median_seconds` +- Field with path `ads_exposition.date.update` + ## v5.9.0 ### Added diff --git a/fields/default/fields_list.json b/fields/default/fields_list.json index 75c9e8b..a0d203f 100644 --- a/fields/default/fields_list.json +++ b/fields/default/fields_list.json @@ -7552,5 +7552,55 @@ "fillable_by": [ "fssp.base.executive" ] + }, + { + "path": "ads_exposition.min_seconds", + "description": "Время экспозиции объявлений: Минимальное время экспозиции", + "types": [ + "float" + ], + "fillable_by": [ + "ads.exposition" + ] + }, + { + "path": "ads_exposition.max_seconds", + "description": "Время экспозиции объявлений: Максимальное время экспозиции", + "types": [ + "float" + ], + "fillable_by": [ + "ads.exposition" + ] + }, + { + "path": "ads_exposition.avg_seconds", + "description": "Время экспозиции объявлений: Среднее время экспозиции", + "types": [ + "float" + ], + "fillable_by": [ + "ads.exposition" + ] + }, + { + "path": "ads_exposition.median_seconds", + "description": "Время экспозиции объявлений: Медианное время экспозиции", + "types": [ + "float" + ], + "fillable_by": [ + "ads.exposition" + ] + }, + { + "path": "ads_exposition.date.update", + "description": "Время экспозиции объявлений: Дата обновления данных", + "types": [ + "string" + ], + "fillable_by": [ + "ads.exposition" + ] } ] diff --git a/reports/default/examples/empty.json b/reports/default/examples/empty.json index e2f5b7b..c411ded 100644 --- a/reports/default/examples/empty.json +++ b/reports/default/examples/empty.json @@ -1919,5 +1919,14 @@ } ], "count": 1 + }, + "ads_exposition": { + "min_seconds": null, + "max_seconds": null, + "avg_seconds": null, + "median_seconds": null, + "date": { + "update": null + } } } diff --git a/reports/default/examples/full.json b/reports/default/examples/full.json index 3a54764..c549e22 100644 --- a/reports/default/examples/full.json +++ b/reports/default/examples/full.json @@ -2244,6 +2244,15 @@ } ], "count": 1 + }, + "ads_exposition": { + "min_seconds": 360000.4, + "max_seconds": 720000.15, + "avg_seconds": 540000.126, + "median_seconds": 670000.116, + "date": { + "update": "2023-08-09 00:00:00" + } } } diff --git a/reports/default/json-schema.json b/reports/default/json-schema.json index 649cc72..412a68a 100644 --- a/reports/default/json-schema.json +++ b/reports/default/json-schema.json @@ -14654,6 +14654,87 @@ "minimum": 0 } } + }, + "ads_exposition": { + "type": "object", + "additionalProperties": false, + "description": "Время экспозиции объявлений", + "properties": { + "min_seconds": { + "description": "Минимальное время экспозиции", + "type": [ + "number", + "null" + ], + "examples": [ + 176.9 + ], + "fillable_by": [ + "ads.exposition" + ] + }, + "max_seconds": { + "description": "Максимальное время экспозиции", + "type": [ + "number", + "null" + ], + "examples": [ + 176.9 + ], + "fillable_by": [ + "ads.exposition" + ] + }, + "avg_seconds": { + "description": "Среднее время экспозиции", + "type": [ + "number", + "null" + ], + "examples": [ + 176.9 + ], + "fillable_by": [ + "ads.exposition" + ] + }, + "median_seconds": { + "description": "Медианное время экспозиции", + "type": [ + "number", + "null" + ], + "examples": [ + 176.9 + ], + "fillable_by": [ + "ads.exposition" + ] + }, + "date": { + "type": "object", + "properties": { + "update": { + "description": "Дата обновления данных", + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/definitions/datetime" + } + ], + "examples": [ + "2019-11-14 12:10:00" + ], + "fillable_by": [ + "ads.exposition" + ] + } + } + } + } } } } diff --git a/sources/default/sources_list.json b/sources/default/sources_list.json index aa71753..9a5b948 100644 --- a/sources/default/sources_list.json +++ b/sources/default/sources_list.json @@ -318,5 +318,10 @@ "name": "elpts.online", "description": "Данные по ЭПТС", "enabled": true + }, + { + "name": "ads.exposition", + "description": "Время экспозиции объявлений", + "enabled": true } ]