PropertyDefinition
ResponseA property an object type declares, which each of its objects can hold a value for.
Returned in responses. Its enums are open: tolerate values not listed here, which later versions may add.
Attributes
11Machine name, unique within the type (area, owner). Billing formulas read a numeric property as prop.<key>. Fixed once saved.
What a property's value is. numeric a decimal number (area, share, resident count); text free text; boolean yes or no; contact a contact of this organization (an owner, a payer, a tenant); address the object's own address (address_text on the object; at most one per type); meter a slot for one meter of one meter type.
Known values (open: expect new ones) numeric, text, boolean, contact, address, meter
Details
Fixed once the definition is saved.
The object holds an ordered list of values at once (several owners), each with its own validity, instead of one value. Only numeric, text and contact properties can be multi-valued.
For a meter property: the meter type its meter measures. One meter property per meter type per object type. Null for every other kind. Fixed once saved.
static: the property holds one value with no history. dated: every value is valid from a date, so a change starts a new value on its effective_from and the earlier one is kept as history; numeric, text, boolean and contact properties can be dated. Fixed once the definition is saved.
Known values (open: expect new ones) static, dated
A retired definition: objects keep the values they hold, the property takes no new ones and is no longer required. Archiving is refused while a billing plan line reads it (BILLING_OBJECT_PROPERTY_DEF_IN_USE).