AttributeDefs
The fields an entity type carries: type, cardinality, and the reference list a value must come from.
Define an attribute
Adds an attribute to an entity type. The data type decides how values are standardized, validated and compared when matching — a phone is normalised differently from a name, and an address is held as separate parts rather than one string. An attribute may hold several values, each labelled with how it is used. Requires `attribute-def.create`.
List attribute definitions
Returns the attributes defined for an entity type, in display order. Requires `attribute-def.read`.
Get an attribute definition
Returns one attribute definition, including its data type and any reference list it draws from. Requires `attribute-def.read`.
Update an attribute definition
Changes an attribute's display settings or constraints. Requires `attribute-def.update`.
Delete an attribute definition
Soft-deletes an attribute definition. Values already stored are retained. Requires `attribute-def.delete`.