{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.2", "modelTags": "GreenMov", "$id": "https://smart-data-models.github.io/dataModel.Environment/TrafficEnvironmentImpactForecast/schema.json", "title": "Smart Data Models - Traffic Environment Impact Forecast", "description": "Environmental Impact of traffic based on the vehicles traffic expectations and their emission characteristics", "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" }, { "properties": { "type": { "type": "string", "enum": [ "TrafficEnvironmentImpact" ], "description": "Property. NGSI type. It has to be TrafficEnvironmentImpactForecast" }, "co2": { "type": "number", "description": "Property. The expected C02 emission concentration. Units:'mg/L'" }, "validFrom": { "type": "string", "format": "date-time", "description": "Property. The start of the validity period for this forecast as a ISO8601 format" }, "validTo": { "type": "string", "format": "date-time", "description": "Property. The end of the validity period for this forecast as a ISO8601 format" }, "validity": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. Includes the validity period for this forecast as a ISO8601 time interval" }, "dateIssued": { "type": "string", "format": "date-time", "description": "Property. The date and time the forecast was issued by the service provider in ISO8601 UTC format" }, "traffic": { "type": "array", "description": "Property. Array of objects containing the expected values for intensity, occupation an speed of the different vehicle types", "items": { "type": "object", "properties": { "vehicleClass": { "type": "string", "description": "Property. Enumeration of the vehicle classes" }, "intensityExpected": { "type": "number", "minimum": 0, "description": "Property. Total number of vehicles expected during this forecast period. Model:'https://schema.org/Number'." }, "occupancyExpected": { "type": "number", "minimum": 0, "maximum": 1, "description": "Property. Fraction of the observation time where a vehicle has been occupying the observed lane. Model:'https://schema.org/Number'." }, "averageVehicleSpeedExpected": { "type": "number", "minimum": 0, "description": "Property. Average speed expected of the vehicles transiting during the observation period. Model:'https://schema.org/Number'. Units:'Kilometer per hour (Km/h)'" } } } } } } ], "required": [ "id", "type" ] }