{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "$id": "https://smart-data-models.github.io/dataModel.Environment/EnvAQM/schema.json", "title": " Smart Data Models - EnvAQM", "description": "Air Quality Monitoring (AQM) Data Model.", "type": "object", "additionalProperties": false, "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" }, { "properties": { "type": { "type": "string", "enum": [ "AirQualityMonitoring" ], "description": "Property. NGSI type. it has to be AirQualityMonitoring" }, "deviceInfo": { "type": "object", "description": "Property. Information about the device associated with the observations.", "properties": { "deviceList": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. Information of device part number and sub devices corresponding to this observation." }, "deviceBatteryStatus": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. Gives the Battery charging status of the reporting device(Connected, Disconnected)." }, "deviceName": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. Device Name or Station name of the sensor device/station corresponding to this observation." }, "deviceID": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. Device ID of the physical sensor/ measurement station corresponding to this observation." }, "RFID": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. Gives the ID of the RFID reader." }, "measurand": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. Property/properties sensed/observed/measured by the device." }, "deviceSimNumber": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. Gives the sim number of the device in the waste management vehicle." }, "deviceModel": { "type": "object", "description": "Property. Describes the information of the device, sensor or system in consideration.", "properties": { "brandName": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. Name of the brand associated with an entity, e.g., sensor, device etc." }, "manufacturerName": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. Name of the manufacturer associated with an entity, e.g., sensor, device etc." }, "modelName": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. Name of a specific model associated with an entity, e.g., sensor, device etc." }, "modelURL": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. URL providing further information of a specific model associated with an entity, e.g., sensor, device etc." }, "areaServed": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. Area served by the entity or a service. " } } }, "refDevice": { "anyOf": [ { "type": "string", "minLength": 1, "maxLength": 256, "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", "description": "Property. Identifier format of any NGSI entity" }, { "type": "string", "format": "uri", "description": "Property. Identifier format of any NGSI entity" } ], "description": "Relationship. Unique identifier of the entity" } } }, "observationDateTime": { "type": "string", "format": "date-time", "description": "Property. Model:'https://schema.org/DateTime'. Last reported time of observation." }, "deviceStatus": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. Indicates the status of physical device or devices." }, "atmosphericPressure": { "type": "number", "description": "Property. Model:'https://schema.org/Number'. Observed air (atmospheric or barometric) pressure." }, "airQualityIndex": { "type": "number", "description": "Property. Model:'https://schema.org/Number'. Overall Air Quality Index (AQI) for the observed air quality." }, "airQualityLevel": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. Air Quality Category Indication. Qualitative level defined according to the local health agencies. For example, 'GOOD', 'MODERATE', 'POOR', 'UNHEALTHY', 'SEVERE', 'HAZARDOUS' etc." }, "aqiMajorPollutant": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. Major pollutant in the Air Quality Index (AQI). Enum:'arsenic, bap, benzene, co2, nh3, no, no2, o2, o3, so2, pb'", "enum": [ "arsenic", "bap", "benzene", "co2", "nh3", "no", "no2", "o2", "o3", "so2", "pb" ] }, "airTemperatureTSA": { "type": "object", "description": "Property. Air temperature time series aggregation", "$ref": "https://smart-data-models.github.io/dataModel.Environment/Environment-schema.json#/definitions/TimeSeriesAggregation" }, "ambientNoiseTSA": { "type": "object", "description": "Property. ambient Noise time series aggregation", "$ref": "https://smart-data-models.github.io/dataModel.Environment/Environment-schema.json#/definitions/TimeSeriesAggregation" }, "arsenicTSA": { "type": "object", "description": "Property. Arsenic time series aggregation", "$ref": "https://smart-data-models.github.io/dataModel.Environment/Environment-schema.json#/definitions/TimeSeriesAggregation" }, "atmosphericPressureTSA": { "type": "object", "description": "Property. Atmospheric pressure time series aggregation", "$ref": "https://smart-data-models.github.io/dataModel.Environment/Environment-schema.json#/definitions/TimeSeriesAggregation" }, "bapTSA": { "type": "object", "description": "Property. Benzo(a)Pyrene time series aggregation", "$ref": "https://smart-data-models.github.io/dataModel.Environment/Environment-schema.json#/definitions/TimeSeriesAggregation" }, "benzeneTSA": { "type": "object", "description": "Property. Benzene time series aggregation", "$ref": "https://smart-data-models.github.io/dataModel.Environment/Environment-schema.json#/definitions/TimeSeriesAggregation" }, "coTSA": { "type": "object", "description": "Property. Carbon monoxide time series aggregation", "$ref": "https://smart-data-models.github.io/dataModel.Environment/Environment-schema.json#/definitions/TimeSeriesAggregation" }, "co2TSA": { "type": "object", "description": "Property. Carbon dioxide time series aggregation", "$ref": "https://smart-data-models.github.io/dataModel.Environment/Environment-schema.json#/definitions/TimeSeriesAggregation" }, "nh3TSA": { "type": "object", "description": "Property. Ammonia time series aggregation", "$ref": "https://smart-data-models.github.io/dataModel.Environment/Environment-schema.json#/definitions/TimeSeriesAggregation" }, "nickelTSA": { "type": "object", "description": "Property. Nickel time series aggregation", "$ref": "https://smart-data-models.github.io/dataModel.Environment/Environment-schema.json#/definitions/TimeSeriesAggregation" }, "noTSA": { "type": "object", "description": "Property. Nitrogen monoxide time series aggregation", "$ref": "https://smart-data-models.github.io/dataModel.Environment/Environment-schema.json#/definitions/TimeSeriesAggregation" }, "no2TSA": { "type": "object", "description": "Property. Nitrogen dioxide time series aggregation", "$ref": "https://smart-data-models.github.io/dataModel.Environment/Environment-schema.json#/definitions/TimeSeriesAggregation" }, "o2TSA": { "type": "object", "description": "Property. Oxygen time series aggregation", "$ref": "https://smart-data-models.github.io/dataModel.Environment/Environment-schema.json#/definitions/TimeSeriesAggregation" }, "o3TSA": { "type": "object", "description": "Property. Ozone time series aggregation ", "$ref": "https://smart-data-models.github.io/dataModel.Environment/Environment-schema.json#/definitions/TimeSeriesAggregation" }, "pm10TSA": { "type": "object", "description": "Property. Particulate matter in the air with a diameter of 10 micrometers or less time series aggregation", "$ref": "https://smart-data-models.github.io/dataModel.Environment/Environment-schema.json#/definitions/TimeSeriesAggregation" }, "pm25TSA": { "type": "object", "description": "Property. Particulate matter in the air with a diameter of 25 micrometers or less time series aggregation", "$ref": "https://smart-data-models.github.io/dataModel.Environment/Environment-schema.json#/definitions/TimeSeriesAggregation" }, "relativeHumidityTSA": { "type": "object", "description": "Property. Relative Humidity time series aggregation", "$ref": "https://smart-data-models.github.io/dataModel.Environment/Environment-schema.json#/definitions/TimeSeriesAggregation" }, "so2TSA": { "type": "object", "description": "Property. Sulfur dioxide time series aggregation", "$ref": "https://smart-data-models.github.io/dataModel.Environment/Environment-schema.json#/definitions/TimeSeriesAggregation" }, "pbTSA": { "type": "object", "description": "Property. Lead time series aggregation", "$ref": "https://smart-data-models.github.io/dataModel.Environment/Environment-schema.json#/definitions/TimeSeriesAggregation" }, "uvTSA": { "type": "object", "description": "Property. Ultra violet radiation time series aggregation", "$ref": "https://smart-data-models.github.io/dataModel.Environment/Environment-schema.json#/definitions/TimeSeriesAggregation" }, "illuminance": { "type": "number", "minimum": 0, "description": "Property. Measured illuminance" }, "solarRadiation": { "type": "number", "description": "Property. Model:'http://schema.org/Number'. Instantaneous solar radiation measured in kW/m2. Units:'kW/m2'" }, "precipitation": { "type": "number", "description": "Property. Model:'https://schema.org/Number'. Observed precipitation/rainfall level over a given duration." }, "versionInfo": { "type": "object", "description": "Property. Version information corresponding to this observation.", "properties": { "startDateTime": { "type": "string", "format": "date-time", "description": "Property. Model:'https://schema.org/DateTime'. Reported start time corresponding to this observation." }, "endDateTime": { "type": "string", "format": "date-time", "description": "Property. Model:'https://schema.org/DateTime'. Reported end time corresponding to this observation." }, "versionName": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. Version name corresponding to this observation" }, "comments": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. User comments corresponding to this observation." } } } } } ], "required": [ "id", "type" ] }