Skip to main content

LocationOptionChangesViewModel

A set of location option changes and details of the geographic level they belong to.

Properties

Property Type Required Description
level GeographicLevelViewModel true

The geographic level the changes belong to.

options array (LocationOptionChangeViewModel) true

The list of location option changes.

Example schema

{
  "level": {
    "code": "NAT",
    "label": "National"
  },
  "options": [
    {
      "currentState": {
        "id": "bOmZ4",
        "label": "Sheffield",
        "code": "E12000003"
      },
      "previousState": {
        "id": "bOmZ4",
        "label": "Sheffield",
        "code": "E12000003"
      }
    }
  ]
}