forked from DaylightAcademy/DLA-LightEx-MD-Schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
event.json
39 lines (39 loc) · 1.12 KB
/
event.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
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://github.com/cdsig/CDSIG-Schema/blob/main/event.json",
"title": "Event-level metadata (within dataset)",
"description": "Event definition in the context of actigraphy or light data set",
"type": "object",
"properties": {
"event_id": {
"title": "Event ID",
"description": "The unique identifier for an event",
"type": "number",
"minimum": 0,
"multipleOf" : 1
},
"event_name": {
"title": "Event name",
"description": "Name of the event",
"type": "string"
},
"start_date_time": {
"title": "Start datetime",
"description": "Start date-time for an event",
"type": "string",
"format": "date-time"
},
"stop_date_time": {
"title": "Stop datetime",
"description": "Stop date-time for an event",
"type": "string",
"format": "date-time"
},
"comment": {
"title": "Comment",
"description": "Comment about an event",
"type": "string"
}
},
"required": [ "event_id", "event_name", "start_date_time", "stop_date_time"]
}