{ "$schema": "http://json-schema.org/schema", "$schemaVersion": "0.0.2", "$id": "https://smart-data-models.github.io/dataModel.NightSkyQuality/NightSkyQuality/schema.json", "title": "Smart Data models - NightSkyQuality schema", "modelTags": "", "description": "Data regarding the observed sky quality and the status of the measuring device.", "type": "object", "required": [ "id", "type", "location" ], "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": [ "NightSkyQuality" ], "description": "Property. NGSI Entity type. It has to be MosquitoDensity" }, "ambientTemperature": { "type": "number", "description": "Property. Temperature measurement. Units:'degrees Celsius (C)'" }, "battery": { "type": "number", "description": "Property. Voltage provided by the battery. Changes relative to the Units:'millivolts (mV)'" }, "batteryLevel": { "description": "Property. Model:'https://schema.org/Number'. Device battery level. It must be equal to 1.0 when battery is full. 0.0 when battery is empty. -1 when transiently cannot be determined", "oneOf": [ { "type": "number", "maximum": 1, "minimum": 0 }, { "type": "number", "maximum": -1, "minimum": -1 } ] }, "clouds": { "type": "string", "description": "Property. Qualitative indicator of the amount of cloud cover" }, "sigmaMagnitude": { "type": "number", "description": "Property. Unitless parameter, expressing the Standard Deviation corresponding to the measurement of sky magnitude" }, "skyMagnitude": { "type": "number", "description": "Property. Unitless parameter: the measurement taken by the device, corresponding to the apparent magnitude of the night sky (that is, its brightness)" }, "skyTemperature": { "type": "number", "description": "Property. Direct measurement of the sky temperature, as taken by the device. Units:'degrees Celsius (C)'" } } } ], "derivedFrom": "", "license": "" }