A set of traverse modes -- typically, one non-transit mode (walking, biking, car) and zero or more transit modes (bus, tram, etc). This class allows efficiently adding or removing modes from a set.
| name | data type | constraints | description |
|---|---|---|---|
| bicycle | boolean | required | |
| walk | boolean | required | |
| car | boolean | required | |
| modes | array of TraverseMode | ||
| valid | boolean | required |
Example
{
"bicycle" : true,
"walk" : true,
"car" : true,
"modes" : [ "FLEX", "SCOOTER" ],
"valid" : true
}