You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: VehicleModel/doc/spec.md
+55-19Lines changed: 55 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
<!-- /15-License -->
9
9
<!-- 20-Description -->
10
10
Global description: **This entity models a particular vehicle model, including all properties which are common to multiple vehicle instances belonging to such model.**
description: 'This entity models a particular vehicle model, including all properties which are common to multiple vehicle instances belonging to such model.'
40
+
description: This entity models a particular vehicle model, including all properties which are common to multiple vehicle instances belonging to such model.
41
41
properties:
42
42
address:
43
43
description: The mailing address
44
44
properties:
45
45
addressCountry:
46
-
description: 'The country. For example, Spain'
46
+
description: The country. For example, Spain
47
47
type: string
48
48
x-ngsi:
49
49
model: https://schema.org/addressCountry
50
50
type: Property
51
51
addressLocality:
52
-
description: 'The locality in which the street address is, and which is in the region'
52
+
description: The locality in which the street address is, and which is in the region
53
53
type: string
54
54
x-ngsi:
55
55
model: https://schema.org/addressLocality
56
56
type: Property
57
57
addressRegion:
58
-
description: 'The region in which the locality is, and which is in the country'
58
+
description: The region in which the locality is, and which is in the country
59
59
type: string
60
60
x-ngsi:
61
61
model: https://schema.org/addressRegion
62
62
type: Property
63
63
district:
64
-
description: 'A district is a type of administrative division that, in some countries, is managed by the local government'
64
+
description: A district is a type of administrative division that, in some countries, is managed by the local government
65
65
type: string
66
66
x-ngsi:
67
67
type: Property
68
68
postOfficeBoxNumber:
69
-
description: 'The post office box number for PO box addresses. For example, 03578'
69
+
description: The post office box number for PO box addresses. For example, 03578
70
70
type: string
71
71
x-ngsi:
72
72
model: https://schema.org/postOfficeBoxNumber
73
73
type: Property
74
74
postalCode:
75
-
description: 'The postal code. For example, 24004'
description: 'The available volume for cargo or luggage. For automobiles, this is usually the trunk volume. If only a single value is provided (type Number) it will refer to the maximum volume'
124
+
description: The available volume for cargo or luggage. For automobiles, this is usually the trunk volume. If only a single value is provided (type Number) it will refer to the maximum volume
122
125
minimum: 0
123
126
type: number
124
127
x-ngsi:
@@ -169,7 +172,7 @@ VehicleModel:
169
172
type: Property
170
173
units: liters per 100 kilometer
171
174
fuelType:
172
-
description: 'The type of fuel suitable for the engine or engines of the vehicle. Enum:''autogas, biodiesel, ethanol, cng, diesel, electric, gasoline, hybrid electric/diesel, hybrid electric/petrol, hydrogen, lpg, petrol, petrol(unleaded), petrol(leaded), other'''
175
+
description: The type of fuel suitable for the engine or engines of the vehicle. Enum:'autogas, biodiesel, ethanol, cng, diesel, electric, gasoline, hybrid electric/diesel, hybrid electric/petrol, hydrogen, lpg, petrol, petrol(unleaded), petrol(leaded), other'
173
176
enum:
174
177
- autogas
175
178
- biodiesel
@@ -213,7 +216,7 @@ VehicleModel:
213
216
type: Property
214
217
description: Unique identifier of the entity
215
218
x-ngsi:
216
-
type: Property
219
+
type: Relationship
217
220
image:
218
221
description: An image of the item
219
222
format: uri
@@ -222,20 +225,26 @@ VehicleModel:
222
225
model: https://schema.org/URL
223
226
type: Property
224
227
location:
225
-
description: 'Geojson reference to the item. It can be Point, LineString, Polygon, MultiPoint, MultiLineString or MultiPolygon'
228
+
description: Geojson reference to the item. It can be Point, LineString, Polygon, MultiPoint, MultiLineString or MultiPolygon
226
229
oneOf:
227
230
- description: Geojson reference to the item. Point
228
231
properties:
229
232
bbox:
233
+
description: BBox of the Point
230
234
items:
231
235
type: number
232
236
minItems: 4
233
237
type: array
238
+
x-ngsi:
239
+
type: Property
234
240
coordinates:
241
+
description: Coordinates of the Point
235
242
items:
236
243
type: number
237
244
minItems: 2
238
245
type: array
246
+
x-ngsi:
247
+
type: Property
239
248
type:
240
249
enum:
241
250
- Point
@@ -250,18 +259,24 @@ VehicleModel:
250
259
- description: Geojson reference to the item. LineString
251
260
properties:
252
261
bbox:
262
+
description: BBox coordinates of the LineString
253
263
items:
254
264
type: number
255
265
minItems: 4
256
266
type: array
267
+
x-ngsi:
268
+
type: Property
257
269
coordinates:
270
+
description: Coordinates of the LineString
258
271
items:
259
272
items:
260
273
type: number
261
274
minItems: 2
262
275
type: array
263
276
minItems: 2
264
277
type: array
278
+
x-ngsi:
279
+
type: Property
265
280
type:
266
281
enum:
267
282
- LineString
@@ -276,11 +291,15 @@ VehicleModel:
276
291
- description: Geojson reference to the item. Polygon
277
292
properties:
278
293
bbox:
294
+
description: BBox coordinates of the Polygon
279
295
items:
280
296
type: number
281
297
minItems: 4
282
298
type: array
299
+
x-ngsi:
300
+
type: Property
283
301
coordinates:
302
+
description: Coordinates of the Polygon
284
303
items:
285
304
items:
286
305
items:
@@ -290,6 +309,8 @@ VehicleModel:
290
309
minItems: 4
291
310
type: array
292
311
type: array
312
+
x-ngsi:
313
+
type: Property
293
314
type:
294
315
enum:
295
316
- Polygon
@@ -304,17 +325,23 @@ VehicleModel:
304
325
- description: Geojson reference to the item. MultiPoint
305
326
properties:
306
327
bbox:
328
+
description: BBox coordinates of the LineString
307
329
items:
308
330
type: number
309
331
minItems: 4
310
332
type: array
333
+
x-ngsi:
334
+
type: Property
311
335
coordinates:
336
+
description: Coordinates of the MulitPoint
312
337
items:
313
338
items:
314
339
type: number
315
340
minItems: 2
316
341
type: array
317
342
type: array
343
+
x-ngsi:
344
+
type: Property
318
345
type:
319
346
enum:
320
347
- MultiPoint
@@ -329,11 +356,15 @@ VehicleModel:
329
356
- description: Geojson reference to the item. MultiLineString
330
357
properties:
331
358
bbox:
359
+
description: BBox coordinates of the LineString
332
360
items:
333
361
type: number
334
362
minItems: 4
335
363
type: array
364
+
x-ngsi:
365
+
type: Property
336
366
coordinates:
367
+
description: Coordinates of the MultiLineString
337
368
items:
338
369
items:
339
370
items:
@@ -343,6 +374,8 @@ VehicleModel:
343
374
minItems: 2
344
375
type: array
345
376
type: array
377
+
x-ngsi:
378
+
type: Property
346
379
type:
347
380
enum:
348
381
- MultiLineString
@@ -362,6 +395,7 @@ VehicleModel:
362
395
minItems: 4
363
396
type: array
364
397
coordinates:
398
+
description: Coordinates of the MultiPolygon
365
399
items:
366
400
items:
367
401
items:
@@ -373,6 +407,8 @@ VehicleModel:
373
407
type: array
374
408
type: array
375
409
type: array
410
+
x-ngsi:
411
+
type: Property
376
412
type:
377
413
enum:
378
414
- MultiPolygon
@@ -421,7 +457,7 @@ VehicleModel:
421
457
type: Property
422
458
description: Unique identifier of the entity
423
459
x-ngsi:
424
-
type: Property
460
+
type: Relationship
425
461
type: array
426
462
x-ngsi:
427
463
type: Property
@@ -438,7 +474,7 @@ VehicleModel:
438
474
x-ngsi:
439
475
type: Property
440
476
source:
441
-
description: 'A sequence of characters giving the original source of the entity data as a URL. Recommended to be the fully qualified domain name of the source provider, or the URL to the source object'
477
+
description: A sequence of characters giving the original source of the entity data as a URL. Recommended to be the fully qualified domain name of the source provider, or the URL to the source object
442
478
type: string
443
479
x-ngsi:
444
480
type: Property
@@ -470,7 +506,7 @@ VehicleModel:
470
506
model: https://schema.org/vehicleModelDate
471
507
type: Property
472
508
vehicleType:
473
-
description: 'Type of vehicle from the point of view of its structural characteristics. This is different than the vehicle category . 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)'
509
+
description: Type of vehicle from the point of view of its structural characteristics. This is different than the vehicle category . 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)
474
510
enum:
475
511
- agriculturalVehicle
476
512
- bicycle
@@ -521,12 +557,12 @@ VehicleModel:
521
557
- modelName
522
558
- manufacturerName
523
559
type: object
524
-
x-derived-from: ""
525
-
x-disclaimer: 'Redistribution and use in source and binary forms, with or without modification, are permitted provided that the license conditions are met. Copyleft (c) 2022 Contributors to Smart Data Models Program'
560
+
x-derived-from: ''
561
+
x-disclaimer: Redistribution and use in source and binary forms...
0 commit comments