VehicleReference
Object: VehicleReference
Section titled “Object: VehicleReference”A vehicle represents the vehicle the booking will be using. Every booking must have exactly one vehicle, and the vehicle chosen determines how long the booking will take. Each vehicle also has a capacity. A booking will not be booked automatically into a space with too few capacity to contain the vehicle.
Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
id* | UUID! | The ID of the vehicle. |
key* | EntityKey! | A user-defined, stable identifier for the vehicle. |
name* | String! | The name of the vehicle. This cannot be changed after being set. |
description | String | The description of the vehicle. |
size* | Int! | The size of the vehicle. A vehicle will only be booked into a space with the capacity to support it. |
duration* | Int! | The base duration a booking with this vehicle will take, in seconds. May be 0 or above. |
class | VehicleClass | The standard vehicle class (if any) |