{ "$schema": "http://json-schema.org/schema#", "$id ": "https://smart-data-models.github.io/data-models/Environment/PhreaticObserved/schema.json", "title": "PhreaticObserved schema", "description": "The Data Model is intended to measure, observe and control the level and quality of groundwater at a given time (T), by a fixed or mobile monitoring system. Depending on the device used, it is also possible to measure the quality of water such as its electrical conductivity, its salt content, its temperature, etc. In this case, the values measured are processed by the Data Model `WaterObserved` and `WaterQualityObserved`. Additional Information about Attributes: For attributes dedicated to water, a MetaData attribute can also be used. it contains the `TimeStamp` in seconds, the `qualification` and control `status` of the measurement.", "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": [ "PhreaticObserved" ], "description": "Property. NGSI Entity type. It has to be PhreaticObserved" }, "refDevice": { "type": "array", "description": "Relationship. Model:'https://scehma.org/URL'. Reference to the devices providing data", "items": { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/EntityIdentifierType" } }, "dateObserved": { "type": "string", "format": "date-time", "description": "Property. The date and time of this observation in ISO8601 UTC format. Model:'https://schema.org/DateTime'" }, "dateObservedFrom": { "type": "string", "format": "date-time", "description": "Property. Observation period : Start date and time in an ISO8601 UTC format. Model:'https://schema.org/DateTime'" }, "dateObservedTo": { "type": "string", "format": "date-time", "description": "Property. Observation period : End date and time in an ISO8601 UTC format. Model:'https://schema.org/DateTime'" }, "isMobile": { "type": "boolean", "description": "Property. The device used is Fixed (False) or Mobile (True). Model:'https://schema.org/Boolean'" }, "measurementType": { "type": "array", "description": "Property. Observation period : Type of measurement processed. Enum:'depth, volume, quality, other'. Model:'https://schema.org/Text''", "items": { "type": "string", "enum": [ "depth", "volume", "quality", "other" ] }, "minItems": 0, "uniqueItems": false }, "investigationDepth": { "type": "number", "description": "Property. Maximum depth where the investigation was made. Model:'https://schema.org/DateTime'. The unit code (text) of measurement given using the [UN/CEFACT Common Codes](http://wiki.goodrelations-vocabulary.org/Documentation/UN/CEFACT_Common_Codes) (max. 3 characters). For instance, MTR represents Meter. Units:'meters'" }, "waterTable": { "type": "number", "description": "Property. Level at which water was found during this investigation. Model:'https://schema.org/Number'. Units:'meter'. The unit code (text) of measurement given using the [UN/CEFACT Common Codes](http://wiki.goodrelations-vocabulary.org/Documentation/UN/CEFACT_Common_Codes) (max. 3 characters). For instance, MTR represents Meter." }, "pressure": { "type": "number", "minimum": 0, "description": "Property. Water Pressure. Model:'https://schema.org/DateTime'. Units:'Bar'. The unit code (text) of measurement given using the [UN/CEFACT Common Codes](http://wiki.goodrelations-vocabulary.org/Documentation/UN/CEFACT_Common_Codes) (max. 3 characters). For instance, BAR represents Bar." }, "depth": { "type": "number", "description": "Property. Depth of drinking water, since its identification `waterTable`. Model:'https://schema.org/depth'. The unit code (text) of measurement given using the [UN/CEFACT Common Codes](http://wiki.goodrelations-vocabulary.org/Documentation/UN/CEFACT_Common_Codes) (max. 3 characters). For instance, MTR represents Meter." }, "pollutionRate": { "type": "number", "description": "Property. Rate of pollution. Model:'https://schema.org/Number'. The unit code (text) of measurement given using the [UN/CEFACT Common Codes](http://wiki.goodrelations-vocabulary.org/Documentation/UN/CEFACT_Common_Codes) (max. 3 characters). For instance, P1 represents Percentage." }, "residueLevel": { "type": "number", "description": "Property. Residue level found. Model:'https://schema.org/Number'." } } } ], "required": [ "id", "type", "location", "dateObserved", "measurementType" ], "$schemaVersion": "0.0.1" }