1. Select the Entity node in the Vocabulary tree view where you want to add an attribute.
  2. Right-click, choose Add Attribute, and then use its submenu to specify the datatype of the attribute, as illustrated for a Datetime attribute:

    (You could instead choose the menu command Vocabulary > Add Attribute.) Note that the toolbar button always creates a String attribute.
  3. After creating the new attribute, the editor cursor lets you modify the default name from Attributen to your preferred name.
  4. If your preferred data type is a Custom Data Type, click on the dropdown menu for the data type:

  5. Select the defined Custom Data Type you want to use for this attribute:

  6. Assign the other property values as described in the following table.
Note:

The following table lists the basic properties common to every Attribute.

Table 1. Basic Attribute Properties
Property Value
Attribute Name Assigns a name to the new Attribute. As with Domain and Entity nodes, double-clicking the node in the tree view will also open an editing box. Name changes made in either the node or the property will update in both places; however, you should choose to refactor the name instead to insure that it perpetuates throughout the project.
Data Type The default value is String. Other available data types: Boolean, Decimal, DateTime, Integer. You can also have a custom data type. 
Mandatory A mandatory attribute cannot have a value of null. This setting affects the members of the values sets shown in Rulesheet drop-downs. For example, an attribute whose Mandatory value is No will always include a null value selection in its Rulesheet drop-downs.
Mode Choose the attribute's Mode from the drop-down list.  

Base attributes map to object properties processed at runtime.

Transient attributes are derived fields; they exist only during rule execution. They are not included in the objects produced at runtime. Transient attributes can, however, be dragged into a Ruletest's Input column and provided input values (often zero) so that calculations in tests produce results that can validate rules.

Note: If you export tests that use transients, the transients are included.
Table 2. Entity: JSON Properties
Property Value
JSON Element name Blank for manually created Vocabularies. See JSON payloads and results in Corticon.js for more information.