diff --git a/CHANGELOG.md b/CHANGELOG.md index 452216d..94e34f8 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.10.0 ### Removed diff --git a/fields/default/fields_list.json b/fields/default/fields_list.json index c1978c9..1b4803c 100644 --- a/fields/default/fields_list.json +++ b/fields/default/fields_list.json @@ -7492,5 +7492,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 49459ea..e7feadd 100644 --- a/reports/default/examples/empty.json +++ b/reports/default/examples/empty.json @@ -1899,5 +1899,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 17797a6..1ec1ff2 100644 --- a/reports/default/examples/full.json +++ b/reports/default/examples/full.json @@ -2224,6 +2224,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 371cbda..4d0bf1c 100644 --- a/reports/default/json-schema.json +++ b/reports/default/json-schema.json @@ -14527,6 +14527,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 e6ff6c7..becf601 100644 --- a/sources/default/sources_list.json +++ b/sources/default/sources_list.json @@ -313,5 +313,10 @@ "name": "elpts.online", "description": "Данные по ЭПТС", "enabled": true + }, + { + "name": "ads.exposition", + "description": "Время экспозиции объявлений", + "enabled": true } ]