PropertyDefinitionInput
RequestOne property definition of a type being created or changed. With id it changes that existing definition (name, unit, is_required, is_multi, is_archived; key, value_type, temporality and meter_type_id are fixed and refused with BILLING_OBJECT_PROPERTY_DEF_IMMUTABLE when they differ); without it, it adds a new definition.
Sent in requests. Its values are closed: anything not listed is refused.
Attributes
10What 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.
One of numeric, text, boolean, contact, address, meter
Details
Fixed once the definition is saved.
Hold several values at once. Omitted or null: false on a new definition, unchanged on an existing one. Turning it off is refused with BILLING_OBJECT_PROPERTY_DEF_MULTI_IN_USE while an object holds several current values.
Required for a meter property and refused for every other kind.