Ortwerk
time window conflicts
Simulates the planned sequence from the start time: arrival = departure + travel time, service starts at max(arrival, window start), lateness = arrival after window end, departure = start + service time; flags late arrivals, waiting, service running past the window, invalid windows and the shift end. Independently of the order, every pair of stops is tested with earliest possible starts (window start or direct travel from the start): if neither order reaches the second stop before its window.
POST https://ort.halowerk.com/v1/time-window-conflictsInputs
| Field | Type | Required | Description |
|---|---|---|---|
| start | object | Yes | Departure from the depot. |
| stops | array | Yes | Stops in planned order. |
| matrix_minutes | array | No | Travel times in minutes; index 0 = start, then stops in the given order. |
| average_speed_kmh | number | No | Average speed for coordinate-based travel times (your assumption). |
| detour_factor | number | No | Road-distance factor on the great-circle distance (your assumption). |
| shift_end | string | No | Latest end of the tour. |
| return_to_start | boolean | No | Include the return trip to the start in the shift-end check. |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"start",
"stops"
],
"properties": {
"start": {
"type": "object",
"additionalProperties": false,
"required": [
"time"
],
"description": "Departure from the depot.",
"properties": {
"time": {
"type": "string",
"maxLength": 40,
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,3})?)?(?:Z|[+-]\\d{2}:\\d{2})$",
"description": "Departure time."
},
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Depot latitude."
},
"lon": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Depot longitude."
}
}
},
"stops": {
"type": "array",
"minItems": 1,
"maxItems": 300,
"description": "Stops in planned order.",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"description": "Order or stop reference."
},
"window_start": {
"type": "string",
"maxLength": 40,
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,3})?)?(?:Z|[+-]\\d{2}:\\d{2})$",
"description": "Earliest service start."
},
"window_end": {
"type": "string",
"maxLength": 40,
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,3})?)?(?:Z|[+-]\\d{2}:\\d{2})$",
"description": "Latest service start (arrival after it is late)."
},
"service_minutes": {
"type": "number",
"minimum": 0,
"maximum": 1440,
"default": 0,
"description": "Service time at the stop."
},
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude."
},
"lon": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude."
}
}
}
},
"matrix_minutes": {
"type": "array",
"maxItems": 301,
"items": {
"type": "array",
"maxItems": 301,
"items": {
"type": "number",
"minimum": 0,
"maximum": 10000
}
},
"description": "Travel times in minutes; index 0 = start, then stops in the given order."
},
"average_speed_kmh": {
"type": "number",
"minimum": 1,
"maximum": 200,
"description": "Average speed for coordinate-based travel times (your assumption)."
},
"detour_factor": {
"type": "number",
"minimum": 1,
"maximum": 3,
"default": 1,
"description": "Road-distance factor on the great-circle distance (your assumption)."
},
"shift_end": {
"type": "string",
"maxLength": 40,
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,3})?)?(?:Z|[+-]\\d{2}:\\d{2})$",
"description": "Latest end of the tour."
},
"return_to_start": {
"type": "boolean",
"default": false,
"description": "Include the return trip to the start in the shift-end check."
}
}
}Published input example
{
"start": {
"time": "2026-10-05T08:00:00Z"
},
"stops": [
{
"id": "A",
"window_start": "2026-10-05T08:30:00Z",
"window_end": "2026-10-05T09:00:00Z",
"service_minutes": 15
},
{
"id": "B",
"window_start": "2026-10-05T09:00:00Z",
"window_end": "2026-10-05T09:30:00Z",
"service_minutes": 10
}
],
"matrix_minutes": [
[
0,
20,
40
],
[
20,
0,
30
],
[
40,
30,
0
]
]
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Ortwerk0.01 USDC
area coverage
POSThttps://ort.halowerk.com/v1/area-coverageRuns one multi-source Dijkstra from all origins (Routing runs on HALOWERK's own graph of the German road and path network built from OpenStreetMap (Geofabrik germany-latest.osm.pbf, data until 2026-11-12, ODbL 1.0; 25 million nodes, edges a
- Ortwerk0.004 USDC
autobahn roadworks
POSThttps://ort.halowerk.com/v1/autobahn-roadworksFetches live roadworks (long- and short-term) and closures per motorway from the public Autobahn App API of Die Autobahn GmbH des Bundes (no key; https://verkehr.autobahn.de/o/autobahn). The free-text periods are parsed into concrete interv
- Ortwerk0.004 USDC
avalanche bulletin
POSThttps://ort.halowerk.com/v1/avalanche-bulletinFresh official WSL SLF CAAMLv6 JSON for one Swiss warning region, in de/en/fr/it with explicit actual-language fallback. Includes the complete unmodified bulletin, all elevation/aspect/time distinctions, publication and validity times, sour