From d84824b72d5a456966d04ed074720d046fe2fae8 Mon Sep 17 00:00:00 2001 From: VWSCoronaDashboard30 Date: Thu, 24 Aug 2023 11:53:41 +0200 Subject: [PATCH] feat(COR-1765): Schema corrections --- packages/app/schema/nl/__difference.json | 4 ++-- packages/app/schema/nl/hospital_lcps.json | 12 ++++++++++-- packages/app/schema/nl/intensive_care_lcps.json | 12 ++++++++++-- 3 files changed, 22 insertions(+), 6 deletions(-) diff --git a/packages/app/schema/nl/__difference.json b/packages/app/schema/nl/__difference.json index b3b62077af..0f9a5ff65e 100644 --- a/packages/app/schema/nl/__difference.json +++ b/packages/app/schema/nl/__difference.json @@ -10,13 +10,13 @@ "$ref": "#/definitions/diff_decimal" }, "hospital_lcps__beds_occupied_covid": { - "$ref": "#/definitions/diff_integer" + "$ref": "#/definitions/diff_decimal" }, "intensive_care_nice__admissions_on_date_of_reporting_moving_average": { "$ref": "#/definitions/diff_decimal" }, "intensive_care_lcps__beds_occupied_covid": { - "$ref": "#/definitions/diff_integer" + "$ref": "#/definitions/diff_decimal" }, "sewer__average": { "$ref": "#/definitions/diff_integer" diff --git a/packages/app/schema/nl/hospital_lcps.json b/packages/app/schema/nl/hospital_lcps.json index cdc1124ad9..7ad2316f60 100644 --- a/packages/app/schema/nl/hospital_lcps.json +++ b/packages/app/schema/nl/hospital_lcps.json @@ -24,7 +24,7 @@ "type": ["integer", "null"] }, "beds_occupied_covid_moving_average": { - "type": ["integer", "null"] + "type": ["number", "null"] }, "influx_covid_patients": { "type": ["integer", "null"] @@ -37,6 +37,12 @@ }, "date_of_insertion_unix": { "type": "integer" + }, + "date_start_unix": { + "type": "integer" + }, + "date_end_unix": { + "type": "integer" } }, "required": [ @@ -45,7 +51,9 @@ "influx_covid_patients", "influx_covid_patients_moving_average", "date_unix", - "date_of_insertion_unix" + "date_of_insertion_unix", + "date_start_unix", + "date_end_unix" ], "additionalProperties": false } diff --git a/packages/app/schema/nl/intensive_care_lcps.json b/packages/app/schema/nl/intensive_care_lcps.json index 1d1894d741..016cf4f828 100644 --- a/packages/app/schema/nl/intensive_care_lcps.json +++ b/packages/app/schema/nl/intensive_care_lcps.json @@ -24,7 +24,7 @@ "type": ["integer", "null"] }, "beds_occupied_covid_moving_average": { - "type": ["integer", "null"] + "type": ["number", "null"] }, "beds_occupied_covid_percentage": { "type": ["number", "null"] @@ -40,6 +40,12 @@ }, "date_of_insertion_unix": { "type": "integer" + }, + "date_start_unix": { + "type": "integer" + }, + "date_end_unix": { + "type": "integer" } }, "required": [ @@ -49,7 +55,9 @@ "influx_covid_patients", "influx_covid_patients_moving_average", "date_unix", - "date_of_insertion_unix" + "date_of_insertion_unix", + "date_start_unix", + "date_end_unix" ], "additionalProperties": false }