-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from RADAR-CNS/v0.2-alpha.1_release
V0.2 alpha.1 release
- Loading branch information
Showing
47 changed files
with
439 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"namespace": "org.radarcns.biovotion", | ||
"type": "record", | ||
"name": "BiovotionVSMLedCurrent", | ||
"doc": "Applied current for red, green and ir leds.", | ||
"fields": [ | ||
{"name": "time", "type": "double", "doc": "device timestamp in UTC (s)"}, | ||
{"name": "timeReceived", "type": "double", "doc": "device receiver timestamp in UTC (s)"}, | ||
{"name": "red", "type": "float", "doc": "current for red LED (mA)"}, | ||
{"name": "green", "type": "float", "doc": "current for green LED (mA)"}, | ||
{"name": "ir", "type": "float", "doc": "current for IR LED (mA)"}, | ||
{"name": "offset", "type": "float", "doc": "current offset (mA)"} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"namespace": "org.radarcns.biovotion", | ||
"type": "record", | ||
"name": "BiovotionVSMPhotoRaw", | ||
"doc": "Raw 14bit Photodiode ADC data for red, green, IR and dark portions (PPG raw data).", | ||
"fields": [ | ||
{"name": "time", "type": "double", "doc": "device timestamp in UTC (s)"}, | ||
{"name": "timeReceived", "type": "double", "doc": "device receiver timestamp in UTC (s)"}, | ||
{"name": "red", "type": "float", "doc": "raw red light ADC response (normalized)"}, | ||
{"name": "green", "type": "float", "doc": "raw green light ADC response (normalized)"}, | ||
{"name": "ir", "type": "float", "doc": "raw IR light ADC response (normalized)"}, | ||
{"name": "dark", "type": "float", "doc": "raw dark light ADC response (normalized)"} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"namespace": "org.radarcns.phone", | ||
"type": "record", | ||
"name": "PhoneGyroscope", | ||
"doc": "Data from the 3-axis gyroscope.", | ||
"fields": [ | ||
{"name": "time", "type": "double", "doc": "device timestamp in UTC (s)"}, | ||
{"name": "timeReceived", "type": "double", "doc": "device receiver timestamp in UTC (s)"}, | ||
{"name": "x", "type": "float", "doc": "gyration in the x-axis (rad/s)"}, | ||
{"name": "y", "type": "float", "doc": "gyration in the y-axis (rad/s)"}, | ||
{"name": "z", "type": "float", "doc": "gyration in the z-axis (rad/s)"} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"namespace": "org.radarcns.phone", | ||
"type": "record", | ||
"name": "PhoneMagneticField", | ||
"doc": "Data from the 3-axis magnetometer.", | ||
"fields": [ | ||
{"name": "time", "type": "double", "doc": "device timestamp in UTC (s)"}, | ||
{"name": "timeReceived", "type": "double", "doc": "device receiver timestamp in UTC (s)"}, | ||
{"name": "x", "type": "float", "doc": "magnetic field in the x-axis (μT)"}, | ||
{"name": "y", "type": "float", "doc": "magnetic field in the y-axis (μT)"}, | ||
{"name": "z", "type": "float", "doc": "magnetic field in the z-axis (μT)"} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"namespace": "org.radarcns.phone", | ||
"type": "record", | ||
"name": "PhoneSmsUnread", | ||
"doc": "Number of SMS messages in the inbox that have an unread status.", | ||
"fields": [ | ||
{"name": "time", "type": "double", "doc": "device timestamp in UTC (s)"}, | ||
{"name": "timeReceived", "type": "double", "doc": "device receiver timestamp in UTC (s)"}, | ||
{"name": "unreadSMS", "type": "int", "doc": "number of unread SMS messages currently in the inbox"} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"namespace": "org.radarcns.phone", | ||
"type": "record", | ||
"name": "PhoneStepCount", | ||
"doc": "Data from the step counter.", | ||
"fields": [ | ||
{"name": "time", "type": "double", "doc": "device timestamp in UTC (s)"}, | ||
{"name": "timeReceived", "type": "double", "doc": "device receiver timestamp in UTC (s)"}, | ||
{"name": "steps", "type": "int", "doc": "number of steps taken between this and the previous record"} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"namespace": "org.radarcns.phone", | ||
"type": "record", | ||
"name": "PhoneUsageEvent", | ||
"doc": "Event for closing or opening an app", | ||
"fields": [ | ||
{"name": "time", "type": "double", "doc": "device timestamp in UTC (s)"}, | ||
{"name": "timeReceived", "type": "double", "doc": "device receiver timestamp in UTC (s)"}, | ||
{"name": "packageName", "type": "string", "doc": "package name of the launched app"}, | ||
{"name": "categoryName", "type": ["null", "string"], "doc": "app category as given by the play store, null if a category is not listed or unable to be fetched", "default": null}, | ||
{"name": "categoryNameFetchTime", "type": ["null", "double"], "doc": "timestamp in UTC when the category was attempted to fetch from the play store (s), null if not fetched", "default": null}, | ||
{"name": "eventType", "type": | ||
{"name": "UsageEventType", "type": "enum", "symbols": ["FOREGROUND", "BACKGROUND", "CONFIG", "SHORTCUT", "INTERACTION", "NONE"]}, | ||
"doc": "whether the event brought app to foreground or background or neither", "default": "NONE"} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"namespace": "org.radarcns.questionnaire", | ||
"type": "record", | ||
"name": "Questionnaire", | ||
"doc": "General schema for questionnaire. Check the specification folder to see how the questionnaire has been defined. For each QuestionnaireType there is a JSON file reporting the questions set and possible answers if available", | ||
"fields": [ | ||
{ "name": "time", "type": "double", "doc": "timestamp in UTC (s) when the questionnaire is submitted to the subject" }, | ||
{ "name": "timeCompleted", "type": "double", "doc": "timestamp in UTC (s) when subject marks the questionnaire as" }, | ||
{ "name": "name", "type": {"name": "QuestionnaireType", "type": "enum", "symbols": ["PHQ8", "ESM", "UNKNOWN"]}, "doc": "Questionnaire names", "default": "UNKNOWN" }, | ||
{ "name": "version", "type": "string", "doc": "It reports the questionnaire version stated in the JSON specification" }, | ||
{ "name": "answers", | ||
"type": { | ||
"type": "array", | ||
"items": { | ||
"name": "Answer", | ||
"type": "record", | ||
"doc": "Questionnaire answer", | ||
"fields": [ | ||
{ "name": "value", "type": ["int", "string", "double"], "doc": "Subject answer" }, | ||
{ "name": "startTime", "type": "double", "doc": "timestamp in UTC (s) when the question is shown" }, | ||
{ "name": "endTime", "type": "double", "doc": "timestamp in UTC (s) when the question is answered" } | ||
] | ||
} | ||
}, | ||
"doc": "Answers list. The answers order must follow the questions order" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"name" : "DEMO", | ||
"version": 1, | ||
"estimatedCompletionTime" : 2, | ||
"startText" : "Here you can test some all available input types.", | ||
"endText" : "Thanks for giving it a try.", | ||
"protocol" : { | ||
"reminders" : { | ||
"amount" : 15, | ||
"repeat" : 1, | ||
"unit" : "min" | ||
}, | ||
"repeatProtocol" : { | ||
"amount" : 2, | ||
"unit" : "week" | ||
}, | ||
"repeatQuestionnaire" : { | ||
"unit" : "min", | ||
"unitsFromZero" : [ 450, 600, 1890, 2004 ] | ||
} | ||
}, | ||
"questions" : [ { | ||
"content" : "The slider as fine-grained input.", | ||
"id" : "Test-0", | ||
"lead" : "Some other input types.", | ||
"range" : { | ||
"max" : 100, | ||
"min" : 0, | ||
"step" : 5 | ||
}, | ||
"type" : "slider" | ||
}, { | ||
"content" : "The multiple values for a smaller range.", | ||
"id" : "Test-2", | ||
"lead" : "Some other input types.", | ||
"range" : { | ||
"max" : 7, | ||
"min" : 1 | ||
}, | ||
"type" : "range" | ||
} ] | ||
} |
Oops, something went wrong.