FlatFieldDTO
An apartment (flat) custom field definition, returned by GET /v1/open-api/flat-field.
Same shape as ContractFieldDTO, plus show/showPDF. Fields that
are null are omitted from the response entirely.
Field ID
12Field name
Balkon turiCustom field type, shared by every custom-field family (contract, flat, payment and
lead task). Serialized by name. Identical value set to ContractFieldType, which
remains as the contract-family alias.
Possible values: [TEXT, EXTENDED_TEXT, DATE, SELECT, MULTI_SELECT, RADIO, TOGGLE_SWITCH, URL, TAG, LOCATION, COUNTER, ADDRESS, EMPLOYEE, FILE, NUMBER]
SELECToptions object[]nullable
Available options — present for the option-based types (SELECT, MULTI_SELECT, RADIO, TOGGLE_SWITCH).
Option ID
7Option name
OchiqOption description
nullDisplay colour
#2E7D32Display position
1Whether the field is mandatory
falseWhether the field is shown in the UI. null means it is shown.
trueWhether the field appears on the apartment's PDF presentation.
trueField description
Balkon turi (ochiq/yopiq)Icon key
balconyMaximum number of values for a multi-value field
3How a NUMBER-typed contract field's value is formatted. Serialized by name.
Possible values: [NUMBER, PERCENT, CURRENCY]
NUMBERDecimal places for a NUMBER field
2How a NUMBER-typed contract field's value is displayed. Serialized by name.
Possible values: [BAR, RING, NUMBER]
NUMBERUpper limit for a NUMBER field
100000000Display position
3{
"id": 12,
"name": "Balkon turi",
"type": "SELECT",
"options": [
{
"id": 7,
"name": "Ochiq",
"description": null,
"color": "#2E7D32",
"sortOrder": 1
}
],
"required": false,
"show": true,
"showPDF": true,
"description": "Balkon turi (ochiq/yopiq)",
"icon": "balcony",
"maxElements": 3,
"numberFormat": "NUMBER",
"decimalPlaces": 2,
"visualization": "NUMBER",
"maxValue": 100000000,
"orders": 3
}