...
iOS Native SDK 1.16.2 introduces the new sleep API that Apple introduced in OS iOS 16.
iOS Native SDK 1.16.3 improves upon our handling to also cover manually entered sleep records.
For those who wear the Apple Watch to bed for sleep tracking purposes, watchOS 9 and iOS 16 bring new functionality – sleep stages. Our Apple Health integration is available to sync the following sleep stage details to Validic:
...
In Apple Health, Sleep samples cannot be edited; they can only be deleted and re-created with different information.
Validic does not currently report any deletion events. Sleep samples that have already been processed will not be deleted from Validic if they are deleted from Apple Health.
In-Bed samples will generate new sleep records in Validic. The In-Bed start and end time will correspond to the start and end time on the Validic sleep record.
Total awake duration (awake_duration) does not contribute to time in bed (in_bed_duration) as this is treated as a period of time when the user got out of bed.
Only sleep samples stages that correspond with an in-bed time will be processed in Validic. If a user adds a sleep stage (e.g., Asleep time or Awake time) without an in-bed sample, the sleep stages will not be reported in Validic.
This is inline with Apple’s guidelines for how sleep should be reported in Apple Health, but all 3rd party sources may not comply with the guidelines.