{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.", "modelTags": "SAREF Controller", "$id": "https://smart-data-models.github.com/dataModel.SAREF4BLDG/Controller/schema.json", "derivedFrom": "https://saref.etsi.org/saref4bldg/v1.1.2/#s4bldg:Controller", "title": "Smart data models - Controller schema", "type": "object", "license": "https://opensource.org/licenses/BSD-3-Clause", "description": "A controller is a device that monitors inputs and controls outputs within a building automation system. A controller may be physical (having placement within a spatial structure) or logical (a software interface or aggregated within a programmable physical controller).", "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 `Controller`", "enum": [ "Controller" ] }, "controllingProperty": { "type": "string", "description": "Property. Type of property this controller is used to control", "enum": [ "temperature", "CO2" ] }, "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)" } }, "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" } } } ], "required": [ "id", "type" ] }