From b29a360c0284935097ad3cdb222d47b19ad79e1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Mon, 2 Mar 2020 00:12:24 +0100 Subject: [PATCH] new: Add covid19 dxy live object --- objects/covid19-dxy-live-city/definition.json | 49 +++++++++++++++++ .../covid19-dxy-live-province/definition.json | 55 +++++++++++++++++++ 2 files changed, 104 insertions(+) create mode 100644 objects/covid19-dxy-live-city/definition.json create mode 100644 objects/covid19-dxy-live-province/definition.json diff --git a/objects/covid19-dxy-live-city/definition.json b/objects/covid19-dxy-live-city/definition.json new file mode 100644 index 0000000..1a665b1 --- /dev/null +++ b/objects/covid19-dxy-live-city/definition.json @@ -0,0 +1,49 @@ +{ + "required": [ + "city", + "update" + ], + "attributes": { + "city": { + "description": "Name of the Chinese city, in Chinese.", + "ui-priority": 1, + "misp-attribute": "text", + "disable_correlation": true + }, + "update": { + "description": "Approximate time of the update (~hour)", + "ui-priority": 1, + "misp-attribute": "datetime", + "disable_correlation": true + }, + "current-confirmed": { + "description": "Current number of confirmed cases", + "ui-priority": 1, + "misp-attribute": "counter", + "disable_correlation": true + }, + "total-confirmed": { + "description": "Total number of confirmed cases.", + "misp-attribute": "counter", + "disable_correlation": true, + "ui-priority": 1 + }, + "total-cured": { + "description": "Total number of cured cases.", + "misp-attribute": "counter", + "disable_correlation": true, + "ui-priority": 1 + }, + "total-death": { + "description": "Total number of deaths.", + "misp-attribute": "counter", + "disable_correlation": true, + "ui-priority": 1 + } + }, + "version": 1, + "description": "COVID 19 from dxy.cn - Aggregation by city", + "meta-category": "health", + "uuid": "9132452b-f60a-41ac-a3b9-62701b85621b", + "name": "covid19-dxy-live-city" +} diff --git a/objects/covid19-dxy-live-province/definition.json b/objects/covid19-dxy-live-province/definition.json new file mode 100644 index 0000000..3bb3cf8 --- /dev/null +++ b/objects/covid19-dxy-live-province/definition.json @@ -0,0 +1,55 @@ +{ + "required": [ + "province", + "update" + ], + "attributes": { + "province": { + "description": "Name of the Chinese province, in Chinese.", + "ui-priority": 1, + "misp-attribute": "text", + "disable_correlation": true + }, + "update": { + "description": "Approximate time of the update (~hour)", + "ui-priority": 1, + "misp-attribute": "datetime", + "disable_correlation": true + }, + "current-confirmed": { + "description": "Current number of confirmed cases", + "ui-priority": 1, + "misp-attribute": "counter", + "disable_correlation": true + }, + "total-confirmed": { + "description": "Total number of confirmed cases.", + "misp-attribute": "counter", + "disable_correlation": true, + "ui-priority": 1 + }, + "total-cured": { + "description": "Total number of cured cases.", + "misp-attribute": "counter", + "disable_correlation": true, + "ui-priority": 1 + }, + "total-death": { + "description": "Total number of deaths.", + "misp-attribute": "counter", + "disable_correlation": true, + "ui-priority": 1 + }, + "comment": { + "description": "Comment, in chinese", + "misp-attribute": "text", + "disable_correlation": true, + "ui-priority": 1 + } + }, + "version": 1, + "description": "COVID 19 from dxy.cn - Aggregation by province", + "meta-category": "health", + "uuid": "40b49502-088b-44a5-80a7-0e55653f3ed4", + "name": "covid19-dxy-live-province" +}