{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "modelTags": "SAREF Meter", "$id": "https://smart-data-models.github.com/dataModel.SAREF/Meter/schema.json", "derivedFrom": "https://saref.etsi.org/core/v3.1.1/#saref:Meter", "title": "Smart data models - Meter schema", "type": "object", "license": "https://opensource.org/licenses/BSD-3-Clause", "description": "A device built to accurately detect and display a quantity in a form readable by a human being. Further, a device of category saref:Meter that performs a saref:MeteringFunction.", "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", "description": "Property. It must be equal to `Meter`", "enum": [ "Meter" ] }, "hasMeterReading": { "$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.SAREF/master/SAREF-schema.json#/definitions/Measurement", "description": "Property. A relationship between a metering function and the measurement of the reading" }, "hasMeterReadingType": { "type": "string", "description": "Property. A relationship identifying the reading type of a metering function (e.g., Water, Gas, Pressure , Energy , Power, etc.)", "enum": [ "Coal", "Electricity", "Energy", "Gas", "Humidity", "Light", "Motion", "Occupancy", "Power", "Pressure", "Price", "Smoke", "Temperature", "Water" ] }, "hasManufacturer": { "type": "string", "description": "Property. A relationship identifying the manufacturer of an entity (e.g., device). The value is expected to be a string or a string with language tag" }, "hasModel": { "type": "string", "description": "Property. A relationship identifying the model of an entity (e.g., device). The value is expected to be a string or a string with language tag" }, "isContainedInBuildingSpace": { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/EntityIdentifierType", "description": "Relationship. An entity used to define the physical spaces of the building. A building space contains devices or building objects. (BuildingSpace)" }, "isContainedInPhysicalObject": { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/EntityIdentifierType", "description": "Relationship. Any Object that has a proper space region. (Definition extracted from DUL ontology) (PhysicalObject)" }, "isSubSystemOf": { "type": "array", "description": "Relationship. A reference to a system(s) that this Physical Object is part of", "items": { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/EntityIdentifierType", "description": "Relationship. The class of systems, i.e., systems virtually isolated from the environment, whose behaviour and interactions with the environment are modeled. Systems can be connected to other systems. Connected systems interact in some ways. Systems can also have subsystems. Properties of subsystems somehow contribute to the properties of the supersystem. (System)" } } } } ], "required": [ "id", "type" ] }