{
"resources": [
{
"id": "truck-1",
"vehicleProfile": { "type": "truck", "grossWeight": 40000 },
"workingTimeWindow": { "begin": "2026-08-03T06:00:00Z", "end": "2026-08-04T20:00:00Z" },
"capacities": { "weight": 24000 },
"breaks": [
{ "type": "workingDurationSlidingBreak", "minBreakDuration": "PT11H", "maxInterBreakDuration": "PT12H" }
],
"CO2EmissionCalculation": {
"km": { "costCoeff": 0.82 },
"costPerCapacityPerTravelledKm": { "weight": { "costCoeff": 1.45e-05 } }
}
},
{
"id": "tractor-reserved-1",
"vehicleProfile": { "type": "truck" },
"tags": ["dock-slot:reserved-a"]
},
{
"id": "truck-loops-1",
"vehicleProfile": { "type": "truck" },
"arrival": "atFirstPosition",
"capacities": { "weight": 24000 }
}
],
"orders": [
{
"id": "order-warehouse-dock",
"stops": [
{
"type": "single",
"id": "stop-warehouse-dock",
"position": { "lon": 2.55, "lat": 48.635 },
"kind": "pickup",
"operationDuration": "PT30M",
"authorizedTimeWindows": [
{ "begin": "2026-08-03T06:00:00Z", "end": "2026-08-03T07:00:00Z", "resourceTags": ["dock-slot:reserved-a"] }
]
}
]
},
{
"id": "order-loop-0",
"stops": [
{ "type": "single", "id": "stop-pickup-0", "position": { "lon": 2.595, "lat": 48.63 }, "kind": "pickup", "operationDuration": "PT30M", "capacities": { "weight": 8000 } },
{ "type": "single", "id": "stop-delivery-0", "position": { "lon": 2.568, "lat": 48.606 }, "kind": "delivery", "operationDuration": "PT30M", "capacities": { "weight": 8000 } }
],
"successiveStops": true
},
{
"id": "order-day2-delivery",
"stops": [
{
"type": "single",
"id": "stop-day2-delivery",
"position": { "lon": 2.605, "lat": 48.615 },
"kind": "delivery",
"operationDuration": "PT25M",
"authorizedTimeWindows": [{ "begin": "2026-08-04T08:00:00Z", "end": "2026-08-04T18:00:00Z" }]
}
]
}
]
}