ObjectTypeInput
RequestA new object type.
Sent in requests. Its values are closed: anything not listed is refused.
Attributes
5Create an analytical dimension for the type and a value in it for each object; omitted means false. Needs the Dimensions module (403 CAPABILITY_DISABLED).
Property definitions, in display order; omitted means none.
10 attributes of each item
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.
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.