{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "$id": "https://smart-data-models.github.io/dataModels.CIMEnergyClasses/ValueAliasSet/schema.json", "title": " Smart Data Models - ValueAliasSet", "description": "Adapted from CIM data models. Describes the translation of a set of values into a name and is intendend to facilitate cusom translations. Each ValueAliasSet has a name, description etc. A specific Measurement may represent a discrete state like Open, Closed, Intermediate etc. This requires a translation from the MeasurementValue.value number to a string, e.g. 0->'Invalid', 1->'Open', 2->'Closed', 3->'Intermediate'. Each ValueToAlias member in ValueAliasSet.Value describe a mapping for one particular value to a name.", "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": [ "ValueAliasSet" ], "description": "Property. NGSI type. It has to be ValueAliasSet" }, "Commands": { "description": "Property. Model:'https://schema.org/Number'. The Commands using the set for translation. Default: 'list'", "type": "number" }, "Discretes": { "description": "Property. Model:'https://schema.org/Number'. The Measurements using the set for translation. Default: 'list'", "type": "number" }, "RaiseLowerCommands": { "description": "Property. Model:'https://schema.org/Number'. The Commands using the set for translation. Default: 'list'", "type": "number" }, "Values": { "description": "Property. Model:'https://schema.org/Number'. The ValueAliasSet having the ValueToAlias mappings. Default: 'list'", "type": "number" } } } ] }