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.

  • The formula variables the table sets, each as { "variableId": "<id>" }.

    Properties: 2
  • Properties: 3
  • The signal data fields that pick a row.

  • The variables' values, by variable ID, for a signal no row matches.

    Properties: 1
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
  }
}