Enumerations

Enumerations can contain any elements for the data type string. In the Engineering, enumerations are not displayed in the generic data editor, but in the combo box in the Properties window. The permissible values of the enumeration are defined in the property "enum" in an array.
The following schema defines an exemplary enumeration.

{
   "$schema": "http://json-schema.org/draft-04/schema",
   "definitions": {
      "MyEnum": {
         "$schema": "http://json-schema.org/draft-04/schema",
         "title": "MyEnum",
         "type": "string",
         "enum": [ "MyValue1", "MyValue2", "MyValue3", "MyValue4" ]
      }
   }
}

This results in the following display in Engineering.

Enumerations 1: