Skip to main content

FilterOptionChangeViewModel

A change to a filter option in a data set.

Properties

Property Type Required Description
currentState FilterOptionViewModel false

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

previousState FilterOptionViewModel false

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

Example schema

{
  "currentState": {
    "id": "q1g3J",
    "label": "State-funded primary",
    "isAggregate": true
  },
  "previousState": {
    "id": "q1g3J",
    "label": "State-funded primary",
    "isAggregate": true
  }
}