Skip to content

Commit

Permalink
Merge pull request #47 from thehyve/phone-usage-aggregates
Browse files Browse the repository at this point in the history
Phone usage aggregates
  • Loading branch information
blootsvoets authored Jul 31, 2017
2 parents 207932e + 18e1ef0 commit c8e1619
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions commons/aggregator/phone_usage_aggregator.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"namespace": "org.radarcns.aggregator",
"type": "record",
"name": "PhoneUsageAggregator",
"doc": "Aggregate time and opening events for an app",
"fields": [
{"name": "packageName", "type": "string", "doc": "package name of the app in use"},
{"name": "durationInForeground", "type":"double", "doc":"Total time in milliseconds the app was in the foreground"},
{"name": "timesOpen", "type":"int", "doc":"Total amount of times given app was opened in given time-frame"},
{"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}
]
}

0 comments on commit c8e1619

Please sign in to comment.