{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "modelTags": "SAREF Outlet", "$id": "https://smart-data-models.github.com/dataModel.SAREF4BLDG/Outlet/schema.json", "derivedFrom": "https://saref.etsi.org/saref4bldg/v1.1.2/#s4bldg:Outlet", "title": "Smart data models - Outlet schema", "type": "object", "license": "https://opensource.org/licenses/BSD-3-Clause", "description": "An outlet is a device installed at a point to receive one or more inserted plugs for electrical power or communications. Power outlets are commonly connected within a junction box; data outlets may be directly connected to a wall. For power outlets sharing the same circuit within a junction box, the ports should indicate the logical wiring relationship to the enclosing junction box, even though they may be physically connected to a cable going to another outlet, switch, or fixture.", "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 `Outlet`", "enum": [ "Outlet" ] }, "isPluggableOutlet": { "type": "boolean", "description": "Property. Indication of whether the outlet accepts a loose plug connection (= TRUE) or whether it is directly connected (= FALSE) or whether the form of connection has not yet been determined (= UNKNOWN)" }, "numberOsSockets": { "type": "number", "description": "Property. The number of sockets that may be connected. In case of inconsistency, sockets defined on ports take precedence" }, "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" ] }