Skills and matching¶
~3 min · Recipe
Use skills when only some vehicles or drivers can serve some jobs — a lift gate, a refrigerated van, a certified driver. A task is only assigned to a vehicle whose skills cover the task's required skills.
On the vehicle — what it can do:
{ "id": 2, "capacities": [{ "name": "parcels", "units": 40 }], "skills": ["refrigerated", "liftgate"] }
On the task — what it needs:
- A task with no
skillscan go on any vehicle. - A task requiring a skill no vehicle provides lands in
unassignedwith reasonSKILL. - Skills are plain strings — match them exactly (case-sensitive).
Related: Capacities and demand · Time windows · The Problem object