Adding attributes
You add attributes to describe the structure of the composite type.
Procedure
- Click the Add button
in the
Attributes panel. - Enter a suitable name for the attribute. It is recommended to use a singular form for the attribute name.
- Associate the attribute with a data type that you select from the Type drop-down list.
- If necessary, edit the details of the attribute. To access the full details of the
attribute, click the Edit button
next to the attribute, or
click the attribute in the Data types panel. - 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 attribute.
- Change the plural form or the articles associated with the attribute. 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.
- Edit the default verbalization of expressions and actions associated with the attribute. For more information about the default verbalization applied to attributes, see Default verbalization.
- Identify the attribute as a list by checking List. When an attribute is identified as a list, it can have multiple values.
- Select the gender of the attribute if your decision service is in French. The masculine gender is applied by default.
- Repeat for each attribute of the composite type.