-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathschema-data.yml
87 lines (87 loc) · 1.76 KB
/
schema-data.yml
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
$schema: "http://json-schema.org/draft-07/schema"
title: ScenarioHub model data
description: >
This is the schema of the scenario files, please refer to
https://github.com/epiforecasts/covid19-scenario-hub-europe/wiki/Submission-format
for more info.
type: object
properties:
scenario_id:
description: A specified scenario ID
type: array
items:
type: string
enum:
- A
- B
- C
- D
- E
- F
- G
- H
- I
- J
- K
- L
- M
- N
- O
- P
- Q
- R
- S
- T
- U
- V
- W
- X
- Y
- Z
target_variable:
description: '"inc case" or "inc death" or "inc hosp" or "inc infection" or "inc icu"'
type: array
items:
type: string
enum:
- inc dose
- inc case
- inc death
- inc hosp
- inc infection
- inc icu
horizon:
description: The time horizon for the projections
type: array
items:
type: string
pattern: ^\d{1,3} wk$
location:
description: 'An ISO-2 country code'
type: array
items:
type: string
enum: ["H0", "AT", "BE", "BG", "CH", "CY", "CZ", "DK", "DE", "EE", "ES", "FI", "FR", "GB", "GR", "HR", "HU", "IE", "IS", "IT", "LI", "NO", "LT", "LU", "LV", "MT", "NL", "PL", "PT", "RO", "SE", "SI", "SK"]
value:
type: array
items:
type: integer
minimum: 0
sample:
type: array
items:
type: integer
minimum: 0
age_id:
type: array
items:
type: string
enum: ["child", "adult", "older"]
additionalProperties: false
required:
- scenario_id
- target_variable
- horizon
- location
- value
- sample