{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "$id": "https://smart-data-models.github.io/dataModels.CIMEnergyClasses/ValueToAlias/schema.json", "title": " Smart Data Models - ValueToAlias", "description": "Adapted from CIM data models. Describes the translation of one particular value into a name, e.g. 1 as 'Open'.", "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": { "type": { "type": "string", "enum": [ "ValueToAlias" ], "description": "Property. NGSI type. It has to be ValueToAlias" }, "ValueAliasSet": { "description": "Property. Model:'https://schema.org/Number'. The ValueToAlias mappings included in the set. Default: None", "type": "number" }, "value": { "description": "Property. Model:'https://schema.org/Number'. The value that is mapped. Default: 0", "type": "number" } } } ] }