Skip to main content

IndicatorChangeViewModel

A change to an indicator in a data set.

Properties

Property Type Required Description
currentState IndicatorViewModel false

The current state after the change was made. If the change is an addition, this will be null.

previousState IndicatorViewModel false

The previous state before the change was made. If the change is a deletion, this will be null.

Example schema

{
  "currentState": {
    "id": "enW68",
    "column": "sess_authorised",
    "label": "Percentage of authorised sessions",
    "unit": "%",
    "decimalPlaces": 2
  },
  "previousState": {
    "id": "enW68",
    "column": "sess_authorised",
    "label": "Percentage of authorised sessions",
    "unit": "%",
    "decimalPlaces": 2
  }
}