{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.2", "modelTags": "", "$id": "https://smart-data-models.github.io/dataModel.Waterconsumption/WaterconsumptionObserved/schema.json", "title": "Smart Data models - Water Consumption Observed schema", "description": "The Smart Water Meter model captures water consumption, customer side leak alarms and associated flow rate originating from the smart water meters", "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": [ "WaterConsumptionObserved" ], "description": "Property. It has to be WaterConsumptionObserved. NGSI type" }, "acquisitionStageFailure": { "type": "integer", "description": "Property. No inductive response of metering device" }, "alarmFlowPersistence": { "type": "string", "description": "Property. Alarm signifying continuous water use", "enum": [ "Nothing to report", "No persistence", "In progress impacting persistence", "In progress persistence", "Past Persistence during the period" ] }, "alarmInProgress": { "type": "integer", "description": "Property. Indicates that one or more alarms are in progress", "enum": [ 0, 1 ] }, "alarmStopsLeaks": { "type": "integer", "description": "Property. Alarm signifying the potential for an intermittent leak", "enum": [ 0, 1 ] }, "alarmTamper": { "type": "integer", "description": "Property. Alarm signifying the potential of mechanical tampering with the device", "enum": [ 0, 1 ] }, "alarmWaterQuality": { "type": "integer", "description": "Property. Alarm signifying the potential of backflows occurring", "enum": [ 0, 1 ] }, "maxFlow": { "type": "integer", "description": "Property. Maximum flow rate observed during the last week. Units:'litres/hour'" }, "minFlow": { "type": "integer", "description": "Property. Minimum flow rate observed during the last week. Units:'litres/hour'" }, "moduleTampered": { "type": "integer", "description": "Property. Removal of module from metering device" }, "persistenceFlowDuration": { "type": "string", "description": "Property. The duration that persistence flow (continuous flow) is recorded by the meter. Text field showing durations in minutes (m), hours (h) or days (d).", "enum": [ "15m < 60m", "60m < 3h", "3h < 6h", "6h < 12h", "12h < 24h", "24h < 2d", "2d < 4d", "4d < 8d", "8d < 15d", "15d < 30d", "30d < 90d", "90d < 180d", "> 180d" ] }, "waterConsumption": { "type": "integer", "description": "Property. The water meter reading. Note \u2013 this is total volume passed through the meter and is therefore a cumulative total at the time. Units:'Cubic meters'" }, "waterType": { "type": "string", "description": "Property. The type of water by water temperature. Utility bills distinguish hot water.", "enum": [ "hotWater", "serviceWater" ] } } } ], "required": [ "id", "type" ] }