-
Notifications
You must be signed in to change notification settings - Fork 3
/
bangleStream.schema.json
99 lines (91 loc) · 3.21 KB
/
bangleStream.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://connectproject.github.io/schemas/bangleStream.schema.json",
"title": "Bangle Stream",
"description": "Data from BangleJS2 (Accelerometer, gyroscope, Heartrate and timestamp)",
"type": "object",
"properties": {
"applicationId": {
"type": "string",
"description": "Unique Connect identifier of the app originating the event. Read-only (added by Connect)"
},
"userId": {
"type": "string",
"description": "Unique Connect identifier of the user originating the event. Read-only (added by Connect)"
},
"sessionId": {
"type": "string",
"description": "Identifier of the session originating the event"
},
"bangle": {
"type": "array",
"items": {
"type": "object",
"properties": {
"bufferStart": {
"type": "number",
"description": "Time dtsmp"
},
"ax_M": {
"type": "number",
"description": "accelerometer X"
},
"ay_M": {
"type": "number",
"description": "accelerometer Y"
},
"az_M": {
"type": "number",
"description": "accelerometer Z"
},
"cx_M": {
"type": "number",
"description": " gyroscope X"
},
"cy_M": {
"type": "number",
"description": " gyroscope Y"
},
"cz_M": {
"type": "number",
"description": " gyroscope Z"
},
"cdx_M": {
"type": "number",
"description": " gyroscope dX"
},
"cdy_M": {
"type": "number",
"description": " gyroscope dY"
},
"cdz_M": {
"type": "number",
"description": " gyroscope dZ"
},
"hrmRaw_M": {
"type": "number",
"description": " hrm raw"
},
"hrmFilt_M": {
"type": "number",
"description": " hrm filtered"
},
"hrmBPM_M": {
"type": "number",
"description": " hrm BPM"
},
"hrmConfidence_M": {
"type": "number",
"description": " hrm Confidence"
}
},
"additionalProperties": false
}
}
},
"required": [
"sessionId",
"bangle"
],
"additionalProperties": false
}