ContractFieldDTO
Contract custom field definition object. Null-valued properties are omitted from
the response JSON entirely (not sent as null).
Field ID
1Field name
Client TypeContract field type enum (the CONTRACT-family slice of uysot-v2's CustomFieldType).
Serialized by name.
Possible values: [TEXT, EXTENDED_TEXT, DATE, SELECT, MULTI_SELECT, RADIO, TOGGLE_SWITCH, URL, TAG, LOCATION, COUNTER, ADDRESS, EMPLOYEE, FILE, NUMBER]
SELECToptions object[]
Field options (for SELECT/MULTI_SELECT/RADIO/TOGGLE_SWITCH).
Option ID
1Option name
VIPOption description
VIP-tier clientsDisplay color
#FF5733Display order
1Whether the field is mandatory
trueField description
Segment used for VIP treatmentIcon code
starMax element count for multi-value types
5For type: NUMBER — how the value is formatted.
Possible values: [NUMBER, PERCENT, CURRENCY]
NUMBERFor type: NUMBER — decimal places.
2For type: NUMBER — display style.
Possible values: [BAR, RING, NUMBER]
NUMBERFor type: NUMBER — upper bound.
1000000Display order
1{
"id": 1,
"name": "Client Type",
"type": "SELECT",
"options": [
{
"id": 1,
"name": "VIP",
"description": "VIP-tier clients",
"color": "#FF5733",
"sortOrder": 1
}
],
"required": true,
"description": "Segment used for VIP treatment",
"icon": "star",
"maxElements": 5,
"numberFormat": "NUMBER",
"decimalPlaces": 2,
"visualization": "NUMBER",
"maxValue": 1000000,
"orders": 1
}