Skip to content

Commit d763cbb

Browse files
committed
add "tractionBatteryCapacity" property (VehicleModel)
1 parent 3436734 commit d763cbb

3 files changed

Lines changed: 169 additions & 0 deletions

File tree

OS2GPSConnector/CONTRIBUTORS.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
description: This is a compilation list of all CONTRIBUTORS across different objects (data models) alphabetically ordered. All fields are non mandatory
2+
contributors:
3+
- name:
4+
surname:
5+
mail: os2fleetoptimiser@os2.eu
6+
organization: OS2.eu
7+
project: OS2 GPS-Connector
8+
comments: Project funded by OS2 for danish municipalities.
9+
year: 2025
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
description: This is a compilation list of the current adopters of the data model VehicleModel of the Subject dataModel.Transportation. All fields are non mandatory. More info at https://smart-data-models.github.io/data-models/templates/dataModel/CURRENT_ADOPTERS.yaml
2+
currentAdopters:
3+
-
4+
adopter: OS2 GPS-Connector
5+
description: Open source project for danish municipalities to collect GPS data for analysis and optimisation of their fleets
6+
mail: os2fleetoptimiser@os2.eu
7+
organization: https://www.os2.eu/
8+
project: https://github.com/OS2sandbox/gps-connector
9+
comments: Storing additional meta-data for vehicle models, such as 'tractionBatteryCapacity', allows further optimisation by calculating range for BEV.
10+
startDate:
Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
{
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3+
"$schemaVersion": "0.0.1",
4+
"modelTags": "",
5+
"$id": "https://smart-data-models.github.io/dataModel.Transportation/VehicleModel/schema.json",
6+
"title": " - Vehicle / Vehicle Model",
7+
"description": "This entity models a particular vehicle model, including all properties which are common to multiple vehicle instances belonging to such model.",
8+
"type": "object",
9+
"allOf": [
10+
{
11+
"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons"
12+
},
13+
{
14+
"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons"
15+
},
16+
{
17+
"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/PhysicalObject-Commons"
18+
},
19+
{
20+
"properties": {
21+
"type": {
22+
"type": "string",
23+
"enum": [
24+
"VehicleModel"
25+
],
26+
"description": "Property. NGSI Entity type. It has to be VehicleModel"
27+
},
28+
"vehicleType": {
29+
"type": "string",
30+
"description": "Property. Type of vehicle from the point of view of its structural characteristics. This is different than the vehicle category . Model:'https://schema.org/Text'. Enum:'agriculturalVehicle, anyVehicle, articulatedVehicle, bicycle, binTrolley, bus, car, caravan, carOrLightVehicle, carWithCaravan, carWithTrailer, cleaningTrolley, constructionOrMaintenanceVehicle, fourWheelDrive, highSidedVehicle, lorry, minibus, moped, motorcycle, motorcycleWithSideCar, motorscooter, sweepingMachine, tanker, threeWheeledVehicle, trailer, tram, twoWheeledVehicle, trolley, van, vehicleWithoutCatalyticConverter, vehicleWithCaravan, vehicleWithTrailer, withEvenNumberedRegistrationPlates, withOddNumberedRegistrationPlates, other'. The following values defined by _VehicleTypeEnum_ and _VehicleTypeEnum2_, [DATEX 2 version 2.3](http://d2docs.ndwcloud.nu/_static/umlmodel/v2.3/index.htm)",
31+
"enum": [
32+
"agriculturalVehicle",
33+
"bicycle",
34+
"binTrolley",
35+
"bus",
36+
"car",
37+
"caravan",
38+
"carWithCaravan",
39+
"carWithTrailer",
40+
"cleaningTrolley",
41+
"constructionOrMaintenanceVehicle",
42+
"lorry",
43+
"minibus",
44+
"moped",
45+
"motorcycle",
46+
"motorcycleWithSideCar",
47+
"motorscooter",
48+
"sweepingMachine",
49+
"tanker",
50+
"trailer",
51+
"tram",
52+
"van",
53+
"trolley"
54+
]
55+
},
56+
"brandName": {
57+
"type": "string",
58+
"description": "Property. Vehicle's brand name. Model:'https://schema.org/brand'"
59+
},
60+
"modelName": {
61+
"type": "string",
62+
"description": "Property. Vehicle's model name. Model:'https://schema.org/model'"
63+
},
64+
"manufacturerName": {
65+
"type": "string",
66+
"description": "Property. Vehicle's manufacturer name. Model:'https://schema.org/Text'"
67+
},
68+
"vehicleModelDate": {
69+
"type": "string",
70+
"format": "date-time",
71+
"description": "Property. The release date of a vehicle model (often used to differentiate versions of the same make and model). Model:'https://schema.org/vehicleModelDate'"
72+
},
73+
"cargoVolume": {
74+
"type": "number",
75+
"minimum": 0,
76+
"description": "Property. The available volume for cargo or luggage. For automobiles, this is usually the trunk volume. Model:'https://schema.org/cargoVolume'. Units:'Liters'. If only a single value is provided (type Number) it will refer to the maximum volume"
77+
},
78+
"fuelType": {
79+
"type": "string",
80+
"description": "Property. The type of fuel suitable for the engine or engines of the vehicle. Model:'https://schema.org/DateTime'. Enum:'autogas, biodiesel, ethanol, cng, diesel, electric, gasoline, hybrid electric/diesel, hybrid electric/petrol, hydrogen, lpg, petrol, petrol(unleaded), petrol(leaded), other'",
81+
"enum": [
82+
"autogas",
83+
"biodiesel",
84+
"cng",
85+
"diesel",
86+
"electric",
87+
"ethanol",
88+
"gasoline",
89+
"hybrid_electric_diesel",
90+
"hybrid_electric_petrol",
91+
"hydrogen",
92+
"lpg",
93+
"petrol",
94+
"petrol(unleaded)",
95+
"petrol(leaded)",
96+
"other"
97+
]
98+
},
99+
"fuelConsumption": {
100+
"type": "number",
101+
"minimum": 0,
102+
"description": "Property. The amount of fuel consumed for traveling a particular distance or temporal duration with the given vehicle (e.g. liters per 100 km). Model:'https://schema.org/fuelConsumption'. Units:'liters per 100 kilometer'"
103+
},
104+
"height": {
105+
"type": "number",
106+
"minimum": 0,
107+
"description": "Property. Vehicle's height. Model:'https://schema.org/height'"
108+
},
109+
"tractionBatteryCapacity": {
110+
"type": "number",
111+
"minimum": 0,
112+
"description": "Property. Vehicle's traction battery capacity. Applies to electrically powered vehicles (e.g. 52 kWh)"
113+
},
114+
"width": {
115+
"type": "number",
116+
"minimum": 0,
117+
"description": "Property. Vehicle's width. Model:'https://schema.org/width'"
118+
},
119+
"depth": {
120+
"type": "number",
121+
"minimum": 0,
122+
"description": "Property. Vehicle's depth. Model:'https://schema.org/depth'"
123+
},
124+
"weight": {
125+
"type": "number",
126+
"minimum": 0,
127+
"description": "Property. Vehicle's weigth. Model:'https://schema.org/weigth'"
128+
},
129+
"vehicleEngine": {
130+
"type": "string",
131+
"description": "Property. Information about the engine or engines of the vehicle. Model:'https://schema.org/vehicleEngine'"
132+
},
133+
"url": {
134+
"type": "string",
135+
"format": "uri",
136+
"description": "Property. URL which provides a description of this vehicle model. Model:'https://schema.org/URL'"
137+
}
138+
}
139+
}
140+
],
141+
"required": [
142+
"id",
143+
"name",
144+
"type",
145+
"vehicleType",
146+
"brandName",
147+
"modelName",
148+
"manufacturerName"
149+
]
150+
}

0 commit comments

Comments
 (0)