This repository has been archived by the owner on Nov 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathoutput.json
268 lines (268 loc) · 7.85 KB
/
output.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
{
"$ref": "#/definitions/ModelOutput",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"ISODate": {
"type": "string"
},
"Intensity": {
"enum": [
"mild",
"moderate",
"aggressive"
],
"type": "string"
},
"InterventionPeriod": {
"additionalProperties": false,
"properties": {
"caseIsolation": {
"$ref": "#/definitions/Intensity",
"description": "The level to which individuals with symptoms self-isolate."
},
"reductionPopulationContact": {
"description": "The estimated reduction in population contact resulting from\nall of the above interventions. Some models require this generalized\nparameter instead of the individual interventions.",
"type": "number"
},
"schoolClosure": {
"$ref": "#/definitions/Intensity",
"description": "The level of school closure in the region."
},
"socialDistancing": {
"$ref": "#/definitions/Intensity",
"description": "The level of social distancing in the region."
},
"startDate": {
"$ref": "#/definitions/ISODate",
"description": "An ISO-8601 string encoding the date that these interventions begin."
},
"voluntaryHomeQuarantine": {
"$ref": "#/definitions/Intensity",
"description": "The level to which entire households self-isolate when one member\nof the household has symptoms."
}
},
"required": [
"startDate",
"reductionPopulationContact"
],
"type": "object"
},
"ModelInput": {
"additionalProperties": false,
"description": "A generalized description of the input to an epidemiological model.",
"properties": {
"parameters": {
"$ref": "#/definitions/ModelParameters"
},
"region": {
"type": "string"
},
"subregion": {
"type": "string"
}
},
"required": [
"region",
"parameters"
],
"type": "object"
},
"ModelOutput": {
"additionalProperties": false,
"properties": {
"aggregate": {
"additionalProperties": false,
"properties": {
"metrics": {
"$ref": "#/definitions/SeverityMetrics"
}
},
"required": [
"metrics"
],
"type": "object"
},
"metadata": {
"$ref": "#/definitions/ModelInput"
},
"time": {
"additionalProperties": false,
"properties": {
"extent": {
"description": "The minimum and maximum timestamps for the series of reported metrics.\nEach value is a number of days after `t0`.",
"items": [
{
"type": "number"
},
{
"type": "number"
}
],
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"t0": {
"description": "An ISO-8601 string encoding the date that each timeseries begins.",
"type": "string"
},
"timestamps": {
"description": "The timestamps that correspond to every series of metrics.\nEach value is a number of days after `t0`.",
"items": {
"type": "number"
},
"type": "array"
}
},
"required": [
"t0",
"timestamps",
"extent"
],
"type": "object"
}
},
"required": [
"metadata",
"time",
"aggregate"
],
"type": "object"
},
"ModelParameters": {
"additionalProperties": false,
"properties": {
"calibrationCaseCount": {
"description": "The total number of confirmed cases in the region before the calibration date.",
"type": "number"
},
"calibrationDate": {
"$ref": "#/definitions/ISODate",
"description": "An ISO-8601 string encoding the date of the most recent case data in the region."
},
"calibrationDeathCount": {
"description": "The total number of deaths in the region before the calibration date.",
"type": "number"
},
"interventionPeriods": {
"description": "A list of time periods, each with a different set of interventions.",
"items": {
"$ref": "#/definitions/InterventionPeriod"
},
"type": "array"
},
"r0": {
"description": "The assumed reproduction number for the virus. If this is null, then each\nmodel will use its own default value.",
"type": [
"number",
"null"
]
}
},
"required": [
"calibrationDate",
"calibrationCaseCount",
"calibrationDeathCount",
"r0",
"interventionPeriods"
],
"type": "object"
},
"SeverityMetrics": {
"additionalProperties": false,
"properties": {
"CritRecov": {
"description": "Current number of critical cases on this day who are well enough to leave the ICU but still need a hospital bed",
"items": {
"type": "number"
},
"type": "array"
},
"Critical": {
"description": "Current number of critical cases on this day (assume represents ICU demand)",
"items": {
"type": "number"
},
"type": "array"
},
"ILI": {
"description": "Current number of influenza-like illness cases on this day (assume represents GP demand)",
"items": {
"type": "number"
},
"type": "array"
},
"Mild": {
"description": "Current number of mild cases on this day",
"items": {
"type": "number"
},
"type": "array"
},
"SARI": {
"description": "Current number of Severe Acute Respiratory Illness cases on this day (assume represents hospital demand)",
"items": {
"type": "number"
},
"type": "array"
},
"cumCritRecov": {
"description": "Total number of patients recovered from critical cases since the beginning of the epidemic",
"items": {
"type": "number"
},
"type": "array"
},
"cumCritical": {
"description": "Total number of critical cases since the beginning of the epidemic",
"items": {
"type": "number"
},
"type": "array"
},
"cumILI": {
"description": "Total number of influence-like illnesses since the beginning of the epidemic",
"items": {
"type": "number"
},
"type": "array"
},
"cumMild": {
"description": "Total number of mild cases since the beginning of the epidemic",
"items": {
"type": "number"
},
"type": "array"
},
"cumSARI": {
"description": "Total number of severe acute respiratory illnesses since the beginning of the epidemic",
"items": {
"type": "number"
},
"type": "array"
},
"incDeath": {
"description": "Number of deaths occurring on this day",
"items": {
"type": "number"
},
"type": "array"
}
},
"required": [
"Mild",
"ILI",
"SARI",
"Critical",
"CritRecov",
"incDeath",
"cumMild",
"cumILI",
"cumSARI",
"cumCritical",
"cumCritRecov"
],
"type": "object"
}
}
}