Builds a list attribute definition.
Builds a list attribute definition.
Type of the elements
Unique identity for the attribute
Optional name of the attribute
Optional description of the attribute
Optional default for the attribute
Optional list of possible option labels and values that the attribute can take
Optional maximum number of allowed values.
Convenient builder for list attribute definitions without advanced validation (type validation is done).
Examples