Vehicle
A vehicle or a station
Implements
Fields
Name | Type | Description |
|---|---|---|
| id | String | The provider id |
| publicId | String | A visible id. Licence plate or QR code id. This id should help an end user user to identify a vehicule in the street. |
| lat | Float | The vehicle's latitude |
| lng | Float | The vehicle's longitude |
| type | VehicleType | The object's type |
| attributes | [VehicleAttribute] | The vehicle's attributes |
| propulsion | PropulsionType | The vehicle's propulsion type |
| battery | Int | The vehicle battery level percent |
| deeplink | String | Vehicle's deeplink |
| pricing | VehiclePricing | Vehicle's rental price |
| provider | Provider | |
| availableVehicles | Int | Number of available vehicles |
| availableStands | Int | Number of available free stands |
| totalStands | Int | Total of stands |
| isVirtual | Boolean | Virtual station are not specific stand for this provider. Could be a simple bikes stand or just a zone |
| virtualRadius | Int | Radius of the virtual station. In meters. |
| stationName | String | A public name of the station. |
| vehicles | [VehicleInStation] | The list of vehicles in the station |
| stationVehicleDetails | [StationVehicleKind] | The list of kind of vehicles in the station |
| carClass | CarType | The car's type |
| carModel | String | The car's model. Brand + model.Eg: Renault Zoe |