{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "modelTags": "OCF", "$id": "https://smart-data-models.github.io/dataModel.IoTDataModels/Conversion/schema.json", "title": "Conversion Factor", "description": "Smart Data Models Program adaptation of the original IoTData data Models. This Resource describes Properties associated with the energy associated with the consumption of different fuels (including natural gas) The conversion factor is a number used as part of the calculation to convert gas volume to gas energy. The value used for this calculation is generally defined by local regulations and the conversion factor resource is therefore configurable. Provides the conversion factor used/required as part of the calculation to convert from fuel volume (m3) to fuel energy (kWh). ", "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. Resource Type", "items": { "maxLength": 64, "type": "string", "enum": [ "oic.r.conversionfactor" ] }, "minItems": 1, "readOnly": true, "uniqueItems": true, "type": "array" }, "if": { "description": "Property. The OCF Interfaces supported by this Resource", "items": { "enum": [ "oic.if.r", "oic.if.baseline" ], "type": "string", "maxLength": 64 }, "minItems": 2, "readOnly": true, "uniqueItems": true, "type": "array" }, "n": { "type": "string", "maxLength": 64, "readOnly": true, "description": "Property. Friendly name of the Resource" }, "conversion": { "description": "Property. Conversion factor to convert a volume of a fuel to energy consumption", "readOnly": true, "type": "number", "minimum": 0, "exclusiveMinimum": 0 }, "precision": { "description": "Property. Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, "type": { "type": "string", "enum": [ "Conversion" ], "description": "Property. NGSI entity type. It has to be Conversion" } } } ], "derivedFrom": "https://github.com/OpenInterConnect/IoTDataModels/blob/master/ConversionResURI.swagger.json", "license": "https://github.com/OpenInterConnect/IoTDataModels/blob/master/README.md", "required": [ "id", "type" ] }