-
Notifications
You must be signed in to change notification settings - Fork 5
/
Analytics.json
155 lines (155 loc) · 5.55 KB
/
Analytics.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"title": "Analytics",
"description": "JSON schema for the query response from the endpoint - https://api.route4me.com/datafeed/account_analytics.php",
"type": "object",
"properties": {
"totalMilesSaved": {
"type": "integer",
"title": "Total Miles Saved",
"description": "Total save miles during specified period"
},
"totalActualDistance": {
"type": "number",
"title": "Total Actual Distance",
"description": "Total actual distance"
},
"totalRoutes": {
"type": "integer",
"title": "Total Routes",
"description": "Total generated routes"
},
"totalStops": {
"type": "integer",
"title": "Total Stops",
"description": "Total stops included in the all generated routes"
},
"drivenMiles": {
"type": "number",
"title": "drivenMiles",
"description": "Driven miles during specified period"
},
"spend_time": {
"type": "integer",
"title": "spend_time",
"description": "Total save miles during specified period"
},
"totalCheckins": {
"type": "integer",
"title": "Total Checkins",
"description": "Total number of the check-in events"
},
"totalNotes": {
"type": "integer",
"title": "Total Notes",
"description": "Total number of the notes"
},
"reports": {
"type": "array",
"items": {
"type": "object",
"properties": {
"day_id": {
"type": "integer",
"title": "Day ID",
"description": "Unique ID of the day"
},
"label": {
"type": "string",
"title": "Label",
"description": "Day label (e.g. '2019-08-01')"
},
"total_routes": {
"type": "integer",
"title": "Total Routes",
"description": "Total number of the routes"
},
"avg_stops": {
"type": "number",
"title": "Average Stops",
"description": "Average stops per route"
},
"avg_distance": {
"type": "number",
"title": "Average Distance",
"description": "Average distance per route"
},
"total_stops": {
"type": "integer",
"title": "Total Stops",
"description": "Total stops"
},
"total_distance": {
"type": "number",
"title": "Total Distance",
"description": "Total distance"
},
"total_time": {
"type": "integer",
"title": "Total Time",
"description": "Total time"
},
"total_actual_distance": {
"type": "number",
"title": "Total Actual Distance",
"description": "Total actual distance"
},
"avg_actual_distance": {
"type": "number",
"title": "Average Actual Distance",
"description": "Average actual distance"
},
"total_actual_time": {
"type": "integer",
"title": "Total Actual Time",
"description": "Total actual time"
},
"avg_actual_time": {
"type": "integer",
"title": "Average Actual Time",
"description": "Average actual time"
},
"original_total_distance": {
"type": "number",
"title": "Original Total Distance",
"description": "Original total distance"
},
"total_notes": {
"type": "integer",
"title": "Total Notes",
"description": "Total notes"
},
"total_visited": {
"type": "integer",
"title": "Total Visited",
"description": "Total visited"
},
"avg_time_on_site": {
"type": "integer",
"title": "Average Time On Site",
"description": "Average time on site"
},
"allocated_service_time": {
"type": "integer",
"title": "Allocated Service Time",
"description": "Allocated service time"
},
"deviation_percent": {
"type": "number",
"title": "Deviation Percent",
"description": "Deviation percent"
},
"co2": {
"type": "double",
"title": "CO2",
"description": "CO2 emmision"
},
"date": {
"type": "string",
"title": "Date",
"description": "Date (e.g. 'Aug1')"
}
}
}
}
}
}