{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "$id": "https://smart-data-models.github.io/dataModel.Environment/FloodMonitoring/schema.json", "title": " Smart Data Models - FloodMonitoring", "description": "Flood Sensor Data Model intended to represent the level of flooding w.r.t water flow/level at a certain water mass(river, lake,etc.)..", "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": [ "FloodMonitoring" ], "description": "Property. It has to be FloodMonitoring. NGSI Entity type." }, "alertLevel": { "type": "number", "description": "Property. Model:'https://schema.org/Number'. Reference alert level threshold value set for the sensing station corresponding to this observation. An Alert signal is generated if the current level crosses the alert level threshold value." }, "currentLevel": { "type": "number", "description": "Property. Model:'https://schema.org/Number'. Current flooding level indicated by the sensing station corresponding to this observation, computed using referenceLevel and measuredDistance(currentLevel = referenceLevel - measuredDistance)." }, "dangerLevel": { "type": "number", "description": "Property. Model:'https://schema.org/Number'. Reference danger level threshold value set for the sensing station corresponding to this observation. Flood level status is marked danger if the current level crosses the danger level threshold value." }, "measuredDistance": { "type": "number", "description": "Property. Model:'https://schema.org/Number'. Describes the distance measured by the sensor, from the sensor tip to the upper surface of water." }, "referenceLevel": { "type": "number", "description": "Property. Model:'https://schema.org/Number'. Describes the vertical distance from river bed to sensor tip." }, "floodLevelStatus": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. Flood level status indication given by the flood sensing device. The status is marked Danger if the current level is higher than the danger level threshold value." }, "stationID": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. A unique anonymous identifier assigned to the station corresponding to this observation." }, "observationDateTime": { "type": "string", "format": "date-time", "description": "Property. Model:'https://schema.org/DateTime'. Last reported time of observation." } } } ], "required": [ "id", "type" ] }