Skip to content

Commit

Permalink
Merge pull request #348 from this-Aditya/sleep-null
Browse files Browse the repository at this point in the history
Updated default value of sleep segment status to null.
  • Loading branch information
mpgxvii committed Jul 31, 2023
2 parents 191cdfe + 55d6a2f commit a0018bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commons/passive/google/google_sleep_segment_event.avsc
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
{ "name": "time", "type": "double", "doc": "The UNIX epoch time (s) for the moment when the user goes to sleep." },
{ "name": "timeReceived", "type": "double", "doc": "Device receiver timestamp in UTC (s)." },
{ "name": "endTime", "type": "double", "doc": "The UNIX epoch time (s) for the moment when the user wakes up." },
{ "name": "status", "type": {
{ "name": "status", "type": [ "null", {
"name": "SleepClassificationStatus",
"type": "enum",
"doc": "The status of the sleep segment detection. \nSUCCESSFUL indicates successful detection of sleep segment in the past day.\nNOT_DETECTED indicates Sleep segment is not detected in the past day, or there isn't enough confidence that the user slept during the past day. This could happen for a variety of reasons, including the following: too much missing data, the user sleeps with the light, the user interacts with their device often, or the user's device doesn't support the sensors needed for sleep detection. \nMISSING_DATA indicates sleep segment was detected, but there was some missing data near the detected sleep segment. This could happen for a variety of reasons, including the following: the user turned off their device, the user delayed logging into their device after a system reboot or system upgrade, or an event occurred that paused the detection.",
"symbols": ["SUCCESSFUL", "MISSING_DATA", "NOT_DETECTED", "UNKNOWN"]
}, "doc": "Status that indicates whether the system succeeded in detecting sleep.", "default": "UNKNOWN" }
}], "doc": "Status that indicates whether the system succeeded in detecting sleep.", "default": null }
]
}

0 comments on commit a0018bf

Please sign in to comment.