Skip to content

Commit 761a2fc

Browse files
committed
update schema to hubverse v6
1 parent f6797c3 commit 761a2fc

2 files changed

Lines changed: 52 additions & 13 deletions

File tree

hub-config/admin.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"schema_version":"https://raw.githubusercontent.com/hubverse-org/schemas/main/v5.0.0/admin-schema.json",
2+
"schema_version":"https://raw.githubusercontent.com/hubverse-org/schemas/main/v6.0.0/admin-schema.json",
33
"name": "COVID-19 Scenario Modeling Hub",
44
"maintainer": "COVID-19 Scenario Modeling Hub Coordination Team",
55
"contact": {
@@ -12,6 +12,5 @@
1212
"name": "covid19-scenario-modeling-hub"
1313
},
1414
"file_format":["parquet"],
15-
"timezone": "US/Eastern",
16-
"model_output_dir": "model-output"
15+
"timezone": "US/Eastern"
1716
}

hub-config/tasks.json

Lines changed: 50 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"schema_version": "https://raw.githubusercontent.com/hubverse-org/schemas/main/v5.0.0/tasks-schema.json",
2+
"schema_version": "https://raw.githubusercontent.com/hubverse-org/schemas/main/v6.0.0/tasks-schema.json",
33
"rounds": [
44
{
55
"round_id": "origin_date",
@@ -58,7 +58,11 @@
5858
"description": "Weekly new deaths due to COVID-19 as reported by state and local departments of public health and aggregated in the NCHS data collection system.",
5959
"target_type": "discrete",
6060
"is_step_ahead": true,
61-
"time_unit": "week"
61+
"time_unit": "week",
62+
"additional_metadata": {
63+
"alternative_name": "incident death count",
64+
"uri": "http://purl.obolibrary.org/obo/APOLLO_SV_00000647"
65+
}
6266
},
6367
{
6468
"target_id": "inc hosp",
@@ -70,7 +74,11 @@
7074
"description": "Weekly newly reported hospitalizations where the patient has COVID-19, as reported by hospital facilities and aggregated in the HHS Protect data collection system.",
7175
"target_type": "discrete",
7276
"is_step_ahead": true,
73-
"time_unit": "week"
77+
"time_unit": "week",
78+
"additional_metadata": {
79+
"alternative_name": "incident hospitalization count",
80+
"uri": "http://purl.obolibrary.org/obo/APOLLO_SV_00000645"
81+
}
7482
},
7583
{
7684
"target_id": "cum death",
@@ -82,7 +90,11 @@
8290
"description": "Weekly cumulative deaths due to COVID-19 since the beginning of the simulation.",
8391
"target_type": "discrete",
8492
"is_step_ahead": true,
85-
"time_unit": "week"
93+
"time_unit": "week",
94+
"additional_metadata": {
95+
"alternative_name": "cumulative death count",
96+
"uri": "http://purl.obolibrary.org/obo/APOLLO_SV_00000646"
97+
}
8698
},
8799
{
88100
"target_id": "cum hosp",
@@ -94,7 +106,11 @@
94106
"description": "Weekly cumulative reported hospitalizations where the patient has COVID-19, since the beginning of the simulation.",
95107
"target_type": "discrete",
96108
"is_step_ahead": true,
97-
"time_unit": "week"
109+
"time_unit": "week",
110+
"additional_metadata": {
111+
"alternative_name": "cumulative hospitalization count",
112+
"uri": "http://purl.obolibrary.org/obo/APOLLO_SV_00000644"
113+
}
98114
}
99115
]
100116
},
@@ -158,7 +174,11 @@
158174
"description": "Weekly new deaths due to COVID-19 as reported by state and local departments of public health and aggregated in the NCHS data collection system.",
159175
"target_type": "discrete",
160176
"is_step_ahead": true,
161-
"time_unit": "week"
177+
"time_unit": "week",
178+
"additional_metadata": {
179+
"alternative_name": "incident death count",
180+
"uri": "http://purl.obolibrary.org/obo/APOLLO_SV_00000647"
181+
}
162182
},
163183
{
164184
"target_id": "inc hosp",
@@ -170,7 +190,11 @@
170190
"description": "Weekly newly reported hospitalizations where the patient has COVID-19, as reported by hospital facilities and aggregated in the HHS Protect data collection system.",
171191
"target_type": "discrete",
172192
"is_step_ahead": true,
173-
"time_unit": "week"
193+
"time_unit": "week",
194+
"additional_metadata": {
195+
"alternative_name": "incident hospitalization count",
196+
"uri": "http://purl.obolibrary.org/obo/APOLLO_SV_00000645"
197+
}
174198
},
175199
{
176200
"target_id": "cum death",
@@ -182,7 +206,11 @@
182206
"description": "Weekly cumulative deaths due to COVID-19 since the beginning of the simulation.",
183207
"target_type": "discrete",
184208
"is_step_ahead": true,
185-
"time_unit": "week"
209+
"time_unit": "week",
210+
"additional_metadata": {
211+
"alternative_name": "cumulative death count",
212+
"uri": "http://purl.obolibrary.org/obo/APOLLO_SV_00000646"
213+
}
186214
},
187215
{
188216
"target_id": "cum hosp",
@@ -194,7 +222,11 @@
194222
"description": "Weekly cumulative reported hospitalizations where the patient has COVID-19, since the beginning of the simulation.",
195223
"target_type": "discrete",
196224
"is_step_ahead": true,
197-
"time_unit": "week"
225+
"time_unit": "week",
226+
"additional_metadata": {
227+
"alternative_name": "cumulative hospitalization count",
228+
"uri": "http://purl.obolibrary.org/obo/APOLLO_SV_00000644"
229+
}
198230
}
199231
]
200232
}
@@ -203,7 +235,15 @@
203235
"start": "2025-05-06",
204236
"end": "2025-06-16"
205237
},
206-
"partition": ["origin_date", "target"]
238+
"additional_metadata": {
239+
"partition": ["origin_date", "target"],
240+
"disease": [
241+
{
242+
"name": "COVID-19",
243+
"uri": "http://purl.obolibrary.org/obo/DOID_0080600"
244+
}
245+
]
246+
}
207247
}
208248
]
209249
}

0 commit comments

Comments
 (0)