forked from DaylightAcademy/DLA-LightEx-MD-Schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dataset.json
127 lines (127 loc) · 3.99 KB
/
dataset.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
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://github.com/cdsig/CDSIG-Schema/blob/main/dataset.json",
"title": "Dataset-level metadata",
"description": "Dataset-level metadata is metadata concerning one specific, per-participant dataset",
"type": "object",
"properties": {
"name": {
"title": "Dataset name",
"description": "Dataset name.",
"example": "ACHM2019_Actigraphy_P01",
"type": "string"
},
"device_internal_id": {
"title": "Internal ID of Device",
"description": "Unique identifier of the device in this dataset",
"type": "string"
},
"participant_internal_id": {
"title": "Internal ID of Participant",
"description": "Unique identifier of the participant in this dataset",
"type": "string"
},
"uuid": {
"title": "UUID",
"description": "MD5 hash generated from the `name` field",
"example": "9b4cef4132e84329bc38dda4b2fa3f5b",
"type": "string"
},
"description": {
"title": "Description",
"description": "Short description of the dataset.",
"example": "",
"type": "string"
},
"instructions": {
"title": "Instructions",
"description": "Description of the instructions that were given to the study participants prior to or during collection of this data set",
"type": "object",
"properties": {
"verbatim_instruction": {
"title": "Verbatim instruction",
"description": "Verbatim instructions given to participant",
"example": "",
"type": "string"
},
"wear_time": {
"title": "Wear time",
"description": "Number of days the participants were instructed to wear the actigraph. Fractional values are allowed",
"example": 21,
"type": "number",
"minimum": 0
}
},
"required": ["wear_time"]
},
"contributors": {
"title": "Contributors",
"type": "array",
"items": {
"$ref": "https://raw.githubusercontent.com/cdsig/CDSIG-Schema/main/person.json"
}
},
"acquisitions": {
"title": "Acquisitions",
"type": "array",
"items": {
"$ref": "https://raw.githubusercontent.com/cdsig/CDSIG-Schema/main/acquisition.json"
}
},
"data_set": {
"title": "Dataset",
"description": "Information about the data collection effort.",
"type": "object",
"properties": {
"period": {
"title": "Period",
"description": "Time period during which the data collection was performed",
"type": "object",
"properties": {
"start_date_time": {
"title": "Start datetime",
"description": "Start date-time for the data collection",
"type": "string",
"format": "date-time"
},
"ongoing": {
"title": "Ongoing?",
"description": "Indicate if the data collection is still ongoing",
"type": "boolean",
"default": true
}
},
"dependencies": {
"ongoing": {
"oneOf": [
{
"properties": {
"ongoing": {
"const": true
}
}
},
{
"properties": {
"ongoing": {
"const": false
},
"stop_date_time": {
"title": "Stop datetime",
"description": "Stop date-time for the data collection",
"type": "string",
"format": "date-time"
}
},
"required": ["stop_date_time"]
}
]
}
}
}
},
"required": ["period"]
}
},
"required": ["uuid", "description", "instructions", "contributors"]
}