| Attribute | Data Type | Description |
|---|---|---|
| eventType | integer | Represents particular event type. In this case it is trip completed event |
| data.tripId | string | Unique Id of the Trip |
| data.orderId | string | Order Id where the trip belongs |
| data.vehicleId | string | Vehicle executing the Trip |
| data.vehicleCategoryName | string | Vehicle Category executing the Trip |
| data.driver | string | Driver executing the Trip |
| data.driverPhone | string | Phone number of the driver |
| data.startTime | string | Planned start time of the trip |
| data.startTz | string | Timezone of the start time |
| data.endTime | string | Planned end time of the trip |
| data.endTz | string | Timezone of the end time |
| data.actualStartTime | string | Actual start time of the trip |
| data.actualEndTime | string | Actual end time of the trip |
| data.travelDistance | integer | Planned Total Travel distance in kilometers |
| data.travelTime | integer | Planned Total Travel time in minutes |
| data.actualTravelDistance | integer | Actual Total Travel distance in kilometers |
| data.actualTravelTime | integer | Actual Total Travel time in minutes |
| data.noOfPickups | integer | Total Number of pickups in a trip |
| data.noOfDeliveries | integer | Total Number of deliveries in a trip |
| data.status | integer | Status of the trip. 2 is completed,3 is auto closed |
| eventTime | long | Time in milliseconds in EPOCH format |