Skip to main content

DataSetQueryLocationLocalAuthorityCode

A local authority (identified by its ONS code) to filter results by.

Properties

Property Type Required Description
code string true

The ONS code of the local authority. This is typically 9 characters in the standard ONS format for local authorities e.g. E08000019, but may be a combination of multiple codes e.g. E08000019 / E08000020.

Validation constraints:

  • Maximum length: 30
  • Minimum length: 1
level GeographicLevelCode true

The geographic level of the local authority. Must be set to LA.

Validation constraints:

  • Minimum length: 1

Example schema

{
  "code": "E08000019",
  "level": "LA"
}