Skip to main content

LocationOptionChangeViewModel

A change to a location option in a data set.

Properties

Property Type Required Description
currentState one of: false

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

previousState one of: false

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

Example schema

{
  "currentState": {
    "id": "bOmZ4",
    "label": "Sheffield",
    "code": "E12000003"
  },
  "previousState": {
    "id": "bOmZ4",
    "label": "Sheffield",
    "code": "E12000003"
  }
}