|
44 | 44 | "type": "string",
|
45 | 45 | "enum": ["bicycle", "cargo_bicycle" ,"car", "moped", "scooter_standing", "scooter_seated", "other", "scooter"]
|
46 | 46 | },
|
47 |
| - "rider_capacity": { |
48 |
| - "description": "The number of riders (driver included) the vehicle can legally accommodate", |
49 |
| - "type": "integer", |
50 |
| - "minimum": 0 |
51 |
| - }, |
52 |
| - "cargo_volume_capacity": { |
53 |
| - "description": "Cargo volume available in the vehicle, expressed in liters.", |
54 |
| - "type": "integer", |
55 |
| - "minimum": 0 |
56 |
| - }, |
57 |
| - "cargo_load_capacity": { |
58 |
| - "description": "The capacity of the vehicle cargo space (excluding passengers), expressed in kilograms.", |
59 |
| - "type": "integer", |
60 |
| - "minimum": 0 |
61 |
| - }, |
62 |
| - |
63 | 47 | "propulsion_type": {
|
64 |
| - "description": "The primary propulsion type of the vehicle. Updated in v2.3-RC2 to represent car-sharing", |
| 48 | + "description": "The primary propulsion type of the vehicle.", |
65 | 49 | "type": "string",
|
66 |
| - "enum": ["human", "electric_assist", "electric", "combustion", "combustion_diesel", "hybrid", "plug_in_hybrid", "hydrogen_fuel_cell"] |
67 |
| - }, |
68 |
| - "eco_label": { |
69 |
| - "description": "Vehicle air quality certificate. added in v2.3-RC2.", |
70 |
| - "type": "array", |
71 |
| - "items": { |
72 |
| - "type": "object", |
73 |
| - "properties": { |
74 |
| - "country_code": { |
75 |
| - "description": " Country code following the ISO 3166-1 alpha-2 notation. Added in v2.3-RC2.", |
76 |
| - "type": "string", |
77 |
| - "pattern": "^[A-Z]{2}" |
78 |
| - }, |
79 |
| - "eco_sticker": { |
80 |
| - "description": " Name of the eco label. Added in v2.3-RC2.", |
81 |
| - "type": "string", |
82 |
| - } |
83 |
| - } |
84 |
| - }, |
85 |
| - "required": ["country_code", "eco_sticker"] |
| 50 | + "enum": ["human", "electric_assist", "electric", "combustion"] |
86 | 51 | },
|
87 | 52 | "max_range_meters": {
|
88 | 53 | "description":
|
|
94 | 59 | "description": "The public name of this vehicle type.",
|
95 | 60 | "type": "string",
|
96 | 61 | },
|
97 |
| - "vehicle_accessories": { |
98 |
| - "description": "Description of accessories available in the vehicle.", |
99 |
| - "type": "array", |
100 |
| - "items": { |
101 |
| - "enum": ["air_conditioning", "automatic", "manual", "convertible", "cruise_control", "doors_2", "doors_3", "doors_4", "doors_5", "navigation"] |
102 |
| - } |
103 |
| - }, |
104 |
| - "g_CO2_km": { |
105 |
| - "description": "Maximum quantity of CO2, in grams, emitted per kilometer, according to the WLTP. Added in v2.3-RC2", |
106 |
| - "type": "number", |
107 |
| - "minimum": 0 |
108 |
| - }, |
109 |
| - "vehicle_image": { |
110 |
| - "description": "URL to an image that would assist the user in identifying the vehicle. JPEG or PNG. Added in v2.3-RC2", |
111 |
| - "type": "string", |
112 |
| - "format": "uri" |
113 |
| - }, |
114 |
| - "make": { |
115 |
| - "description": "The name of the vehicle manufacturer. Added in v2.3-RC2", |
116 |
| - "type": "string", |
117 |
| - }, |
118 |
| - "model": { |
119 |
| - "description": "The name of the vehicle model. Added in v2.3-RC2", |
120 |
| - "type": "string", |
121 |
| - }, |
122 |
| - "color": { |
123 |
| - "description": "The color of the vehicle. Added in v2.3-RC2", |
124 |
| - "type": "string", |
125 |
| - }, |
126 | 62 | "wheel_count": {
|
127 | 63 | "description": "Number of wheels this vehicle type has. Added in v2.3-RC2",
|
128 | 64 | "type": "number",
|
|
186 | 122 | "if": {
|
187 | 123 | "properties": {
|
188 | 124 | "propulsion_type": {
|
189 |
| - "enum": ["electric", "electric_assist", "combustion", "combustion_diesel", "hybrid", "plug_in_hybrid", "hydrogen_fuel_cell"] |
| 125 | + "enum": ["electric", "electric_assist", "combustion"] |
190 | 126 | }
|
191 | 127 | },
|
192 | 128 | "required": ["propulsion_type"]
|
|
0 commit comments