Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
feat(COR-1765): Schema corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
VWSCoronaDashboard30 committed Aug 24, 2023
1 parent c1a769c commit d84824b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/app/schema/nl/__difference.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
12 changes: 10 additions & 2 deletions packages/app/schema/nl/hospital_lcps.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"type": ["integer", "null"]
},
"beds_occupied_covid_moving_average": {
"type": ["integer", "null"]
"type": ["number", "null"]
},
"influx_covid_patients": {
"type": ["integer", "null"]
Expand All @@ -37,6 +37,12 @@
},
"date_of_insertion_unix": {
"type": "integer"
},
"date_start_unix": {
"type": "integer"
},
"date_end_unix": {
"type": "integer"
}
},
"required": [
Expand All @@ -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
}
Expand Down
12 changes: 10 additions & 2 deletions packages/app/schema/nl/intensive_care_lcps.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -40,6 +40,12 @@
},
"date_of_insertion_unix": {
"type": "integer"
},
"date_start_unix": {
"type": "integer"
},
"date_end_unix": {
"type": "integer"
}
},
"required": [
Expand All @@ -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
}
Expand Down

0 comments on commit d84824b

Please sign in to comment.