-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.json
152 lines (152 loc) · 4.75 KB
/
schema.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
{
"$schema": "http://json-schema.org/draft-07/schema",
"definitions": {
"assays": {
"type": "string",
"enum": [
"RdRp_SARSr",
"ORF1ab",
"2019-nCoV_N1",
"PowerChek-E",
"E_Sarbeco",
"CCDC-ORF1ab",
"HKU-N",
"S",
"?"
]
}
},
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "unique identifier for a dataset (typically the same as a publication)"
},
"doi": {
"type": "string",
"description": "digital object identifier to retrieve the publication or dataste"
},
"title": {
"type": "string",
"description": "title of the publication"
},
"assay": {
"description": "assay or primer/probe set used to quantify RNA",
"oneOf": [
{
"$ref": "#/definitions/assays"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/assays"
}
}
]
},
"loq": {
"type": [
"number",
"null"
],
"description": "level of quantification, i.e. the smallest possible concentration that can be measured, or `null` if not available"
},
"temporal": {
"type": "string",
"description": "reference for reporting of temporal information, if available",
"enum": [
"symptoms",
"admission"
]
},
"patients": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"description": "number of patients in the study"
},
"positive": {
"type": "integer",
"description": "number of patients with at least one positive stool sample"
},
"negative": {
"type": "integer",
"description": "number of patients without any positive stool samples"
},
"details": {
"type": "array",
"description": "details about individual patients"
}
},
"additionalProperties": false
},
"samples": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"description": "number of samples analysed in the study"
},
"positive": {
"type": "integer",
"description": "number of positive samples"
},
"negative": {
"type": "integer",
"description": "number of negative samples"
}
},
"additionalProperties": false
},
"loads": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"type": [
"number",
"null"
],
"description": "viral load as log10 copies per mL"
},
"err": {
"type": [
"number",
"null"
],
"description": "optional error estimate for the viral load value"
},
"day": {
"type": "integer",
"description": "day as reported by the study (often since symptom onset or hospital admission)"
},
"patient": {
"type": "integer",
"description": "zero-based unique patient identifier"
},
"threshold": {
"type": "number",
"description": "semi-quantitative qPCR cycle threshold"
},
"stage": {},
"severity": {}
},
"required": [
"value"
],
"additionalProperties": false
}
}
},
"required": [
"key",
"doi",
"assay",
"title",
"patients",
"samples",
"loq"
]
}