-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdefault_map.dtd
294 lines (294 loc) · 5.93 KB
/
default_map.dtd
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://github.com/route4me/route4me-json-schemas/blob/master/default_map.dtd",
"title": "Default Map",
"description": "",
"type": "object",
"properties": {
"email": {
"description": "A valid e-mail address assigned to this stop",
"valid_headers": [
"email",
"e-mail",
"email_address",
"emailaddress",
"customer_email",
"order_email",
"address_email"
]
},
"alias": {
"description": "Alias assigned to the route",
"valid_headers": [
"alias",
"customeralias",
"customer",
"name",
"nickname",
"address_alias"
]
},
"address": {
"description": "The route Address Line 1",
"valid_headers": [
"adress",
"address",
"address_1",
"address1",
"addr1",
"destination_name",
"customer_address"
]
},
"address2": {
"description": "The route Address Line 2 which is not used for geocoding",
"valid_headers": [
"address2",
"address_2",
"addr2"
]
},
"city": {
"description": "The city the address is located in",
"valid_headers": [
"city",
"city_name",
"address_city",
"cityname",
"town"
]
},
"state": {
"description": "The state the address is located in",
"valid_headers": [
"state",
"state_name",
"address_state"
]
},
"country": {
"description": "The country the address is located in",
"valid_headers": [
"country",
"country_name",
"countryname",
"nation"
]
},
"zip": {
"description": "The zip code the address is located in",
"valid_headers": [
"zip",
"zipcode",
"addresszip",
"addresszipcode",
"address_zip"
]
},
"phone": {
"description": "The phone number for the address",
"valid_headers": [
"phone",
"phonenumber",
"telephone",
"phone_1",
"address_phone"
]
},
"first_name": {
"description": "The first name of the receiving address",
"valid_headers": [
"first_name",
"firstname",
"first",
"customer_first_name"
]
},
"last_name": {
"description": "Th last name of the receiving party",
"valid_headers": [
"last_name",
"last_name",
"last",
"customer_last_name"
]
},
"account_no": {
"description": "The account number for the address",
"valid_headers": [
"account",
"accountnumber",
"account_number"
]
},
"order_no": {
"description": "The order number for the address",
"valid_headers": [
"order",
"order_no",
"order_number",
"orderno"
]
},
"sequence_no": {
"description": "The sequence number for the address",
"valid_headers": [
"seq",
"sequence_no",
"sequence_number",
"sequenceno"
]
},
"original_route_id": {
"description": "The route ID of the address",
"valid_headers": [
"route",
"route_no",
"route_id",
"routeid",
"original_route_id"
]
},
"customer_po": {
"description": "The customer purchase order for the address",
"valid_headers": [
"customer_po",
"customerpo",
"customer_purchase_order",
"purchase_order",
"po_number",
"cust po"
]
},
"reference_no": {
"description": "The reference number for the address",
"valid_headers": [
"reference_no",
"ref_no",
"reference_number",
"ref_number",
"ref num"
]
},
"invoice_no": {
"description": "The invoice number for the address",
"valid_headers": [
"invoice_no",
"invoice",
"invoice_number"
]
},
"cost": {
"description": "The cost of the order for the address",
"valid_headers": [
"cost",
"total_cost",
"order_cost",
"stop_cost"
]
},
"revenue": {
"description": "The total revenue for the address",
"valid_headers": [
"revenue",
"income",
"earnings"
]
},
"cube": {
"description": "The cubic volume of the cargo being delivered/picked up at the address",
"valid_headers": [
"dimensions",
"cube",
"cubic"
]
},
"pieces": {
"description": "Pieces",
"valid_headers": [
"pcs",
"pieces"
]
},
"weight": {
"description": "The numeric weight that is being delivered/picked up at this stop",
"valid_headers": [
"weight",
"pounds",
"kilograms"
]
},
"time": {
"description": "The expected amount of time the driver will be at the stop (integer minutes or HH:MM:SS)",
"valid_headers": [
"time",
"minutes",
"service_time",
"servicetime"
]
},
"time_window_start": {
"description": "The requested estimated beginning of the time windows (integer minutes or HH:MM:SS)",
"valid_headers": [
"time_window_start",
"window_start",
"window_open",
"start_time",
"time_start"
]
},
"time_window_end": {
"description": "The requested estimated end of the time windows (integer minutes or HH:MM:SS)",
"valid_headers": [
"time_window_end",
"time_window_close",
"window_end",
"window_close",
"end_time",
"time_end"
]
},
"dst_lat": {
"description": "The destination's latitude coordinates (decimal form)",
"valid_headers": [
"dst_lat",
"lat",
"latitude",
"address_latitude"
]
},
"dst_lng": {
"description": "The destination's longitude coordinates (decimal form)",
"valid_headers": [
"dst_lng",
"lng",
"longitude",
"address_longitude"
]
},
"is_depot": {
"description": "The destination is a depot (0 or 1)",
"valid_headers": [
"is_depot",
"depot"
]
},
"address_stop_type": {
"description": "The type of stop that this is (DELIVERY,PICKUP,BREAK,MEETUP,SERVICE,VISIT,DRIVEBY)",
"valid_headers": [
"address_type",
"address_stop_type",
"stop_type",
"delivery_type",
"location_type"
]
},
"route_name": {
"description": "Applies to depots: a text that is included in the names of generated routes that involve the depot",
"valid_headers": [
"route_name",
"depot_route_name"
]
}
}
}