--- created: "2015-10-16T06:35:18-07:00" published: "2015-10-16T06:35:18-07:00" type: entry content-type: text/plain properties: p3k-channel: - sleep - health sleep: type: h-sleep properties: start: "2015-10-15T22:39:06-07:00" asleep: "2015-10-15T23:00:00-07:00" light-sleep: 9303 awake-for: 2473 quality: 100 awake: "2015-10-16T06:35:00-07:00" end: "2015-10-16T06:35:18-07:00" image: sleep.svg ...
The only required properties are
awake-for are given in seconds. Those and
quality will be used to show stats of the sleep record.
awake times are optional, if missing, start and end will be used instead.
For sleep sources that include raw data, they will upload a file called "sleep.json", but it does not need to be referenced in the sleep record.