-
-
Save oblonski/a79c699854899d61ecfe13951a2ed298 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"objectives":[ | |
{ | |
"type":"min", | |
"value":"completion_time" | |
} | |
], | |
"vehicles": [ | |
{ | |
"vehicle_id": "fieldworker-1", | |
"type_id": "car_type", | |
"shifts": [ | |
{ | |
"shift_id": "monday", | |
"start_address": { | |
"location_id": "your_home", | |
"lon": 13.39238003043599, | |
"lat": 52.50385692772726 | |
}, | |
"earliest_start": 28800, | |
"latest_end": 57600 | |
}, | |
{ | |
"shift_id": "tuesday", | |
"start_address": { | |
"location_id": "your_home", | |
"lon": 13.39238003043599, | |
"lat": 52.50385692772726 | |
}, | |
"earliest_start": 115200, | |
"latest_end": 144000 | |
}, | |
{ | |
"shift_id": "wednesday", | |
"start_address": { | |
"location_id": "your_home", | |
"lon": 13.39238003043599, | |
"lat": 52.50385692772726 | |
}, | |
"earliest_start": 201600, | |
"latest_end": 230400 | |
}, | |
{ | |
"shift_id": "thursday", | |
"start_address": { | |
"location_id": "your_home", | |
"lon": 13.39238003043599, | |
"lat": 52.50385692772726 | |
}, | |
"earliest_start": 288000, | |
"latest_end": 316800 | |
}, | |
{ | |
"shift_id": "friday", | |
"start_address": { | |
"location_id": "your_home", | |
"lon": 13.39238003043599, | |
"lat": 52.50385692772726 | |
}, | |
"earliest_start": 374400, | |
"latest_end": 403200 | |
} | |
] | |
} | |
], | |
"vehicle_types": [ | |
{ | |
"type_id": "car_type", | |
"profile": "car" | |
} | |
], | |
"services": [ | |
{ | |
"id": "visit_1", | |
"name": "no-name", | |
"address": { | |
"location_id": "visit_1", | |
"lon": 13.410338357149762, | |
"lat": 52.51643747550224 | |
}, | |
"duration": 5000 | |
}, | |
{ | |
"id": "visit_2", | |
"name": "no-name", | |
"address": { | |
"location_id": "visit_2", | |
"lon": 13.417833432167882, | |
"lat": 52.52856452153668 | |
}, | |
"duration": 5000 | |
}, | |
{ | |
"id": "visit_3", | |
"name": "no-name", | |
"address": { | |
"location_id": "visit_3", | |
"lon": 13.382689082967467, | |
"lat": 52.506038961863545 | |
}, | |
"duration": 5000, | |
"time_windows": [ | |
{ | |
"earliest": 26100, | |
"latest": 36000 | |
}, | |
{ | |
"earliest": 285300, | |
"latest": 292500 | |
} | |
] | |
}, | |
{ | |
"id": "visit_4", | |
"name": "no-name", | |
"address": { | |
"location_id": "visit_4", | |
"lon": 13.413117820107827, | |
"lat": 52.520884433650764 | |
}, | |
"duration": 5000 | |
}, | |
{ | |
"id": "visit_5", | |
"name": "no-name", | |
"address": { | |
"location_id": "visit_5", | |
"lon": 13.407467141934093, | |
"lat": 52.532430755253756 | |
}, | |
"duration": 5000 | |
}, | |
{ | |
"id": "visit_6", | |
"name": "no-name", | |
"address": { | |
"location_id": "visit_6", | |
"lon": 13.408494211226955, | |
"lat": 52.51071626834048 | |
}, | |
"duration": 5000 | |
}, | |
{ | |
"id": "visit_7", | |
"name": "no-name", | |
"address": { | |
"location_id": "visit_7", | |
"lon": 13.388136180550022, | |
"lat": 52.528729711432504 | |
}, | |
"duration": 5000 | |
}, | |
{ | |
"id": "visit_8", | |
"name": "no-name", | |
"address": { | |
"location_id": "visit_8", | |
"lon": 13.390999633882958, | |
"lat": 52.50684563977378 | |
}, | |
"duration": 5000 | |
}, | |
{ | |
"id": "visit_9", | |
"name": "no-name", | |
"address": { | |
"location_id": "visit_9", | |
"lon": 13.407333065571272, | |
"lat": 52.532886682303435 | |
}, | |
"duration": 5000 | |
}, | |
{ | |
"id": "visit_10", | |
"name": "no-name", | |
"address": { | |
"location_id": "visit_10", | |
"lon": 13.39009485240267, | |
"lat": 52.505951947569585 | |
}, | |
"duration": 5000 | |
}, | |
{ | |
"id": "visit_11", | |
"name": "no-name", | |
"address": { | |
"location_id": "visit_11", | |
"lon": 13.414246538328221, | |
"lat": 52.51685658090192 | |
}, | |
"duration": 5000 | |
}, | |
{ | |
"id": "visit_12", | |
"name": "no-name", | |
"address": { | |
"location_id": "visit_12", | |
"lon": 13.38595977735814, | |
"lat": 52.53048225172289 | |
}, | |
"duration": 5000 | |
}, | |
{ | |
"id": "visit_13", | |
"name": "no-name", | |
"address": { | |
"location_id": "visit_13", | |
"lon": 13.388360805926943, | |
"lat": 52.52826421914391 | |
}, | |
"duration": 5000 | |
}, | |
{ | |
"id": "visit_14", | |
"name": "no-name", | |
"address": { | |
"location_id": "visit_14", | |
"lon": 13.39812481820493, | |
"lat": 52.515336640918505 | |
}, | |
"duration": 5000 | |
}, | |
{ | |
"id": "visit_15", | |
"name": "no-name", | |
"address": { | |
"location_id": "visit_15", | |
"lon": 13.397910994471486, | |
"lat": 52.52978203933047 | |
}, | |
"duration": 5000 | |
}, | |
{ | |
"id": "visit_16", | |
"name": "no-name", | |
"address": { | |
"location_id": "visit_16", | |
"lon": 13.391477760151314, | |
"lat": 52.516399920480616 | |
}, | |
"duration": 5000 | |
}, | |
{ | |
"id": "visit_17", | |
"name": "no-name", | |
"address": { | |
"location_id": "visit_17", | |
"lon": 13.407712099604518, | |
"lat": 52.517788699381946 | |
}, | |
"duration": 5000 | |
}, | |
{ | |
"id": "visit_18", | |
"name": "no-name", | |
"address": { | |
"location_id": "visit_18", | |
"lon": 13.41916166456645, | |
"lat": 52.504287513944156 | |
}, | |
"duration": 5000 | |
}, | |
{ | |
"id": "visit_19", | |
"name": "no-name", | |
"address": { | |
"location_id": "visit_19", | |
"lon": 13.419968940469955, | |
"lat": 52.50864045159824 | |
}, | |
"duration": 5000 | |
}, | |
{ | |
"id": "visit_20", | |
"name": "no-name", | |
"address": { | |
"location_id": "visit_20", | |
"lon": 13.418591816209071, | |
"lat": 52.50991908874573 | |
}, | |
"duration": 5000 | |
}, | |
{ | |
"id": "visit_21", | |
"name": "no-name", | |
"address": { | |
"location_id": "visit_21", | |
"lon": 13.406338549150538, | |
"lat": 52.53330031279077 | |
}, | |
"duration": 5000 | |
}, | |
{ | |
"id": "visit_22", | |
"name": "no-name", | |
"address": { | |
"location_id": "visit_22", | |
"lon": 13.398878813889096, | |
"lat": 52.53295864489764 | |
}, | |
"duration": 5000 | |
}, | |
{ | |
"id": "visit_23", | |
"name": "no-name", | |
"address": { | |
"location_id": "visit_23", | |
"lon": 13.392613437314179, | |
"lat": 52.513481165008706 | |
}, | |
"duration": 5000 | |
}, | |
{ | |
"id": "visit_24", | |
"name": "no-name", | |
"address": { | |
"location_id": "visit_24", | |
"lon": 13.38066064161902, | |
"lat": 52.5145926438727 | |
}, | |
"duration": 5000 | |
}, | |
{ | |
"id": "visit_25", | |
"name": "no-name", | |
"address": { | |
"location_id": "visit_25", | |
"lon": 13.380283319458629, | |
"lat": 52.516853179081224 | |
}, | |
"duration": 5000 | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment