Skip to content

Commit 7029048

Browse files
committed
Revert "Update vehicle_types.json with car sharing extention"
This reverts commit 539f06f.
1 parent e249fc2 commit 7029048

File tree

1 file changed

+3
-67
lines changed

1 file changed

+3
-67
lines changed

v2.3-RC2/vehicle_types.json

Lines changed: 3 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -44,45 +44,10 @@
4444
"type": "string",
4545
"enum": ["bicycle", "cargo_bicycle" ,"car", "moped", "scooter_standing", "scooter_seated", "other", "scooter"]
4646
},
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-
6347
"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.",
6549
"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"]
8651
},
8752
"max_range_meters": {
8853
"description":
@@ -94,35 +59,6 @@
9459
"description": "The public name of this vehicle type.",
9560
"type": "string",
9661
},
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-
},
12662
"wheel_count": {
12763
"description": "Number of wheels this vehicle type has. Added in v2.3-RC2",
12864
"type": "number",
@@ -186,7 +122,7 @@
186122
"if": {
187123
"properties": {
188124
"propulsion_type": {
189-
"enum": ["electric", "electric_assist", "combustion", "combustion_diesel", "hybrid", "plug_in_hybrid", "hydrogen_fuel_cell"]
125+
"enum": ["electric", "electric_assist", "combustion"]
190126
}
191127
},
192128
"required": ["propulsion_type"]

0 commit comments

Comments
 (0)