Creating enumeration types

You create enumeration types in the data model editor, and edit their details.

Procedure

  1. Click the Add button Add data type button next to Data types and select Enumeration type from the drop-down list.
  2. Enter a suitable name for the enumeration type. It is recommended to use a singular form for the type name.
  3. If necessary, you can update the details of the enumeration type.
    • Define a documentation property using the Documentation text field. This documentation will be visible in the prediction menu in the rule editor.
    • Edit the JSON name associated with the enumeration type.
    • Change the plural form or the articles associated with the enumeration type. To do so, click the placeholder for the article or plural form that you want to edit and edit it directly in the pop-up window that opens. You can revert to the default verbalization by clicking Reset.
    • Select the gender of the enumeration type if your decision service is in French. The masculine gender is applied by default.

What to do next

You can now define the values of the enumeration type. See Adding values.

As an alternative, you can populate the enumeration type with values extracted from an Excel file. See Extracting values from an external data source.