Skip to content

Commit

Permalink
Add Fitbit intraday spo2 to schemas and specs
Browse files Browse the repository at this point in the history
  • Loading branch information
mpgxvii committed Mar 5, 2024
1 parent ca8c75c commit 1463b8a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions commons/connector/fitbit/fitbit_intraday_spo2.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"namespace": "org.radarcns.connector.fitbit",
"type": "record",
"name": "FitbitIntradaySpo2",
"doc": "Intra day spo2 data from fitbit device.",
"fields": [
{ "name": "time", "type": "double", "doc": "Device timestamp in UTC (s)." },
{ "name": "timeReceived", "type": "double", "doc": "Time that the data was received from the Fitbit API (seconds since the Unix Epoch)." },
{ "name": "timeInterval", "type": "int", "doc": "Chronological window size (s)." },
{ "name": "spo2", "type": "float", "doc": "Percentage value of SpO2 calculated at the specific time."}
]
}
3 changes: 3 additions & 0 deletions specifications/connector/radar-fitbit-connector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ data:
- doc: Skin temperature
topic: connect_fitbit_skin_temperature
value_schema: .connector.fitbit.FitbitSkinTemperature
- doc: Spo2 or Blood oxygen saturation
topic: connect_fitbit_intraday_spo2
value_schema: .connector.fitbit.FitbitIntradaySpo2

0 comments on commit 1463b8a

Please sign in to comment.