{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "modelTags": "OCF", "$id": "https://smart-data-models.github.io/dataModel.OCF/CircuitBreaker/schema.json", "title": "Smart Data models - CircuitBreaker schema derived from the open connectivity foundation repository https://github.com/openconnectivityfoundation/IoTDataModels", "description": "This Resource describes functions for the control and monitoring of IEC 61850 based circuit breaker.", "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": { "rt": { "description": "Property. The Resource Type", "items": { "enum": [ "oic.r.circuitbreaker" ], "maxLength": 64, "type": "string" }, "minItems": 1, "uniqueItems": true, "readOnly": true, "type": "array" }, "status": { "description": "Property. The circuit breaker status. The status can only be reset out of bounds", "readOnly": true, "type": "string", "enum": [ "on", "off", "trip" ] }, "ratedcurrent": { "description": "Property. The rated current in Ampere, defined at manufacturing time", "readOnly": true, "type": "number" }, "ratedbreakingcurrent": { "description": "Property. The rated breaking current in Ampere, defined at manufacturing time", "readOnly": true, "type": "number" }, "ratedvoltage": { "description": "Property. The rated voltage in Volts, defined at manufacturing time", "readOnly": true, "type": "number" }, "leakagecurrent": { "description": "Property. The leakage current in mA", "readOnly": true, "type": "number" }, "insulationresistance": { "description": "Property. Insulation resistance of circuit breaker (M Ohm)", "readOnly": true, "type": "number" }, "timestamp": { "description": "Property. An RFC3339 formatted time indicating when the data was observed (e.g.: 2016-02-15T09:19Z, 1996-12-19T16:39:57-08:00). Note that 1/100 time resolution should be used", "format": "date-time", "readOnly": true, "type": "string" }, "n": { "type": "string", "maxLength": 64, "readOnly": true, "description": "Property. Friendly name of the Resource" }, "if": { "description": "Property. The OCF Interface set supported by this Resource", "items": { "enum": [ "oic.if.s", "oic.if.baseline" ], "type": "string" }, "minItems": 2, "uniqueItems": true, "readOnly": true, "type": "array" }, "type": { "type": "string", "enum": [ "CircuitBreaker" ], "description": "Property. NGSI entity type. It has to be CircuitBreaker" } } } ], "license": "https://github.com/openconnectivityfoundation/core/blob/e28a9e0a92e17042ba3e83661e4c0fbce8bdc4ba/LICENSE.md", "derivedFrom": "https://raw.githubusercontent.com/openconnectivityfoundation/IoTDataModels/master/CircuitBreakerResURI.swagger.json", "required": [ "status", "ratedcurrent", "ratedbreakingcurrent", "ratedvoltage", "timestamp", "id", "type" ] }