{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "modelTags": "SAREF ProtectiveDevice", "$id": "https://smart-data-models.github.com/dataModel.SAREF4BLDG/ProtectiveDevice/schema.json", "derivedFrom": "https://saref.etsi.org/saref4bldg/v1.1.2/#s4bldg:ProtectiveDevice", "title": "Smart data models - ProtectiveDevice schema", "type": "object", "license": "https://opensource.org/licenses/BSD-3-Clause", "description": "A protective device breaks an electrical circuit when a stated electric current that passes through it is exceeded. A protective device provides protection against electrical current only (not as a general protective device). It may be used to represent the complete set of elements including both the tripping unit and the breaking unit that provide the protection. This may be particularly useful at earlier stages of design where the approach to breaking the electrical supply may be determined but the method of tripping may not. Alternatively, this entity may be used to specifically represent the breaking unit alone (in which case the tripping unit will also be specifically identified). This entity is specific to dedicated protective devices and excludes electrical outlets that may have circuit protection.", "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 `ProtectiveDevice`", "enum": [ "ProtectiveDevice" ] }, "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" ] }