forked from DaylightAcademy/DLA-LightEx-MD-Schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
study.json
188 lines (188 loc) · 4.8 KB
/
study.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
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://github.com/cdsig/CDSIG-Schema/blob/main/study.json",
"$defs": {
"group": {
"title": "Group",
"type": "object",
"properties": {
"name": {
"title": "Group name",
"description": "Name of group.",
"example": "ACHM patients",
"type": "string"
},
"description": {
"title": "Group description",
"description": "Description of sample group",
"example": "",
"type": "string"
},
"label": {
"title": "Group label",
"description": "Label of sample group",
"example": 0,
"type": "integer"
},
"size": {
"title": "Group size",
"description": "Group size",
"example": 6,
"type": "integer",
"minimum": 1
},
"inclusion": {
"title": "Inclusion criteria",
"description": "Inclusion criteria for sample group, given as an array of strings",
"example": "",
"type": "array",
"minItems": 1,
"items": {
"type": "string"
}
},
"exclusion": {
"title": "Exclusion criteria",
"description": "Exclusion criteria for sample group, given as an array of strings",
"example": "",
"type": "array",
"minItems": 0,
"items": {
"type": "string"
}
}
},
"required": ["name", "description", "label", "size", "inclusion"]
}
},
"title": "Study-level metadata",
"description": "Study-level metadata describes any information on a specific study, e.g. a specific data collection effort with multiple participants",
"type": "object",
"properties": {
"name": {
"title": "Name",
"description": "Informative or internal study name",
"example": "ACHM2019",
"type": "string"
},
"uuid": {
"title": "UUID",
"description": "Unique MD5 hash generated from the `name` field",
"example": "01d429fd3c4cc02697eea7f3fe838c54",
"type": "string"
},
"prereg_doi": {
"title": "Pre-registration document DOI",
"description": "DOI (Digital Object Identifier) of pre-registration document describing data collection",
"example": "",
"type": "string"
},
"ethics_information": {
"title": "Ethics information",
"description": "Name of ethics committee and approval number",
"example": "",
"type": "string"
},
"clinical_trial": {
"title": "Clinical trial",
"description": "Is this a registered clinical trial?",
"example": false,
"type": "boolean"
},
"description": {
"title": "Description",
"description": "Short narrative description of the study",
"example": "",
"type": "string"
},
"sample": {
"title": "Sample",
"description": "Short description of the study sample.",
"example": "Healthy control participants and ACHM patients",
"type": "string"
},
"groups": {
"title": "Groups",
"description": "Description of the sample group(s) enrolled or examined in the study",
"type": "array",
"minItems": 1,
"items": {
"$ref": "#/$defs/group"
}
},
"intervention": {
"title": "Intervention",
"description": "Short description of the study intervention, if any",
"example": "",
"type": "string"
},
"keywords": {
"title": "Keywords",
"description": "Key words describing the study.",
"example": ["actigraphy", "congenital achromatopsia", "circadian"],
"type": "array",
"minItems": 3,
"items": {
"type": "string"
}
},
"contributors": {
"title": "Contributors",
"description": "Study contributors",
"type": "array",
"minItems": 1,
"items": {
"$ref": "https://raw.githubusercontent.com/cdsig/CDSIG-Schema/main/person.json"
}
},
"datasets": {
"title": "Datasets",
"type": "array",
"items": {
"$ref": "https://raw.githubusercontent.com/cdsig/CDSIG-Schema/main/dataset.json"
}
},
"participants": {
"title": "Participants",
"type": "array",
"items": {
"$ref": "https://raw.githubusercontent.com/cdsig/CDSIG-Schema/main/participant.json"
}
},
"devices": {
"title": "Devices",
"type": "array",
"items": {
"$ref": "https://raw.githubusercontent.com/cdsig/CDSIG-Schema/main/device.json"
}
}
},
"dependencies": {
"clinical_trial": {
"oneOf": [
{
"properties": {
"clinical_trial": {
"const": false
}
}
},
{
"properties": {
"clinical_trial": {
"const": true
},
"clinical_trial_id": {
"title": "Clinical Trial ID",
"description": "Clinical trial identifier as well as registry",
"example": "",
"type": "string"
}
},
"required": ["clinical_trial_id"]
}
]
}
},
"required": ["name", "uuid", "clinical_trial", "ethics_information", "sample", "description", "keywords"]
}