From 738a74f7887a30fa32a42f919d9ec7e0af6cc3a8 Mon Sep 17 00:00:00 2001 From: Aditya Mishra Date: Wed, 26 Jul 2023 21:33:16 +0530 Subject: [PATCH] Update default ActivityType to null --- commons/passive/google/google_activity_transition_event.avsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commons/passive/google/google_activity_transition_event.avsc b/commons/passive/google/google_activity_transition_event.avsc index 89b5f184..dda10c76 100644 --- a/commons/passive/google/google_activity_transition_event.avsc +++ b/commons/passive/google/google_activity_transition_event.avsc @@ -6,12 +6,12 @@ "fields": [ { "name": "time", "type": "double", "doc": "The UNIX epoch time (s) for the moment when the activity takes place.." }, { "name": "timeReceived", "type": "double", "doc": "Device receiver timestamp in UTC (s)." }, - { "name": "activity", "type": { + { "name": "activity", "type": ["null",{ "name": "ActivityType", "type": "enum", "doc": "The detected activity of the device. \nIN_VEHICLE indicates the device is in a vehicle, such as a car. \nON_BICYCLE indicates the device is on a bicycle. \n ON_FOOT indicates the device is on a user who is walking or running. \nRUNNING indicates the device is on a user who is running. This is a sub-activity of ON_FOOT. \nSTILL indicates the device is still (not moving). \nWALKING indicates the device is on a user who is walking. This is a sub-activity of ON_FOOT.", "symbols": ["IN_VEHICLE", "ON_BICYCLE", "ON_FOOT", "RUNNING", "STILL", "WALKING", "UNKNOWN"] - }, "doc": "Gets the type of the activity of the transition.", "default": "UNKNOWN" }, + }], "doc": "Gets the type of the activity of the transition.", "default": null }, { "name": "transition", "type": { "name": "TransitionType", "type": "enum",