Skip to main content

DataSetQueryLocationCode

A location (identified by a code) to filter results by.

Note that location codes may correspond to multiple locations in the same geographic level.

Properties

Property Type Required Description
code string true

The code of the location. This may be an ONS code, or some other code that identifies the location.

Validation constraints:

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

The geographic level of the location.

This should be a valid geographic level code e.g. NAT, REG, LA.

Example schema

{
  "code": "E12000003",
  "level": "NAT"
}