{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "$id": "https://smart-data-models.github.io/dataModel.Transportation/VehicleModel/schema.json", "title": " - Vehicle / Vehicle Model", "description": "This entity models a particular vehicle model, including all properties which are common to multiple vehicle instances belonging to such model.", "type": "object", "allOf": [ { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" }, { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" }, { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/PhysicalObject-Commons" }, { "properties": { "type": { "type": "string", "enum": [ "VehicleModel" ], "description": "Property. NGSI Entity type. It has to be VehicleModel" }, "vehicleType": { "type": "string", "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)", "enum": [ "agriculturalVehicle", "bicycle", "binTrolley", "bus", "car", "caravan", "carWithCaravan", "carWithTrailer", "cleaningTrolley", "constructionOrMaintenanceVehicle", "lorry", "minibus", "moped", "motorcycle", "motorcycleWithSideCar", "motorscooter", "sweepingMachine", "tanker", "trailer", "tram", "van", "trolley" ] }, "brandName": { "type": "string", "description": "Property. Vehicle's brand name. Model:'https://schema.org/brand'." }, "modelName": { "type": "string", "description": "Property. Vehicle's model name. Model:'https://schema.org/model'." }, "manufacturerName": { "type": "string", "description": "Property. Vehicle's manufacturer name. Model:'https://schema.org/Text'." }, "vehicleModelDate": { "type": "string", "format": "date-time", "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'." }, "cargoVolume": { "type": "number", "minimum": 0, "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." }, "fuelType": { "type": "string", "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'", "enum": [ "autogas", "biodiesel", "cng", "diesel", "electric", "ethanol", "gasoline", "hybrid_electric_diesel", "hybrid_electric_petrol", "hydrogen", "lpg", "petrol", "petrol(unleaded)", "petrol(leaded)", "other" ] }, "fuelConsumption": { "type": "number", "minimum": 0, "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'" }, "height": { "type": "number", "minimum": 0, "description": "Property. Vehicle's height. Model:'https://schema.org/height'." }, "width": { "type": "number", "minimum": 0, "description": "Property. Vehicle's width. Model:'https://schema.org/width'." }, "depth": { "type": "number", "minimum": 0, "description": "Property. Vehicle's depth. Model:'https://schema.org/depth'." }, "weight": { "type": "number", "minimum": 0, "description": "Property. Vehicle's weigth. Model:'https://schema.org/weigth'." }, "vehicleEngine": { "type": "string", "description": "Property. Information about the engine or engines of the vehicle. Model:'https://schema.org/vehicleEngine'." }, "url": { "type": "string", "format": "uri", "description": "Property. URL which provides a description of this vehicle model. Model:'https://schema.org/URL'." } } } ], "required": [ "id", "name", "type", "vehicleType", "brandName", "modelName", "manufacturerName" ] }