{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.4", "modelTags": "", "$id": "https://smart-data-models.github.io/dataModel.WaterQuality/WaterQualityObserved/schema.json", "title": " - Water quality observed schema", "description": "Water Quality data model is intended to represent water quality parameters at a certain water mass (river, lake, sea, etc.) section", "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": [ "WaterQualityObserved" ], "description": "Property. NGSI Entity type. It has to be WaterQualityObserved" }, "dateObserved": { "type": "string", "description": "Property. Model:'https://schema.org/DateTime'. The date and time of this observation in ISO8601 UTCformat. It can be represented by an specific time instant or by an ISO8601 interval." }, "measurand": { "type": "array", "items": { "type": "string" }, "minItems": 1, "description": "Property. An array of strings containing details (see format below) about extra measurands provided by this observation." }, "temperature": { "type": "number", "description": "Property. Temperature" }, "bod": { "type": "number", "minimum": 0, "description": "Property. Biochemical oxygen demand (BOD) is the amount of dissolved oxygen (DO) needed (i.e. demanded) by aerobic biological organisms to break down organic material present in a given water sample at certain temperature over a specific time period. Units:'mg/l'" }, "cod": { "type": "number", "minimum": 0, "description": "Property. Chemical oxygen demand (COD) is an indicative measure of the amount of oxygen that can be consumed by reactions in a measured solution. Units:'mg/l'" }, "conductivity": { "type": "number", "minimum": 0, "description": "Property. Electrical Conductivity." }, "conductance": { "type": "number", "minimum": 0, "description": "Property. Specific Conductance." }, "tss": { "type": "number", "minimum": 0, "description": "Property. Total suspended solids." }, "tds": { "type": "number", "minimum": 0, "description": "Property. Total dissolved solids. " }, "turbidity": { "type": "number", "minimum": 0, "description": "Property. Amount of light scattered by particles in the water column" }, "salinity": { "type": "number", "minimum": 0, "description": "Property. Amount of salts dissolved in water." }, "pH": { "type": "number", "minimum": 0, "maximum": 14, "description": "Property. Acidity or basicity of an aqueous solution." }, "orp": { "type": "number", "minimum": 0, "description": "Property. Oxidation-Reduction potential." }, "O2": { "type": "number", "minimum": 0, "description": "Property. Level of free, non-compound oxygen present." }, "Chla": { "type": "number", "minimum": 0, "description": "Property. Concentration of chlorophyll A." }, "PE": { "type": "number", "minimum": 0, "description": "Property. Concentration of pigment phycoerythrin which can be measured to estimate cyanobacteria concentrations specifically." }, "PC": { "type": "number", "minimum": 0, "description": "Property. Concentration of pigment phycocyanin which can be measured to estimate cyanobacteria concentrations specifically." }, "NH4": { "type": "number", "minimum": 0, "description": "Property. Concentration of ammonium." }, "NH3": { "type": "number", "minimum": 0, "description": "Property. Concentration of ammonia." }, "Cl-": { "type": "number", "minimum": 0, "description": "Property. Concentration of chlorides." }, "NO3": { "type": "number", "minimum": 0, "description": "Property. Concentration of nitrates." }, "PO4": { "type": "number", "minimum": 0, "description": "Property. Concentration of phosphates." }, "escherichiaColi": { "type": "number", "minimum": 0, "description": "Property. Concentration of Escherichia coli. Units:'Total number of bacteria/100mL'" }, "enterococci": { "type": "number", "minimum": 0, "description": "Property. Concentration of Enterococci. Units:'Total number of bacteria/100mL'" }, "refPointOfInterest": { "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. A reference to a point of interest associated to this observation." } } } ], "required": [ "id", "type", "dateObserved", "location" ] }