1namespace bluetooth.activity_attribution;
2
3attribute "privacy";
4
5table WakeupEntry {
6    wakeup_time:string;
7    activity:string;
8    address:string;
9}
10
11table DeviceActivityAggregationEntry {
12    address:string;
13    activity:string;
14    wakeup_count:int;
15    byte_count:int;
16    wakelock_duration_ms:int;
17    creation_time:string;
18}
19
20table ActivityAttributionData {
21    title_wakeup:string;
22    num_wakeup:int;
23    wakeup_attribution:[WakeupEntry];
24    title_activity:string;
25    num_device_activity:int;
26    device_activity_aggregation:[DeviceActivityAggregationEntry];
27}
28
29root_type ActivityAttributionData;