ValueModelSegmentTable
A lookup table that sets formula variables by segment. A calculation or signal binding that lists it takes each of its variables from the row whose segmentValues all equal the signal's data fields, else from defaultRow.
- columnsType: array of objectrequiredProperties: 2
The formula variables the table sets, each as
{ "variableId": "<id>" }. - idType: stringrequired
- Properties: 3rowsType: array of objectrequired
- segmentType: array of string
Keys requiredThe signal data fields that pick a row.
- defaultType: object
Row Properties: 1The variables' values, by variable ID, for a signal no row matches.
- propertyadditionalPropertyType: anything
Name
Examples
{
"id": "matter-rates",
"segmentKeys": [
"matter_type"
],
"columns": [
{
"variableId": "rate_per_page"
}
],
"rows": [
{
"segmentValues": {
"matter_type": "litigation"
},
"variables": {
"rate_per_page": 2
}
}
],
"defaultRow": {
"rate_per_page": 1.5
}
}