{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "modelTags": "NAIADES", "$id": "https://smart-data-models.github.io/dataModel.WaterQuality/WaterQualityPredicted/schema.json", "title": "Smart Data Models - Water quality predicted schema", "description": "Water Quality Predicted data model is intended to represent predictions of water quality 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": [ "WaterQualityPredicted" ], "description": "Property. NGSI Entity type. It has to be WaterQualityPredicted" }, "datePredicted": { "type": "string", "description": "Property. Model:'https://schema.org/DateTime'. The date and time from which the prediction is valid in ISO8601 UTCformat. It can be represented by an specific time instant or by an ISO8601 interval." }, "expiryDate": { "type": "string", "description": "Property. Model:'https://schema.org/DateTime'. The date and time for when the prediction is not valid anymore in ISO8601 UTCformat. It can be represented by an specific time instant or by an ISO8601 interval." }, "predictions": { "type": "object", "properties": { "value": { "type": "array", "items": { "type": "object", "properties": { "percentile": { "type": "string" }, "prediction": { "type": "number" } } } } } }, "waterQualityPredictionValue": { "type": "string", "enum": [ "Excellent", "Good", "Sufficient", "Poor" ], "description": "Property. Model:'https://schema.org/Text'. Describes a summary of the water quality prediction." } } } ], "required": [ "id", "type", "waterQualityPredictionValue" ] }