From 6556e35c40bdc6520e29d49bf414ba0b650ebcc3 Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Fri, 29 Sep 2023 11:34:24 +0200 Subject: [PATCH] lots of type updates --- examples/data/Applicant.ts | 21 + examples/data/Property.ts | 14 + examples/validExampleAgent.json | 14 + examples/validExampleApplicant.json | 14 + schema/schema.json | 5251 +++++++++++++++++---------- tests/usage.test.ts | 1 + types/enums/PlanningConstraints.ts | 4 +- types/enums/VehicleParking.ts | 29 + types/schema/data/Applicant.ts | 13 +- types/schema/data/Property.ts | 29 +- types/schema/data/Proposal.ts | 153 +- 11 files changed, 3527 insertions(+), 2016 deletions(-) create mode 100644 types/enums/VehicleParking.ts diff --git a/examples/data/Applicant.ts b/examples/data/Applicant.ts index ed539b0f..041960ed 100644 --- a/examples/data/Applicant.ts +++ b/examples/data/Applicant.ts @@ -18,6 +18,27 @@ export const validApplicant: Schema['data']['applicant'] = { siteContact: { role: 'applicant', }, + // interest: 'owner.co', + // ownership: { + // certificate: 'a', + // owners: [ + // { + // name: 'Owner 1', + // address: { + // line1: '123 Main Street', + // town: 'Anywhere', + // postcode: 'SE5 0HU' + // }, + // noticeGiven: true, + // noticeDate: '2023-10-01', + // }, + // { + // name: 'Owner 2', + // address: 'Same as Owner 1', + // noticeGiven: false, + // }, + // ], + // }, }; export const validAgent: Schema['data']['applicant'] = { diff --git a/examples/data/Property.ts b/examples/data/Property.ts index 1bf904c3..0d2e4b18 100644 --- a/examples/data/Property.ts +++ b/examples/data/Property.ts @@ -21,6 +21,13 @@ export const validProperty: Schema['data']['property'] = { value: 'residential.HMO.parent', description: 'HMO Parent', }, + boundary: { + site: 'GeoJSON TBD', + area: { + squareMetres: 10000, + hectares: 1, + }, + }, constraints: { planning: [ { @@ -36,4 +43,11 @@ export const validProperty: Schema['data']['property'] = { }, ], }, + titleNumber: { + known: 'Yes', + number: '123', + }, + EPC: { + known: 'The property does not have one', + }, }; diff --git a/examples/validExampleAgent.json b/examples/validExampleAgent.json index ae3c9e3d..4abc4708 100644 --- a/examples/validExampleAgent.json +++ b/examples/validExampleAgent.json @@ -97,6 +97,13 @@ "value": "residential.HMO.parent", "description": "HMO Parent" }, + "boundary": { + "site": "GeoJSON TBD", + "area": { + "squareMetres": 10000, + "hectares": 1 + } + }, "constraints": { "planning": [ { @@ -113,6 +120,13 @@ ] } ] + }, + "titleNumber": { + "known": "Yes", + "number": "123" + }, + "EPC": { + "known": "The property does not have one" } }, "proposal": { diff --git a/examples/validExampleApplicant.json b/examples/validExampleApplicant.json index 5a0d8c7d..044564ed 100644 --- a/examples/validExampleApplicant.json +++ b/examples/validExampleApplicant.json @@ -71,6 +71,13 @@ "value": "residential.HMO.parent", "description": "HMO Parent" }, + "boundary": { + "site": "GeoJSON TBD", + "area": { + "squareMetres": 10000, + "hectares": 1 + } + }, "constraints": { "planning": [ { @@ -87,6 +94,13 @@ ] } ] + }, + "titleNumber": { + "known": "Yes", + "number": "123" + }, + "EPC": { + "known": "The property does not have one" } }, "proposal": { diff --git a/schema/schema.json b/schema/schema.json index 4467656c..70a6d3b9 100644 --- a/schema/schema.json +++ b/schema/schema.json @@ -1,7 +1,7 @@ { - "$id": "--no-top-ref", - "$ref": "#/definitions/Schema", + "$id": "@next", "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, "definitions": { "AddressInput": { "$id": "#AddressInput", @@ -70,6 +70,57 @@ ], "type": "string" }, + "ownership": { + "additionalProperties": false, + "properties": { + "certificate": { + "enum": [ + "a", + "b", + "c", + "d" + ], + "type": "string" + }, + "owners": { + "items": { + "additionalProperties": false, + "properties": { + "address": { + "anyOf": [ + { + "$ref": "#/definitions/AddressInput" + }, + { + "type": "string" + } + ] + }, + "name": { + "type": "string" + }, + "noticeDate": { + "$ref": "#/definitions/DateTime" + }, + "noticeGiven": { + "type": "boolean" + } + }, + "required": [ + "name", + "address", + "noticeGiven" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "certificate" + ], + "type": "object" + }, "siteContact": { "$ref": "#/definitions/SiteContact" }, @@ -841,6 +892,57 @@ ], "type": "string" }, + "ownership": { + "additionalProperties": false, + "properties": { + "certificate": { + "enum": [ + "a", + "b", + "c", + "d" + ], + "type": "string" + }, + "owners": { + "items": { + "additionalProperties": false, + "properties": { + "address": { + "anyOf": [ + { + "$ref": "#/definitions/AddressInput" + }, + { + "type": "string" + } + ] + }, + "name": { + "type": "string" + }, + "noticeDate": { + "$ref": "#/definitions/DateTime" + }, + "noticeGiven": { + "type": "boolean" + } + }, + "required": [ + "name", + "address", + "noticeGiven" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "certificate" + ], + "type": "object" + }, "siteContact": { "$ref": "#/definitions/SiteContact" }, @@ -863,6 +965,69 @@ ], "type": "object" }, + "BaseDetails": { + "additionalProperties": false, + "properties": { + "extend": { + "additionalProperties": false, + "properties": { + "area": { + "additionalProperties": false, + "properties": { + "squareMetres": { + "type": "number" + } + }, + "required": [ + "squareMetres" + ], + "type": "object" + } + }, + "required": [ + "area" + ], + "type": "object" + }, + "new": { + "additionalProperties": false, + "properties": { + "area": { + "additionalProperties": false, + "properties": { + "squareMetres": { + "type": "number" + } + }, + "required": [ + "squareMetres" + ], + "type": "object" + }, + "count": { + "additionalProperties": false, + "properties": { + "bathrooms": { + "type": "number" + }, + "bedrooms": { + "type": "number" + }, + "dwellings": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "area" + ], + "type": "object" + } + }, + "type": "object" + }, "DateTime": { "format": "date-time", "type": "string" @@ -1531,167 +1696,1265 @@ ], "description": "Types of planning documents and drawings" }, - "Metadata": { + "LondonDetails": { "additionalProperties": false, "properties": { - "service": { + "extend": { "additionalProperties": false, - "description": "Details of the digital planning service which generated this payload", "properties": { - "name": { - "type": "string" - }, - "owner": { - "type": "string" - }, - "publishedFlowId": { - "$ref": "#/definitions/UUID" - }, - "url": { - "$ref": "#/definitions/URL" + "area": { + "additionalProperties": false, + "properties": { + "squareMetres": { + "type": "number" + } + }, + "required": [ + "squareMetres" + ], + "type": "object" } }, "required": [ - "publishedFlowId", - "name", - "owner", - "url" + "area" ], "type": "object" }, - "session": { + "new": { "additionalProperties": false, "properties": { - "createdAt": { - "$ref": "#/definitions/DateTime" - }, - "id": { - "$ref": "#/definitions/UUID" - }, - "source": { - "const": "PlanX", - "default": "PlanX", - "type": "string" + "area": { + "additionalProperties": false, + "properties": { + "squareMetres": { + "type": "number" + } + }, + "required": [ + "squareMetres" + ], + "type": "object" }, - "submittedAt": { - "$ref": "#/definitions/DateTime" + "count": { + "additionalProperties": false, + "properties": { + "bathrooms": { + "type": "number" + }, + "bedrooms": { + "type": "number" + }, + "dwellings": { + "type": "number" + } + }, + "type": "object" } }, "required": [ - "source", - "id", - "createdAt", - "submittedAt" + "area" ], "type": "object" - } - }, - "required": [ - "service", - "session" - ], - "type": "object" - }, - "OSAddress": { - "$id": "#OSAddress", - "additionalProperties": false, - "description": "Address information for sites with a known address sourced from Ordnance Survey AddressBase Premium", - "properties": { - "latitude": { - "type": "number" - }, - "longitude": { - "type": "number" - }, - "organisation": { - "type": "string" - }, - "pao": { - "type": "string" - }, - "postcode": { - "type": "string" - }, - "source": { - "const": "Ordnance Survey", - "type": "string" - }, - "street": { - "type": "string" - }, - "title": { - "type": "string" - }, - "town": { - "type": "string" - }, - "uprn": { - "type": "string" - }, - "usrn": { - "type": "string" - }, - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "latitude", - "longitude", - "pao", - "postcode", - "source", - "street", - "title", - "town", - "uprn", - "usrn", - "x", - "y" - ], - "type": "object" - }, - "PreApplication": { - "$id": "#PreApplication", - "additionalProperties": false, - "description": "Details of the pre-application, if applicable", - "properties": { - "date": { - "$ref": "#/definitions/DateTime" - }, - "officer": { - "type": "string" - }, - "reference": { - "type": "string" }, - "summary": { - "type": "string" - } - }, + "vehicleParking": { + "additionalProperties": false, + "properties": { + "bicycles": { + "additionalProperties": false, + "properties": { + "offStreet": { + "additionalProperties": false, + "properties": { + "count": { + "additionalProperties": false, + "properties": { + "existing": { + "type": "number" + }, + "proposed": { + "type": "number" + } + }, + "required": [ + "existing", + "proposed" + ], + "type": "object" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + "onStreet": { + "additionalProperties": false, + "properties": { + "count": { + "additionalProperties": false, + "properties": { + "existing": { + "type": "number" + }, + "proposed": { + "type": "number" + } + }, + "required": [ + "existing", + "proposed" + ], + "type": "object" + } + }, + "required": [ + "count" + ], + "type": "object" + } + }, + "type": "object" + }, + "buses": { + "additionalProperties": false, + "properties": { + "offStreet": { + "additionalProperties": false, + "properties": { + "count": { + "additionalProperties": false, + "properties": { + "existing": { + "type": "number" + }, + "proposed": { + "type": "number" + } + }, + "required": [ + "existing", + "proposed" + ], + "type": "object" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + "onStreet": { + "additionalProperties": false, + "properties": { + "count": { + "additionalProperties": false, + "properties": { + "existing": { + "type": "number" + }, + "proposed": { + "type": "number" + } + }, + "required": [ + "existing", + "proposed" + ], + "type": "object" + } + }, + "required": [ + "count" + ], + "type": "object" + } + }, + "type": "object" + }, + "cars": { + "additionalProperties": false, + "properties": { + "count": { + "additionalProperties": false, + "properties": { + "existing": { + "type": "number" + }, + "proposed": { + "type": "number" + } + }, + "required": [ + "existing", + "proposed" + ], + "type": "object" + }, + "offStreet": { + "additionalProperties": false, + "properties": { + "club": { + "additionalProperties": false, + "properties": { + "count": { + "additionalProperties": false, + "properties": { + "existing": { + "type": "number" + }, + "proposed": { + "type": "number" + } + }, + "required": [ + "existing", + "proposed" + ], + "type": "object" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + "disabled": { + "additionalProperties": false, + "properties": { + "count": { + "additionalProperties": false, + "properties": { + "existing": { + "type": "number" + }, + "proposed": { + "type": "number" + } + }, + "required": [ + "existing", + "proposed" + ], + "type": "object" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + "other": { + "additionalProperties": false, + "properties": { + "count": { + "additionalProperties": false, + "properties": { + "existing": { + "type": "number" + }, + "proposed": { + "type": "number" + } + }, + "required": [ + "existing", + "proposed" + ], + "type": "object" + } + }, + "required": [ + "count" + ], + "type": "object" + } + }, + "type": "object" + }, + "onStreet": { + "additionalProperties": false, + "properties": { + "club": { + "additionalProperties": false, + "properties": { + "count": { + "additionalProperties": false, + "properties": { + "existing": { + "type": "number" + }, + "proposed": { + "type": "number" + } + }, + "required": [ + "existing", + "proposed" + ], + "type": "object" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + "disabled": { + "additionalProperties": false, + "properties": { + "count": { + "additionalProperties": false, + "properties": { + "existing": { + "type": "number" + }, + "proposed": { + "type": "number" + } + }, + "required": [ + "existing", + "proposed" + ], + "type": "object" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + "other": { + "additionalProperties": false, + "properties": { + "count": { + "additionalProperties": false, + "properties": { + "existing": { + "type": "number" + }, + "proposed": { + "type": "number" + } + }, + "required": [ + "existing", + "proposed" + ], + "type": "object" + } + }, + "required": [ + "count" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + "motorcyles": { + "additionalProperties": false, + "properties": { + "offStreet": { + "additionalProperties": false, + "properties": { + "count": { + "additionalProperties": false, + "properties": { + "existing": { + "type": "number" + }, + "proposed": { + "type": "number" + } + }, + "required": [ + "existing", + "proposed" + ], + "type": "object" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + "onStreet": { + "additionalProperties": false, + "properties": { + "count": { + "additionalProperties": false, + "properties": { + "existing": { + "type": "number" + }, + "proposed": { + "type": "number" + } + }, + "required": [ + "existing", + "proposed" + ], + "type": "object" + } + }, + "required": [ + "count" + ], + "type": "object" + } + }, + "type": "object" + }, + "type": { + "items": { + "$ref": "#/definitions/VehicleParking" + }, + "type": "array" + }, + "vans": { + "additionalProperties": false, + "properties": { + "offStreet": { + "additionalProperties": false, + "properties": { + "count": { + "additionalProperties": false, + "properties": { + "existing": { + "type": "number" + }, + "proposed": { + "type": "number" + } + }, + "required": [ + "existing", + "proposed" + ], + "type": "object" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + "onStreet": { + "additionalProperties": false, + "properties": { + "count": { + "additionalProperties": false, + "properties": { + "existing": { + "type": "number" + }, + "proposed": { + "type": "number" + } + }, + "required": [ + "existing", + "proposed" + ], + "type": "object" + } + }, + "required": [ + "count" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, "required": [ - "reference", - "date", - "officer", - "summary" + "vehicleParking" ], "type": "object" }, - "ProjectType": { - "$id": "#ProjectType", - "anyOf": [ + "LondonProperty": { + "$id": "#LondonProperty", + "additionalProperties": false, + "description": "Property details for sites within London", + "properties": { + "EPC": { + "additionalProperties": false, + "properties": { + "known": { + "enum": [ + "Yes", + "Yes, but only some of the properties have one", + "The property does not have one", + "No" + ], + "type": "string" + }, + "number": { + "type": "string" + } + }, + "required": [ + "known" + ], + "type": "object" + }, + "address": { + "anyOf": [ + { + "$ref": "#/definitions/ProposedAddress" + }, + { + "$ref": "#/definitions/OSAddress" + } + ] + }, + "boundary": { + "additionalProperties": false, + "properties": { + "area": { + "additionalProperties": false, + "properties": { + "hectares": { + "type": "number" + }, + "squareMetres": { + "type": "number" + } + }, + "required": [ + "squareMetres", + "hectares" + ], + "type": "object" + }, + "site": { + "type": "string" + } + }, + "required": [ + "site", + "area" + ], + "type": "object" + }, + "constraints": { + "additionalProperties": false, + "properties": { + "planning": { + "items": { + "$id": "#PlanningConstraints", + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "description": { + "type": "string" + }, + "overlaps": { + "const": false, + "type": "boolean" + }, + "value": { + "type": "string" + } + }, + "required": [ + "description", + "overlaps", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "type": "string" + }, + "entities": { + "items": { + "type": "string" + }, + "type": "array" + }, + "overlaps": { + "const": true, + "type": "boolean" + }, + "value": { + "type": "string" + } + }, + "required": [ + "description", + "entities", + "overlaps", + "value" + ], + "type": "object" + } + ], + "description": "Planning constraints that overlap with the proposed site boundary determined by spatial queries against Planning Data (planning.data.gov.uk) and Ordnance Survey" + }, + "type": "array" + } + }, + "required": [ + "planning" + ], + "type": "object" + }, + "localAuthorityDistrict": { + "items": { + "type": "string" + }, + "type": "array" + }, + "region": { + "type": "string" + }, + "titleNumber": { + "additionalProperties": false, + "properties": { + "known": { + "enum": [ + "Yes", + "No" + ], + "type": "string" + }, + "number": { + "type": "string" + } + }, + "required": [ + "known" + ], + "type": "object" + }, + "type": { + "$ref": "#/definitions/PropertyType" + } + }, + "required": [ + "EPC", + "address", + "localAuthorityDistrict", + "region", + "titleNumber", + "type" + ], + "type": "object" + }, + "Metadata": { + "additionalProperties": false, + "properties": { + "service": { + "additionalProperties": false, + "description": "Details of the digital planning service which generated this payload", + "properties": { + "name": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "publishedFlowId": { + "$ref": "#/definitions/UUID" + }, + "url": { + "$ref": "#/definitions/URL" + } + }, + "required": [ + "publishedFlowId", + "name", + "owner", + "url" + ], + "type": "object" + }, + "session": { + "additionalProperties": false, + "properties": { + "createdAt": { + "$ref": "#/definitions/DateTime" + }, + "id": { + "$ref": "#/definitions/UUID" + }, + "source": { + "const": "PlanX", + "default": "PlanX", + "type": "string" + }, + "submittedAt": { + "$ref": "#/definitions/DateTime" + } + }, + "required": [ + "source", + "id", + "createdAt", + "submittedAt" + ], + "type": "object" + } + }, + "required": [ + "service", + "session" + ], + "type": "object" + }, + "OSAddress": { + "$id": "#OSAddress", + "additionalProperties": false, + "description": "Address information for sites with a known address sourced from Ordnance Survey AddressBase Premium", + "properties": { + "latitude": { + "type": "number" + }, + "longitude": { + "type": "number" + }, + "organisation": { + "type": "string" + }, + "pao": { + "type": "string" + }, + "postcode": { + "type": "string" + }, + "source": { + "const": "Ordnance Survey", + "type": "string" + }, + "street": { + "type": "string" + }, + "title": { + "type": "string" + }, + "town": { + "type": "string" + }, + "uprn": { + "type": "string" + }, + "usrn": { + "type": "string" + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "latitude", + "longitude", + "pao", + "postcode", + "source", + "street", + "title", + "town", + "uprn", + "usrn", + "x", + "y" + ], + "type": "object" + }, + "PreApplication": { + "$id": "#PreApplication", + "additionalProperties": false, + "description": "Details of the pre-application, if applicable", + "properties": { + "date": { + "$ref": "#/definitions/DateTime" + }, + "officer": { + "type": "string" + }, + "reference": { + "type": "string" + }, + "summary": { + "type": "string" + } + }, + "required": [ + "reference", + "date", + "officer", + "summary" + ], + "type": "object" + }, + "ProjectType": { + "$id": "#ProjectType", + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add or alter a balcony", + "type": "string" + }, + "value": { + "const": "alter.balcony", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add or remove a bay window", + "type": "string" + }, + "value": { + "const": "alter.bayWindow", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add a bay window", + "type": "string" + }, + "value": { + "const": "alter.bayWindow.add", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Remove a bay window", + "type": "string" + }, + "value": { + "const": "alter.bayWindow.remove", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Changes to a fence, wall or gate", + "type": "string" + }, + "value": { + "const": "alter.boundary", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Install underground cables", + "type": "string" + }, + "value": { + "const": "alter.cables", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Change chimneys", + "type": "string" + }, + "value": { + "const": "alter.chimneys", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add a chimney", + "type": "string" + }, + "value": { + "const": "alter.chimneys.add", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Replace a chimney", + "type": "string" + }, + "value": { + "const": "alter.chimneys.replace", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Work on drains", + "type": "string" + }, + "value": { + "const": "alter.drains", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Install an air conditioning unit", + "type": "string" + }, + "value": { + "const": "alter.equipment.airConditioning", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Install a security alarm", + "type": "string" + }, + "value": { + "const": "alter.equipment.alarm", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Install a satellite dish or aerial", + "type": "string" + }, + "value": { + "const": "alter.equipment.antennae", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Install a flue with a biomass burner", + "type": "string" + }, + "value": { + "const": "alter.equipment.biomass", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Install CCTV cameras", + "type": "string" + }, + "value": { + "const": "alter.equipment.cctv", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Install a car charging point", + "type": "string" + }, + "value": { + "const": "alter.equipment.charging", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Install a heat pump", + "type": "string" + }, + "value": { + "const": "alter.equipment.heatPump", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Install outdoor lights", + "type": "string" + }, + "value": { + "const": "alter.equipment.lighting", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Install solar panels", + "type": "string" + }, + "value": { + "const": "alter.equipment.solar", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Install solar photovoltaics (PV)", + "type": "string" + }, + "value": { + "const": "alter.equipment.solar.pv", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Install solar thermal equipment", + "type": "string" + }, + "value": { + "const": "alter.equipment.solar.thermal", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Install an outdoor tank (for example a water tank)", + "type": "string" + }, + "value": { + "const": "alter.equipment.tank", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Install a wind turbine", + "type": "string" + }, + "value": { + "const": "alter.equipment.wind", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Change the material or colour of the external walls", + "type": "string" + }, + "value": { + "const": "alter.facades", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, { "additionalProperties": false, "properties": { "description": { - "const": "Add or alter a balcony", + "const": "Changes to a public road, pavement or path (including drop kerb)", "type": "string" }, "value": { - "const": "alter.balcony", + "const": "alter.highways", "type": "string" } }, @@ -1705,11 +2968,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add or remove a bay window", + "const": "Landscaping works", "type": "string" }, "value": { - "const": "alter.bayWindow", + "const": "alter.landscape", "type": "string" } }, @@ -1723,11 +2986,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add a bay window", + "const": "Add or remove a pond", "type": "string" }, "value": { - "const": "alter.bayWindow.add", + "const": "alter.landscape.ponds", "type": "string" } }, @@ -1741,11 +3004,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Remove a bay window", + "const": "Add one or more new doorways", "type": "string" }, "value": { - "const": "alter.bayWindow.remove", + "const": "alter.openings.add.door", "type": "string" } }, @@ -1759,11 +3022,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Changes to a fence, wall or gate", + "const": "Add one or more new windows", "type": "string" }, "value": { - "const": "alter.boundary", + "const": "alter.openings.add.window", "type": "string" } }, @@ -1777,11 +3040,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install underground cables", + "const": "Add doorways or new windows - 1.7m or higher", "type": "string" }, "value": { - "const": "alter.cables", + "const": "alter.openings.add.windows.high", "type": "string" } }, @@ -1795,11 +3058,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Change chimneys", + "const": "Change the size of doorways or windows", "type": "string" }, "value": { - "const": "alter.chimneys", + "const": "alter.openings.alter", "type": "string" } }, @@ -1813,11 +3076,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add a chimney", + "const": "Convert a doorway into a window", "type": "string" }, "value": { - "const": "alter.chimneys.add", + "const": "alter.openings.alter.convert.doorToWindow", "type": "string" } }, @@ -1831,11 +3094,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Replace a chimney", + "const": "Convert a window into a doorway", "type": "string" }, "value": { - "const": "alter.chimneys.replace", + "const": "alter.openings.alter.convert.windowToDoor", "type": "string" } }, @@ -1849,11 +3112,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Work on drains", + "const": "Enlarge a door opening", "type": "string" }, "value": { - "const": "alter.drains", + "const": "alter.openings.alter.enlarge.door", "type": "string" } }, @@ -1867,11 +3130,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install an air conditioning unit", + "const": "Enlarge a window opening", "type": "string" }, "value": { - "const": "alter.equipment.airConditioning", + "const": "alter.openings.alter.enlarge.window", "type": "string" } }, @@ -1885,11 +3148,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install a security alarm", + "const": "Reduce the size of a door opening", "type": "string" }, "value": { - "const": "alter.equipment.alarm", + "const": "alter.openings.alter.reduce.door", "type": "string" } }, @@ -1903,11 +3166,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install a satellite dish or aerial", + "const": "Reduce the size of a window opening", "type": "string" }, "value": { - "const": "alter.equipment.antennae", + "const": "alter.openings.alter.reduce.window", "type": "string" } }, @@ -1921,11 +3184,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install a flue with a biomass burner", + "const": "Block up doorways or windows", "type": "string" }, "value": { - "const": "alter.equipment.biomass", + "const": "alter.openings.remove", "type": "string" } }, @@ -1939,11 +3202,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install CCTV cameras", + "const": "Remove part of a building (such as a decorative feature)", "type": "string" }, "value": { - "const": "alter.equipment.cctv", + "const": "alter.remove", "type": "string" } }, @@ -1957,11 +3220,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install a car charging point", + "const": "Remove a chimney", "type": "string" }, "value": { - "const": "alter.equipment.charging", + "const": "alter.remove.chimney", "type": "string" } }, @@ -1975,11 +3238,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install a heat pump", + "const": "Remove equipment", "type": "string" }, "value": { - "const": "alter.equipment.heatPump", + "const": "alter.remove.equipment", "type": "string" } }, @@ -1993,11 +3256,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install outdoor lights", + "const": "Repair windows or doors", "type": "string" }, "value": { - "const": "alter.equipment.lighting", + "const": "alter.repair", "type": "string" } }, @@ -2011,11 +3274,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install solar panels", + "const": "Replace windows or doors", "type": "string" }, "value": { - "const": "alter.equipment.solar", + "const": "alter.replace", "type": "string" } }, @@ -2029,11 +3292,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install solar photovoltaics (PV)", + "const": "Replace door with door", "type": "string" }, "value": { - "const": "alter.equipment.solar.pv", + "const": "alter.replace.doorsToDoors", "type": "string" } }, @@ -2047,11 +3310,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install solar thermal equipment", + "const": "Replace door with window", "type": "string" }, "value": { - "const": "alter.equipment.solar.thermal", + "const": "alter.replace.doorsToWindows", "type": "string" } }, @@ -2065,11 +3328,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install an outdoor tank (for example a water tank)", + "const": "Replace window with door", "type": "string" }, "value": { - "const": "alter.equipment.tank", + "const": "alter.replace.windowsToDoors", "type": "string" } }, @@ -2083,11 +3346,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install a wind turbine", + "const": "Replace window with window", "type": "string" }, "value": { - "const": "alter.equipment.wind", + "const": "alter.replace.windowsToWindows", "type": "string" } }, @@ -2101,11 +3364,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Change the material or colour of the external walls", + "const": "Replace or change the roof materials", "type": "string" }, "value": { - "const": "alter.facades", + "const": "alter.roof.materials", "type": "string" } }, @@ -2119,11 +3382,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Changes to a public road, pavement or path (including drop kerb)", + "const": "Add a roof terrace", "type": "string" }, "value": { - "const": "alter.highways", + "const": "alter.roof.roofTerrace", "type": "string" } }, @@ -2137,11 +3400,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Landscaping works", + "const": "Change the shape of a roof", "type": "string" }, "value": { - "const": "alter.landscape", + "const": "alter.roof.shape", "type": "string" } }, @@ -2155,11 +3418,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add or remove a pond", + "const": "Add skylights to an existing roof", "type": "string" }, "value": { - "const": "alter.landscape.ponds", + "const": "alter.rooflight", "type": "string" } }, @@ -2173,11 +3436,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add one or more new doorways", + "const": "Add secondary glazing to a window", "type": "string" }, "value": { - "const": "alter.openings.add.door", + "const": "alter.secondaryGlazing", "type": "string" } }, @@ -2191,11 +3454,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add one or more new windows", + "const": "Add or alter shop fronts", "type": "string" }, "value": { - "const": "alter.openings.add.window", + "const": "alter.shopfronts", "type": "string" } }, @@ -2209,11 +3472,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add doorways or new windows - 1.7m or higher", + "const": "Add or alter shutters", "type": "string" }, "value": { - "const": "alter.openings.add.windows.high", + "const": "alter.shutters", "type": "string" } }, @@ -2227,11 +3490,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Change the size of doorways or windows", + "const": "Add or replace a soil pipe", "type": "string" }, "value": { - "const": "alter.openings.alter", + "const": "alter.soilPipes", "type": "string" } }, @@ -2245,11 +3508,137 @@ "additionalProperties": false, "properties": { "description": { - "const": "Convert a doorway into a window", + "const": "Add or change an external staircase", "type": "string" }, "value": { - "const": "alter.openings.alter.convert.doorToWindow", + "const": "alter.staircase", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add a decked area or patio", + "type": "string" + }, + "value": { + "const": "alter.surfaces", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add a driveway or parking area", + "type": "string" + }, + "value": { + "const": "alter.surfaces.parking", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Install a swimming pool", + "type": "string" + }, + "value": { + "const": "alter.swimmingPool", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Changes to trees or hedges", + "type": "string" + }, + "value": { + "const": "alter.trees", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Convert a building to a different use", + "type": "string" + }, + "value": { + "const": "changeOfUse", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Convert part of the property into a granny flat (residential annexe)", + "type": "string" + }, + "value": { + "const": "changeofUse.annexe", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Use a caravan or mobile home on the property", + "type": "string" + }, + "value": { + "const": "changeOfUse.caravans", "type": "string" } }, @@ -2263,11 +3652,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Convert a window into a doorway", + "const": "Convert a garage", "type": "string" }, "value": { - "const": "alter.openings.alter.convert.windowToDoor", + "const": "changeOfUse.garage", "type": "string" } }, @@ -2281,11 +3670,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Enlarge a door opening", + "const": "Let a part of the property", "type": "string" }, "value": { - "const": "alter.openings.alter.enlarge.door", + "const": "changeOfUse.let.part", "type": "string" } }, @@ -2299,11 +3688,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Enlarge a window opening", + "const": "Let the property", "type": "string" }, "value": { - "const": "alter.openings.alter.enlarge.window", + "const": "changeOfUse.let.whole", "type": "string" } }, @@ -2317,11 +3706,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Reduce the size of a door opening", + "const": "Convert an outbuilding (such as a shed, garage or barn)", "type": "string" }, "value": { - "const": "alter.openings.alter.reduce.door", + "const": "changeOfUse.outbuilding", "type": "string" } }, @@ -2335,11 +3724,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Reduce the size of a window opening", + "const": "Convert part of a building", "type": "string" }, "value": { - "const": "alter.openings.alter.reduce.window", + "const": "changeOfUse.part", "type": "string" } }, @@ -2353,11 +3742,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Block up doorways or windows", + "const": "Convert a home to bedsits or a shared home", "type": "string" }, "value": { - "const": "alter.openings.remove", + "const": "changeOfUse.whole.homeToHMO", "type": "string" } }, @@ -2371,11 +3760,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Remove part of a building (such as a decorative feature)", + "const": "Change the use of a property", "type": "string" }, "value": { - "const": "alter.remove", + "const": "changeOfUse.whole", "type": "string" } }, @@ -2389,11 +3778,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Remove a chimney", + "const": "Work from home", "type": "string" }, "value": { - "const": "alter.remove.chimney", + "const": "changeOfUse.workFromHome", "type": "string" } }, @@ -2407,11 +3796,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Remove equipment", + "const": "Demolish a building", "type": "string" }, "value": { - "const": "alter.remove.equipment", + "const": "demolish", "type": "string" } }, @@ -2425,11 +3814,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Repair windows or doors", + "const": "Demolish a fence, gate or boundary wall", "type": "string" }, "value": { - "const": "alter.repair", + "const": "demolish.boundary", "type": "string" } }, @@ -2443,11 +3832,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Replace windows or doors", + "const": "Demolish a building", "type": "string" }, "value": { - "const": "alter.replace", + "const": "demolish.full", "type": "string" } }, @@ -2461,11 +3850,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Replace door with door", + "const": "Demolish an outbuilding (such as a garage or barn)", "type": "string" }, "value": { - "const": "alter.replace.doorsToDoors", + "const": "demolish.outbuildings", "type": "string" } }, @@ -2479,11 +3868,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Replace door with window", + "const": "Demolish part of a building (such as an extension)", "type": "string" }, "value": { - "const": "alter.replace.doorsToWindows", + "const": "demolish.part", "type": "string" } }, @@ -2497,11 +3886,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Replace window with door", + "const": "Demolish a building and build homes in its place", "type": "string" }, "value": { - "const": "alter.replace.windowsToDoors", + "const": "demolish.replace", "type": "string" } }, @@ -2515,11 +3904,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Replace window with window", + "const": "Add a basement extension", "type": "string" }, "value": { - "const": "alter.replace.windowsToWindows", + "const": "extend.basement", "type": "string" } }, @@ -2533,11 +3922,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Replace or change the roof materials", + "const": "Add a front extension", "type": "string" }, "value": { - "const": "alter.roof.materials", + "const": "extend.front", "type": "string" } }, @@ -2551,11 +3940,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add a roof terrace", + "const": "Add an outbuilding (such as a shed, garage or garden office)", "type": "string" }, "value": { - "const": "alter.roof.roofTerrace", + "const": "extend.outbuildings", "type": "string" } }, @@ -2569,11 +3958,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Change the shape of a roof", + "const": "Add a porch", "type": "string" }, "value": { - "const": "alter.roof.shape", + "const": "extend.porch", "type": "string" } }, @@ -2587,11 +3976,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add skylights to an existing roof", + "const": "Add a rear or side extension (or conservatory)", "type": "string" }, "value": { - "const": "alter.rooflight", + "const": "extend.rear", "type": "string" } }, @@ -2605,11 +3994,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add secondary glazing to a window", + "const": "Add a roof extension", "type": "string" }, "value": { - "const": "alter.secondaryGlazing", + "const": "extend.roof", "type": "string" } }, @@ -2623,11 +4012,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add or alter shop fronts", + "const": "Add roof dormers", "type": "string" }, "value": { - "const": "alter.shopfronts", + "const": "extend.roof.dormer", "type": "string" } }, @@ -2641,11 +4030,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add or alter shutters", + "const": "Change the internal layout", "type": "string" }, "value": { - "const": "alter.shutters", + "const": "internal", "type": "string" } }, @@ -2659,11 +4048,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add or replace a soil pipe", + "const": "Convert a loft", "type": "string" }, "value": { - "const": "alter.soilPipes", + "const": "internal.loft", "type": "string" } }, @@ -2677,11 +4066,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add or change an external staircase", + "const": "Add a mezzanine floor", "type": "string" }, "value": { - "const": "alter.staircase", + "const": "internal.mezzanine", "type": "string" } }, @@ -2695,11 +4084,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add a decked area or patio", + "const": "Another type of building", "type": "string" }, "value": { - "const": "alter.surfaces", + "const": "new", "type": "string" } }, @@ -2713,11 +4102,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add a driveway or parking area", + "const": "Agricultural buildings", "type": "string" }, "value": { - "const": "alter.surfaces.parking", + "const": "new.agriculture", "type": "string" } }, @@ -2731,11 +4120,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install a swimming pool", + "const": "Install click and collect facilities", "type": "string" }, "value": { - "const": "alter.swimmingPool", + "const": "new.clickCollect", "type": "string" } }, @@ -2749,11 +4138,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Changes to trees or hedges", + "const": "Build new forestry buildings", "type": "string" }, "value": { - "const": "alter.trees", + "const": "new.forestry", "type": "string" } }, @@ -2767,11 +4156,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Convert a building to a different use", + "const": "Industrial premises", "type": "string" }, "value": { - "const": "changeOfUse", + "const": "new.industrial", "type": "string" } }, @@ -2785,11 +4174,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Convert part of the property into a granny flat (residential annexe)", + "const": "Leisure premises", "type": "string" }, "value": { - "const": "changeofUse.annexe", + "const": "new.leisure", "type": "string" } }, @@ -2803,11 +4192,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Use a caravan or mobile home on the property", + "const": "Offices", "type": "string" }, "value": { - "const": "changeOfUse.caravans", + "const": "new.office", "type": "string" } }, @@ -2821,11 +4210,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Convert a garage", + "const": "Build new homes on a roof", "type": "string" }, "value": { - "const": "changeOfUse.garage", + "const": "new.residential.dwelling", "type": "string" } }, @@ -2839,11 +4228,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Let a part of the property", + "const": "Retail premises", "type": "string" }, "value": { - "const": "changeOfUse.let.part", + "const": "new.retail", "type": "string" } }, @@ -2857,11 +4246,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Let the property", + "const": "Install telecommunications equipment", "type": "string" }, "value": { - "const": "changeOfUse.let.whole", + "const": "new.telecoms", "type": "string" } }, @@ -2875,11 +4264,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Convert an outbuilding (such as a shed, garage or barn)", + "const": "Erect a temporary structure for historic visitor attractions and listed buildings", "type": "string" }, "value": { - "const": "changeOfUse.outbuilding", + "const": "new.temporaryStructure", "type": "string" } }, @@ -2893,11 +4282,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Convert part of a building", + "const": "Storage or distribution premises", "type": "string" }, "value": { - "const": "changeOfUse.part", + "const": "new.warehouse", "type": "string" } }, @@ -2911,11 +4300,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Convert a home to bedsits or a shared home", + "const": "Convert two or more properties into one", "type": "string" }, "value": { - "const": "changeOfUse.whole.homeToHMO", + "const": "unit.merge", "type": "string" } }, @@ -2929,11 +4318,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Change the use of a property", + "const": "Convert part of a house into a flat", "type": "string" }, "value": { - "const": "changeOfUse.whole", + "const": "unit.subdivide", "type": "string" } }, @@ -2942,16 +4331,34 @@ "description" ], "type": "object" + } + ], + "description": "Planning project types" + }, + "Property": { + "$id": "#Property", + "anyOf": [ + { + "$ref": "#/definitions/UKProperty" }, + { + "$ref": "#/definitions/LondonProperty" + } + ], + "description": "The site where the works will happen" + }, + "PropertyType": { + "$id": "#PropertyType", + "anyOf": [ { "additionalProperties": false, "properties": { "description": { - "const": "Work from home", + "const": "Commercial", "type": "string" }, "value": { - "const": "changeOfUse.workFromHome", + "const": "commercial", "type": "string" } }, @@ -2965,11 +4372,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Demolish a building", + "const": "Agricultural", "type": "string" }, "value": { - "const": "demolish", + "const": "commercial.agriculture", "type": "string" } }, @@ -2983,11 +4390,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Demolish a fence, gate or boundary wall", + "const": "Farm / Non-Residential Associated Building", "type": "string" }, "value": { - "const": "demolish.boundary", + "const": "commercial.agriculture.farm", "type": "string" } }, @@ -3001,11 +4408,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Demolish a building", + "const": "Fishery", "type": "string" }, "value": { - "const": "demolish.full", + "const": "commercial.fish", "type": "string" } }, @@ -3019,11 +4426,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Demolish an outbuilding (such as a garage or barn)", + "const": "Fish Farming", "type": "string" }, "value": { - "const": "demolish.outbuildings", + "const": "commercial.fish.farm", "type": "string" } }, @@ -3037,11 +4444,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Demolish part of a building (such as an extension)", + "const": "Fish Hatchery", "type": "string" }, "value": { - "const": "demolish.part", + "const": "commercial.fish.hatchery", "type": "string" } }, @@ -3055,11 +4462,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Demolish a building and build homes in its place", + "const": "Fish Processing", "type": "string" }, "value": { - "const": "demolish.replace", + "const": "commercial.fish.processing", "type": "string" } }, @@ -3073,11 +4480,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add a basement extension", + "const": "Oyster / Mussel Bed", "type": "string" }, "value": { - "const": "extend.basement", + "const": "commercial.fish.oysters", "type": "string" } }, @@ -3091,11 +4498,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add a front extension", + "const": "Horticulture", "type": "string" }, "value": { - "const": "extend.front", + "const": "commercial.horticulture", "type": "string" } }, @@ -3109,11 +4516,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add an outbuilding (such as a shed, garage or garden office)", + "const": "Smallholding", "type": "string" }, "value": { - "const": "extend.outbuildings", + "const": "commercial.horticulture.smallholding", "type": "string" } }, @@ -3127,11 +4534,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add a porch", + "const": "Vineyard", "type": "string" }, "value": { - "const": "extend.porch", + "const": "commercial.horticulture.vineyard", "type": "string" } }, @@ -3145,11 +4552,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add a rear or side extension (or conservatory)", + "const": "Watercress Bed", "type": "string" }, "value": { - "const": "extend.rear", + "const": "commercial.horticulture.watercress", "type": "string" } }, @@ -3163,11 +4570,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add a roof extension", + "const": "Slaughter House / Abattoir", "type": "string" }, "value": { - "const": "extend.roof", + "const": "commercial.abattoir", "type": "string" } }, @@ -3181,11 +4588,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add roof dormers", + "const": "Ancillary Building", "type": "string" }, "value": { - "const": "extend.roof.dormer", + "const": "commercial.ancilliary", "type": "string" } }, @@ -3199,11 +4606,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Change the internal layout", + "const": "Community Services", "type": "string" }, "value": { - "const": "internal", + "const": "commercial.community", "type": "string" } }, @@ -3217,11 +4624,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Convert a loft", + "const": "Law Court", "type": "string" }, "value": { - "const": "internal.loft", + "const": "commercial.community.court", "type": "string" } }, @@ -3235,11 +4642,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add a mezzanine floor", + "const": "Prison", "type": "string" }, "value": { - "const": "internal.mezzanine", + "const": "commercial.community.prison", "type": "string" } }, @@ -3253,11 +4660,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Another type of building", + "const": "HM Detention Centre", "type": "string" }, "value": { - "const": "new", + "const": "commercial.community.prison.detention", "type": "string" } }, @@ -3271,11 +4678,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Agricultural buildings", + "const": "HM Prison Service", "type": "string" }, "value": { - "const": "new.agriculture", + "const": "commercial.community.prison.service", "type": "string" } }, @@ -3289,11 +4696,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install click and collect facilities", + "const": "Secure Residential Accommodation", "type": "string" }, "value": { - "const": "new.clickCollect", + "const": "commercial.community.prison.secureResidential", "type": "string" } }, @@ -3307,11 +4714,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Build new forestry buildings", + "const": "Public / Village Hall / Other Community Facility", "type": "string" }, "value": { - "const": "new.forestry", + "const": "commercial.community.hall", "type": "string" } }, @@ -3325,11 +4732,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Industrial premises", + "const": "Youth Recreational / Social Club", "type": "string" }, "value": { - "const": "new.industrial", + "const": "commercial.community.hall.club", "type": "string" } }, @@ -3343,11 +4750,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Leisure premises", + "const": "Public Convenience", "type": "string" }, "value": { - "const": "new.leisure", + "const": "commercial.community.wc", "type": "string" } }, @@ -3361,11 +4768,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Offices", + "const": "Cemetery / Crematorium / Graveyard. In Current Use.", "type": "string" }, "value": { - "const": "new.office", + "const": "commercial.community.cemetary", "type": "string" } }, @@ -3379,11 +4786,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Build new homes on a roof", + "const": "Columbarium", "type": "string" }, "value": { - "const": "new.residential.dwelling", + "const": "commercial.community.cemetary.columbarium", "type": "string" } }, @@ -3397,11 +4804,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Retail premises", + "const": "Crematorium", "type": "string" }, "value": { - "const": "new.retail", + "const": "commercial.community.cemetary.crematorium", "type": "string" } }, @@ -3415,11 +4822,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install telecommunications equipment", + "const": "Chapel Of Rest", "type": "string" }, "value": { - "const": "new.telecoms", + "const": "commercial.community.cemetary.chapelOfRest", "type": "string" } }, @@ -3433,11 +4840,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Erect a temporary structure for historic visitor attractions and listed buildings", + "const": "Cemetery", "type": "string" }, "value": { - "const": "new.temporaryStructure", + "const": "commercial.community.cemetary.cemetary", "type": "string" } }, @@ -3451,11 +4858,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Storage or distribution premises", + "const": "Military Cemetery", "type": "string" }, "value": { - "const": "new.warehouse", + "const": "commercial.community.cemetary.military", "type": "string" } }, @@ -3469,11 +4876,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Convert two or more properties into one", + "const": "Mortuary", "type": "string" }, "value": { - "const": "unit.merge", + "const": "commercial.community.cemetary.mortuary", "type": "string" } }, @@ -3487,11 +4894,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Convert part of a house into a flat", + "const": "Church Hall / Religious Meeting Place / Hall", "type": "string" }, "value": { - "const": "unit.subdivide", + "const": "commercial.community.religious", "type": "string" } }, @@ -3500,154 +4907,34 @@ "description" ], "type": "object" - } - ], - "description": "Planning project types" - }, - "Property": { - "$id": "#Property", - "additionalProperties": false, - "description": "The site where the works will happen", - "properties": { - "address": { - "anyOf": [ - { - "$ref": "#/definitions/ProposedAddress" - }, - { - "$ref": "#/definitions/OSAddress" - } - ] }, - "boundary": { + { "additionalProperties": false, "properties": { - "area": { - "additionalProperties": false, - "properties": { - "hectares": { - "type": "number" - }, - "squareMetres": { - "type": "number" - } - }, - "required": [ - "squareMetres", - "hectares" - ], - "type": "object" + "description": { + "const": "Community Service Centre / Office", + "type": "string" }, - "site": { + "value": { + "const": "commercial.community.services", "type": "string" } }, "required": [ - "site", - "area" - ], - "type": "object" - }, - "constraints": { - "additionalProperties": false, - "properties": { - "planning": { - "items": { - "$id": "#PlanningConstraint", - "anyOf": [ - { - "additionalProperties": false, - "properties": { - "description": { - "type": "string" - }, - "overlaps": { - "const": false, - "type": "boolean" - }, - "value": { - "type": "string" - } - }, - "required": [ - "description", - "overlaps", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "type": "string" - }, - "entities": { - "items": { - "type": "string" - }, - "type": "array" - }, - "overlaps": { - "const": true, - "type": "boolean" - }, - "value": { - "type": "string" - } - }, - "required": [ - "description", - "entities", - "overlaps", - "value" - ], - "type": "object" - } - ], - "description": "Planning constraints that overlap with the proposed site boundary determined by spatial queries against Planning Data (planning.data.gov.uk) and Ordnance Survey" - }, - "type": "array" - } - }, - "required": [ - "planning" + "value", + "description" ], "type": "object" }, - "localAuthorityDistrict": { - "items": { - "type": "string" - }, - "type": "array" - }, - "region": { - "type": "string" - }, - "type": { - "$ref": "#/definitions/PropertyType" - } - }, - "required": [ - "address", - "region", - "localAuthorityDistrict", - "type" - ], - "type": "object" - }, - "PropertyType": { - "$id": "#PropertyType", - "anyOf": [ { "additionalProperties": false, "properties": { "description": { - "const": "Commercial", + "const": "Public Household Waste Recycling Centre (HWRC)", "type": "string" }, "value": { - "const": "commercial", + "const": "commercial.community.HWRC", "type": "string" } }, @@ -3661,11 +4948,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Agricultural", + "const": "Recycling Site", "type": "string" }, "value": { - "const": "commercial.agriculture", + "const": "commercial.community.recycling", "type": "string" } }, @@ -3679,11 +4966,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Farm / Non-Residential Associated Building", + "const": "CCTV", "type": "string" }, "value": { - "const": "commercial.agriculture.farm", + "const": "commercial.community.CCTV", "type": "string" } }, @@ -3697,11 +4984,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Fishery", + "const": "Job Centre", "type": "string" }, "value": { - "const": "commercial.fish", + "const": "commercial.community.employment", "type": "string" } }, @@ -3715,11 +5002,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Fish Farming", + "const": "Education", "type": "string" }, "value": { - "const": "commercial.fish.farm", + "const": "commercial.education", "type": "string" } }, @@ -3733,11 +5020,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Fish Hatchery", + "const": "College", "type": "string" }, "value": { - "const": "commercial.fish.hatchery", + "const": "commercial.education.college", "type": "string" } }, @@ -3751,11 +5038,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Fish Processing", + "const": "Further Education", "type": "string" }, "value": { - "const": "commercial.fish.processing", + "const": "commercial.education.college.further", "type": "string" } }, @@ -3769,11 +5056,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Oyster / Mussel Bed", + "const": "Higher Education", "type": "string" }, "value": { - "const": "commercial.fish.oysters", + "const": "commercial.education.college.higher", "type": "string" } }, @@ -3787,11 +5074,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Horticulture", + "const": "Children's Nursery / Crèche", "type": "string" }, "value": { - "const": "commercial.horticulture", + "const": "commercial.education.nursery", "type": "string" } }, @@ -3805,11 +5092,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Smallholding", + "const": "Preparatory / First / Primary / Infant / Junior / Middle School", "type": "string" }, "value": { - "const": "commercial.horticulture.smallholding", + "const": "commercial.education.school", "type": "string" } }, @@ -3823,11 +5110,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Vineyard", + "const": "First School", "type": "string" }, "value": { - "const": "commercial.horticulture.vineyard", + "const": "commercial.education.school.first", "type": "string" } }, @@ -3841,11 +5128,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Watercress Bed", + "const": "Infant School", "type": "string" }, "value": { - "const": "commercial.horticulture.watercress", + "const": "commercial.education.school.infant", "type": "string" } }, @@ -3859,11 +5146,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Slaughter House / Abattoir", + "const": "Junior School", "type": "string" }, "value": { - "const": "commercial.abattoir", + "const": "commercial.education.school.junior", "type": "string" } }, @@ -3877,11 +5164,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Ancillary Building", + "const": "Middle School", "type": "string" }, "value": { - "const": "commercial.ancilliary", + "const": "commercial.education.school.middle", "type": "string" } }, @@ -3895,11 +5182,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Community Services", + "const": "Non State Primary / Preparatory School", "type": "string" }, "value": { - "const": "commercial.community", + "const": "commercial.education.school.primary.private", "type": "string" } }, @@ -3913,11 +5200,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Law Court", + "const": "Primary School", "type": "string" }, "value": { - "const": "commercial.community.court", + "const": "commercial.education.school.primary.state", "type": "string" } }, @@ -3931,11 +5218,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Prison", + "const": "Secondary / High School", "type": "string" }, "value": { - "const": "commercial.community.prison", + "const": "commercial.education.secondarySchool", "type": "string" } }, @@ -3949,11 +5236,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "HM Detention Centre", + "const": "Non State Secondary School", "type": "string" }, "value": { - "const": "commercial.community.prison.detention", + "const": "commercial.education.secondarySchool.private", "type": "string" } }, @@ -3967,11 +5254,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "HM Prison Service", + "const": "Secondary School", "type": "string" }, "value": { - "const": "commercial.community.prison.service", + "const": "commercial.education.secondarySchool.state", "type": "string" } }, @@ -3985,11 +5272,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Secure Residential Accommodation", + "const": "University", "type": "string" }, "value": { - "const": "commercial.community.prison.secureResidential", + "const": "commercial.education.university", "type": "string" } }, @@ -4003,11 +5290,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Public / Village Hall / Other Community Facility", + "const": "Special Needs Establishment.", "type": "string" }, "value": { - "const": "commercial.community.hall", + "const": "commercial.education.specialNeeds", "type": "string" } }, @@ -4021,11 +5308,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Youth Recreational / Social Club", + "const": "Other Educational Establishment", "type": "string" }, "value": { - "const": "commercial.community.hall.club", + "const": "commercial.education.other", "type": "string" } }, @@ -4039,11 +5326,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Public Convenience", + "const": "Hotel / Motel / Boarding / Guest House", "type": "string" }, "value": { - "const": "commercial.community.wc", + "const": "commercial.guest", "type": "string" } }, @@ -4057,11 +5344,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Cemetery / Crematorium / Graveyard. In Current Use.", + "const": "Boarding / Guest House / Bed And Breakfast / Youth Hostel", "type": "string" }, "value": { - "const": "commercial.community.cemetary", + "const": "commercial.guest.hostel", "type": "string" } }, @@ -4075,11 +5362,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Columbarium", + "const": "Youth Hostel", "type": "string" }, "value": { - "const": "commercial.community.cemetary.columbarium", + "const": "commercial.guest.hostel.youth", "type": "string" } }, @@ -4093,11 +5380,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Crematorium", + "const": "Holiday Let/Accomodation/Short-Term Let Other Than CH01", "type": "string" }, "value": { - "const": "commercial.community.cemetary.crematorium", + "const": "commercial.guest.shortLet", "type": "string" } }, @@ -4111,11 +5398,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Chapel Of Rest", + "const": "Hotel/Motel", "type": "string" }, "value": { - "const": "commercial.community.cemetary.chapelOfRest", + "const": "commercial.guest.hotel", "type": "string" } }, @@ -4129,11 +5416,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Cemetery", + "const": "Industrial Applicable to manufacturing, engineering, maintenance, storage / wholesale distribution and extraction sites", "type": "string" }, "value": { - "const": "commercial.community.cemetary.cemetary", + "const": "commercial.industrial", "type": "string" } }, @@ -4147,11 +5434,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Military Cemetery", + "const": "Factory/Manufacturing", "type": "string" }, "value": { - "const": "commercial.community.cemetary.military", + "const": "commercial.industrial.manufacturing", "type": "string" } }, @@ -4165,11 +5452,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Mortuary", + "const": "Aircraft Works", "type": "string" }, "value": { - "const": "commercial.community.cemetary.mortuary", + "const": "commercial.industrial.manufacturing.aircraft", "type": "string" } }, @@ -4183,11 +5470,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Church Hall / Religious Meeting Place / Hall", + "const": "Boat Building", "type": "string" }, "value": { - "const": "commercial.community.religious", + "const": "commercial.industrial.manufacturing.boats", "type": "string" } }, @@ -4201,11 +5488,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Community Service Centre / Office", + "const": "Brick Works", "type": "string" }, "value": { - "const": "commercial.community.services", + "const": "commercial.industrial.manufacturing.bricks", "type": "string" } }, @@ -4219,11 +5506,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Public Household Waste Recycling Centre (HWRC)", + "const": "Brewery", "type": "string" }, "value": { - "const": "commercial.community.HWRC", + "const": "commercial.industrial.manufacturing.beer", "type": "string" } }, @@ -4237,11 +5524,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Recycling Site", + "const": "Cider Manufacture", "type": "string" }, "value": { - "const": "commercial.community.recycling", + "const": "commercial.industrial.manufacturing.cider", "type": "string" } }, @@ -4255,11 +5542,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "CCTV", + "const": "Chemical Works", "type": "string" }, "value": { - "const": "commercial.community.CCTV", + "const": "commercial.industrial.manufacturing.chemicals", "type": "string" } }, @@ -4273,11 +5560,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Job Centre", + "const": "Cement Works", "type": "string" }, "value": { - "const": "commercial.community.employment", + "const": "commercial.industrial.manufacturing.cement", "type": "string" } }, @@ -4291,11 +5578,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Education", + "const": "Dairy Processing", "type": "string" }, "value": { - "const": "commercial.education", + "const": "commercial.industrial.manufacturing.dairy", "type": "string" } }, @@ -4309,11 +5596,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "College", + "const": "Distillery", "type": "string" }, "value": { - "const": "commercial.education.college", + "const": "commercial.industrial.manufacturing.distillery", "type": "string" } }, @@ -4327,11 +5614,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Further Education", + "const": "Flour Mill", "type": "string" }, "value": { - "const": "commercial.education.college.further", + "const": "commercial.industrial.manufacturing.flour", "type": "string" } }, @@ -4345,11 +5632,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Higher Education", + "const": "Food Processing", "type": "string" }, "value": { - "const": "commercial.education.college.higher", + "const": "commercial.industrial.manufacturing.food", "type": "string" } }, @@ -4363,11 +5650,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Children's Nursery / Crèche", + "const": "Glassworks", "type": "string" }, "value": { - "const": "commercial.education.nursery", + "const": "commercial.industrial.manufacturing.glass", "type": "string" } }, @@ -4381,11 +5668,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Preparatory / First / Primary / Infant / Junior / Middle School", + "const": "Manufacturing", "type": "string" }, "value": { - "const": "commercial.education.school", + "const": "commercial.industrial.manufacturing.other", "type": "string" } }, @@ -4399,11 +5686,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "First School", + "const": "Oast House", "type": "string" }, "value": { - "const": "commercial.education.school.first", + "const": "commercial.industrial.manufacturing.hops", "type": "string" } }, @@ -4417,11 +5704,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Infant School", + "const": "Oil Refining", "type": "string" }, "value": { - "const": "commercial.education.school.infant", + "const": "commercial.industrial.manufacturing.oil", "type": "string" } }, @@ -4435,11 +5722,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Junior School", + "const": "Pottery Manufacturing", "type": "string" }, "value": { - "const": "commercial.education.school.junior", + "const": "commercial.industrial.manufacturing.pottery", "type": "string" } }, @@ -4453,11 +5740,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Middle School", + "const": "Paper Mill", "type": "string" }, "value": { - "const": "commercial.education.school.middle", + "const": "commercial.industrial.manufacturing.paper", "type": "string" } }, @@ -4471,11 +5758,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Non State Primary / Preparatory School", + "const": "Printing Works", "type": "string" }, "value": { - "const": "commercial.education.school.primary.private", + "const": "commercial.industrial.manufacturing.printing", "type": "string" } }, @@ -4489,11 +5776,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Primary School", + "const": "Sugar Refinery", "type": "string" }, "value": { - "const": "commercial.education.school.primary.state", + "const": "commercial.industrial.manufacturing.sugar", "type": "string" } }, @@ -4507,11 +5794,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Secondary / High School", + "const": "Steel Works", "type": "string" }, "value": { - "const": "commercial.education.secondarySchool", + "const": "commercial.industrial.manufacturing.steel", "type": "string" } }, @@ -4525,11 +5812,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Non State Secondary School", + "const": "Timber Mill", "type": "string" }, "value": { - "const": "commercial.education.secondarySchool.private", + "const": "commercial.industrial.manufacturing.timber", "type": "string" } }, @@ -4543,11 +5830,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Secondary School", + "const": "Winery", "type": "string" }, "value": { - "const": "commercial.education.secondarySchool.state", + "const": "commercial.industrial.manufacturing.wine", "type": "string" } }, @@ -4561,11 +5848,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "University", + "const": "Shipyard", "type": "string" }, "value": { - "const": "commercial.education.university", + "const": "commercial.industrial.manufacturing.ships", "type": "string" } }, @@ -4579,11 +5866,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Special Needs Establishment.", + "const": "Mineral / Ore Working / Quarry / Mine", "type": "string" }, "value": { - "const": "commercial.education.specialNeeds", + "const": "commercial.industrial.extraction", "type": "string" } }, @@ -4597,11 +5884,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Other Educational Establishment", + "const": "Mineral Mining / Active", "type": "string" }, "value": { - "const": "commercial.education.other", + "const": "commercial.industrial.extraction.mining", "type": "string" } }, @@ -4615,11 +5902,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Hotel / Motel / Boarding / Guest House", + "const": "Mineral Distribution / Storage", "type": "string" }, "value": { - "const": "commercial.guest", + "const": "commercial.industrial.extraction.distribution", "type": "string" } }, @@ -4633,11 +5920,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Boarding / Guest House / Bed And Breakfast / Youth Hostel", + "const": "Mineral Processing", "type": "string" }, "value": { - "const": "commercial.guest.hostel", + "const": "commercial.industrial.extraction.processing", "type": "string" } }, @@ -4651,11 +5938,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Youth Hostel", + "const": "Oil / Gas Extraction / Active", "type": "string" }, "value": { - "const": "commercial.guest.hostel.youth", + "const": "commercial.industrial.extraction.oilGas", "type": "string" } }, @@ -4669,11 +5956,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Holiday Let/Accomodation/Short-Term Let Other Than CH01", + "const": "Mineral Quarrying / Open Extraction / Active", "type": "string" }, "value": { - "const": "commercial.guest.shortLet", + "const": "commercial.industrial.extraction.quarrying", "type": "string" } }, @@ -4687,11 +5974,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Hotel/Motel", + "const": "Workshop / Light Industrial", "type": "string" }, "value": { - "const": "commercial.guest.hotel", + "const": "commercial.industrial.light", "type": "string" } }, @@ -4705,11 +5992,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Industrial Applicable to manufacturing, engineering, maintenance, storage / wholesale distribution and extraction sites", + "const": "Servicing Garage", "type": "string" }, "value": { - "const": "commercial.industrial", + "const": "commercial.industrial.light.garage", "type": "string" } }, @@ -4723,11 +6010,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Factory/Manufacturing", + "const": "Warehouse / Store / Storage Depot", "type": "string" }, "value": { - "const": "commercial.industrial.manufacturing", + "const": "commercial.industrial.light.storage", "type": "string" } }, @@ -4741,11 +6028,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Aircraft Works", + "const": "Crop Handling / Storage", "type": "string" }, "value": { - "const": "commercial.industrial.manufacturing.aircraft", + "const": "commercial.industrial.light.storage.crops", "type": "string" } }, @@ -4759,11 +6046,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Boat Building", + "const": "Postal Sorting / Distribution", "type": "string" }, "value": { - "const": "commercial.industrial.manufacturing.boats", + "const": "commercial.industrial.light.storage.post", "type": "string" } }, @@ -4777,11 +6064,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Brick Works", + "const": "Solid Fuel Storage", "type": "string" }, "value": { - "const": "commercial.industrial.manufacturing.bricks", + "const": "commercial.industrial.light.storage.solidFuel", "type": "string" } }, @@ -4795,11 +6082,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Brewery", + "const": "Timber Storage", "type": "string" }, "value": { - "const": "commercial.industrial.manufacturing.beer", + "const": "commercial.industrial.light.storage.timber", "type": "string" } }, @@ -4813,11 +6100,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Cider Manufacture", + "const": "Wholesale Distribution", "type": "string" }, "value": { - "const": "commercial.industrial.manufacturing.cider", + "const": "commercial.industrial.distribution", "type": "string" } }, @@ -4831,11 +6118,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Chemical Works", + "const": "Solid Fuel Distribution", "type": "string" }, "value": { - "const": "commercial.industrial.manufacturing.chemicals", + "const": "commercial.industrial.distribution.solidFueld", "type": "string" } }, @@ -4849,11 +6136,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Cement Works", + "const": "Timber Distribution", "type": "string" }, "value": { - "const": "commercial.industrial.manufacturing.cement", + "const": "commercial.industrial.distribution.timber", "type": "string" } }, @@ -4867,11 +6154,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Dairy Processing", + "const": "Recycling Plant", "type": "string" }, "value": { - "const": "commercial.industrial.manufacturing.dairy", + "const": "commercial.industrial.recycling", "type": "string" } }, @@ -4885,11 +6172,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Distillery", + "const": "Incinerator / Waste Transfer Station", "type": "string" }, "value": { - "const": "commercial.industrial.manufacturing.distillery", + "const": "commercial.industrial.incineration", "type": "string" } }, @@ -4903,11 +6190,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Flour Mill", + "const": "Maintenance Depot", "type": "string" }, "value": { - "const": "commercial.industrial.manufacturing.flour", + "const": "commercial.industrial.maintenanceDepot", "type": "string" } }, @@ -4921,11 +6208,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Food Processing", + "const": "Leisure - Applicable to recreational sites and enterprises", "type": "string" }, "value": { - "const": "commercial.industrial.manufacturing.food", + "const": "commercial.leisure", "type": "string" } }, @@ -4939,11 +6226,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Glassworks", + "const": "Amusements", "type": "string" }, "value": { - "const": "commercial.industrial.manufacturing.glass", + "const": "commercial.leisure.amusements", "type": "string" } }, @@ -4957,11 +6244,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Manufacturing", + "const": "Leisure Pier", "type": "string" }, "value": { - "const": "commercial.industrial.manufacturing.other", + "const": "commercial.leisure.amusements.pier", "type": "string" } }, @@ -4975,11 +6262,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Oast House", + "const": "Holiday / Campsite", "type": "string" }, "value": { - "const": "commercial.industrial.manufacturing.hops", + "const": "commercial.leisure.holiday", "type": "string" } }, @@ -4993,11 +6280,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Oil Refining", + "const": "Camping", "type": "string" }, "value": { - "const": "commercial.industrial.manufacturing.oil", + "const": "commercial.leisure.holiday.camping", "type": "string" } }, @@ -5011,11 +6298,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Pottery Manufacturing", + "const": "Caravanning", "type": "string" }, "value": { - "const": "commercial.industrial.manufacturing.pottery", + "const": "commercial.leisure.holiday.caravanning", "type": "string" } }, @@ -5029,11 +6316,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Paper Mill", + "const": "Holiday Accommodation", "type": "string" }, "value": { - "const": "commercial.industrial.manufacturing.paper", + "const": "commercial.leisure.holiday.accommodation", "type": "string" } }, @@ -5047,11 +6334,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Printing Works", + "const": "Holiday Centre", "type": "string" }, "value": { - "const": "commercial.industrial.manufacturing.printing", + "const": "commercial.leisure.holiday.centre", "type": "string" } }, @@ -5065,11 +6352,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Sugar Refinery", + "const": "Youth Organisation Camp", "type": "string" }, "value": { - "const": "commercial.industrial.manufacturing.sugar", + "const": "commercial.leisure.holiday.youth", "type": "string" } }, @@ -5083,11 +6370,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Steel Works", + "const": "Library", "type": "string" }, "value": { - "const": "commercial.industrial.manufacturing.steel", + "const": "commercial.leisure.library", "type": "string" } }, @@ -5101,11 +6388,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Timber Mill", + "const": "Reading Room", "type": "string" }, "value": { - "const": "commercial.industrial.manufacturing.timber", + "const": "commercial.leisure.library.readingRoom", "type": "string" } }, @@ -5119,11 +6406,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Winery", + "const": "Museum / Gallery", "type": "string" }, "value": { - "const": "commercial.industrial.manufacturing.wine", + "const": "commercial.leisure.museum", "type": "string" } }, @@ -5137,11 +6424,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Shipyard", + "const": "Art Centre / Gallery", "type": "string" }, "value": { - "const": "commercial.industrial.manufacturing.ships", + "const": "commercial.leisure.museum.art", "type": "string" } }, @@ -5155,11 +6442,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Mineral / Ore Working / Quarry / Mine", + "const": "Aviation Museum", "type": "string" }, "value": { - "const": "commercial.industrial.extraction", + "const": "commercial.leisure.museum.aviation", "type": "string" } }, @@ -5173,11 +6460,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Mineral Mining / Active", + "const": "Heritage Centre", "type": "string" }, "value": { - "const": "commercial.industrial.extraction.mining", + "const": "commercial.leisure.museum.heritage", "type": "string" } }, @@ -5191,11 +6478,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Mineral Distribution / Storage", + "const": "Industrial Museum", "type": "string" }, "value": { - "const": "commercial.industrial.extraction.distribution", + "const": "commercial.leisure.museum.industrial", "type": "string" } }, @@ -5209,11 +6496,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Mineral Processing", + "const": "Military Museum", "type": "string" }, "value": { - "const": "commercial.industrial.extraction.processing", + "const": "commercial.leisure.museum.military", "type": "string" } }, @@ -5227,11 +6514,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Oil / Gas Extraction / Active", + "const": "Maritime Museum", "type": "string" }, "value": { - "const": "commercial.industrial.extraction.oilGas", + "const": "commercial.leisure.museum.maritime", "type": "string" } }, @@ -5245,11 +6532,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Mineral Quarrying / Open Extraction / Active", + "const": "Science Museum", "type": "string" }, "value": { - "const": "commercial.industrial.extraction.quarrying", + "const": "commercial.leisure.museum.science", "type": "string" } }, @@ -5263,11 +6550,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Workshop / Light Industrial", + "const": "Transport Museum", "type": "string" }, "value": { - "const": "commercial.industrial.light", + "const": "commercial.leisure.museum.transport", "type": "string" } }, @@ -5281,11 +6568,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Servicing Garage", + "const": "Indoor / Outdoor Leisure / Sporting Activity / Centre", "type": "string" }, "value": { - "const": "commercial.industrial.light.garage", + "const": "commercial.leisure.sport", "type": "string" } }, @@ -5299,11 +6586,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Warehouse / Store / Storage Depot", + "const": "Athletics Facility", "type": "string" }, "value": { - "const": "commercial.industrial.light.storage", + "const": "commercial.leisure.sport.athletics", "type": "string" } }, @@ -5317,11 +6604,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Crop Handling / Storage", + "const": "Bowls Facility", "type": "string" }, "value": { - "const": "commercial.industrial.light.storage.crops", + "const": "commercial.leisure.sport.bowls", "type": "string" } }, @@ -5335,11 +6622,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Postal Sorting / Distribution", + "const": "Cricket Facility", "type": "string" }, "value": { - "const": "commercial.industrial.light.storage.post", + "const": "commercial.leisure.sport.cricket", "type": "string" } }, @@ -5353,11 +6640,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Solid Fuel Storage", + "const": "Curling Facility", "type": "string" }, "value": { - "const": "commercial.industrial.light.storage.solidFuel", + "const": "commercial.leisure.sport.curling", "type": "string" } }, @@ -5371,11 +6658,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Timber Storage", + "const": "Diving / Swimming Facility", "type": "string" }, "value": { - "const": "commercial.industrial.light.storage.timber", + "const": "commercial.leisure.sport.swimming", "type": "string" } }, @@ -5389,11 +6676,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Wholesale Distribution", + "const": "Equestrian Sports Facility", "type": "string" }, "value": { - "const": "commercial.industrial.distribution", + "const": "commercial.leisure.sport.equestrian", "type": "string" } }, @@ -5407,11 +6694,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Solid Fuel Distribution", + "const": "Football Facility", "type": "string" }, "value": { - "const": "commercial.industrial.distribution.solidFueld", + "const": "commercial.leisure.sport.football", "type": "string" } }, @@ -5425,11 +6712,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Timber Distribution", + "const": "Fishing / Angling Facility", "type": "string" }, "value": { - "const": "commercial.industrial.distribution.timber", + "const": "commercial.leisure.sport.fishing", "type": "string" } }, @@ -5443,11 +6730,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Recycling Plant", + "const": "Golf Facility", "type": "string" }, "value": { - "const": "commercial.industrial.recycling", + "const": "commercial.leisure.sport.golf", "type": "string" } }, @@ -5461,11 +6748,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Incinerator / Waste Transfer Station", + "const": "Gliding Facility", "type": "string" }, "value": { - "const": "commercial.industrial.incineration", + "const": "commercial.leisure.sport.gliding", "type": "string" } }, @@ -5479,11 +6766,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Maintenance Depot", + "const": "Greyhound Racing Facility", "type": "string" }, "value": { - "const": "commercial.industrial.maintenanceDepot", + "const": "commercial.leisure.sport.dogracing", "type": "string" } }, @@ -5497,11 +6784,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Leisure - Applicable to recreational sites and enterprises", + "const": "Hockey Facility", "type": "string" }, "value": { - "const": "commercial.leisure", + "const": "commercial.leisure.sport.hockey", "type": "string" } }, @@ -5515,11 +6802,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Amusements", + "const": "Horse Racing Facility", "type": "string" }, "value": { - "const": "commercial.leisure.amusements", + "const": "commercial.leisure.sport.horseracing", "type": "string" } }, @@ -5533,11 +6820,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Leisure Pier", + "const": "Historic Vessel / Aircraft / Vehicle", "type": "string" }, "value": { - "const": "commercial.leisure.amusements.pier", + "const": "commercial.leisure.sport.historicVehicles", "type": "string" } }, @@ -5551,11 +6838,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Holiday / Campsite", + "const": "Activity / Leisure / Sports Centre", "type": "string" }, "value": { - "const": "commercial.leisure.holiday", + "const": "commercial.leisure.sport.centre", "type": "string" } }, @@ -5569,11 +6856,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Camping", + "const": "Model Sports Facility", "type": "string" }, "value": { - "const": "commercial.leisure.holiday.camping", + "const": "commercial.leisure.sport.model", "type": "string" } }, @@ -5587,11 +6874,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Caravanning", + "const": "Motor Sports Facility", "type": "string" }, "value": { - "const": "commercial.leisure.holiday.caravanning", + "const": "commercial.leisure.sport.motor", "type": "string" } }, @@ -5605,11 +6892,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Holiday Accommodation", + "const": "Playing Field", "type": "string" }, "value": { - "const": "commercial.leisure.holiday.accommodation", + "const": "commercial.leisure.sport.playingField", "type": "string" } }, @@ -5623,11 +6910,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Holiday Centre", + "const": "Racquet Sports Facility", "type": "string" }, "value": { - "const": "commercial.leisure.holiday.centre", + "const": "commercial.leisure.sport.racquet", "type": "string" } }, @@ -5641,11 +6928,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Youth Organisation Camp", + "const": "Rugby Facility", "type": "string" }, "value": { - "const": "commercial.leisure.holiday.youth", + "const": "commercial.leisure.sport.rugby", "type": "string" } }, @@ -5659,11 +6946,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Library", + "const": "Recreation Ground", "type": "string" }, "value": { - "const": "commercial.leisure.library", + "const": "commercial.leisure.sport.recreationGround", "type": "string" } }, @@ -5677,11 +6964,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Reading Room", + "const": "Shinty Facility", "type": "string" }, "value": { - "const": "commercial.leisure.library.readingRoom", + "const": "commercial.leisure.sport.shinty", "type": "string" } }, @@ -5695,11 +6982,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Museum / Gallery", + "const": "Skateboarding Facility", "type": "string" }, "value": { - "const": "commercial.leisure.museum", + "const": "commercial.leisure.sport.skateboarding", "type": "string" } }, @@ -5713,11 +7000,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Art Centre / Gallery", + "const": "Civilian Firing Facility", "type": "string" }, "value": { - "const": "commercial.leisure.museum.art", + "const": "commercial.leisure.sport.firing", "type": "string" } }, @@ -5731,11 +7018,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Aviation Museum", + "const": "Tenpin Bowling Facility", "type": "string" }, "value": { - "const": "commercial.leisure.museum.aviation", + "const": "commercial.leisure.sport.tenpin", "type": "string" } }, @@ -5749,11 +7036,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Heritage Centre", + "const": "Public Tennis Court", "type": "string" }, "value": { - "const": "commercial.leisure.museum.heritage", + "const": "commercial.leisure.sport.tennis", "type": "string" } }, @@ -5767,11 +7054,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Industrial Museum", + "const": "Water Sports Facility", "type": "string" }, "value": { - "const": "commercial.leisure.museum.industrial", + "const": "commercial.leisure.sport.water", "type": "string" } }, @@ -5785,11 +7072,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Military Museum", + "const": "Winter Sports Facility", "type": "string" }, "value": { - "const": "commercial.leisure.museum.military", + "const": "commercial.leisure.sport.winter", "type": "string" } }, @@ -5803,11 +7090,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Maritime Museum", + "const": "Wildlife Sports Facility", "type": "string" }, "value": { - "const": "commercial.leisure.museum.maritime", + "const": "commercial.leisure.sport.wildlife", "type": "string" } }, @@ -5821,11 +7108,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Science Museum", + "const": "Cycling Sports Facility", "type": "string" }, "value": { - "const": "commercial.leisure.museum.science", + "const": "commercial.leisure.sport.cycling", "type": "string" } }, @@ -5839,11 +7126,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Transport Museum", + "const": "Bingo Hall / Cinema / Conference / Exhibition Centre / Theatre / Concert Hall", "type": "string" }, "value": { - "const": "commercial.leisure.museum.transport", + "const": "commercial.leisure.entertainment", "type": "string" } }, @@ -5857,11 +7144,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Indoor / Outdoor Leisure / Sporting Activity / Centre", + "const": "Cinema", "type": "string" }, "value": { - "const": "commercial.leisure.sport", + "const": "commercial.leisure.entertainment.cinema", "type": "string" } }, @@ -5875,11 +7162,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Athletics Facility", + "const": "Entertainment Complex", "type": "string" }, "value": { - "const": "commercial.leisure.sport.athletics", + "const": "commercial.leisure.entertainment.mixed", "type": "string" } }, @@ -5893,11 +7180,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Bowls Facility", + "const": "Conference / Exhibition Centre", "type": "string" }, "value": { - "const": "commercial.leisure.sport.bowls", + "const": "commercial.leisure.entertainment.exhibition", "type": "string" } }, @@ -5911,11 +7198,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Cricket Facility", + "const": "Theatre", "type": "string" }, "value": { - "const": "commercial.leisure.sport.cricket", + "const": "commercial.leisure.entertainment.theatre", "type": "string" } }, @@ -5929,11 +7216,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Curling Facility", + "const": "Zoo / Theme Park", "type": "string" }, "value": { - "const": "commercial.leisure.sport.curling", + "const": "commercial.leisure.park.zoo", "type": "string" } }, @@ -5947,11 +7234,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Diving / Swimming Facility", + "const": "Amusement Park", "type": "string" }, "value": { - "const": "commercial.leisure.sport.swimming", + "const": "commercial.leisure.park.amusement", "type": "string" } }, @@ -5965,11 +7252,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Equestrian Sports Facility", + "const": "Aquatic Attraction", "type": "string" }, "value": { - "const": "commercial.leisure.sport.equestrian", + "const": "commercial.leisure.park.aquatic", "type": "string" } }, @@ -5983,11 +7270,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Football Facility", + "const": "Model Village Site", "type": "string" }, "value": { - "const": "commercial.leisure.sport.football", + "const": "commercial.leisure.park.model", "type": "string" } }, @@ -6001,11 +7288,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Fishing / Angling Facility", + "const": "Wildlife / Zoological Park", "type": "string" }, "value": { - "const": "commercial.leisure.sport.fishing", + "const": "commercial.leisure.park.wildlife", "type": "string" } }, @@ -6019,11 +7306,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Golf Facility", + "const": "Beach Hut (Recreational, Non-Residential Use Only)", "type": "string" }, "value": { - "const": "commercial.leisure.sport.golf", + "const": "commercial.leisure.beachHut", "type": "string" } }, @@ -6037,11 +7324,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Gliding Facility", + "const": "Licensed Private Members' Club", "type": "string" }, "value": { - "const": "commercial.leisure.sport.gliding", + "const": "commercial.leisure.club.private", "type": "string" } }, @@ -6055,11 +7342,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Greyhound Racing Facility", + "const": "Recreational / Social Club", "type": "string" }, "value": { - "const": "commercial.leisure.sport.dogracing", + "const": "commercial.leisure.club.social", "type": "string" } }, @@ -6073,11 +7360,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Hockey Facility", + "const": "Arena / Stadium", "type": "string" }, "value": { - "const": "commercial.leisure.sport.hockey", + "const": "commercial.leisure.arena", "type": "string" } }, @@ -6091,11 +7378,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Horse Racing Facility", + "const": "Stadium", "type": "string" }, "value": { - "const": "commercial.leisure.sport.horseracing", + "const": "commercial.leisure.arena.stadium", "type": "string" } }, @@ -6109,11 +7396,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Historic Vessel / Aircraft / Vehicle", + "const": "Showground", "type": "string" }, "value": { - "const": "commercial.leisure.sport.historicVehicles", + "const": "commercial.leisure.arena.showground", "type": "string" } }, @@ -6127,11 +7414,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Activity / Leisure / Sports Centre", + "const": "Medical", "type": "string" }, "value": { - "const": "commercial.leisure.sport.centre", + "const": "commercial.medical", "type": "string" } }, @@ -6145,11 +7432,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Model Sports Facility", + "const": "Dentist", "type": "string" }, "value": { - "const": "commercial.leisure.sport.model", + "const": "commercial.medical.dentist", "type": "string" } }, @@ -6163,11 +7450,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Motor Sports Facility", + "const": "General Practice Surgery / Clinic", "type": "string" }, "value": { - "const": "commercial.leisure.sport.motor", + "const": "commercial.medical.GP", "type": "string" } }, @@ -6181,11 +7468,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Playing Field", + "const": "Health Centre", "type": "string" }, "value": { - "const": "commercial.leisure.sport.playingField", + "const": "commercial.medical.healthCentre", "type": "string" } }, @@ -6199,11 +7486,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Racquet Sports Facility", + "const": "Health Care Services", "type": "string" }, "value": { - "const": "commercial.leisure.sport.racquet", + "const": "commercial.medical.healthServices", "type": "string" } }, @@ -6217,11 +7504,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Rugby Facility", + "const": "Hospital / Hospice", "type": "string" }, "value": { - "const": "commercial.leisure.sport.rugby", + "const": "commercial.medical.care", "type": "string" } }, @@ -6235,11 +7522,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Recreation Ground", + "const": "Care home/Hospice", "type": "string" }, "value": { - "const": "commercial.leisure.sport.recreationGround", + "const": "commercial.medical.care.home", "type": "string" } }, @@ -6253,11 +7540,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Shinty Facility", + "const": "Hospital", "type": "string" }, "value": { - "const": "commercial.leisure.sport.shinty", + "const": "commercial.medical.care.hospital", "type": "string" } }, @@ -6271,11 +7558,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Skateboarding Facility", + "const": "Medical / Testing / Research Laboratory", "type": "string" }, "value": { - "const": "commercial.leisure.sport.skateboarding", + "const": "commercial.medical.lab", "type": "string" } }, @@ -6289,11 +7576,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Civilian Firing Facility", + "const": "Professional Medical Service", "type": "string" }, "value": { - "const": "commercial.leisure.sport.firing", + "const": "commercial.medical.professional", "type": "string" } }, @@ -6307,11 +7594,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Tenpin Bowling Facility", + "const": "Assessment / Development Services", "type": "string" }, "value": { - "const": "commercial.leisure.sport.tenpin", + "const": "commercial.medical.assessment", "type": "string" } }, @@ -6325,11 +7612,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Public Tennis Court", + "const": "Animal Centre", "type": "string" }, "value": { - "const": "commercial.leisure.sport.tennis", + "const": "commercial.animals", "type": "string" } }, @@ -6343,11 +7630,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Water Sports Facility", + "const": "Cattery / Kennel", "type": "string" }, "value": { - "const": "commercial.leisure.sport.water", + "const": "commercial.animals.kennelsCattery", "type": "string" } }, @@ -6361,11 +7648,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Winter Sports Facility", + "const": "Animal Services", "type": "string" }, "value": { - "const": "commercial.leisure.sport.winter", + "const": "commercial.animals.services", "type": "string" } }, @@ -6379,11 +7666,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Wildlife Sports Facility", + "const": "Animal Quarantining", "type": "string" }, "value": { - "const": "commercial.leisure.sport.wildlife", + "const": "commercial.animals.services.quarantine", "type": "string" } }, @@ -6397,11 +7684,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Cycling Sports Facility", + "const": "Equestrian", "type": "string" }, "value": { - "const": "commercial.leisure.sport.cycling", + "const": "commercial.animals.equestrian", "type": "string" } }, @@ -6415,11 +7702,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Bingo Hall / Cinema / Conference / Exhibition Centre / Theatre / Concert Hall", + "const": "Horse Racing / Breeding Stable", "type": "string" }, "value": { - "const": "commercial.leisure.entertainment", + "const": "commercial.animals.equestrian.racing", "type": "string" } }, @@ -6433,11 +7720,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Cinema", + "const": "Commercial Stabling / Riding", "type": "string" }, "value": { - "const": "commercial.leisure.entertainment.cinema", + "const": "commercial.animals.equestrian.riding", "type": "string" } }, @@ -6451,11 +7738,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Entertainment Complex", + "const": "Vet / Animal Medical Treatment", "type": "string" }, "value": { - "const": "commercial.leisure.entertainment.mixed", + "const": "commercial.animals.vet", "type": "string" } }, @@ -6469,11 +7756,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Conference / Exhibition Centre", + "const": "Animal / Bird / Marine Sanctuary", "type": "string" }, "value": { - "const": "commercial.leisure.entertainment.exhibition", + "const": "commercial.animals.sanctuary", "type": "string" } }, @@ -6487,11 +7774,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Theatre", + "const": "Animal Sanctuary", "type": "string" }, "value": { - "const": "commercial.leisure.entertainment.theatre", + "const": "commercial.animals.sanctuary.animals", "type": "string" } }, @@ -6505,11 +7792,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Zoo / Theme Park", + "const": "Marine Sanctuary", "type": "string" }, "value": { - "const": "commercial.leisure.park.zoo", + "const": "commercial.animals.sanctuary.marine", "type": "string" } }, @@ -6523,11 +7810,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Amusement Park", + "const": "Office", "type": "string" }, "value": { - "const": "commercial.leisure.park.amusement", + "const": "commercial.office", "type": "string" } }, @@ -6541,11 +7828,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Aquatic Attraction", + "const": "Office / Work Studio", "type": "string" }, "value": { - "const": "commercial.leisure.park.aquatic", + "const": "commercial.office.workspace", "type": "string" } }, @@ -6559,11 +7846,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Model Village Site", + "const": "Embassy /, High Commission / Consulate", "type": "string" }, "value": { - "const": "commercial.leisure.park.model", + "const": "commercial.office.workspace.embassy", "type": "string" } }, @@ -6577,11 +7864,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Wildlife / Zoological Park", + "const": "Film Studio", "type": "string" }, "value": { - "const": "commercial.leisure.park.wildlife", + "const": "commercial.office.workspace.film", "type": "string" } }, @@ -6595,11 +7882,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Beach Hut (Recreational, Non-Residential Use Only)", + "const": "Central Government Service", "type": "string" }, "value": { - "const": "commercial.leisure.beachHut", + "const": "commercial.office.workspace.gov.national", "type": "string" } }, @@ -6613,11 +7900,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Licensed Private Members' Club", + "const": "Local Government Service", "type": "string" }, "value": { - "const": "commercial.leisure.club.private", + "const": "commercial.office.workspace.gov.local", "type": "string" } }, @@ -6631,11 +7918,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Recreational / Social Club", + "const": "Broadcasting (TV / Radio)", "type": "string" }, "value": { - "const": "commercial.leisure.club.social", + "const": "commercial.office.broadcasting", "type": "string" } }, @@ -6649,11 +7936,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Arena / Stadium", + "const": "Retail", "type": "string" }, "value": { - "const": "commercial.leisure.arena", + "const": "commercial.retail", "type": "string" } }, @@ -6667,11 +7954,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Stadium", + "const": "Bank / Financial Service", "type": "string" }, "value": { - "const": "commercial.leisure.arena.stadium", + "const": "commercial.retail.financial", "type": "string" } }, @@ -6685,11 +7972,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Showground", + "const": "Retail Service Agent", "type": "string" }, "value": { - "const": "commercial.leisure.arena.showground", + "const": "commercial.retail.services", "type": "string" } }, @@ -6703,11 +7990,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Medical", + "const": "Post Office", "type": "string" }, "value": { - "const": "commercial.medical", + "const": "commercial.retail.post", "type": "string" } }, @@ -6721,11 +8008,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Dentist", + "const": "Market (Indoor / Outdoor)", "type": "string" }, "value": { - "const": "commercial.medical.dentist", + "const": "commercial.retail.market", "type": "string" } }, @@ -6739,11 +8026,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "General Practice Surgery / Clinic", + "const": "Fish Market", "type": "string" }, "value": { - "const": "commercial.medical.GP", + "const": "commercial.retail.market.fish", "type": "string" } }, @@ -6757,11 +8044,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Health Centre", + "const": "Fruit / Vegetable Market", "type": "string" }, "value": { - "const": "commercial.medical.healthCentre", + "const": "commercial.retail.market.fruit", "type": "string" } }, @@ -6775,11 +8062,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Health Care Services", + "const": "Livestock Market", "type": "string" }, "value": { - "const": "commercial.medical.healthServices", + "const": "commercial.retail.market.livestock", "type": "string" } }, @@ -6793,11 +8080,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Hospital / Hospice", + "const": "Petrol Filling Station", "type": "string" }, "value": { - "const": "commercial.medical.care", + "const": "commercial.retail.fuel", "type": "string" } }, @@ -6811,11 +8098,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Care home/Hospice", + "const": "Public House / Bar / Nightclub", "type": "string" }, "value": { - "const": "commercial.medical.care.home", + "const": "commercial.retail.drinking", "type": "string" } }, @@ -6829,11 +8116,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Hospital", + "const": "Restaurant / Cafeteria", "type": "string" }, "value": { - "const": "commercial.medical.care.hospital", + "const": "commercial.retail.restaurant", "type": "string" } }, @@ -6847,11 +8134,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Medical / Testing / Research Laboratory", + "const": "Shop / Showroom", "type": "string" }, "value": { - "const": "commercial.medical.lab", + "const": "commercial.retail.showroom", "type": "string" } }, @@ -6865,11 +8152,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Professional Medical Service", + "const": "Shop", "type": "string" }, "value": { - "const": "commercial.medical.professional", + "const": "commercial.retail.shop", "type": "string" } }, @@ -6883,11 +8170,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Assessment / Development Services", + "const": "Garden Centre", "type": "string" }, "value": { - "const": "commercial.medical.assessment", + "const": "commercial.retail.shop.gardenCentre", "type": "string" } }, @@ -6901,11 +8188,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Animal Centre", + "const": "Other Licensed Premise / Vendor", "type": "string" }, "value": { - "const": "commercial.animals", + "const": "commercial.retail.licensedPremises", "type": "string" } }, @@ -6919,11 +8206,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Cattery / Kennel", + "const": "Fast Food Outlet / Takeaway (Hot / Cold)", "type": "string" }, "value": { - "const": "commercial.animals.kennelsCattery", + "const": "commercial.retail.takeaway", "type": "string" } }, @@ -6937,11 +8224,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Animal Services", + "const": "Automated Teller Machine (ATM)", "type": "string" }, "value": { - "const": "commercial.animals.services", + "const": "commercial.retail.atm", "type": "string" } }, @@ -6955,11 +8242,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Animal Quarantining", + "const": "Storage Land", "type": "string" }, "value": { - "const": "commercial.animals.services.quarantine", + "const": "commercial.storageLand", "type": "string" } }, @@ -6973,11 +8260,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Equestrian", + "const": "General Storage Land", "type": "string" }, "value": { - "const": "commercial.animals.equestrian", + "const": "commercial.storageLand.general", "type": "string" } }, @@ -6991,11 +8278,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Horse Racing / Breeding Stable", + "const": "Builders' Yard", "type": "string" }, "value": { - "const": "commercial.animals.equestrian.racing", + "const": "commercial.storageLand.building", "type": "string" } }, @@ -7009,11 +8296,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Commercial Stabling / Riding", + "const": "Transport", "type": "string" }, "value": { - "const": "commercial.animals.equestrian.riding", + "const": "commercial.transport", "type": "string" } }, @@ -7027,11 +8314,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Vet / Animal Medical Treatment", + "const": "Airfield / Airstrip / Airport / Air Transport Infrastructure Facility", "type": "string" }, "value": { - "const": "commercial.animals.vet", + "const": "commercial.transport.air", "type": "string" } }, @@ -7045,11 +8332,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Animal / Bird / Marine Sanctuary", + "const": "Airfield", "type": "string" }, "value": { - "const": "commercial.animals.sanctuary", + "const": "commercial.transport.air.airfield", "type": "string" } }, @@ -7063,11 +8350,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Animal Sanctuary", + "const": "Air Transport Infrastructure Services", "type": "string" }, "value": { - "const": "commercial.animals.sanctuary.animals", + "const": "commercial.transport.air.infrastructure", "type": "string" } }, @@ -7081,11 +8368,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Marine Sanctuary", + "const": "Airport", "type": "string" }, "value": { - "const": "commercial.animals.sanctuary.marine", + "const": "commercial.transport.air.airport", "type": "string" } }, @@ -7099,11 +8386,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Office", + "const": "Air Passenger Terminal", "type": "string" }, "value": { - "const": "commercial.office", + "const": "commercial.transport.air.passengerTerminal", "type": "string" } }, @@ -7117,11 +8404,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Office / Work Studio", + "const": "Helicopter Station", "type": "string" }, "value": { - "const": "commercial.office.workspace", + "const": "commercial.transport.air.helicopterStation", "type": "string" } }, @@ -7135,11 +8422,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Embassy /, High Commission / Consulate", + "const": "Heliport / Helipad", "type": "string" }, "value": { - "const": "commercial.office.workspace.embassy", + "const": "commercial.transport.air.heliport", "type": "string" } }, @@ -7153,11 +8440,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Film Studio", + "const": "Bus Shelter", "type": "string" }, "value": { - "const": "commercial.office.workspace.film", + "const": "commercial.transport.bus", "type": "string" } }, @@ -7171,11 +8458,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Central Government Service", + "const": "Car / Coach / Commercial Vehicle / Taxi Parking / Park And Ride Site", "type": "string" }, "value": { - "const": "commercial.office.workspace.gov.national", + "const": "commercial.transport.parking", "type": "string" } }, @@ -7189,11 +8476,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Local Government Service", + "const": "Public Park And Ride", "type": "string" }, "value": { - "const": "commercial.office.workspace.gov.local", + "const": "commercial.transport.parking.parkAndRide", "type": "string" } }, @@ -7207,11 +8494,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Broadcasting (TV / Radio)", + "const": "Public Car Parking", "type": "string" }, "value": { - "const": "commercial.office.broadcasting", + "const": "commercial.transport.parking.car", "type": "string" } }, @@ -7225,11 +8512,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Retail", + "const": "Public Coach Parking", "type": "string" }, "value": { - "const": "commercial.retail", + "const": "commercial.transport.parking.coach", "type": "string" } }, @@ -7243,11 +8530,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Bank / Financial Service", + "const": "Public Commercial Vehicle Parking", "type": "string" }, "value": { - "const": "commercial.retail.financial", + "const": "commercial.transport.parking.commercialVehicle", "type": "string" } }, @@ -7261,11 +8548,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Retail Service Agent", + "const": "Goods Freight Handling / Terminal", "type": "string" }, "value": { - "const": "commercial.retail.services", + "const": "commercial.transport.freight", "type": "string" } }, @@ -7279,11 +8566,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Post Office", + "const": "Air Freight Terminal", "type": "string" }, "value": { - "const": "commercial.retail.post", + "const": "commercial.transport.freight.air", "type": "string" } }, @@ -7297,11 +8584,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Market (Indoor / Outdoor)", + "const": "Container Freight", "type": "string" }, "value": { - "const": "commercial.retail.market", + "const": "commercial.transport.freight.container", "type": "string" } }, @@ -7315,11 +8602,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Fish Market", + "const": "Road Freight Transport", "type": "string" }, "value": { - "const": "commercial.retail.market.fish", + "const": "commercial.transport.freight.road", "type": "string" } }, @@ -7333,11 +8620,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Fruit / Vegetable Market", + "const": "Rail Freight Transport", "type": "string" }, "value": { - "const": "commercial.retail.market.fruit", + "const": "commercial.transport.freight.rail", "type": "string" } }, @@ -7351,11 +8638,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Livestock Market", + "const": "Marina", "type": "string" }, "value": { - "const": "commercial.retail.market.livestock", + "const": "commercial.transport.marina", "type": "string" } }, @@ -7369,11 +8656,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Petrol Filling Station", + "const": "Mooring", "type": "string" }, "value": { - "const": "commercial.retail.fuel", + "const": "commercial.transport.mooring", "type": "string" } }, @@ -7387,11 +8674,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Public House / Bar / Nightclub", + "const": "Railway Asset", "type": "string" }, "value": { - "const": "commercial.retail.drinking", + "const": "commercial.transport.railAsset", "type": "string" } }, @@ -7405,11 +8692,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Restaurant / Cafeteria", + "const": "Station / Interchange / Terminal / Halt", "type": "string" }, "value": { - "const": "commercial.retail.restaurant", + "const": "commercial.transport.terminal", "type": "string" } }, @@ -7423,11 +8710,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Shop / Showroom", + "const": "Bus station", "type": "string" }, "value": { - "const": "commercial.retail.showroom", + "const": "commercial.transport.terminal.bus", "type": "string" } }, @@ -7441,11 +8728,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Shop", + "const": "Train station", "type": "string" }, "value": { - "const": "commercial.retail.shop", + "const": "commercial.transport.terminal.train", "type": "string" } }, @@ -7459,11 +8746,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Garden Centre", + "const": "Vehicular Rail Terminal", "type": "string" }, "value": { - "const": "commercial.retail.shop.gardenCentre", + "const": "commercial.transport.terminal.vehicularRail", "type": "string" } }, @@ -7477,11 +8764,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Other Licensed Premise / Vendor", + "const": "Transport Track / Way", "type": "string" }, "value": { - "const": "commercial.retail.licensedPremises", + "const": "commercial.transport.track", "type": "string" } }, @@ -7495,11 +8782,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Fast Food Outlet / Takeaway (Hot / Cold)", + "const": "Cliff Railway", "type": "string" }, "value": { - "const": "commercial.retail.takeaway", + "const": "commercial.transport.track.cliff", "type": "string" } }, @@ -7513,11 +8800,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Automated Teller Machine (ATM)", + "const": "Chair Lift / Cable Car / Ski Tow", "type": "string" }, "value": { - "const": "commercial.retail.atm", + "const": "commercial.transport.track.cable", "type": "string" } }, @@ -7531,11 +8818,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Storage Land", + "const": "Monorail", "type": "string" }, "value": { - "const": "commercial.storageLand", + "const": "commercial.transport.track.monorail", "type": "string" } }, @@ -7549,11 +8836,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "General Storage Land", + "const": "Vehicle Storage", "type": "string" }, "value": { - "const": "commercial.storageLand.general", + "const": "commercial.transport.storage", "type": "string" } }, @@ -7567,11 +8854,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Builders' Yard", + "const": "Boat Storage", "type": "string" }, "value": { - "const": "commercial.storageLand.building", + "const": "commercial.transport.storage.boat", "type": "string" } }, @@ -7585,11 +8872,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Transport", + "const": "Bus / Coach Depot", "type": "string" }, "value": { - "const": "commercial.transport", + "const": "commercial.transport.storage.bus", "type": "string" } }, @@ -7603,11 +8890,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Airfield / Airstrip / Airport / Air Transport Infrastructure Facility", + "const": "Transport Related Infrastructure", "type": "string" }, "value": { - "const": "commercial.transport.air", + "const": "commercial.transport.infrastructure", "type": "string" } }, @@ -7621,11 +8908,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Airfield", + "const": "Aqueduct", "type": "string" }, "value": { - "const": "commercial.transport.air.airfield", + "const": "commercial.transport.infrastructure.aqueduct", "type": "string" } }, @@ -7639,11 +8926,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Air Transport Infrastructure Services", + "const": "Lock", "type": "string" }, "value": { - "const": "commercial.transport.air.infrastructure", + "const": "commercial.transport.infrastructure.lock", "type": "string" } }, @@ -7657,11 +8944,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Airport", + "const": "Weir", "type": "string" }, "value": { - "const": "commercial.transport.air.airport", + "const": "commercial.transport.infrastructure.weir", "type": "string" } }, @@ -7675,11 +8962,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Air Passenger Terminal", + "const": "Weighbridge / Load Gauge", "type": "string" }, "value": { - "const": "commercial.transport.air.passengerTerminal", + "const": "commercial.transport.infrastructure.weighing", "type": "string" } }, @@ -7693,11 +8980,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Helicopter Station", + "const": "Overnight Lorry Park", "type": "string" }, "value": { - "const": "commercial.transport.air.helicopterStation", + "const": "commercial.transport.overnightLorryPark", "type": "string" } }, @@ -7711,11 +8998,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Heliport / Helipad", + "const": "Harbour / Port / Dock / Dockyard / Slipway / Landing Stage / Pier / Jetty / Pontoon / Terminal / Berthing / Quay", "type": "string" }, "value": { - "const": "commercial.transport.air.heliport", + "const": "commercial.transport.dock", "type": "string" } }, @@ -7729,11 +9016,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Bus Shelter", + "const": "Passenger Ferry Terminal", "type": "string" }, "value": { - "const": "commercial.transport.bus", + "const": "commercial.transport.dock.ferry.passengers", "type": "string" } }, @@ -7747,11 +9034,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Car / Coach / Commercial Vehicle / Taxi Parking / Park And Ride Site", + "const": "Non-Tanker Nautical Berthing", "type": "string" }, "value": { - "const": "commercial.transport.parking", + "const": "commercial.transport.dock.generalBerth", "type": "string" } }, @@ -7765,11 +9052,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Public Park And Ride", + "const": "Nautical Refuelling Facility", "type": "string" }, "value": { - "const": "commercial.transport.parking.parkAndRide", + "const": "commercial.transport.dock.refuelling", "type": "string" } }, @@ -7783,11 +9070,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Public Car Parking", + "const": "Slipway", "type": "string" }, "value": { - "const": "commercial.transport.parking.car", + "const": "commercial.transport.dock.slipway", "type": "string" } }, @@ -7801,11 +9088,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Public Coach Parking", + "const": "Ship Passenger Terminal", "type": "string" }, "value": { - "const": "commercial.transport.parking.coach", + "const": "commercial.transport.dock.passenger", "type": "string" } }, @@ -7819,11 +9106,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Public Commercial Vehicle Parking", + "const": "Tanker Berthing", "type": "string" }, "value": { - "const": "commercial.transport.parking.commercialVehicle", + "const": "commercial.transport.dock.tankerBerth", "type": "string" } }, @@ -7837,11 +9124,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Goods Freight Handling / Terminal", + "const": "Vehicular Ferry Terminal", "type": "string" }, "value": { - "const": "commercial.transport.freight", + "const": "commercial.transport.dock.ferry.vehicles", "type": "string" } }, @@ -7855,11 +9142,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Air Freight Terminal", + "const": "Utility", "type": "string" }, "value": { - "const": "commercial.transport.freight.air", + "const": "commercial.utility", "type": "string" } }, @@ -7873,11 +9160,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Container Freight", + "const": "Electricity Sub-Station", "type": "string" }, "value": { - "const": "commercial.transport.freight.container", + "const": "commercial.utility.SubStation", "type": "string" } }, @@ -7891,11 +9178,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Road Freight Transport", + "const": "Landfill", "type": "string" }, "value": { - "const": "commercial.transport.freight.road", + "const": "commercial.utility.landfill", "type": "string" } }, @@ -7909,11 +9196,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Rail Freight Transport", + "const": "Power Station / Energy Production", "type": "string" }, "value": { - "const": "commercial.transport.freight.rail", + "const": "commercial.utility.electricity", "type": "string" } }, @@ -7927,11 +9214,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Marina", + "const": "Electricity Distribution Facility", "type": "string" }, "value": { - "const": "commercial.transport.marina", + "const": "commercial.utility.electricity.distribution", "type": "string" } }, @@ -7945,11 +9232,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Mooring", + "const": "Electricity Production Facility", "type": "string" }, "value": { - "const": "commercial.transport.mooring", + "const": "commercial.utility.electricity.production", "type": "string" } }, @@ -7963,11 +9250,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Railway Asset", + "const": "Wind Farm", "type": "string" }, "value": { - "const": "commercial.transport.railAsset", + "const": "commercial.utility.electricity.windFarm", "type": "string" } }, @@ -7981,11 +9268,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Station / Interchange / Terminal / Halt", + "const": "Wind Turbine", "type": "string" }, "value": { - "const": "commercial.transport.terminal", + "const": "commercial.utility.electricity.windTurbine", "type": "string" } }, @@ -7999,11 +9286,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Bus station", + "const": "Pump House / Pumping Station / Water Tower", "type": "string" }, "value": { - "const": "commercial.transport.terminal.bus", + "const": "commercial.utility.water", "type": "string" } }, @@ -8017,11 +9304,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Train station", + "const": "Water Controlling / Pumping", "type": "string" }, "value": { - "const": "commercial.transport.terminal.train", + "const": "commercial.utility.water.pump.control", "type": "string" } }, @@ -8035,11 +9322,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Vehicular Rail Terminal", + "const": "Water Distribution / Pumping", "type": "string" }, "value": { - "const": "commercial.transport.terminal.vehicularRail", + "const": "commercial.utility.water.pump.distribution", "type": "string" } }, @@ -8053,11 +9340,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Transport Track / Way", + "const": "Water Quality Monitoring", "type": "string" }, "value": { - "const": "commercial.transport.track", + "const": "commercial.utility.water.qualityMonitoring", "type": "string" } }, @@ -8071,11 +9358,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Cliff Railway", + "const": "Water Storage", "type": "string" }, "value": { - "const": "commercial.transport.track.cliff", + "const": "commercial.utility.water.storage", "type": "string" } }, @@ -8089,11 +9376,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Chair Lift / Cable Car / Ski Tow", + "const": "Waste Water Distribution / Pumping", "type": "string" }, "value": { - "const": "commercial.transport.track.cable", + "const": "commercial.utility.water.waste", "type": "string" } }, @@ -8107,11 +9394,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Monorail", + "const": "Telecommunication", "type": "string" }, "value": { - "const": "commercial.transport.track.monorail", + "const": "commercial.utility.telecoms", "type": "string" } }, @@ -8125,11 +9412,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Vehicle Storage", + "const": "Telecommunications Mast", "type": "string" }, "value": { - "const": "commercial.transport.storage", + "const": "commercial.utility.telecoms.mast", "type": "string" } }, @@ -8143,11 +9430,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Boat Storage", + "const": "Telephone Exchange", "type": "string" }, "value": { - "const": "commercial.transport.storage.boat", + "const": "commercial.utility.telecoms.exhange", "type": "string" } }, @@ -8161,11 +9448,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Bus / Coach Depot", + "const": "Water / Waste Water / Sewage Treatment Works", "type": "string" }, "value": { - "const": "commercial.transport.storage.bus", + "const": "commercial.utility.waterTreatment", "type": "string" } }, @@ -8179,11 +9466,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Transport Related Infrastructure", + "const": "Waste Water Treatment", "type": "string" }, "value": { - "const": "commercial.transport.infrastructure", + "const": "commercial.utility.waterTreatment.waste", "type": "string" } }, @@ -8197,11 +9484,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Aqueduct", + "const": "Water Treatment", "type": "string" }, "value": { - "const": "commercial.transport.infrastructure.aqueduct", + "const": "commercial.utility.waterTreatment.water", "type": "string" } }, @@ -8215,11 +9502,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Lock", + "const": "Gas / Oil Storage / Distribution", "type": "string" }, "value": { - "const": "commercial.transport.infrastructure.lock", + "const": "commercial.utility.oilGas", "type": "string" } }, @@ -8233,11 +9520,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Weir", + "const": "Gas Governor", "type": "string" }, "value": { - "const": "commercial.transport.infrastructure.weir", + "const": "commercial.utility.oilGas.gasGovernor", "type": "string" } }, @@ -8251,11 +9538,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Weighbridge / Load Gauge", + "const": "Gas Holder", "type": "string" }, "value": { - "const": "commercial.transport.infrastructure.weighing", + "const": "commercial.utility.oilGas.gasHolder", "type": "string" } }, @@ -8269,11 +9556,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Overnight Lorry Park", + "const": "Oil Terminal", "type": "string" }, "value": { - "const": "commercial.transport.overnightLorryPark", + "const": "commercial.utility.oilGas.oilTerminal", "type": "string" } }, @@ -8287,11 +9574,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Harbour / Port / Dock / Dockyard / Slipway / Landing Stage / Pier / Jetty / Pontoon / Terminal / Berthing / Quay", + "const": "Other Utility Use", "type": "string" }, "value": { - "const": "commercial.transport.dock", + "const": "commercial.utility.other", "type": "string" } }, @@ -8305,11 +9592,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Passenger Ferry Terminal", + "const": "Cable Terminal Station", "type": "string" }, "value": { - "const": "commercial.transport.dock.ferry.passengers", + "const": "commercial.utility.other.cableTerminal", "type": "string" } }, @@ -8323,11 +9610,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Non-Tanker Nautical Berthing", + "const": "Observatory", "type": "string" }, "value": { - "const": "commercial.transport.dock.generalBerth", + "const": "commercial.utility.other.observatory", "type": "string" } }, @@ -8341,11 +9628,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Nautical Refuelling Facility", + "const": "Radar Station", "type": "string" }, "value": { - "const": "commercial.transport.dock.refuelling", + "const": "commercial.utility.other.radar", "type": "string" } }, @@ -8359,11 +9646,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Slipway", + "const": "Satellite Earth Station", "type": "string" }, "value": { - "const": "commercial.transport.dock.slipway", + "const": "commercial.utility.other.satelliteEarth", "type": "string" } }, @@ -8377,11 +9664,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Ship Passenger Terminal", + "const": "Waste Management", "type": "string" }, "value": { - "const": "commercial.transport.dock.passenger", + "const": "commercial.utility.wasteManagement", "type": "string" } }, @@ -8395,11 +9682,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Tanker Berthing", + "const": "Telephone Box", "type": "string" }, "value": { - "const": "commercial.transport.dock.tankerBerth", + "const": "commercial.utility.publicPhone.box", "type": "string" } }, @@ -8413,11 +9700,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Vehicular Ferry Terminal", + "const": "Other Public Telephones", "type": "string" }, "value": { - "const": "commercial.transport.dock.ferry.vehicles", + "const": "commercial.utility.publicPhone.other", "type": "string" } }, @@ -8431,11 +9718,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Utility", + "const": "Dam", "type": "string" }, "value": { - "const": "commercial.utility", + "const": "commercial.utility.dam", "type": "string" } }, @@ -8449,11 +9736,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Electricity Sub-Station", + "const": "Emergency / Rescue Service", "type": "string" }, "value": { - "const": "commercial.utility.SubStation", + "const": "commercial.emergency", "type": "string" } }, @@ -8467,11 +9754,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Landfill", + "const": "Nautical Navigation Beacon / Light", "type": "string" }, "value": { - "const": "commercial.utility.landfill", + "const": "other.navigation.nautical.beacon", "type": "string" } }, @@ -8485,11 +9772,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Power Station / Energy Production", + "const": "Aid To Road Navigation", "type": "string" }, "value": { - "const": "commercial.utility.electricity", + "const": "other.navigation.road", "type": "string" } }, @@ -8503,11 +9790,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Electricity Distribution Facility", + "const": "Guide Post", "type": "string" }, "value": { - "const": "commercial.utility.electricity.distribution", + "const": "other.navigation.guidePost", "type": "string" } }, @@ -8521,11 +9808,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Electricity Production Facility", + "const": "Coastal Protection / Flood Prevention", "type": "string" }, "value": { - "const": "commercial.utility.electricity.production", + "const": "other.coastal", "type": "string" } }, @@ -8539,11 +9826,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Wind Farm", + "const": "Boulder Wall / Sea Wall", "type": "string" }, "value": { - "const": "commercial.utility.electricity.windFarm", + "const": "other.coastal.wall", "type": "string" } }, @@ -8557,11 +9844,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Wind Turbine", + "const": "Flood Gate / Flood Sluice Gate / Flood Valve", "type": "string" }, "value": { - "const": "commercial.utility.electricity.windTurbine", + "const": "other.coastal.floodGate", "type": "string" } }, @@ -8575,11 +9862,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Pump House / Pumping Station / Water Tower", + "const": "Groyne", "type": "string" }, "value": { - "const": "commercial.utility.water", + "const": "other.coastal.groyne", "type": "string" } }, @@ -8593,11 +9880,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Water Controlling / Pumping", + "const": "Rip-Rap", "type": "string" }, "value": { - "const": "commercial.utility.water.pump.control", + "const": "other.coastal.ripRap", "type": "string" } }, @@ -8611,11 +9898,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Water Distribution / Pumping", + "const": "Emergency Support", "type": "string" }, "value": { - "const": "commercial.utility.water.pump.distribution", + "const": "other.emergency", "type": "string" } }, @@ -8629,11 +9916,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Water Quality Monitoring", + "const": "Beach Office / First Aid Facility", "type": "string" }, "value": { - "const": "commercial.utility.water.qualityMonitoring", + "const": "other.emergency.firstAid", "type": "string" } }, @@ -8647,11 +9934,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Water Storage", + "const": "Emergency Telephone (Non Motorway)", "type": "string" }, "value": { - "const": "commercial.utility.water.storage", + "const": "other.emergency.telephone", "type": "string" } }, @@ -8665,11 +9952,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Waste Water Distribution / Pumping", + "const": "Fire Alarm Structure / Fire Observation Tower / Fire Beater Facility", "type": "string" }, "value": { - "const": "commercial.utility.water.waste", + "const": "other.emergency.fire", "type": "string" } }, @@ -8683,11 +9970,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Telecommunication", + "const": "Emergency Equipment Point / Emergency Siren / Warning Flag", "type": "string" }, "value": { - "const": "commercial.utility.telecoms", + "const": "other.emergency.warning", "type": "string" } }, @@ -8701,11 +9988,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Telecommunications Mast", + "const": "Lifeguard Facility", "type": "string" }, "value": { - "const": "commercial.utility.telecoms.mast", + "const": "other.emergency.lifeguard", "type": "string" } }, @@ -8719,11 +10006,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Telephone Exchange", + "const": "LIfe / Belt / Buoy / Float / Jacket / Safety Rope", "type": "string" }, "value": { - "const": "commercial.utility.telecoms.exhange", + "const": "other.emergency.floatAids", "type": "string" } }, @@ -8737,11 +10024,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Water / Waste Water / Sewage Treatment Works", + "const": "Street Furniture", "type": "string" }, "value": { - "const": "commercial.utility.waterTreatment", + "const": "other.streetFurniture", "type": "string" } }, @@ -8755,11 +10042,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Waste Water Treatment", + "const": "Agricultural Support Objects", "type": "string" }, "value": { - "const": "commercial.utility.waterTreatment.waste", + "const": "other.agriculture", "type": "string" } }, @@ -8773,11 +10060,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Water Treatment", + "const": "Fish Ladder / Lock / Pen / Trap", "type": "string" }, "value": { - "const": "commercial.utility.waterTreatment.water", + "const": "other.agriculture.fishPen", "type": "string" } }, @@ -8791,11 +10078,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Gas / Oil Storage / Distribution", + "const": "Livestock Pen / Dip", "type": "string" }, "value": { - "const": "commercial.utility.oilGas", + "const": "other.agriculture.livestockPen", "type": "string" } }, @@ -8809,11 +10096,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Gas Governor", + "const": "Currick", "type": "string" }, "value": { - "const": "commercial.utility.oilGas.gasGovernor", + "const": "other.agriculture.currick", "type": "string" } }, @@ -8827,11 +10114,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Gas Holder", + "const": "Slurry Bed / Pit", "type": "string" }, "value": { - "const": "commercial.utility.oilGas.gasHolder", + "const": "other.agriculture.slurry", "type": "string" } }, @@ -8845,11 +10132,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Oil Terminal", + "const": "Historical Site / Object", "type": "string" }, "value": { - "const": "commercial.utility.oilGas.oilTerminal", + "const": "other.historic", "type": "string" } }, @@ -8863,11 +10150,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Other Utility Use", + "const": "Historic Structure / Object", "type": "string" }, "value": { - "const": "commercial.utility.other", + "const": "other.historic.structure", "type": "string" } }, @@ -8881,11 +10168,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Cable Terminal Station", + "const": "Industrial Support", "type": "string" }, "value": { - "const": "commercial.utility.other.cableTerminal", + "const": "other.industrial", "type": "string" } }, @@ -8899,11 +10186,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Observatory", + "const": "Adit / Incline / Level", "type": "string" }, "value": { - "const": "commercial.utility.other.observatory", + "const": "other.industrial.aditIncline", "type": "string" } }, @@ -8917,11 +10204,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Radar Station", + "const": "Caisson / Dry Dock / Grid", "type": "string" }, "value": { - "const": "commercial.utility.other.radar", + "const": "other.industrial.caissonDock", "type": "string" } }, @@ -8935,11 +10222,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Satellite Earth Station", + "const": "Channel / Conveyor / Conduit / Pipe", "type": "string" }, "value": { - "const": "commercial.utility.other.satelliteEarth", + "const": "other.industrial.channel", "type": "string" } }, @@ -8953,11 +10240,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Waste Management", + "const": "Chimney / Flue", "type": "string" }, "value": { - "const": "commercial.utility.wasteManagement", + "const": "other.industrial.chimney", "type": "string" } }, @@ -8971,11 +10258,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Telephone Box", + "const": "Crane / Hoist / Winch / Material Elevator", "type": "string" }, "value": { - "const": "commercial.utility.publicPhone.box", + "const": "other.industrial.crane", "type": "string" } }, @@ -8989,11 +10276,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Other Public Telephones", + "const": "Flare Stack", "type": "string" }, "value": { - "const": "commercial.utility.publicPhone.other", + "const": "other.industrial.flareStack", "type": "string" } }, @@ -9007,11 +10294,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Dam", + "const": "Hopper / Silo / Cistern / Tank", "type": "string" }, "value": { - "const": "commercial.utility.dam", + "const": "other.industrial.siloTank", "type": "string" } }, @@ -9025,11 +10312,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Emergency / Rescue Service", + "const": "Grab / Skip / Other Industrial Waste Machinery / Discharging", "type": "string" }, "value": { - "const": "commercial.emergency", + "const": "other.industrial.discharge", "type": "string" } }, @@ -9043,11 +10330,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Nautical Navigation Beacon / Light", + "const": "Kiln / Oven / Smelter", "type": "string" }, "value": { - "const": "other.navigation.nautical.beacon", + "const": "other.industrial.kiln", "type": "string" } }, @@ -9061,11 +10348,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Aid To Road Navigation", + "const": "Manhole / Shaft", "type": "string" }, "value": { - "const": "other.navigation.road", + "const": "other.industrial.manholeShaft", "type": "string" } }, @@ -9079,11 +10366,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Guide Post", + "const": "Industrial Overflow / Sluice / Valve / Valve Housing", "type": "string" }, "value": { - "const": "other.navigation.guidePost", + "const": "other.industrial.overflowSluiceValve", "type": "string" } }, @@ -9097,11 +10384,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Coastal Protection / Flood Prevention", + "const": "Cooling Tower", "type": "string" }, "value": { - "const": "other.coastal", + "const": "other.industrial.coolingTower", "type": "string" } }, @@ -9115,11 +10402,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Boulder Wall / Sea Wall", + "const": "Solar Panel / Waterwheel", "type": "string" }, "value": { - "const": "other.coastal.wall", + "const": "other.industrial.solarPanel", "type": "string" } }, @@ -9133,11 +10420,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Flood Gate / Flood Sluice Gate / Flood Valve", + "const": "Telephone Pole / Post", "type": "string" }, "value": { - "const": "other.coastal.floodGate", + "const": "other.industrial.pylon.telecom", "type": "string" } }, @@ -9151,11 +10438,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Groyne", + "const": "Electricity Distribution Pole / Pylon", "type": "string" }, "value": { - "const": "other.coastal.groyne", + "const": "other.industrial.pylon.electricity", "type": "string" } }, @@ -9169,11 +10456,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Rip-Rap", + "const": "Significant Natural Object", "type": "string" }, "value": { - "const": "other.coastal.ripRap", + "const": "other.natural", "type": "string" } }, @@ -9187,11 +10474,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Emergency Support", + "const": "Boundary / Significant / Historic Tree / Pollard", "type": "string" }, "value": { - "const": "other.emergency", + "const": "other.natural.tree", "type": "string" } }, @@ -9205,11 +10492,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Beach Office / First Aid Facility", + "const": "Boundary / Significant Rock / Boulder", "type": "string" }, "value": { - "const": "other.emergency.firstAid", + "const": "other.natural.rock", "type": "string" } }, @@ -9223,11 +10510,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Emergency Telephone (Non Motorway)", + "const": "Natural Hole (Blow / Shake / Swallow)", "type": "string" }, "value": { - "const": "other.emergency.telephone", + "const": "other.natural.hole", "type": "string" } }, @@ -9241,11 +10528,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Fire Alarm Structure / Fire Observation Tower / Fire Beater Facility", + "const": "Ornamental / Cultural Object", "type": "string" }, "value": { - "const": "other.emergency.fire", + "const": "other.ornamental", "type": "string" } }, @@ -9259,11 +10546,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Emergency Equipment Point / Emergency Siren / Warning Flag", + "const": "Mausoleum / Tomb / Grave", "type": "string" }, "value": { - "const": "other.emergency.warning", + "const": "other.ornamental.tomb", "type": "string" } }, @@ -9277,11 +10564,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Lifeguard Facility", + "const": "Simple Ornamental Object", "type": "string" }, "value": { - "const": "other.emergency.lifeguard", + "const": "other.ornamental.object", "type": "string" } }, @@ -9295,11 +10582,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "LIfe / Belt / Buoy / Float / Jacket / Safety Rope", + "const": "Maze", "type": "string" }, "value": { - "const": "other.emergency.floatAids", + "const": "other.ornamental.maze", "type": "string" } }, @@ -9313,11 +10600,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Street Furniture", + "const": "Sport / Leisure Support", "type": "string" }, "value": { - "const": "other.streetFurniture", + "const": "other.leisure", "type": "string" } }, @@ -9331,11 +10618,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Agricultural Support Objects", + "const": "Butt / Hide", "type": "string" }, "value": { - "const": "other.agriculture", + "const": "other.leisure.hide", "type": "string" } }, @@ -9349,11 +10636,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Fish Ladder / Lock / Pen / Trap", + "const": "Gallop / Ride", "type": "string" }, "value": { - "const": "other.agriculture.fishPen", + "const": "other.leisure.gallop", "type": "string" } }, @@ -9367,11 +10654,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Livestock Pen / Dip", + "const": "Miniature Railway", "type": "string" }, "value": { - "const": "other.agriculture.livestockPen", + "const": "other.leisure.modelRailway", "type": "string" } }, @@ -9385,11 +10672,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Currick", + "const": "Royal Mail Infrastructure", "type": "string" }, "value": { - "const": "other.agriculture.currick", + "const": "other.mail", "type": "string" } }, @@ -9403,11 +10690,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Slurry Bed / Pit", + "const": "Postal Box", "type": "string" }, "value": { - "const": "other.agriculture.slurry", + "const": "other.mail.postBox", "type": "string" } }, @@ -9421,11 +10708,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Historical Site / Object", + "const": "Postal Delivery Box / Pouch", "type": "string" }, "value": { - "const": "other.historic", + "const": "other.mail.deliveryBox", "type": "string" } }, @@ -9439,11 +10726,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Historic Structure / Object", + "const": "PO Box", "type": "string" }, "value": { - "const": "other.historic.structure", + "const": "other.mail.POBox", "type": "string" } }, @@ -9457,11 +10744,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Industrial Support", + "const": "Additional Mail / Packet Addressee", "type": "string" }, "value": { - "const": "other.industrial", + "const": "other.mail.additionalAddressee", "type": "string" } }, @@ -9475,11 +10762,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Adit / Incline / Level", + "const": "Scientific / Observation Support", "type": "string" }, "value": { - "const": "other.industrial.aditIncline", + "const": "other.scientific", "type": "string" } }, @@ -9493,11 +10780,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Caisson / Dry Dock / Grid", + "const": "Meteorological Station / Equipment", "type": "string" }, "value": { - "const": "other.industrial.caissonDock", + "const": "other.scientific.meteo", "type": "string" } }, @@ -9511,11 +10798,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Channel / Conveyor / Conduit / Pipe", + "const": "Radar / Satellite Infrastructure", "type": "string" }, "value": { - "const": "other.industrial.channel", + "const": "other.scientific.radarSatellite", "type": "string" } }, @@ -9529,11 +10816,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Chimney / Flue", + "const": "Telescope / Observation Infrastructure / Astronomy", "type": "string" }, "value": { - "const": "other.industrial.chimney", + "const": "other.scientific.astronomy", "type": "string" } }, @@ -9547,11 +10834,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Crane / Hoist / Winch / Material Elevator", + "const": "Transport Support", "type": "string" }, "value": { - "const": "other.industrial.crane", + "const": "other.transport", "type": "string" } }, @@ -9565,11 +10852,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Flare Stack", + "const": "Cattle Grid / Ford", "type": "string" }, "value": { - "const": "other.industrial.flareStack", + "const": "other.transport.cattleGridFord", "type": "string" } }, @@ -9583,11 +10870,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Hopper / Silo / Cistern / Tank", + "const": "Elevator / Escalator / Steps", "type": "string" }, "value": { - "const": "other.industrial.siloTank", + "const": "other.transport.stepsLiftEscalator", "type": "string" } }, @@ -9601,11 +10888,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Grab / Skip / Other Industrial Waste Machinery / Discharging", + "const": "Footbridge / Walkway", "type": "string" }, "value": { - "const": "other.industrial.discharge", + "const": "other.transport.bridge", "type": "string" } }, @@ -9619,11 +10906,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Kiln / Oven / Smelter", + "const": "Pole / Post / Bollard (Restricting Vehicular Access)", "type": "string" }, "value": { - "const": "other.industrial.kiln", + "const": "other.transport.post", "type": "string" } }, @@ -9637,11 +10924,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Manhole / Shaft", + "const": "Subway / Underpass", "type": "string" }, "value": { - "const": "other.industrial.manholeShaft", + "const": "other.transport.subway", "type": "string" } }, @@ -9655,11 +10942,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Industrial Overflow / Sluice / Valve / Valve Housing", + "const": "Customs Inspection Facility", "type": "string" }, "value": { - "const": "other.industrial.overflowSluiceValve", + "const": "other.transport.customs", "type": "string" } }, @@ -9673,11 +10960,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Cooling Tower", + "const": "Lay-By", "type": "string" }, "value": { - "const": "other.industrial.coolingTower", + "const": "other.transport.layby", "type": "string" } }, @@ -9691,11 +10978,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Solar Panel / Waterwheel", + "const": "Level Crossing", "type": "string" }, "value": { - "const": "other.industrial.solarPanel", + "const": "other.transport.rail.crossing.vehicles", "type": "string" } }, @@ -9709,11 +10996,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Telephone Pole / Post", + "const": "Mail Pick Up", "type": "string" }, "value": { - "const": "other.industrial.pylon.telecom", + "const": "other.transport.mailPickUp", "type": "string" } }, @@ -9727,11 +11014,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Electricity Distribution Pole / Pylon", + "const": "Railway Pedestrian Crossing", "type": "string" }, "value": { - "const": "other.industrial.pylon.electricity", + "const": "other.transport.rail.crossing.pedestrian", "type": "string" } }, @@ -9745,11 +11032,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Significant Natural Object", + "const": "Railway Buffer", "type": "string" }, "value": { - "const": "other.natural", + "const": "other.transport.rail.buffer", "type": "string" } }, @@ -9763,11 +11050,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Boundary / Significant / Historic Tree / Pollard", + "const": "Rail Drag", "type": "string" }, "value": { - "const": "other.natural.tree", + "const": "other.transport.rail.drag", "type": "string" } }, @@ -9781,11 +11068,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Boundary / Significant Rock / Boulder", + "const": "Rail Infrastructure Services", "type": "string" }, "value": { - "const": "other.natural.rock", + "const": "other.transport.rail.infrastructure", "type": "string" } }, @@ -9799,11 +11086,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Natural Hole (Blow / Shake / Swallow)", + "const": "Rail Kilometre Distance Marker", "type": "string" }, "value": { - "const": "other.natural.hole", + "const": "other.transport.rail.marker.km", "type": "string" } }, @@ -9817,11 +11104,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Ornamental / Cultural Object", + "const": "Railway Lighting", "type": "string" }, "value": { - "const": "other.ornamental", + "const": "other.transport.rail.lighting", "type": "string" } }, @@ -9835,11 +11122,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Mausoleum / Tomb / Grave", + "const": "Rail Mile Distance Marker", "type": "string" }, "value": { - "const": "other.ornamental.tomb", + "const": "other.transport.rail.market.mile", "type": "string" } }, @@ -9853,11 +11140,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Simple Ornamental Object", + "const": "Railway Turntable", "type": "string" }, "value": { - "const": "other.ornamental.object", + "const": "other.transport.rail.turntable", "type": "string" } }, @@ -9871,11 +11158,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Maze", + "const": "Rail Weighbridge", "type": "string" }, "value": { - "const": "other.ornamental.maze", + "const": "other.transport.rail.weighbridge", "type": "string" } }, @@ -9889,11 +11176,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Sport / Leisure Support", + "const": "Rail Signalling", "type": "string" }, "value": { - "const": "other.leisure", + "const": "other.transport.rail.signals", "type": "string" } }, @@ -9907,11 +11194,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Butt / Hide", + "const": "Railway Traverse", "type": "string" }, "value": { - "const": "other.leisure.hide", + "const": "other.transport.rail.traverse", "type": "string" } }, @@ -9925,11 +11212,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Gallop / Ride", + "const": "Goods Tramway", "type": "string" }, "value": { - "const": "other.leisure.gallop", + "const": "other.transport.goodsTramway", "type": "string" } }, @@ -9943,11 +11230,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Miniature Railway", + "const": "Road Drag", "type": "string" }, "value": { - "const": "other.leisure.modelRailway", + "const": "other.transport.road.drag", "type": "string" } }, @@ -9961,11 +11248,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Royal Mail Infrastructure", + "const": "Vehicle Dip", "type": "string" }, "value": { - "const": "other.mail", + "const": "other.transport.road.vehicleDip", "type": "string" } }, @@ -9979,11 +11266,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Postal Box", + "const": "Road Turntable", "type": "string" }, "value": { - "const": "other.mail.postBox", + "const": "other.transport.road.turntable", "type": "string" } }, @@ -9997,11 +11284,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Postal Delivery Box / Pouch", + "const": "Road Mile Distance Marker", "type": "string" }, "value": { - "const": "other.mail.deliveryBox", + "const": "other.transport.road.marker.mile", "type": "string" } }, @@ -10015,11 +11302,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "PO Box", + "const": "Road Kilometre Distance Marker", "type": "string" }, "value": { - "const": "other.mail.POBox", + "const": "other.transport.road.market.km", "type": "string" } }, @@ -10033,11 +11320,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Additional Mail / Packet Addressee", + "const": "Road Infrastructure Services", "type": "string" }, "value": { - "const": "other.mail.additionalAddressee", + "const": "other.transport.road.infrastructure", "type": "string" } }, @@ -10051,11 +11338,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Scientific / Observation Support", + "const": "Unsupported Site", "type": "string" }, "value": { - "const": "other.scientific", + "const": "other.unsupported", "type": "string" } }, @@ -10069,11 +11356,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Meteorological Station / Equipment", + "const": "Cycle Parking Facility", "type": "string" }, "value": { - "const": "other.scientific.meteo", + "const": "other.unsupported.cycleParking", "type": "string" } }, @@ -10087,11 +11374,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Radar / Satellite Infrastructure", + "const": "Picnic / Barbeque Site", "type": "string" }, "value": { - "const": "other.scientific.radarSatellite", + "const": "other.unsupported.picnic", "type": "string" } }, @@ -10105,11 +11392,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Telescope / Observation Infrastructure / Astronomy", + "const": "Travelling Persons Site", "type": "string" }, "value": { - "const": "other.scientific.astronomy", + "const": "other.unsupported.travellingPersons", "type": "string" } }, @@ -10123,11 +11410,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Transport Support", + "const": "Shelter (Not Including Bus Shelter)", "type": "string" }, "value": { - "const": "other.transport", + "const": "other.unsupported.shelter", "type": "string" } }, @@ -10141,11 +11428,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Cattle Grid / Ford", + "const": "Street Record", "type": "string" }, "value": { - "const": "other.transport.cattleGridFord", + "const": "parent.street", "type": "string" } }, @@ -10159,11 +11446,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Elevator / Escalator / Steps", + "const": "Residential", "type": "string" }, "value": { - "const": "other.transport.stepsLiftEscalator", + "const": "residential", "type": "string" } }, @@ -10177,11 +11464,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Footbridge / Walkway", + "const": "Ancillary Building", "type": "string" }, "value": { - "const": "other.transport.bridge", + "const": "residential.building", "type": "string" } }, @@ -10195,11 +11482,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Pole / Post / Bollard (Restricting Vehicular Access)", + "const": "Car Park Space", "type": "string" }, "value": { - "const": "other.transport.post", + "const": "residential.carParkingSpace", "type": "string" } }, @@ -10213,11 +11500,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Subway / Underpass", + "const": "Allocated Parking", "type": "string" }, "value": { - "const": "other.transport.subway", + "const": "residential.carParkingSpace.allocated", "type": "string" } }, @@ -10231,11 +11518,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Customs Inspection Facility", + "const": "Residential dwelling", "type": "string" }, "value": { - "const": "other.transport.customs", + "const": "residential.dwelling", "type": "string" } }, @@ -10249,11 +11536,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Lay-By", + "const": "Caravan", "type": "string" }, "value": { - "const": "other.transport.layby", + "const": "residential.dwelling.caravan", "type": "string" } }, @@ -10267,11 +11554,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Level Crossing", + "const": "Detached", "type": "string" }, "value": { - "const": "other.transport.rail.crossing.vehicles", + "const": "residential.dwelling.house.detached", "type": "string" } }, @@ -10285,11 +11572,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Mail Pick Up", + "const": "Semi-detached", "type": "string" }, "value": { - "const": "other.transport.mailPickUp", + "const": "residential.dwelling.house.semiDetached", "type": "string" } }, @@ -10303,11 +11590,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Railway Pedestrian Crossing", + "const": "Terrace", "type": "string" }, "value": { - "const": "other.transport.rail.crossing.pedestrian", + "const": "residential.dwelling.house.terrace", "type": "string" } }, @@ -10321,11 +11608,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Railway Buffer", + "const": "Flat", "type": "string" }, "value": { - "const": "other.transport.rail.buffer", + "const": "residential.dwelling.flat", "type": "string" } }, @@ -10339,11 +11626,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Rail Drag", + "const": "House Boat", "type": "string" }, "value": { - "const": "other.transport.rail.drag", + "const": "residential.dwelling.boat", "type": "string" } }, @@ -10357,11 +11644,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Rail Infrastructure Services", + "const": "Sheltered Accommodation", "type": "string" }, "value": { - "const": "other.transport.rail.infrastructure", + "const": "residential.dwelling.shelteredAccommodation", "type": "string" } }, @@ -10375,11 +11662,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Rail Kilometre Distance Marker", + "const": "Privately Owned Holiday Caravan / Chalet", "type": "string" }, "value": { - "const": "other.transport.rail.marker.km", + "const": "residential.dwelling.holiday", "type": "string" } }, @@ -10393,11 +11680,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Railway Lighting", + "const": "Garage", "type": "string" }, "value": { - "const": "other.transport.rail.lighting", + "const": "residential.garage", "type": "string" } }, @@ -10411,11 +11698,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Rail Mile Distance Marker", + "const": "Lock-Up Garage / Garage Court", "type": "string" }, "value": { - "const": "other.transport.rail.market.mile", + "const": "residential.garage.court", "type": "string" } }, @@ -10429,11 +11716,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Railway Turntable", + "const": "House In Multiple Occupation", "type": "string" }, "value": { - "const": "other.transport.rail.turntable", + "const": "residential.HMO", "type": "string" } }, @@ -10447,11 +11734,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Rail Weighbridge", + "const": "HMO Parent", "type": "string" }, "value": { - "const": "other.transport.rail.weighbridge", + "const": "residential.HMO.parent", "type": "string" } }, @@ -10465,11 +11752,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Rail Signalling", + "const": "HMO Bedsit / Other Non Self Contained Accommodation", "type": "string" }, "value": { - "const": "other.transport.rail.signals", + "const": "residential.HMO.bedsit", "type": "string" } }, @@ -10483,11 +11770,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Railway Traverse", + "const": "HMO Not Further Divided", "type": "string" }, "value": { - "const": "other.transport.rail.traverse", + "const": "residential.HMO.undivided", "type": "string" } }, @@ -10501,11 +11788,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Goods Tramway", + "const": "Residential Institution", "type": "string" }, "value": { - "const": "other.transport.goodsTramway", + "const": "residential.institution", "type": "string" } }, @@ -10519,11 +11806,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Road Drag", + "const": "Care / Nursing Home", "type": "string" }, "value": { - "const": "other.transport.road.drag", + "const": "residential.institution.care", "type": "string" } }, @@ -10537,11 +11824,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Vehicle Dip", + "const": "Communal Residence", "type": "string" }, "value": { - "const": "other.transport.road.vehicleDip", + "const": "residential.institution.communal", "type": "string" } }, @@ -10555,11 +11842,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Road Turntable", + "const": "Non-Commercial Lodgings", "type": "string" }, "value": { - "const": "other.transport.road.turntable", + "const": "residential.institution.noncommercial", "type": "string" } }, @@ -10573,11 +11860,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Road Mile Distance Marker", + "const": "Religious Community", "type": "string" }, "value": { - "const": "other.transport.road.marker.mile", + "const": "residential.institution.religious", "type": "string" } }, @@ -10591,11 +11878,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Road Kilometre Distance Marker", + "const": "Residential Education", "type": "string" }, "value": { - "const": "other.transport.road.market.km", + "const": "residential.institution.education", "type": "string" } }, @@ -10609,11 +11896,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Road Infrastructure Services", + "const": "Unclassified", "type": "string" }, "value": { - "const": "other.transport.road.infrastructure", + "const": "unclassified", "type": "string" } }, @@ -10627,11 +11914,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Unsupported Site", + "const": "Awaiting Classification", "type": "string" }, "value": { - "const": "other.unsupported", + "const": "unclassified.awaitingclassification", "type": "string" } }, @@ -10645,11 +11932,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Cycle Parking Facility", + "const": "Pending Internal Investigation", "type": "string" }, "value": { - "const": "other.unsupported.cycleParking", + "const": "unclassified.pendingInvestigation", "type": "string" } }, @@ -10663,11 +11950,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Picnic / Barbeque Site", + "const": "Dual Use", "type": "string" }, "value": { - "const": "other.unsupported.picnic", + "const": "dualUse", "type": "string" } }, @@ -10681,11 +11968,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Travelling Persons Site", + "const": "Object of Interest", "type": "string" }, "value": { - "const": "other.unsupported.travellingPersons", + "const": "object", "type": "string" } }, @@ -10699,11 +11986,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Shelter (Not Including Bus Shelter)", + "const": "Archaeological Dig Site", "type": "string" }, "value": { - "const": "other.unsupported.shelter", + "const": "object.archaeological", "type": "string" } }, @@ -10717,11 +12004,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Street Record", + "const": "Monument", "type": "string" }, "value": { - "const": "parent.street", + "const": "object.monument", "type": "string" } }, @@ -10735,11 +12022,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Residential", + "const": "Obelisk / Milestone / Standing Stone", "type": "string" }, "value": { - "const": "residential", + "const": "object.monument.vertical", "type": "string" } }, @@ -10753,11 +12040,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Ancillary Building", + "const": "Obelisk", "type": "string" }, "value": { - "const": "residential.building", + "const": "object.monument.vertical.obelisk", "type": "string" } }, @@ -10771,11 +12058,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Car Park Space", + "const": "Standing Stone", "type": "string" }, "value": { - "const": "residential.carParkingSpace", + "const": "object.monument.vertical.standingStone", "type": "string" } }, @@ -10789,11 +12076,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Allocated Parking", + "const": "Memorial / Market Cross", "type": "string" }, "value": { - "const": "residential.carParkingSpace.allocated", + "const": "object.monument.memorial", "type": "string" } }, @@ -10807,11 +12094,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Residential dwelling", + "const": "Statue", "type": "string" }, "value": { - "const": "residential.dwelling", + "const": "object.monument.statue", "type": "string" } }, @@ -10825,11 +12112,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Caravan", + "const": "Castle / Historic Ruin", "type": "string" }, "value": { - "const": "residential.dwelling.caravan", + "const": "object.monument.ruin", "type": "string" } }, @@ -10843,11 +12130,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Detached", + "const": "Other Structure", "type": "string" }, "value": { - "const": "residential.dwelling.house.detached", + "const": "object.monument.other", "type": "string" } }, @@ -10861,11 +12148,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Semi-detached", + "const": "Boundary Stone", "type": "string" }, "value": { - "const": "residential.dwelling.house.semiDetached", + "const": "object.monument.other.boundaryStone", "type": "string" } }, @@ -10879,11 +12166,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Terrace", + "const": "Cascade / Fountain", "type": "string" }, "value": { - "const": "residential.dwelling.house.terrace", + "const": "object.monument.other.waterFeature", "type": "string" } }, @@ -10897,11 +12184,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Flat", + "const": "Permanent Art Display / Sculpture", "type": "string" }, "value": { - "const": "residential.dwelling.flat", + "const": "object.monument.other.art", "type": "string" } }, @@ -10915,11 +12202,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "House Boat", + "const": "Windmill (Inactive)", "type": "string" }, "value": { - "const": "residential.dwelling.boat", + "const": "object.monument.other.windmill", "type": "string" } }, @@ -10933,11 +12220,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Sheltered Accommodation", + "const": "Stately Home", "type": "string" }, "value": { - "const": "residential.dwelling.shelteredAccommodation", + "const": "object.statelyHome", "type": "string" } }, @@ -10951,11 +12238,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Privately Owned Holiday Caravan / Chalet", + "const": "Underground Feature", "type": "string" }, "value": { - "const": "residential.dwelling.holiday", + "const": "object.underground", "type": "string" } }, @@ -10969,11 +12256,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Garage", + "const": "Cave", "type": "string" }, "value": { - "const": "residential.garage", + "const": "object.underground.cave", "type": "string" } }, @@ -10987,11 +12274,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Lock-Up Garage / Garage Court", + "const": "Pothole / Natural Hole", "type": "string" }, "value": { - "const": "residential.garage.court", + "const": "object.underground.hole", "type": "string" } }, @@ -11005,11 +12292,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "House In Multiple Occupation", + "const": "Other Underground Feature", "type": "string" }, "value": { - "const": "residential.HMO", + "const": "object.underground.other", "type": "string" } }, @@ -11023,11 +12310,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "HMO Parent", + "const": "Cellar", "type": "string" }, "value": { - "const": "residential.HMO.parent", + "const": "object.underground.other.cellar", "type": "string" } }, @@ -11041,11 +12328,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "HMO Bedsit / Other Non Self Contained Accommodation", + "const": "Disused Mine", "type": "string" }, "value": { - "const": "residential.HMO.bedsit", + "const": "object.underground.other.extraction", "type": "string" } }, @@ -11059,11 +12346,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "HMO Not Further Divided", + "const": "Mineral Mining / Inactive", "type": "string" }, "value": { - "const": "residential.HMO.undivided", + "const": "object.underground.other.extraction.mine", "type": "string" } }, @@ -11077,11 +12364,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Residential Institution", + "const": "Oil And / Gas Extraction/ Inactive", "type": "string" }, "value": { - "const": "residential.institution", + "const": "object.underground.other.extraction.oilGas", "type": "string" } }, @@ -11095,11 +12382,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Care / Nursing Home", + "const": "Mineral Quarrying And / Open Extraction / Inactive", "type": "string" }, "value": { - "const": "residential.institution.care", + "const": "object.underground.other.extraction.quarry", "type": "string" } }, @@ -11113,11 +12400,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Communal Residence", + "const": "Well / Spring", "type": "string" }, "value": { - "const": "residential.institution.communal", + "const": "object.underground.other.water", "type": "string" } }, @@ -11131,11 +12418,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Non-Commercial Lodgings", + "const": "Spring", "type": "string" }, "value": { - "const": "residential.institution.noncommercial", + "const": "object.underground.other.water.spring", "type": "string" } }, @@ -11149,11 +12436,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Religious Community", + "const": "Well", "type": "string" }, "value": { - "const": "residential.institution.religious", + "const": "object.underground.other.water.well", "type": "string" } }, @@ -11167,11 +12454,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Residential Education", + "const": "Place Of Worship", "type": "string" }, "value": { - "const": "residential.institution.education", + "const": "object.religious", "type": "string" } }, @@ -11185,11 +12472,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Unclassified", + "const": "Religious building", "type": "string" }, "value": { - "const": "unclassified", + "const": "object.religious.building", "type": "string" } }, @@ -11203,11 +12490,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Awaiting Classification", + "const": "Abbey", "type": "string" }, "value": { - "const": "unclassified.awaitingclassification", + "const": "object.religious.building.abbey", "type": "string" } }, @@ -11221,11 +12508,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Pending Internal Investigation", + "const": "Cathedral", "type": "string" }, "value": { - "const": "unclassified.pendingInvestigation", + "const": "object.religious.building.cathedral", "type": "string" } }, @@ -11239,11 +12526,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Dual Use", + "const": "Church", "type": "string" }, "value": { - "const": "dualUse", + "const": "object.religious.building.church", "type": "string" } }, @@ -11257,11 +12544,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Object of Interest", + "const": "Chapel", "type": "string" }, "value": { - "const": "object", + "const": "object.religious.building.chapel", "type": "string" } }, @@ -11275,11 +12562,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Archaeological Dig Site", + "const": "Gurdwara", "type": "string" }, "value": { - "const": "object.archaeological", + "const": "object.religious.building.gurdwara", "type": "string" } }, @@ -11293,11 +12580,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Monument", + "const": "Kingdom Hall", "type": "string" }, "value": { - "const": "object.monument", + "const": "object.religious.building.kingdomHall", "type": "string" } }, @@ -11311,11 +12598,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Obelisk / Milestone / Standing Stone", + "const": "Lych Gate", "type": "string" }, "value": { - "const": "object.monument.vertical", + "const": "object.religious.building.lychGate", "type": "string" } }, @@ -11329,11 +12616,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Obelisk", + "const": "Mosque", "type": "string" }, "value": { - "const": "object.monument.vertical.obelisk", + "const": "object.religious.building.mosque", "type": "string" } }, @@ -11347,11 +12634,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Standing Stone", + "const": "Minster", "type": "string" }, "value": { - "const": "object.monument.vertical.standingStone", + "const": "object.religious.building.minster", "type": "string" } }, @@ -11365,11 +12652,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Memorial / Market Cross", + "const": "Stupa", "type": "string" }, "value": { - "const": "object.monument.memorial", + "const": "object.religious.building.stupa", "type": "string" } }, @@ -11383,11 +12670,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Statue", + "const": "Synagogue", "type": "string" }, "value": { - "const": "object.monument.statue", + "const": "object.religious.building.synagogue", "type": "string" } }, @@ -11401,11 +12688,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Castle / Historic Ruin", + "const": "Temple", "type": "string" }, "value": { - "const": "object.monument.ruin", + "const": "object.religious.building.temple", "type": "string" } }, @@ -11414,88 +12701,261 @@ "description" ], "type": "object" - }, - { + } + ], + "description": "Property types derived from Basic Land and Property Unit (BLPU) classification codes" + }, + "Proposal": { + "$id": "#Proposal", + "additionalProperties": false, + "description": "Information about the project", + "properties": { + "boundary": { "additionalProperties": false, "properties": { - "description": { - "const": "Other Structure", - "type": "string" + "area": { + "additionalProperties": false, + "properties": { + "hectares": { + "type": "number" + }, + "squareMetres": { + "type": "number" + } + }, + "required": [ + "squareMetres", + "hectares" + ], + "type": "object" }, - "value": { - "const": "object.monument.other", + "site": { "type": "string" } }, "required": [ - "value", - "description" + "site", + "area" ], "type": "object" }, - { + "date": { "additionalProperties": false, "properties": { - "description": { - "const": "Boundary Stone", - "type": "string" + "completion": { + "$ref": "#/definitions/DateTime" }, - "value": { - "const": "object.monument.other.boundaryStone", - "type": "string" + "start": { + "$ref": "#/definitions/DateTime" } }, "required": [ - "value", - "description" + "start" ], "type": "object" }, - { + "description": { + "type": "string" + }, + "details": { + "$ref": "#/definitions/ProposalDetails" + }, + "projectType": { + "items": { + "$ref": "#/definitions/ProjectType" + }, + "type": "array" + }, + "retro": { "additionalProperties": false, "properties": { - "description": { - "const": "Cascade / Fountain", - "type": "string" + "date": { + "additionalProperties": false, + "properties": { + "completion": { + "$ref": "#/definitions/DateTime" + }, + "start": { + "$ref": "#/definitions/DateTime" + } + }, + "required": [ + "start", + "completion" + ], + "type": "object" + } + }, + "required": [ + "date" + ], + "type": "object" + } + }, + "required": [ + "projectType", + "description" + ], + "type": "object" + }, + "ProposalDetails": { + "$id": "#ProposalDetails", + "anyOf": [ + { + "$ref": "#/definitions/BaseDetails" + }, + { + "$ref": "#/definitions/LondonDetails" + } + ], + "description": "Details about the changes being proposed" + }, + "ProposedAddress": { + "$id": "#ProposedAddress", + "additionalProperties": false, + "description": "Address information for sites without a known Unique Property Reference Number (UPRN)", + "properties": { + "latitude": { + "type": "number" + }, + "longitude": { + "type": "number" + }, + "source": { + "const": "Proposed by applicant", + "type": "string" + }, + "title": { + "type": "string" + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "latitude", + "longitude", + "source", + "title", + "x", + "y" + ], + "type": "object" + }, + "QuestionAndResponses": { + "additionalProperties": false, + "properties": { + "metadata": { + "$ref": "#/definitions/QuestionMetaData" + }, + "question": { + "type": "string" + }, + "responses": { + "anyOf": [ + { + "items": { + "$ref": "#/definitions/Response" + }, + "type": "array" }, - "value": { - "const": "object.monument.other.waterFeature", + { "type": "string" } - }, - "required": [ - "value", - "description" - ], - "type": "object" + ] + } + }, + "required": [ + "question", + "responses" + ], + "type": "object" + }, + "QuestionMetaData": { + "additionalProperties": false, + "properties": { + "autoAnswered": { + "type": "boolean" }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Permanent Art Display / Sculpture", - "type": "string" + "policyRefs": { + "items": { + "additionalProperties": false, + "properties": { + "text": { + "type": "string" + }, + "url": { + "type": "string" + } }, - "value": { - "const": "object.monument.other.art", - "type": "string" - } + "type": "object" }, - "required": [ - "value", - "description" - ], - "type": "object" + "type": "array" + }, + "sectionName": { + "type": "string" + } + }, + "type": "object" + }, + "Response": { + "additionalProperties": false, + "properties": { + "metadata": { + "$ref": "#/definitions/ResponseMetaData" }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "ResponseMetaData": { + "additionalProperties": false, + "properties": { + "flags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "Responses": { + "$id": "#Responses", + "description": "The ordered list of questions, answers, and their metadata for this application", + "items": { + "$ref": "#/definitions/QuestionAndResponses" + }, + "type": "array" + }, + "Result": { + "$id": "#Result", + "description": "The result of this application. Results are determined by flags corresponding to responses; each application can have up to one result per flagset", + "items": { + "$ref": "#/definitions/ResultFlag" + }, + "type": "array" + }, + "ResultFlag": { + "$id": "#ResultFlag", + "anyOf": [ { "additionalProperties": false, "properties": { "description": { - "const": "Windmill (Inactive)", + "const": "It looks like the changes may now be beyond the time limit for enforcement action. This does not apply if the changes have been deliberately concealed.", "type": "string" }, "value": { - "const": "object.monument.other.windmill", + "const": "Planning permission / Immune", "type": "string" } }, @@ -11509,11 +12969,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Stately Home", + "const": "There is some key information missing that will be needed to assess this application.", "type": "string" }, "value": { - "const": "object.statelyHome", + "const": "Planning permission / Missing information", "type": "string" } }, @@ -11527,11 +12987,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Underground Feature", + "const": "It looks like the proposed changes may require planning permission.", "type": "string" }, "value": { - "const": "object.underground", + "const": "Planning permission / Permission needed", "type": "string" } }, @@ -11545,11 +13005,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Cave", + "const": "It looks like the proposed changes do not require planning permission, however the applicant must apply for Prior Approval before proceeding.", "type": "string" }, "value": { - "const": "object.underground.cave", + "const": "Planning permission / Prior approval", "type": "string" } }, @@ -11563,11 +13023,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Pothole / Natural Hole", + "const": "It looks like the proposed changes may not require planning permission, however the applicant must provide notice to the planning authority before proceeding.", "type": "string" }, "value": { - "const": "object.underground.hole", + "const": "Planning permission / Notice", "type": "string" } }, @@ -11581,11 +13041,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Other Underground Feature", + "const": "It looks like the proposed changes may fall within the rules for Permitted Development and therefore would not need planning permission.", "type": "string" }, "value": { - "const": "object.underground.other", + "const": "Planning permission / Permitted development", "type": "string" } }, @@ -11599,11 +13059,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Cellar", + "const": "It looks like the proposed changes may not fall within the legal definition of 'development', and therefore would not require planning permission.", "type": "string" }, "value": { - "const": "object.underground.other.cellar", + "const": "Planning permission / Not development", "type": "string" } }, @@ -11617,11 +13077,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Disused Mine", + "const": "", "type": "string" }, "value": { - "const": "object.underground.other.extraction", + "const": "Listed building consent / Missing information", "type": "string" } }, @@ -11635,11 +13095,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Mineral Mining / Inactive", + "const": "", "type": "string" }, "value": { - "const": "object.underground.other.extraction.mine", + "const": "Listed building consent / Required", "type": "string" } }, @@ -11653,11 +13113,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Oil And / Gas Extraction/ Inactive", + "const": "", "type": "string" }, "value": { - "const": "object.underground.other.extraction.oilGas", + "const": "Listed building consent / De minimis", "type": "string" } }, @@ -11671,11 +13131,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Mineral Quarrying And / Open Extraction / Inactive", + "const": "", "type": "string" }, "value": { - "const": "object.underground.other.extraction.quarry", + "const": "Listed building consent / Not required", "type": "string" } }, @@ -11689,11 +13149,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Well / Spring", + "const": "", "type": "string" }, "value": { - "const": "object.underground.other.water", + "const": "Works to trees & hedges / Missing information", "type": "string" } }, @@ -11707,11 +13167,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Spring", + "const": "", "type": "string" }, "value": { - "const": "object.underground.other.water.spring", + "const": "Works to trees & hedges / Required", "type": "string" } }, @@ -11725,11 +13185,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Well", + "const": "", "type": "string" }, "value": { - "const": "object.underground.other.water.well", + "const": "Works to trees & hedges / De minimis", "type": "string" } }, @@ -11743,11 +13203,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Place Of Worship", + "const": "", "type": "string" }, "value": { - "const": "object.religious", + "const": "Works to trees & hedges / Not required", "type": "string" } }, @@ -11761,11 +13221,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Religious building", + "const": "", "type": "string" }, "value": { - "const": "object.religious.building", + "const": "Demolition in a conservation area / Missing information", "type": "string" } }, @@ -11779,11 +13239,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Abbey", + "const": "", "type": "string" }, "value": { - "const": "object.religious.building.abbey", + "const": "Demolition in a conservation area / Required", "type": "string" } }, @@ -11797,11 +13257,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Cathedral", + "const": "", "type": "string" }, "value": { - "const": "object.religious.building.cathedral", + "const": "Demolition in a conservation area / De minimis", "type": "string" } }, @@ -11815,11 +13275,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Church", + "const": "", "type": "string" }, "value": { - "const": "object.religious.building.church", + "const": "Demolition in a conservation area / Not required", "type": "string" } }, @@ -11833,11 +13293,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Chapel", + "const": "", "type": "string" }, "value": { - "const": "object.religious.building.chapel", + "const": "Planning policy / Missing information", "type": "string" } }, @@ -11851,11 +13311,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Gurdwara", + "const": "", "type": "string" }, "value": { - "const": "object.religious.building.gurdwara", + "const": "Planning policy / Fails to meet policy", "type": "string" } }, @@ -11869,11 +13329,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Kingdom Hall", + "const": "", "type": "string" }, "value": { - "const": "object.religious.building.kingdomHall", + "const": "Planning policy / Edge case", "type": "string" } }, @@ -11887,11 +13347,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Lych Gate", + "const": "", "type": "string" }, "value": { - "const": "object.religious.building.lychGate", + "const": "Planning policy / Meets policy", "type": "string" } }, @@ -11905,11 +13365,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Mosque", + "const": "", "type": "string" }, "value": { - "const": "object.religious.building.mosque", + "const": "Community infrastructure levy / Missing information", "type": "string" } }, @@ -11923,11 +13383,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Minster", + "const": "", "type": "string" }, "value": { - "const": "object.religious.building.minster", + "const": "Community infrastructure levy / Exemption void", "type": "string" } }, @@ -11941,11 +13401,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Stupa", + "const": "", "type": "string" }, "value": { - "const": "object.religious.building.stupa", + "const": "Community infrastructure levy / Exempt", "type": "string" } }, @@ -11959,11 +13419,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Synagogue", + "const": "", "type": "string" }, "value": { - "const": "object.religious.building.synagogue", + "const": "Community infrastructure levy / Relief void", "type": "string" } }, @@ -11977,433 +13437,398 @@ "additionalProperties": false, "properties": { "description": { - "const": "Temple", - "type": "string" - }, - "value": { - "const": "object.religious.building.temple", - "type": "string" - } - }, - "required": [ - "value", - "description" - ], - "type": "object" - } - ], - "description": "Property types derived from Basic Land and Property Unit (BLPU) classification codes" - }, - "Proposal": { - "$id": "#Proposal", - "additionalProperties": false, - "description": "Information about the project", - "properties": { - "boundary": { - "additionalProperties": false, - "properties": { - "area": { - "additionalProperties": false, - "properties": { - "hectares": { - "type": "number" - }, - "squareMetres": { - "type": "number" - } - }, - "required": [ - "squareMetres", - "hectares" - ], - "type": "object" + "const": "", + "type": "string" }, - "site": { + "value": { + "const": "Community infrastructure levy / Relief", "type": "string" } }, "required": [ - "site", - "area" + "value", + "description" ], "type": "object" }, - "date": { + { "additionalProperties": false, "properties": { - "completion": { - "$ref": "#/definitions/DateTime" + "description": { + "const": "", + "type": "string" }, - "start": { - "$ref": "#/definitions/DateTime" + "value": { + "const": "Community infrastructure levy / Liable", + "type": "string" } }, "required": [ - "start" + "value", + "description" ], "type": "object" }, - "description": { - "type": "string" - }, - "details": { + { "additionalProperties": false, "properties": { - "extend": { - "additionalProperties": false, - "properties": { - "area": { - "additionalProperties": false, - "properties": { - "squareMetres": { - "type": "number" - } - }, - "required": [ - "squareMetres" - ], - "type": "object" - } - }, - "required": [ - "area" - ], - "type": "object" + "description": { + "const": "", + "type": "string" }, - "new": { - "additionalProperties": false, - "properties": { - "area": { - "additionalProperties": false, - "properties": { - "squareMetres": { - "type": "number" - } - }, - "required": [ - "squareMetres" - ], - "type": "object" - } - }, - "required": [ - "area" - ], - "type": "object" + "value": { + "const": "Community infrastructure levy / Not liable", + "type": "string" } }, + "required": [ + "value", + "description" + ], "type": "object" - }, - "projectType": { - "items": { - "$ref": "#/definitions/ProjectType" - }, - "type": "array" - }, - "retro": { + } + ], + "description": "An individual result of this application" + }, + "SiteContact": { + "$id": "#SiteContact", + "anyOf": [ + { "additionalProperties": false, "properties": { - "date": { - "additionalProperties": false, - "properties": { - "completion": { - "$ref": "#/definitions/DateTime" - }, - "start": { - "$ref": "#/definitions/DateTime" - } - }, - "required": [ - "start", - "completion" + "role": { + "enum": [ + "applicant", + "agent", + "proxy" ], - "type": "object" + "type": "string" } }, "required": [ - "date" + "role" ], "type": "object" + }, + { + "$ref": "#/definitions/SiteContactOther" } - }, - "required": [ - "projectType", - "description" ], - "type": "object" + "description": "Contact information for the site visit" }, - "ProposedAddress": { - "$id": "#ProposedAddress", + "SiteContactOther": { + "$id": "#SiteContactOther", "additionalProperties": false, - "description": "Address information for sites without a known Unique Property Reference Number (UPRN)", + "description": "Contact information for the site visit when the SiteContact's role is 'other'", "properties": { - "latitude": { - "type": "number" - }, - "longitude": { - "type": "number" - }, - "source": { - "const": "Proposed by applicant", + "email": { "type": "string" }, - "title": { + "name": { "type": "string" }, - "x": { - "type": "number" + "phone": { + "type": "string" }, - "y": { - "type": "number" + "role": { + "const": "other", + "type": "string" } }, "required": [ - "latitude", - "longitude", - "source", - "title", - "x", - "y" + "role", + "name", + "email", + "phone" ], "type": "object" }, - "QuestionAndResponses": { + "UKProperty": { + "$id": "#UKProperty", "additionalProperties": false, + "description": "Property details for sites anywhere in the UK", "properties": { - "metadata": { - "$ref": "#/definitions/QuestionMetaData" - }, - "question": { - "type": "string" - }, - "responses": { + "address": { "anyOf": [ { - "items": { - "$ref": "#/definitions/Response" - }, - "type": "array" + "$ref": "#/definitions/ProposedAddress" }, { + "$ref": "#/definitions/OSAddress" + } + ] + }, + "boundary": { + "additionalProperties": false, + "properties": { + "area": { + "additionalProperties": false, + "properties": { + "hectares": { + "type": "number" + }, + "squareMetres": { + "type": "number" + } + }, + "required": [ + "squareMetres", + "hectares" + ], + "type": "object" + }, + "site": { "type": "string" } - ] - } - }, - "required": [ - "question", - "responses" - ], - "type": "object" - }, - "QuestionMetaData": { - "additionalProperties": false, - "properties": { - "autoAnswered": { - "type": "boolean" + }, + "required": [ + "site", + "area" + ], + "type": "object" + }, + "constraints": { + "additionalProperties": false, + "properties": { + "planning": { + "items": { + "$id": "#PlanningConstraints", + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "description": { + "type": "string" + }, + "overlaps": { + "const": false, + "type": "boolean" + }, + "value": { + "type": "string" + } + }, + "required": [ + "description", + "overlaps", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "type": "string" + }, + "entities": { + "items": { + "type": "string" + }, + "type": "array" + }, + "overlaps": { + "const": true, + "type": "boolean" + }, + "value": { + "type": "string" + } + }, + "required": [ + "description", + "entities", + "overlaps", + "value" + ], + "type": "object" + } + ], + "description": "Planning constraints that overlap with the proposed site boundary determined by spatial queries against Planning Data (planning.data.gov.uk) and Ordnance Survey" + }, + "type": "array" + } + }, + "required": [ + "planning" + ], + "type": "object" }, - "policyRefs": { + "localAuthorityDistrict": { "items": { - "additionalProperties": false, - "properties": { - "text": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "type": "object" + "type": "string" }, "type": "array" }, - "sectionName": { + "region": { "type": "string" - } - }, - "type": "object" - }, - "Response": { - "additionalProperties": false, - "properties": { - "metadata": { - "$ref": "#/definitions/ResponseMetaData" }, - "value": { - "type": "string" + "type": { + "$ref": "#/definitions/PropertyType" } }, "required": [ - "value" + "address", + "region", + "localAuthorityDistrict", + "type" ], "type": "object" }, - "ResponseMetaData": { + "URL": { + "format": "uri", + "pattern": "^https?://", + "type": "string" + }, + "UUID": { + "format": "uuid", + "type": "string" + }, + "User": { + "$id": "User", "additionalProperties": false, + "description": "The role of the user who completed the application", "properties": { - "flags": { - "items": { - "type": "string" - }, - "type": "array" + "role": { + "enum": [ + "applicant", + "agent", + "proxy" + ], + "type": "string" } }, + "required": [ + "role" + ], "type": "object" }, - "Responses": { - "$id": "#Responses", - "description": "The ordered list of questions, answers, and their metadata for this application", - "items": { - "$ref": "#/definitions/QuestionAndResponses" - }, - "type": "array" - }, - "Result": { - "$id": "#Result", - "description": "The result of this application. Results are determined by flags corresponding to responses; each application can have up to one result per flagset", - "items": { - "$ref": "#/definitions/ResultFlag" - }, - "type": "array" - }, - "ResultFlag": { - "$id": "#ResultFlag", + "UserAddress": { + "$id": "#UserAddress", "anyOf": [ { "additionalProperties": false, "properties": { - "description": { - "const": "It looks like the changes may now be beyond the time limit for enforcement action. This does not apply if the changes have been deliberately concealed.", - "type": "string" - }, - "value": { - "const": "Planning permission / Immune", - "type": "string" + "sameAsSiteAddress": { + "const": true, + "type": "boolean" } }, "required": [ - "value", - "description" + "sameAsSiteAddress" ], "type": "object" }, { - "additionalProperties": false, - "properties": { - "description": { - "const": "There is some key information missing that will be needed to assess this application.", - "type": "string" - }, - "value": { - "const": "Planning permission / Missing information", - "type": "string" - } - }, - "required": [ - "value", - "description" - ], - "type": "object" + "$ref": "#/definitions/UserAddressNotSameSite" + } + ], + "description": "Address information for the applicant" + }, + "UserAddressNotSameSite": { + "$id": "#UserAddressNotSameSite", + "additionalProperties": false, + "description": "Address information for an applicant with contact information that differs from the site address", + "properties": { + "country": { + "type": "string" }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "It looks like the proposed changes may require planning permission.", - "type": "string" - }, - "value": { - "const": "Planning permission / Permission needed", - "type": "string" - } - }, - "required": [ - "value", - "description" - ], - "type": "object" + "county": { + "type": "string" }, - { + "line1": { + "type": "string" + }, + "line2": { + "type": "string" + }, + "postcode": { + "type": "string" + }, + "sameAsSiteAddress": { + "const": false, + "type": "boolean" + }, + "town": { + "type": "string" + } + }, + "required": [ + "line1", + "postcode", + "sameAsSiteAddress", + "town" + ], + "type": "object" + }, + "UserContact": { + "$id": "#UserContact", + "additionalProperties": false, + "description": "Contact information for any user", + "properties": { + "company": { "additionalProperties": false, "properties": { - "description": { - "const": "It looks like the proposed changes do not require planning permission, however the applicant must apply for Prior Approval before proceeding.", - "type": "string" - }, - "value": { - "const": "Planning permission / Prior approval", + "name": { "type": "string" } }, - "required": [ - "value", - "description" - ], "type": "object" }, - { + "email": { + "$ref": "#/definitions/Email" + }, + "name": { "additionalProperties": false, "properties": { - "description": { - "const": "It looks like the proposed changes may not require planning permission, however the applicant must provide notice to the planning authority before proceeding.", + "first": { "type": "string" }, - "value": { - "const": "Planning permission / Notice", - "type": "string" - } - }, - "required": [ - "value", - "description" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "It looks like the proposed changes may fall within the rules for Permitted Development and therefore would not need planning permission.", + "last": { "type": "string" }, - "value": { - "const": "Planning permission / Permitted development", + "title": { "type": "string" } }, "required": [ - "value", - "description" + "first", + "last" ], "type": "object" }, - { + "phone": { "additionalProperties": false, "properties": { - "description": { - "const": "It looks like the proposed changes may not fall within the legal definition of 'development', and therefore would not require planning permission.", - "type": "string" - }, - "value": { - "const": "Planning permission / Not development", + "primary": { "type": "string" } }, "required": [ - "value", - "description" + "primary" ], "type": "object" - }, + } + }, + "required": [ + "name", + "email", + "phone" + ], + "type": "object" + }, + "VehicleParking": { + "$id": "#VehicleParking", + "anyOf": [ { "additionalProperties": false, "properties": { "description": { - "const": "", + "const": "Cars", "type": "string" }, "value": { - "const": "Listed building consent / Missing information", + "const": "cars", "type": "string" } }, @@ -12417,11 +13842,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "", + "const": "Off-street parking for cars", "type": "string" }, "value": { - "const": "Listed building consent / Required", + "const": "cars.offStreet", "type": "string" } }, @@ -12435,11 +13860,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "", + "const": "Off-street parking for a car club", "type": "string" }, "value": { - "const": "Listed building consent / De minimis", + "const": "cars.offStreet.club", "type": "string" } }, @@ -12453,11 +13878,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "", + "const": "Off-street disabled parking", "type": "string" }, "value": { - "const": "Listed building consent / Not required", + "const": "cars.offStreet.disabled", "type": "string" } }, @@ -12471,11 +13896,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "", + "const": "Off-street parking for non-residents", "type": "string" }, "value": { - "const": "Works to trees & hedges / Missing information", + "const": "cars.offStreet.other", "type": "string" } }, @@ -12489,11 +13914,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "", + "const": "Off-street parking for residents only", "type": "string" }, "value": { - "const": "Works to trees & hedges / Required", + "const": "cars.offStreet.residents", "type": "string" } }, @@ -12507,11 +13932,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "", + "const": "On-street parking for cars", "type": "string" }, "value": { - "const": "Works to trees & hedges / De minimis", + "const": "cars.onStreet", "type": "string" } }, @@ -12525,11 +13950,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "", + "const": "On-street parking for a car club", "type": "string" }, "value": { - "const": "Works to trees & hedges / Not required", + "const": "cars.onStreet.club", "type": "string" } }, @@ -12543,11 +13968,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "", + "const": "On-street disabled parking", "type": "string" }, "value": { - "const": "Demolition in a conservation area / Missing information", + "const": "cars.onStreet.disabled", "type": "string" } }, @@ -12561,11 +13986,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "", + "const": "On-street parking for non-residents", "type": "string" }, "value": { - "const": "Demolition in a conservation area / Required", + "const": "cars.onStreet.other", "type": "string" } }, @@ -12579,11 +14004,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "", + "const": "On-street parking for residents only", "type": "string" }, "value": { - "const": "Demolition in a conservation area / De minimis", + "const": "cars.onStreet.residents", "type": "string" } }, @@ -12597,11 +14022,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "", + "const": "Vans", "type": "string" }, "value": { - "const": "Demolition in a conservation area / Not required", + "const": "vans", "type": "string" } }, @@ -12615,11 +14040,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "", + "const": "Off-street parking for vans", "type": "string" }, "value": { - "const": "Planning policy / Missing information", + "const": "vans.offStreet", "type": "string" } }, @@ -12633,11 +14058,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "", + "const": "On-street parking for vans", "type": "string" }, "value": { - "const": "Planning policy / Fails to meet policy", + "const": "vans.onStreet", "type": "string" } }, @@ -12651,11 +14076,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "", + "const": "Motorcycles", "type": "string" }, "value": { - "const": "Planning policy / Edge case", + "const": "motorcycles", "type": "string" } }, @@ -12669,11 +14094,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "", + "const": "Off-street parking for motorcycles", "type": "string" }, "value": { - "const": "Planning policy / Meets policy", + "const": "motorcycles.offStreet", "type": "string" } }, @@ -12687,11 +14112,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "", + "const": "On-street parking for motorcycles", "type": "string" }, "value": { - "const": "Community infrastructure levy / Missing information", + "const": "motorcycles.onStreet", "type": "string" } }, @@ -12705,11 +14130,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "", + "const": "Bicycles", "type": "string" }, "value": { - "const": "Community infrastructure levy / Exemption void", + "const": "bicycles", "type": "string" } }, @@ -12723,11 +14148,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "", + "const": "Off-street parking for bicycles", "type": "string" }, "value": { - "const": "Community infrastructure levy / Exempt", + "const": "bicycles.offStreet", "type": "string" } }, @@ -12741,11 +14166,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "", + "const": "On-street parking for bicycles", "type": "string" }, "value": { - "const": "Community infrastructure levy / Relief void", + "const": "bicycles.onStreet", "type": "string" } }, @@ -12759,11 +14184,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "", + "const": "Buses", "type": "string" }, "value": { - "const": "Community infrastructure levy / Relief", + "const": "buses", "type": "string" } }, @@ -12777,11 +14202,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "", + "const": "Off-street parking for buses", "type": "string" }, "value": { - "const": "Community infrastructure levy / Liable", + "const": "buses.offStreet", "type": "string" } }, @@ -12795,11 +14220,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "", + "const": "On-street parking for buses", "type": "string" }, "value": { - "const": "Community infrastructure levy / Not liable", + "const": "buses.onStreet", "type": "string" } }, @@ -12808,262 +14233,82 @@ "description" ], "type": "object" - } - ], - "description": "An individual result of this application" - }, - "Schema": { - "additionalProperties": false, - "description": "Root of PlanX's Digital Planning Schema", - "properties": { - "data": { - "additionalProperties": false, - "properties": { - "applicant": { - "$ref": "#/definitions/Applicant" - }, - "application": { - "$ref": "#/definitions/Application" - }, - "property": { - "$ref": "#/definitions/Property" - }, - "proposal": { - "$ref": "#/definitions/Proposal" - }, - "user": { - "$ref": "#/definitions/User" - } - }, - "required": [ - "applicant", - "property", - "application", - "proposal", - "user" - ], - "type": "object" - }, - "files": { - "items": { - "$ref": "#/definitions/File" - }, - "type": "array" - }, - "metadata": { - "$ref": "#/definitions/Metadata" - }, - "responses": { - "$ref": "#/definitions/Responses" }, - "result": { - "$ref": "#/definitions/Result" - } - }, - "required": [ - "data", - "result", - "metadata", - "responses", - "files" - ], - "title": "Digital Planning Data Schema", - "type": "object" - }, - "SiteContact": { - "$id": "#SiteContact", - "anyOf": [ { "additionalProperties": false, "properties": { - "role": { - "enum": [ - "applicant", - "agent", - "proxy" - ], + "description": { + "const": "None", + "type": "string" + }, + "value": { + "const": "none", "type": "string" } }, "required": [ - "role" + "value", + "description" ], "type": "object" - }, - { - "$ref": "#/definitions/SiteContactOther" } ], - "description": "Contact information for the site visit" - }, - "SiteContactOther": { - "$id": "#SiteContactOther", + "description": "Vehicle parking types" + } + }, + "description": "Root of PlanX's Digital Planning Schema", + "properties": { + "data": { "additionalProperties": false, - "description": "Contact information for the site visit when the SiteContact's role is 'other'", "properties": { - "email": { - "type": "string" + "applicant": { + "$ref": "#/definitions/Applicant" }, - "name": { - "type": "string" + "application": { + "$ref": "#/definitions/Application" }, - "phone": { - "type": "string" + "property": { + "$ref": "#/definitions/Property" }, - "role": { - "const": "other", - "type": "string" + "proposal": { + "$ref": "#/definitions/Proposal" + }, + "user": { + "$ref": "#/definitions/User" } }, "required": [ - "role", - "name", - "email", - "phone" + "applicant", + "property", + "application", + "proposal", + "user" ], "type": "object" }, - "URL": { - "format": "uri", - "pattern": "^https?://", - "type": "string" - }, - "UUID": { - "format": "uuid", - "type": "string" - }, - "User": { - "$id": "User", - "additionalProperties": false, - "description": "The role of the user who completed the application", - "properties": { - "role": { - "enum": [ - "applicant", - "agent", - "proxy" - ], - "type": "string" - } + "files": { + "items": { + "$ref": "#/definitions/File" }, - "required": [ - "role" - ], - "type": "object" + "type": "array" }, - "UserAddress": { - "$id": "#UserAddress", - "anyOf": [ - { - "additionalProperties": false, - "properties": { - "sameAsSiteAddress": { - "const": true, - "type": "boolean" - } - }, - "required": [ - "sameAsSiteAddress" - ], - "type": "object" - }, - { - "$ref": "#/definitions/UserAddressNotSameSite" - } - ], - "description": "Address information for the applicant" + "metadata": { + "$ref": "#/definitions/Metadata" }, - "UserAddressNotSameSite": { - "$id": "#UserAddressNotSameSite", - "additionalProperties": false, - "description": "Address information for any user who's contact information differs from the site address", - "properties": { - "country": { - "type": "string" - }, - "county": { - "type": "string" - }, - "line1": { - "type": "string" - }, - "line2": { - "type": "string" - }, - "postcode": { - "type": "string" - }, - "sameAsSiteAddress": { - "const": false, - "type": "boolean" - }, - "town": { - "type": "string" - } - }, - "required": [ - "line1", - "postcode", - "sameAsSiteAddress", - "town" - ], - "type": "object" + "responses": { + "$ref": "#/definitions/Responses" }, - "UserContact": { - "$id": "#UserContact", - "additionalProperties": false, - "description": "Contact information for any user", - "properties": { - "company": { - "additionalProperties": false, - "properties": { - "name": { - "type": "string" - } - }, - "type": "object" - }, - "email": { - "$ref": "#/definitions/Email" - }, - "name": { - "additionalProperties": false, - "properties": { - "first": { - "type": "string" - }, - "last": { - "type": "string" - }, - "title": { - "type": "string" - } - }, - "required": [ - "first", - "last" - ], - "type": "object" - }, - "phone": { - "additionalProperties": false, - "properties": { - "primary": { - "type": "string" - } - }, - "required": [ - "primary" - ], - "type": "object" - } - }, - "required": [ - "name", - "email", - "phone" - ], - "type": "object" + "result": { + "$ref": "#/definitions/Result" } - } + }, + "required": [ + "data", + "result", + "metadata", + "responses", + "files" + ], + "title": "Digital Planning Data Schema", + "type": "object" } \ No newline at end of file diff --git a/tests/usage.test.ts b/tests/usage.test.ts index e58af0fb..51a0c2a9 100644 --- a/tests/usage.test.ts +++ b/tests/usage.test.ts @@ -33,6 +33,7 @@ describe("parsing using the 'ajv' library", () => { const validate = ajv.compile(generatedSchema); const isValid = validate(example); + console.log(validate.errors); expect(validate.errors).toBeNull(); expect(isValid).toBe(true); }); diff --git a/types/enums/PlanningConstraints.ts b/types/enums/PlanningConstraints.ts index 079033a9..7716de63 100644 --- a/types/enums/PlanningConstraints.ts +++ b/types/enums/PlanningConstraints.ts @@ -1,6 +1,6 @@ /** - * Minimum set of values and descriptions for `property.constraints.planning` - * actual values may also include council-specific variables like `article4.{councilName}.hmo` + * Minimum set of values for `property.constraints.planning` + * actual values will also include council-specific variables like `article4.{councilName}.hmo` */ export const PlanningConstraints = { article4: 'Article 4 Direction area', diff --git a/types/enums/VehicleParking.ts b/types/enums/VehicleParking.ts new file mode 100644 index 00000000..4227ac93 --- /dev/null +++ b/types/enums/VehicleParking.ts @@ -0,0 +1,29 @@ +/** + * Values of proposal.details.vehicleParking + */ +export const VehicleParking = { + cars: 'Cars', + 'cars.offStreet': 'Off-street parking for cars', + 'cars.offStreet.club': 'Off-street parking for a car club', + 'cars.offStreet.disabled': 'Off-street disabled parking', + 'cars.offStreet.other': 'Off-street parking for non-residents', + 'cars.offStreet.residents': 'Off-street parking for residents only', + 'cars.onStreet': 'On-street parking for cars', + 'cars.onStreet.club': 'On-street parking for a car club', + 'cars.onStreet.disabled': 'On-street disabled parking', + 'cars.onStreet.other': 'On-street parking for non-residents', + 'cars.onStreet.residents': 'On-street parking for residents only', + vans: 'Vans', + 'vans.offStreet': 'Off-street parking for vans', + 'vans.onStreet': 'On-street parking for vans', + motorcycles: 'Motorcycles', + 'motorcycles.offStreet': 'Off-street parking for motorcycles', + 'motorcycles.onStreet': 'On-street parking for motorcycles', + bicycles: 'Bicycles', + 'bicycles.offStreet': 'Off-street parking for bicycles', + 'bicycles.onStreet': 'On-street parking for bicycles', + buses: 'Buses', + 'buses.offStreet': 'Off-street parking for buses', + 'buses.onStreet': 'On-street parking for buses', + none: 'None', +}; diff --git a/types/schema/data/Applicant.ts b/types/schema/data/Applicant.ts index 55a4a09a..5b857590 100644 --- a/types/schema/data/Applicant.ts +++ b/types/schema/data/Applicant.ts @@ -1,4 +1,4 @@ -import {Email} from '../../utils'; +import {DateTime, Email} from '../../utils'; import {User} from './User'; /** @@ -14,6 +14,15 @@ export type Applicant = BaseApplicant | Agent; export interface BaseApplicant { type: 'individual' | 'company' | 'charity' | 'public' | 'parishCouncil'; interest?: 'owner.sole' | 'owner.co' | 'tenant' | 'occupier'; + ownership?: { + certificate: 'a' | 'b' | 'c' | 'd'; + owners?: { + name: string; + address: AddressInput | string; + noticeGiven: boolean; + noticeDate?: DateTime; + }[]; + }; contact: UserContact; address: UserAddress; siteContact: SiteContact; @@ -70,7 +79,7 @@ export type UserAddress = {sameAsSiteAddress: true} | UserAddressNotSameSite; /** * @id #UserAddressNotSameSite - * @description Address information for any user who's contact information differs from the site address + * @description Address information for an applicant with contact information that differs from the site address */ export interface UserAddressNotSameSite extends AddressInput { sameAsSiteAddress: false; diff --git a/types/schema/data/Property.ts b/types/schema/data/Property.ts index 7bf97f04..80ef7af8 100644 --- a/types/schema/data/Property.ts +++ b/types/schema/data/Property.ts @@ -4,7 +4,13 @@ import {PropertyTypes} from '../../enums/PropertyTypes'; * @id #Property * @description The site where the works will happen */ -export interface Property { +export type Property = UKProperty | LondonProperty; + +/** + * @id #UKProperty + * @description Property details for sites anywhere in the UK + */ +export interface UKProperty { address: ProposedAddress | OSAddress; region: string; localAuthorityDistrict: string[]; @@ -21,6 +27,25 @@ export interface Property { }; } +/** + * @id #LondonProperty + * @description Property details for sites within London + */ +export interface LondonProperty extends UKProperty { + titleNumber: { + known: 'Yes' | 'No'; + number?: string; + }; + EPC: { + known: + | 'Yes' + | 'Yes, but only some of the properties have one' + | 'The property does not have one' + | 'No'; + number?: string; + }; +} + /** * @id #SiteAddress * @description Address information available for any site, whether existing or proposed @@ -89,7 +114,7 @@ interface OverlappingPlanningConstraint extends BasePlanningConstraint { } /** - * @id #PlanningConstraint + * @id #PlanningConstraints * @description Planning constraints that overlap with the proposed site boundary determined by spatial queries against Planning Data (planning.data.gov.uk) and Ordnance Survey */ type PlanningConstraint = diff --git a/types/schema/data/Proposal.ts b/types/schema/data/Proposal.ts index 17041a86..a67f4500 100644 --- a/types/schema/data/Proposal.ts +++ b/types/schema/data/Proposal.ts @@ -1,4 +1,5 @@ import {ProjectTypes} from '../../enums/ProjectTypes'; +import {VehicleParking} from '../../enums/VehicleParking'; import {DateTime} from '../../utils'; /** @@ -25,15 +26,136 @@ export interface Proposal { completion: DateTime; }; }; - details?: { - extend?: { - area: { - squareMetres: number; + details?: ProposalDetails; +} + +/** + * @id #ProposalDetails + * @description Details about the changes being proposed + */ +export type ProposalDetails = BaseDetails | LondonDetails; + +export interface BaseDetails { + extend?: { + area: { + squareMetres: number; + }; + }; + new?: { + area: { + squareMetres: number; + }; + count?: { + bathrooms?: number; + bedrooms?: number; + dwellings?: number; + }; + }; +} + +export interface LondonDetails extends BaseDetails { + vehicleParking: { + type: VehicleParking[]; + cars?: { + count: { + existing: number; + proposed: number; + }; + onStreet?: { + club?: { + count: { + existing: number; + proposed: number; + }; + }; + disabled?: { + count: { + existing: number; + proposed: number; + }; + }; + other?: { + count: { + existing: number; + proposed: number; + }; + }; + }; + offStreet?: { + club?: { + count: { + existing: number; + proposed: number; + }; + }; + disabled?: { + count: { + existing: number; + proposed: number; + }; + }; + other?: { + count: { + existing: number; + proposed: number; + }; + }; }; }; - new?: { - area: { - squareMetres: number; + vans?: { + onStreet?: { + count: { + existing: number; + proposed: number; + }; + }; + offStreet?: { + count: { + existing: number; + proposed: number; + }; + }; + }; + motorcyles?: { + onStreet?: { + count: { + existing: number; + proposed: number; + }; + }; + offStreet?: { + count: { + existing: number; + proposed: number; + }; + }; + }; + bicycles?: { + onStreet?: { + count: { + existing: number; + proposed: number; + }; + }; + offStreet?: { + count: { + existing: number; + proposed: number; + }; + }; + }; + buses?: { + onStreet?: { + count: { + existing: number; + proposed: number; + }; + }; + offStreet?: { + count: { + existing: number; + proposed: number; + }; }; }; }; @@ -55,3 +177,20 @@ type ProjectTypeMap = { * @description Planning project types */ export type ProjectType = ProjectTypeMap[keyof ProjectTypeMap]; + +type VehicleParkingKeys = keyof typeof VehicleParking; + +type GenericVehicleParking = { + value: TKey; + description: (typeof VehicleParking)[TKey]; +}; + +type VehicleParkingMap = { + [K in VehicleParkingKeys]: GenericVehicleParking; +}; + +/** + * @id #VehicleParking + * @description Vehicle parking types + */ +export type VehicleParking = VehicleParkingMap[keyof VehicleParkingMap];