From 3692c039bad37b15711c1aa9637fbffcf56a8911 Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Mon, 18 Sep 2023 22:32:19 +0200 Subject: [PATCH 01/13] wip --- src/export/digitalPlanning/index.ts | 15 - src/export/digitalPlanning/model.test.ts | 7 - src/export/digitalPlanning/model.ts | 102 +- src/export/digitalPlanning/schema/schema.json | 12532 +++++++++++++++- src/export/digitalPlanning/schema/types.d.ts | 2825 +++- 5 files changed, 15330 insertions(+), 151 deletions(-) diff --git a/src/export/digitalPlanning/index.ts b/src/export/digitalPlanning/index.ts index 669ab1f6..5bd3225c 100644 --- a/src/export/digitalPlanning/index.ts +++ b/src/export/digitalPlanning/index.ts @@ -1,10 +1,7 @@ import { GraphQLClient } from "graphql-request"; import { Passport } from "../../models/passport"; -import { getDocumentTemplateNamesForSession } from "../../requests/document-templates"; import { getSessionById } from "../../requests/session"; -import { hasRequiredDataForTemplate } from "../../templates"; -import { Passport as IPassport } from "../../types"; import { DigitalPlanning } from "./model"; import { DigitalPlanningDataSchema as DigitalPlanningPayload } from "./schema/types"; @@ -20,21 +17,9 @@ export async function generateDigitalPlanningPayload( const passport = new Passport(session.data.passport); - const allTemplateNames = await getDocumentTemplateNamesForSession( - client, - sessionId, - ); - const templateNames = allTemplateNames.filter((templateName) => - hasRequiredDataForTemplate({ - templateName, - passport: session.data.passport as Required, - }), - ); - const payload = new DigitalPlanning({ sessionId, passport, - templateNames, }).getPayload(); return payload; diff --git a/src/export/digitalPlanning/model.test.ts b/src/export/digitalPlanning/model.test.ts index 07dbdcae..9afc8309 100644 --- a/src/export/digitalPlanning/model.test.ts +++ b/src/export/digitalPlanning/model.test.ts @@ -14,7 +14,6 @@ describe("DigitalPlanning", () => { const instance = new DigitalPlanning({ sessionId: "session123", passport: mockPassport, - templateNames: ["template1", "template2"], }); const payload = instance.getPayload(); @@ -27,7 +26,6 @@ describe("DigitalPlanning", () => { const instance = new DigitalPlanning({ sessionId: "session123", passport: mockPassport, - templateNames: ["template1", "template2"], }); // @ts-expect-error - The operand of a 'delete' operator must be optional @@ -42,7 +40,6 @@ describe("DigitalPlanning", () => { const instance = new DigitalPlanning({ sessionId: "session123", passport: mockPassport, - templateNames: ["template1", "template2"], }); // @ts-expect-error - Type 'undefined' is not assignable to type 'Applicant' @@ -57,7 +54,6 @@ describe("DigitalPlanning", () => { const instance = new DigitalPlanning({ sessionId: "session123", passport: mockPassport, - templateNames: ["template1", "template2"], }); // @ts-expect-error - Type 'number' is not assignable to type 'string' @@ -72,7 +68,6 @@ describe("DigitalPlanning", () => { const instance = new DigitalPlanning({ sessionId: "session123", passport: mockPassport, - templateNames: ["template1", "template2"], }); instance.payload.metadata.service.url = @@ -87,7 +82,6 @@ describe("DigitalPlanning", () => { const instance = new DigitalPlanning({ sessionId: "session123", passport: mockPassport, - templateNames: ["template1", "template2"], }); instance.payload.metadata.session.submittedAt = @@ -102,7 +96,6 @@ describe("DigitalPlanning", () => { const instance = new DigitalPlanning({ sessionId: "session123", passport: mockPassport, - templateNames: ["template1", "template2"], }); // @ts-expect-error Type '"invalid enum"' is not assignable to type '"bar" | "baz" | "boo"' diff --git a/src/export/digitalPlanning/model.ts b/src/export/digitalPlanning/model.ts index a8b94a60..1d3b5e3d 100644 --- a/src/export/digitalPlanning/model.ts +++ b/src/export/digitalPlanning/model.ts @@ -8,19 +8,16 @@ import { DigitalPlanningDataSchema as Payload } from "./schema/types"; interface DigitalPlanningArgs { sessionId: string; passport: Passport; - templateNames?: string[] | undefined; } export class DigitalPlanning { sessionId: string; passport: Passport; - templateNames: string[]; payload: Payload; - constructor({ sessionId, passport, templateNames }: DigitalPlanningArgs) { + constructor({ sessionId, passport }: DigitalPlanningArgs) { this.sessionId = sessionId; this.passport = passport; - this.templateNames = templateNames || []; this.payload = this.mapPassportToPayload(); } @@ -31,30 +28,86 @@ export class DigitalPlanning { } /** - * Dummy data to test setup whilst we work on the actual schema + * WIP - lacking conditionals/optional properties; just a quick first go for e2e testing! */ mapPassportToPayload(): Payload { return { data: { + user: { + role: this.passport.data?.["user.role"] + }, applicant: { - name: "Test", + type: this.passport.data?.["applicant.type"], + contact: { + name: { + first: this.passport.data?.["applicant.name.first"], + last: this.passport.data?.["applicant.name.last"], + }, + email: this.passport.data?.["applicant.email"], + phone: this.passport.data?.["applicant.phone.primary"], + }, + address: { + sameAsSiteAddress: true, + }, + siteContact: { + role: this.passport.data?.["user.role"], + }, }, property: { - name: "Test", + address: { + source: "Proposed by applicant", + latitude: this.passport.data?.["_address.latitude"], + longitude: this.passport.data?.["_address.longitude"], + x: this.passport.data?.["_address.x"], + y: this.passport.data?.["_address.y"], + title: this.passport.data?.["_address.title"], + localAuthorityDistrict: this.passport.data?.["property.localAuthorityDistrict"], + region: this.passport.data?.["property.region"], + }, + type: { + value: this.passport.data?.["property.type"], + description: this.passport.data?.["_address.planx_description"], + }, + boundary: { + site: this.passport.data?.["property.boundary.site"], + area: { + hectares: this.passport.data?.["property.boundary.area.hectares"], + squareMeters: this.passport.data?.["property.boundary.area"], + } + }, + constraints: { + planning: [], + }, }, application: { - name: "Test", + type: { + value: this.passport.data?.["application.type"], + description: "Planning Permission", + }, + fee: { + calculated: this.passport.data?.["application.fee.calculated"], + payable: this.passport.data?.["application.fee.payable"], + exemption: { + disability: this.passport.data?.["application.fee.exemption.disability"], + resubmission: this.passport.data?.["application.fee.exemption.resubmission"], + }, + reduction: { + sports: this.passport.data?.["application.fee.reduction.sports"], + parishCouncil: this.passport.data?.["application.fee.reduction.parishCouncil"], + alternative: this.passport.data?.["application.fee.reduction.alternative"], + }, + }, + declaration: { + accurate: this.passport.data?.["application.declaration.accurate"], + connection: this.passport.data?.["application.declaration.connection"], + }, }, proposal: { - name: "Test", - }, - user: { - name: "Test", + projectType: [], + description: this.passport.data?.["proposal.description"], }, }, - result: { - name: "Test", - }, + result: [], metadata: { service: { publishedFlowId: "b3320abe-f5bc-4185-b61f-40e9e65f07ad", @@ -69,23 +122,8 @@ export class DigitalPlanning { submittedAt: "2018-11-13T20:20:39+00:00", }, }, - responses: { - name: "Test", - }, - files: [ - { - size: "1mb", - foo: "bar", - }, - { - size: "2mb", - foo: "baz", - }, - { - size: "3mb", - foo: "boo", - }, - ], + responses: [], + files: [], }; } diff --git a/src/export/digitalPlanning/schema/schema.json b/src/export/digitalPlanning/schema/schema.json index 8fa229f6..9a009f7b 100644 --- a/src/export/digitalPlanning/schema/schema.json +++ b/src/export/digitalPlanning/schema/schema.json @@ -3,157 +3,12509 @@ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "definitions": { + "Agent": { + "$id": "#Agent", + "additionalProperties": false, + "description": "Information about the user who completed the application on behalf of someone else", + "properties": { + "address": { + "$ref": "#/definitions/UserAddress" + }, + "agent": { + "additionalProperties": false, + "properties": { + "address": { + "$ref": "#/definitions/UserAddress" + }, + "contact": { + "$ref": "#/definitions/UserContact" + } + }, + "required": [ + "contact", + "address" + ], + "type": "object" + }, + "contact": { + "$ref": "#/definitions/UserContact" + }, + "siteContact": { + "$ref": "#/definitions/SiteContact" + }, + "type": { + "enum": [ + "individual", + "company", + "charity", + "public", + "parishCouncil" + ], + "type": "string" + } + }, + "required": [ + "address", + "agent", + "contact", + "siteContact", + "type" + ], + "type": "object" + }, "Applicant": { - "$id": "Applicant", + "$id": "#Applicant", + "anyOf": [ + { + "$ref": "#/definitions/BaseApplicant" + }, + { + "$ref": "#/definitions/Agent" + } + ], + "description": "The user who completed the application either for themself or on behalf of someone else" + }, + "Application": { + "$id": "#Application", + "additionalProperties": false, + "description": "Information about this planning application", + "properties": { + "declaration": { + "additionalProperties": false, + "properties": { + "accurate": { + "const": true, + "type": "boolean" + }, + "connection": { + "enum": [ + "employee", + "relation.employee", + "electedMember", + "relation.electedMember", + "none" + ], + "type": "string" + }, + "description": { + "type": "string" + } + }, + "required": [ + "accurate", + "connection" + ], + "type": "object" + }, + "fee": { + "$ref": "#/definitions/ApplicationFee" + }, + "preApp": { + "$ref": "#/definitions/PreApplication" + }, + "type": { + "$ref": "#/definitions/ApplicationType" + } + }, + "required": [ + "type", + "fee", + "declaration" + ], + "type": "object" + }, + "ApplicationFee": { + "$id": "#ApplicationFee", + "additionalProperties": false, + "description": "The costs associated with this application", + "properties": { + "calculated": { + "type": "number" + }, + "exemption": { + "additionalProperties": false, + "properties": { + "disability": { + "type": "boolean" + }, + "resubmission": { + "type": "boolean" + } + }, + "required": [ + "disability", + "resubmission" + ], + "type": "object" + }, + "payable": { + "type": "number" + }, + "reduction": { + "additionalProperties": false, + "properties": { + "alternative": { + "type": "boolean" + }, + "parishCouncil": { + "type": "boolean" + }, + "sports": { + "type": "boolean" + } + }, + "required": [ + "alternative", + "parishCouncil", + "sports" + ], + "type": "object" + }, + "reference": { + "additionalProperties": false, + "properties": { + "govPay": { + "type": "string" + } + }, + "required": [ + "govPay" + ], + "type": "object" + } + }, + "required": [ + "calculated", + "payable", + "exemption", + "reduction" + ], + "type": "object" + }, + "ApplicationType": { + "$id": "#ApplicationType", + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Lawful Development Certificate", + "type": "string" + }, + "value": { + "const": "ldc", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Lawful Development Certificate - Proposed", + "type": "string" + }, + "value": { + "const": "ldc.proposed", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Lawful Development Certificate - Existing", + "type": "string" + }, + "value": { + "const": "ldc.existing", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval", + "type": "string" + }, + "value": { + "const": "pa", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Larger extension to a house", + "type": "string" + }, + "value": { + "const": "pa.part1.classA", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Adding storeys to a house", + "type": "string" + }, + "value": { + "const": "pa.part1.classAA", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Convert a commercial building to mixed use", + "type": "string" + }, + "value": { + "const": "pa.part3.classG", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Convert a mixed use building into a home", + "type": "string" + }, + "value": { + "const": "pa.part3.classM", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Convert a commercial building into a home or homes", + "type": "string" + }, + "value": { + "const": "pa.part3.classMA", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Convert a casino or amusement arcade into a home or homes", + "type": "string" + }, + "value": { + "const": "pa.part3.classN", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Convert an agricultural building into a home", + "type": "string" + }, + "value": { + "const": "pa.part3.classQ", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Convert an agricultural building to a commercial use", + "type": "string" + }, + "value": { + "const": "pa.part3.classR", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Convert an agricultural building to a school", + "type": "string" + }, + "value": { + "const": "pa.part3.classS", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Convert a commercial building to a school", + "type": "string" + }, + "value": { + "const": "pa.part3.classT", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Put up a temporary structure", + "type": "string" + }, + "value": { + "const": "pa.part4.classBB", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Use a building or land to shoot a film", + "type": "string" + }, + "value": { + "const": "pa.part4.classE", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Build new agricultural buildings on a unit of 5 hectares or more", + "type": "string" + }, + "value": { + "const": "pa.part6.classA", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Build new agricultural buildings on a unit of less than 5 hectares", + "type": "string" + }, + "value": { + "const": "pa.part6.classB", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Build new forestry buildings", + "type": "string" + }, + "value": { + "const": "pa.part6.classE", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Install click and collect facilities", + "type": "string" + }, + "value": { + "const": "pa.part7.classC", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Extend a school, college, university, prison or hospital", + "type": "string" + }, + "value": { + "const": "pa.part7.classM", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Demolish a building", + "type": "string" + }, + "value": { + "const": "pa.part11.classB", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Install or change solar panels", + "type": "string" + }, + "value": { + "const": "pa.part14.classJ", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Install telecommunications equipment", + "type": "string" + }, + "value": { + "const": "pa.part16.classA", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Build homes on a detached blocks of flats", + "type": "string" + }, + "value": { + "const": "pa.part20.classA", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Build homes on a detached commercial building", + "type": "string" + }, + "value": { + "const": "pa.part20.classAA", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Build homes on an adjoining commercial or mixed use building", + "type": "string" + }, + "value": { + "const": "pa.part20.classAB", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Build homes on adjoining houses", + "type": "string" + }, + "value": { + "const": "pa.part20.classAC", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Build homes on detached houses", + "type": "string" + }, + "value": { + "const": "pa.part20.classAD", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Demolish buildings and build homes in their place", + "type": "string" + }, + "value": { + "const": "pa.part20.classZA", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Planning Permission", + "type": "string" + }, + "value": { + "const": "pp", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Planning Permission", + "type": "string" + }, + "value": { + "const": "pp.full.householder", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Planning Permission", + "type": "string" + }, + "value": { + "const": "pp.full.householder.retro", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + } + ], + "description": "Planning application types supported by this schema" + }, + "BaseApplicant": { + "$id": "#BaseApplicant", + "additionalProperties": false, + "description": "Information about the user who completed the application for themself, or information about the resident who the user applied on behalf of", + "properties": { + "address": { + "$ref": "#/definitions/UserAddress" + }, + "contact": { + "$ref": "#/definitions/UserContact" + }, + "siteContact": { + "$ref": "#/definitions/SiteContact" + }, + "type": { + "enum": [ + "individual", + "company", + "charity", + "public", + "parishCouncil" + ], + "type": "string" + } + }, + "required": [ + "type", + "contact", + "address", + "siteContact" + ], + "type": "object" + }, + "DateTime": { + "format": "date-time", + "type": "string" + }, + "Email": { + "format": "email", + "type": "string" + }, + "File": { + "$id": "#File", + "additionalProperties": false, + "description": "Files uploaded by the user to support this application", + "properties": { + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "items": { + "$ref": "#/definitions/FileType" + }, + "type": "array" + } + }, + "required": [ + "name", + "type" + ], + "type": "object" + }, + "FileType": { + "$id": "#FileType", + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Elevation plan - existing", + "type": "string" + }, + "value": { + "const": "property.drawing.elevation", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Floor plan - existing", + "type": "string" + }, + "value": { + "const": "property.drawing.floorPlan", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Roof plan - existing", + "type": "string" + }, + "value": { + "const": "property.drawing.roofPlan", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Section - existing", + "type": "string" + }, + "value": { + "const": "property.drawing.section", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Site plan - existing", + "type": "string" + }, + "value": { + "const": "property.drawing.sitePlan", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Use plan - existing", + "type": "string" + }, + "value": { + "const": "property.drawing.usePlan", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Photographs", + "type": "string" + }, + "value": { + "const": "property.photograph", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Location plan", + "type": "string" + }, + "value": { + "const": "property.site.locationPlan", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Elevation plan - proposed", + "type": "string" + }, + "value": { + "const": "proposal.drawing.elevation", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Floor plan - proposed", + "type": "string" + }, + "value": { + "const": "proposal.drawing.floorPlan", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Other - drawing", + "type": "string" + }, + "value": { + "const": "proposal.drawing.other", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Roof plan - proposed", + "type": "string" + }, + "value": { + "const": "proposal.drawing.roofPlan", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Section - proposed", + "type": "string" + }, + "value": { + "const": "proposal.drawing.section", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Site plan - proposed", + "type": "string" + }, + "value": { + "const": "proposal.drawing.sitePlan", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Unit plan - proposed", + "type": "string" + }, + "value": { + "const": "proposal.drawing.unitPlan", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Use plan - proposed", + "type": "string" + }, + "value": { + "const": "proposal.drawing.usePlan", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Bank statement", + "type": "string" + }, + "value": { + "const": "proposal.document.bankStatement", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Building control certificate", + "type": "string" + }, + "value": { + "const": "proposal.document.buildingControl.certificate", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Construction invoice", + "type": "string" + }, + "value": { + "const": "proposal.document.construction.invoice", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Contamination report", + "type": "string" + }, + "value": { + "const": "proposal.document.contamination", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Council tax bill", + "type": "string" + }, + "value": { + "const": "proposal.document.councilTaxBill", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Statuatory declaration", + "type": "string" + }, + "value": { + "const": "proposal.document.declaration", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Design and Access Statement", + "type": "string" + }, + "value": { + "const": "proposal.document.designAndAccess", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Flood risk assessment", + "type": "string" + }, + "value": { + "const": "proposal.document.floodRisk", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Heritage Statement", + "type": "string" + }, + "value": { + "const": "proposal.document.heritageStatement", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Noise assessment", + "type": "string" + }, + "value": { + "const": "proposal.document.noise", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Other - document", + "type": "string" + }, + "value": { + "const": "proposal.document.other", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Other - correspondence", + "type": "string" + }, + "value": { + "const": "proposal.document.other.evidence", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Sunlight and daylight report", + "type": "string" + }, + "value": { + "const": "proposal.document.sunAndDaylight", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Tenancy agreement", + "type": "string" + }, + "value": { + "const": "proposal.document.tenancyAgreement", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Tenancy invoice", + "type": "string" + }, + "value": { + "const": "proposal.document.tenancyInvoice", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Transport assessment", + "type": "string" + }, + "value": { + "const": "proposal.document.transport", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Utility bill", + "type": "string" + }, + "value": { + "const": "proposal.document.utility.bill", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Photographs", + "type": "string" + }, + "value": { + "const": "proposal.photograph", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Visualisations", + "type": "string" + }, + "value": { + "const": "proposal.visualisation", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + } + ], + "description": "Types of planning documents and drawings" + }, + "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" + }, + "localAuthorityDistrict": { + "items": { + "type": "string" + }, + "type": "array" + }, + "longitude": { + "type": "number" + }, + "organisation": { + "type": "string" + }, + "pao": { + "type": "string" + }, + "postcode": { + "type": "string" + }, + "region": { + "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", + "localAuthorityDistrict", + "longitude", + "pao", + "postcode", + "region", + "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": "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": "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 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": "Changes to a public road, pavement or path (including drop kerb)", + "type": "string" + }, + "value": { + "const": "alter.highways", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Landscaping works", + "type": "string" + }, + "value": { + "const": "alter.landscape", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add or remove a pond", + "type": "string" + }, + "value": { + "const": "alter.landscape.ponds", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add new doorways or windows", + "type": "string" + }, + "value": { + "const": "alter.openings.add", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Change the size of doorways or windows", + "type": "string" + }, + "value": { + "const": "alter.openings.alter", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Block up doorways or windows", + "type": "string" + }, + "value": { + "const": "alter.openings.remove", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Remove part of a building (such as a decorative feature)", + "type": "string" + }, + "value": { + "const": "alter.remove", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Remove equipment", + "type": "string" + }, + "value": { + "const": "alter.remove.equipment", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Repair windows or doors", + "type": "string" + }, + "value": { + "const": "alter.repair", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Replace windows or doors", + "type": "string" + }, + "value": { + "const": "alter.replace", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Replace or change the roof materials", + "type": "string" + }, + "value": { + "const": "alter.roof.materials", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add a roof terrace", + "type": "string" + }, + "value": { + "const": "alter.roof.roofTerrace", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Change the shape of a roof", + "type": "string" + }, + "value": { + "const": "alter.roof.shape", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add skylights to an existing roof", + "type": "string" + }, + "value": { + "const": "alter.rooflight", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add secondary glazing to a window", + "type": "string" + }, + "value": { + "const": "alter.secondaryGlazing", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add or alter shop fronts", + "type": "string" + }, + "value": { + "const": "alter.shopfronts", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add or alter shutters", + "type": "string" + }, + "value": { + "const": "alter.shutters", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add or replace a soil pipe", + "type": "string" + }, + "value": { + "const": "alter.soilPipes", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add or change an external staircase", + "type": "string" + }, + "value": { + "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" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Convert a garage", + "type": "string" + }, + "value": { + "const": "changeOfUse.garage", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Let a part of the property", + "type": "string" + }, + "value": { + "const": "changeOfUse.let.part", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Let the property", + "type": "string" + }, + "value": { + "const": "changeOfUse.let.whole", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Convert an outbuilding (such as a shed, garage or barn)", + "type": "string" + }, + "value": { + "const": "changeOfUse.outbuilding", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Convert part of a building", + "type": "string" + }, + "value": { + "const": "changeOfUse.part", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Change the use of a property", + "type": "string" + }, + "value": { + "const": "changeOfUse.whole", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Convert a home to bedsits or a shared home", + "type": "string" + }, + "value": { + "const": "changeOfUse.whole.homeToHMO", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Work from home", + "type": "string" + }, + "value": { + "const": "changeOfUse.workFromHome", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Demolish a building", + "type": "string" + }, + "value": { + "const": "demolish", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Demolish a fence, gate or boundary wall", + "type": "string" + }, + "value": { + "const": "demolish.boundary", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Demolish a building", + "type": "string" + }, + "value": { + "const": "demolish.full", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Demolish an outbuilding (such as a garage or barn)", + "type": "string" + }, + "value": { + "const": "demolish.outbuildings", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Demolish part of a building (such as an extension)", + "type": "string" + }, + "value": { + "const": "demolish.part", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Demolish a building and build homes in its place", + "type": "string" + }, + "value": { + "const": "demolish.replace", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add a basement extension", + "type": "string" + }, + "value": { + "const": "extend.basement", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add a front extension", + "type": "string" + }, + "value": { + "const": "extend.front", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add an outbuilding (such as a shed, garage or garden office)", + "type": "string" + }, + "value": { + "const": "extend.outbuildings", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add a porch", + "type": "string" + }, + "value": { + "const": "extend.porch", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add a rear or side extension (or conservatory)", + "type": "string" + }, + "value": { + "const": "extend.rear", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add a roof extension", + "type": "string" + }, + "value": { + "const": "extend.roof", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add roof dormers", + "type": "string" + }, + "value": { + "const": "extend.roof.dormer", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Change the internal layout", + "type": "string" + }, + "value": { + "const": "internal", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Convert a loft", + "type": "string" + }, + "value": { + "const": "internal.loft", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add a mezzanine floor", + "type": "string" + }, + "value": { + "const": "internal.mezzanine", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Another type of building", + "type": "string" + }, + "value": { + "const": "new", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Agricultural buildings", + "type": "string" + }, + "value": { + "const": "new.agriculture", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Install click and collect facilities", + "type": "string" + }, + "value": { + "const": "new.clickCollect", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Build new forestry buildings", + "type": "string" + }, + "value": { + "const": "new.forestry", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Leisure premises", + "type": "string" + }, + "value": { + "const": "new.leisure", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Industrial premises", + "type": "string" + }, + "value": { + "const": "new.industrial", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Offices", + "type": "string" + }, + "value": { + "const": "new.office", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Build new homes on a roof", + "type": "string" + }, + "value": { + "const": "new.residential.dwelling", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Retail premises", + "type": "string" + }, + "value": { + "const": "new.retail", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Install telecommunications equipment", + "type": "string" + }, + "value": { + "const": "new.telecoms", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Erect a temporary structure for historic visitor attractions and listed buildings", + "type": "string" + }, + "value": { + "const": "new.temporaryStructure", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Storage or distribution premises", + "type": "string" + }, + "value": { + "const": "new.warehouse", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Convert two or more properties into one", + "type": "string" + }, + "value": { + "const": "unit.merge", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Convert part of a house into a flat", + "type": "string" + }, + "value": { + "const": "unit.subdivide", + "type": "string" + } + }, + "required": [ + "value", + "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" + }, + "squareMeters": { + "type": "number" + } + }, + "required": [ + "squareMeters", + "hectares" + ], + "type": "object" + }, + "site": { + "type": "string" + } + }, + "required": [ + "site", + "area" + ], + "type": "object" + }, + "constraints": { + "additionalProperties": false, + "properties": { + "planning": { + "items": { + "additionalProperties": false, + "properties": { + "description": { + "type": "string" + }, + "intersects": { + "type": "boolean" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value", + "description", + "intersects" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "planning" + ], + "type": "object" + }, + "type": { + "$ref": "#/definitions/PropertyType" + } + }, + "required": [ + "address", + "type" + ], + "type": "object" + }, + "PropertyType": { + "$id": "#PropertyType", + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Commercial", + "type": "string" + }, + "value": { + "const": "commercial", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Agricultural", + "type": "string" + }, + "value": { + "const": "commercial.agriculture", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Farm / Non-Residential Associated Building", + "type": "string" + }, + "value": { + "const": "commercial.agriculture.farm", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Fishery", + "type": "string" + }, + "value": { + "const": "commercial.fish", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Fish Farming", + "type": "string" + }, + "value": { + "const": "commercial.fish.farm", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Fish Hatchery", + "type": "string" + }, + "value": { + "const": "commercial.fish.hatchery", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Fish Processing", + "type": "string" + }, + "value": { + "const": "commercial.fish.processing", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Oyster / Mussel Bed", + "type": "string" + }, + "value": { + "const": "commercial.fish.oysters", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Horticulture", + "type": "string" + }, + "value": { + "const": "commercial.horticulture", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Smallholding", + "type": "string" + }, + "value": { + "const": "commercial.horticulture.smallholding", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Vineyard", + "type": "string" + }, + "value": { + "const": "commercial.horticulture.vineyard", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Watercress Bed", + "type": "string" + }, + "value": { + "const": "commercial.horticulture.watercress", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Slaughter House / Abattoir", + "type": "string" + }, + "value": { + "const": "commercial.abattoir", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Ancillary Building", + "type": "string" + }, + "value": { + "const": "commercial.ancilliary", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Community Services", + "type": "string" + }, + "value": { + "const": "commercial.community", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Law Court", + "type": "string" + }, + "value": { + "const": "commercial.community.court", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prison", + "type": "string" + }, + "value": { + "const": "commercial.community.prison", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "HM Detention Centre", + "type": "string" + }, + "value": { + "const": "commercial.community.prison.detention", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "HM Prison Service", + "type": "string" + }, + "value": { + "const": "commercial.community.prison.service", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Secure Residential Accommodation", + "type": "string" + }, + "value": { + "const": "commercial.community.prison.secureResidential", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Public / Village Hall / Other Community Facility", + "type": "string" + }, + "value": { + "const": "commercial.community.hall", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Youth Recreational / Social Club", + "type": "string" + }, + "value": { + "const": "commercial.community.hall.club", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Public Convenience", + "type": "string" + }, + "value": { + "const": "commercial.community.wc", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Cemetery / Crematorium / Graveyard. In Current Use.", + "type": "string" + }, + "value": { + "const": "commercial.community.cemetary", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Columbarium", + "type": "string" + }, + "value": { + "const": "commercial.community.cemetary.columbarium", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Crematorium", + "type": "string" + }, + "value": { + "const": "commercial.community.cemetary.crematorium", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Chapel Of Rest", + "type": "string" + }, + "value": { + "const": "commercial.community.cemetary.chapelOfRest", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Cemetery", + "type": "string" + }, + "value": { + "const": "commercial.community.cemetary.cemetary", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Military Cemetery", + "type": "string" + }, + "value": { + "const": "commercial.community.cemetary.military", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Mortuary", + "type": "string" + }, + "value": { + "const": "commercial.community.cemetary.mortuary", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Church Hall / Religious Meeting Place / Hall", + "type": "string" + }, + "value": { + "const": "commercial.community.religious", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Community Service Centre / Office", + "type": "string" + }, + "value": { + "const": "commercial.community.services", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Public Household Waste Recycling Centre (HWRC)", + "type": "string" + }, + "value": { + "const": "commercial.community.HWRC", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Recycling Site", + "type": "string" + }, + "value": { + "const": "commercial.community.recycling", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "CCTV", + "type": "string" + }, + "value": { + "const": "commercial.community.CCTV", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Job Centre", + "type": "string" + }, + "value": { + "const": "commercial.community.employment", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Education", + "type": "string" + }, + "value": { + "const": "commercial.education", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "College", + "type": "string" + }, + "value": { + "const": "commercial.education.college", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Further Education", + "type": "string" + }, + "value": { + "const": "commercial.education.college.further", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Higher Education", + "type": "string" + }, + "value": { + "const": "commercial.education.college.higher", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Children's Nursery / Crèche", + "type": "string" + }, + "value": { + "const": "commercial.education.nursery", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Preparatory / First / Primary / Infant / Junior / Middle School", + "type": "string" + }, + "value": { + "const": "commercial.education.school", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "First School", + "type": "string" + }, + "value": { + "const": "commercial.education.school.first", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Infant School", + "type": "string" + }, + "value": { + "const": "commercial.education.school.infant", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Junior School", + "type": "string" + }, + "value": { + "const": "commercial.education.school.junior", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Middle School", + "type": "string" + }, + "value": { + "const": "commercial.education.school.middle", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Non State Primary / Preparatory School", + "type": "string" + }, + "value": { + "const": "commercial.education.school.primary.private", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Primary School", + "type": "string" + }, + "value": { + "const": "commercial.education.school.primary.state", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Secondary / High School", + "type": "string" + }, + "value": { + "const": "commercial.education.secondarySchool", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Non State Secondary School", + "type": "string" + }, + "value": { + "const": "commercial.education.secondarySchool.private", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Secondary School", + "type": "string" + }, + "value": { + "const": "commercial.education.secondarySchool.state", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "University", + "type": "string" + }, + "value": { + "const": "commercial.education.university", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Special Needs Establishment.", + "type": "string" + }, + "value": { + "const": "commercial.education.specialNeeds", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Other Educational Establishment", + "type": "string" + }, + "value": { + "const": "commercial.education.other", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Hotel / Motel / Boarding / Guest House", + "type": "string" + }, + "value": { + "const": "commercial.guest", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Boarding / Guest House / Bed And Breakfast / Youth Hostel", + "type": "string" + }, + "value": { + "const": "commercial.guest.hostel", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Youth Hostel", + "type": "string" + }, + "value": { + "const": "commercial.guest.hostel.youth", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Holiday Let/Accomodation/Short-Term Let Other Than CH01", + "type": "string" + }, + "value": { + "const": "commercial.guest.shortLet", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Hotel/Motel", + "type": "string" + }, + "value": { + "const": "commercial.guest.hotel", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Industrial Applicable to manufacturing, engineering, maintenance, storage / wholesale distribution and extraction sites", + "type": "string" + }, + "value": { + "const": "commercial.industrial", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Factory/Manufacturing", + "type": "string" + }, + "value": { + "const": "commercial.industrial.manufacturing", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Aircraft Works", + "type": "string" + }, + "value": { + "const": "commercial.industrial.manufacturing.aircraft", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Boat Building", + "type": "string" + }, + "value": { + "const": "commercial.industrial.manufacturing.boats", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Brick Works", + "type": "string" + }, + "value": { + "const": "commercial.industrial.manufacturing.bricks", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Brewery", + "type": "string" + }, + "value": { + "const": "commercial.industrial.manufacturing.beer", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Cider Manufacture", + "type": "string" + }, + "value": { + "const": "commercial.industrial.manufacturing.cider", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Chemical Works", + "type": "string" + }, + "value": { + "const": "commercial.industrial.manufacturing.chemicals", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Cement Works", + "type": "string" + }, + "value": { + "const": "commercial.industrial.manufacturing.cement", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Dairy Processing", + "type": "string" + }, + "value": { + "const": "commercial.industrial.manufacturing.dairy", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Distillery", + "type": "string" + }, + "value": { + "const": "commercial.industrial.manufacturing.distillery", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Flour Mill", + "type": "string" + }, + "value": { + "const": "commercial.industrial.manufacturing.flour", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Food Processing", + "type": "string" + }, + "value": { + "const": "commercial.industrial.manufacturing.food", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Glassworks", + "type": "string" + }, + "value": { + "const": "commercial.industrial.manufacturing.glass", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Manufacturing", + "type": "string" + }, + "value": { + "const": "commercial.industrial.manufacturing.other", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Oast House", + "type": "string" + }, + "value": { + "const": "commercial.industrial.manufacturing.hops", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Oil Refining", + "type": "string" + }, + "value": { + "const": "commercial.industrial.manufacturing.oil", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Pottery Manufacturing", + "type": "string" + }, + "value": { + "const": "commercial.industrial.manufacturing.pottery", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Paper Mill", + "type": "string" + }, + "value": { + "const": "commercial.industrial.manufacturing.paper", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Printing Works", + "type": "string" + }, + "value": { + "const": "commercial.industrial.manufacturing.printing", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Sugar Refinery", + "type": "string" + }, + "value": { + "const": "commercial.industrial.manufacturing.sugar", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Steel Works", + "type": "string" + }, + "value": { + "const": "commercial.industrial.manufacturing.steel", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Timber Mill", + "type": "string" + }, + "value": { + "const": "commercial.industrial.manufacturing.timber", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Winery", + "type": "string" + }, + "value": { + "const": "commercial.industrial.manufacturing.wine", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Shipyard", + "type": "string" + }, + "value": { + "const": "commercial.industrial.manufacturing.ships", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Mineral / Ore Working / Quarry / Mine", + "type": "string" + }, + "value": { + "const": "commercial.industrial.extraction", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Mineral Mining / Active", + "type": "string" + }, + "value": { + "const": "commercial.industrial.extraction.mining", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Mineral Distribution / Storage", + "type": "string" + }, + "value": { + "const": "commercial.industrial.extraction.distribution", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Mineral Processing", + "type": "string" + }, + "value": { + "const": "commercial.industrial.extraction.processing", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Oil / Gas Extraction / Active", + "type": "string" + }, + "value": { + "const": "commercial.industrial.extraction.oilGas", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Mineral Quarrying / Open Extraction / Active", + "type": "string" + }, + "value": { + "const": "commercial.industrial.extraction.quarrying", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Workshop / Light Industrial", + "type": "string" + }, + "value": { + "const": "commercial.industrial.light", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Servicing Garage", + "type": "string" + }, + "value": { + "const": "commercial.industrial.light.garage", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Warehouse / Store / Storage Depot", + "type": "string" + }, + "value": { + "const": "commercial.industrial.light.storage", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Crop Handling / Storage", + "type": "string" + }, + "value": { + "const": "commercial.industrial.light.storage.crops", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Postal Sorting / Distribution", + "type": "string" + }, + "value": { + "const": "commercial.industrial.light.storage.post", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Solid Fuel Storage", + "type": "string" + }, + "value": { + "const": "commercial.industrial.light.storage.solidFuel", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Timber Storage", + "type": "string" + }, + "value": { + "const": "commercial.industrial.light.storage.timber", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Wholesale Distribution", + "type": "string" + }, + "value": { + "const": "commercial.industrial.distribution", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Solid Fuel Distribution", + "type": "string" + }, + "value": { + "const": "commercial.industrial.distribution.solidFueld", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Timber Distribution", + "type": "string" + }, + "value": { + "const": "commercial.industrial.distribution.timber", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Recycling Plant", + "type": "string" + }, + "value": { + "const": "commercial.industrial.recycling", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Incinerator / Waste Transfer Station", + "type": "string" + }, + "value": { + "const": "commercial.industrial.incineration", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Maintenance Depot", + "type": "string" + }, + "value": { + "const": "commercial.industrial.maintenanceDepot", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Leisure - Applicable to recreational sites and enterprises", + "type": "string" + }, + "value": { + "const": "commercial.leisure", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Amusements", + "type": "string" + }, + "value": { + "const": "commercial.leisure.amusements", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Leisure Pier", + "type": "string" + }, + "value": { + "const": "commercial.leisure.amusements.pier", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Holiday / Campsite", + "type": "string" + }, + "value": { + "const": "commercial.leisure.holiday", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Camping", + "type": "string" + }, + "value": { + "const": "commercial.leisure.holiday.camping", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Caravanning", + "type": "string" + }, + "value": { + "const": "commercial.leisure.holiday.caravanning", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Holiday Accommodation", + "type": "string" + }, + "value": { + "const": "commercial.leisure.holiday.accommodation", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Holiday Centre", + "type": "string" + }, + "value": { + "const": "commercial.leisure.holiday.centre", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Youth Organisation Camp", + "type": "string" + }, + "value": { + "const": "commercial.leisure.holiday.youth", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Library", + "type": "string" + }, + "value": { + "const": "commercial.leisure.library", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Reading Room", + "type": "string" + }, + "value": { + "const": "commercial.leisure.library.readingRoom", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Museum / Gallery", + "type": "string" + }, + "value": { + "const": "commercial.leisure.museum", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Art Centre / Gallery", + "type": "string" + }, + "value": { + "const": "commercial.leisure.museum.art", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Aviation Museum", + "type": "string" + }, + "value": { + "const": "commercial.leisure.museum.aviation", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Heritage Centre", + "type": "string" + }, + "value": { + "const": "commercial.leisure.museum.heritage", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Industrial Museum", + "type": "string" + }, + "value": { + "const": "commercial.leisure.museum.industrial", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Military Museum", + "type": "string" + }, + "value": { + "const": "commercial.leisure.museum.military", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Maritime Museum", + "type": "string" + }, + "value": { + "const": "commercial.leisure.museum.maritime", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Science Museum", + "type": "string" + }, + "value": { + "const": "commercial.leisure.museum.science", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Transport Museum", + "type": "string" + }, + "value": { + "const": "commercial.leisure.museum.transport", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Indoor / Outdoor Leisure / Sporting Activity / Centre", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Athletics Facility", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.athletics", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Bowls Facility", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.bowls", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Cricket Facility", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.cricket", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Curling Facility", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.curling", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Diving / Swimming Facility", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.swimming", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Equestrian Sports Facility", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.equestrian", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Football Facility", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.football", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Fishing / Angling Facility", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.fishing", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Golf Facility", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.golf", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Gliding Facility", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.gliding", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Greyhound Racing Facility", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.dogracing", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Hockey Facility", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.hockey", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Horse Racing Facility", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.horseracing", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Historic Vessel / Aircraft / Vehicle", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.historicVehicles", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Activity / Leisure / Sports Centre", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.centre", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Model Sports Facility", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.model", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Motor Sports Facility", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.motor", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Playing Field", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.playingField", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Racquet Sports Facility", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.racquet", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Rugby Facility", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.rugby", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Recreation Ground", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.recreationGround", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Shinty Facility", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.shinty", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Skateboarding Facility", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.skateboarding", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Civilian Firing Facility", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.firing", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Tenpin Bowling Facility", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.tenpin", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Public Tennis Court", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.tennis", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Water Sports Facility", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.water", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Winter Sports Facility", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.winter", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Wildlife Sports Facility", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.wildlife", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Cycling Sports Facility", + "type": "string" + }, + "value": { + "const": "commercial.leisure.sport.cycling", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Bingo Hall / Cinema / Conference / Exhibition Centre / Theatre / Concert Hall", + "type": "string" + }, + "value": { + "const": "commercial.leisure.entertainment", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Cinema", + "type": "string" + }, + "value": { + "const": "commercial.leisure.entertainment.cinema", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Entertainment Complex", + "type": "string" + }, + "value": { + "const": "commercial.leisure.entertainment.mixed", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Conference / Exhibition Centre", + "type": "string" + }, + "value": { + "const": "commercial.leisure.entertainment.exhibition", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Theatre", + "type": "string" + }, + "value": { + "const": "commercial.leisure.entertainment.theatre", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Zoo / Theme Park", + "type": "string" + }, + "value": { + "const": "commercial.leisure.park.zoo", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Amusement Park", + "type": "string" + }, + "value": { + "const": "commercial.leisure.park.amusement", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Aquatic Attraction", + "type": "string" + }, + "value": { + "const": "commercial.leisure.park.aquatic", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Model Village Site", + "type": "string" + }, + "value": { + "const": "commercial.leisure.park.model", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Wildlife / Zoological Park", + "type": "string" + }, + "value": { + "const": "commercial.leisure.park.wildlife", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Beach Hut (Recreational, Non-Residential Use Only)", + "type": "string" + }, + "value": { + "const": "commercial.leisure.beachHut", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Licensed Private Members' Club", + "type": "string" + }, + "value": { + "const": "commercial.leisure.club.private", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Recreational / Social Club", + "type": "string" + }, + "value": { + "const": "commercial.leisure.club.social", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Arena / Stadium", + "type": "string" + }, + "value": { + "const": "commercial.leisure.arena", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Stadium", + "type": "string" + }, + "value": { + "const": "commercial.leisure.arena.stadium", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Showground", + "type": "string" + }, + "value": { + "const": "commercial.leisure.arena.showground", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Medical", + "type": "string" + }, + "value": { + "const": "commercial.medical", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Dentist", + "type": "string" + }, + "value": { + "const": "commercial.medical.dentist", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "General Practice Surgery / Clinic", + "type": "string" + }, + "value": { + "const": "commercial.medical.GP", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Health Centre", + "type": "string" + }, + "value": { + "const": "commercial.medical.healthCentre", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Health Care Services", + "type": "string" + }, + "value": { + "const": "commercial.medical.healthServices", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Hospital / Hospice", + "type": "string" + }, + "value": { + "const": "commercial.medical.care", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Care home/Hospice", + "type": "string" + }, + "value": { + "const": "commercial.medical.care.home", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Hospital", + "type": "string" + }, + "value": { + "const": "commercial.medical.care.hospital", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Medical / Testing / Research Laboratory", + "type": "string" + }, + "value": { + "const": "commercial.medical.lab", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Professional Medical Service", + "type": "string" + }, + "value": { + "const": "commercial.medical.professional", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Assessment / Development Services", + "type": "string" + }, + "value": { + "const": "commercial.medical.assessment", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Animal Centre", + "type": "string" + }, + "value": { + "const": "commercial.animals", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Cattery / Kennel", + "type": "string" + }, + "value": { + "const": "commercial.animals.kennelsCattery", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Animal Services", + "type": "string" + }, + "value": { + "const": "commercial.animals.services", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Animal Quarantining", + "type": "string" + }, + "value": { + "const": "commercial.animals.services.quarantine", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Equestrian", + "type": "string" + }, + "value": { + "const": "commercial.animals.equestrian", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Horse Racing / Breeding Stable", + "type": "string" + }, + "value": { + "const": "commercial.animals.equestrian.racing", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Commercial Stabling / Riding", + "type": "string" + }, + "value": { + "const": "commercial.animals.equestrian.riding", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Vet / Animal Medical Treatment", + "type": "string" + }, + "value": { + "const": "commercial.animals.vet", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Animal / Bird / Marine Sanctuary", + "type": "string" + }, + "value": { + "const": "commercial.animals.sanctuary", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Animal Sanctuary", + "type": "string" + }, + "value": { + "const": "commercial.animals.sanctuary.animals", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Marine Sanctuary", + "type": "string" + }, + "value": { + "const": "commercial.animals.sanctuary.marine", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Office", + "type": "string" + }, + "value": { + "const": "commercial.office", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Office / Work Studio", + "type": "string" + }, + "value": { + "const": "commercial.office.workspace", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Embassy /, High Commission / Consulate", + "type": "string" + }, + "value": { + "const": "commercial.office.workspace.embassy", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Film Studio", + "type": "string" + }, + "value": { + "const": "commercial.office.workspace.film", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Central Government Service", + "type": "string" + }, + "value": { + "const": "commercial.office.workspace.gov.national", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Local Government Service", + "type": "string" + }, + "value": { + "const": "commercial.office.workspace.gov.local", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Broadcasting (TV / Radio)", + "type": "string" + }, + "value": { + "const": "commercial.office.broadcasting", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Retail", + "type": "string" + }, + "value": { + "const": "commercial.retail", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Bank / Financial Service", + "type": "string" + }, + "value": { + "const": "commercial.retail.financial", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Retail Service Agent", + "type": "string" + }, + "value": { + "const": "commercial.retail.services", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Post Office", + "type": "string" + }, + "value": { + "const": "commercial.retail.post", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Market (Indoor / Outdoor)", + "type": "string" + }, + "value": { + "const": "commercial.retail.market", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Fish Market", + "type": "string" + }, + "value": { + "const": "commercial.retail.market.fish", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Fruit / Vegetable Market", + "type": "string" + }, + "value": { + "const": "commercial.retail.market.fruit", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Livestock Market", + "type": "string" + }, + "value": { + "const": "commercial.retail.market.livestock", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Petrol Filling Station", + "type": "string" + }, + "value": { + "const": "commercial.retail.fuel", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Public House / Bar / Nightclub", + "type": "string" + }, + "value": { + "const": "commercial.retail.drinking", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Restaurant / Cafeteria", + "type": "string" + }, + "value": { + "const": "commercial.retail.restaurant", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Shop / Showroom", + "type": "string" + }, + "value": { + "const": "commercial.retail.showroom", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Shop", + "type": "string" + }, + "value": { + "const": "commercial.retail.shop", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Garden Centre", + "type": "string" + }, + "value": { + "const": "commercial.retail.shop.gardenCentre", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Other Licensed Premise / Vendor", + "type": "string" + }, + "value": { + "const": "commercial.retail.licensedPremises", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Fast Food Outlet / Takeaway (Hot / Cold)", + "type": "string" + }, + "value": { + "const": "commercial.retail.takeaway", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Automated Teller Machine (ATM)", + "type": "string" + }, + "value": { + "const": "commercial.retail.atm", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Storage Land", + "type": "string" + }, + "value": { + "const": "commercial.storageLand", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "General Storage Land", + "type": "string" + }, + "value": { + "const": "commercial.storageLand.general", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Builders' Yard", + "type": "string" + }, + "value": { + "const": "commercial.storageLand.building", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Transport", + "type": "string" + }, + "value": { + "const": "commercial.transport", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Airfield / Airstrip / Airport / Air Transport Infrastructure Facility", + "type": "string" + }, + "value": { + "const": "commercial.transport.air", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Airfield", + "type": "string" + }, + "value": { + "const": "commercial.transport.air.airfield", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Air Transport Infrastructure Services", + "type": "string" + }, + "value": { + "const": "commercial.transport.air.infrastructure", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Airport", + "type": "string" + }, + "value": { + "const": "commercial.transport.air.airport", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Air Passenger Terminal", + "type": "string" + }, + "value": { + "const": "commercial.transport.air.passengerTerminal", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Helicopter Station", + "type": "string" + }, + "value": { + "const": "commercial.transport.air.helicopterStation", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Heliport / Helipad", + "type": "string" + }, + "value": { + "const": "commercial.transport.air.heliport", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Bus Shelter", + "type": "string" + }, + "value": { + "const": "commercial.transport.bus", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Car / Coach / Commercial Vehicle / Taxi Parking / Park And Ride Site", + "type": "string" + }, + "value": { + "const": "commercial.transport.parking", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Public Park And Ride", + "type": "string" + }, + "value": { + "const": "commercial.transport.parking.parkAndRide", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Public Car Parking", + "type": "string" + }, + "value": { + "const": "commercial.transport.parking.car", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Public Coach Parking", + "type": "string" + }, + "value": { + "const": "commercial.transport.parking.coach", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Public Commercial Vehicle Parking", + "type": "string" + }, + "value": { + "const": "commercial.transport.parking.commercialVehicle", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Goods Freight Handling / Terminal", + "type": "string" + }, + "value": { + "const": "commercial.transport.freight", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Air Freight Terminal", + "type": "string" + }, + "value": { + "const": "commercial.transport.freight.air", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Container Freight", + "type": "string" + }, + "value": { + "const": "commercial.transport.freight.container", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Road Freight Transport", + "type": "string" + }, + "value": { + "const": "commercial.transport.freight.road", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Rail Freight Transport", + "type": "string" + }, + "value": { + "const": "commercial.transport.freight.rail", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Marina", + "type": "string" + }, + "value": { + "const": "commercial.transport.marina", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Mooring", + "type": "string" + }, + "value": { + "const": "commercial.transport.mooring", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Railway Asset", + "type": "string" + }, + "value": { + "const": "commercial.transport.railAsset", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Station / Interchange / Terminal / Halt", + "type": "string" + }, + "value": { + "const": "commercial.transport.terminal", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Bus station", + "type": "string" + }, + "value": { + "const": "commercial.transport.terminal.bus", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Train station", + "type": "string" + }, + "value": { + "const": "commercial.transport.terminal.train", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Vehicular Rail Terminal", + "type": "string" + }, + "value": { + "const": "commercial.transport.terminal.vehicularRail", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Transport Track / Way", + "type": "string" + }, + "value": { + "const": "commercial.transport.track", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Cliff Railway", + "type": "string" + }, + "value": { + "const": "commercial.transport.track.cliff", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Chair Lift / Cable Car / Ski Tow", + "type": "string" + }, + "value": { + "const": "commercial.transport.track.cable", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Monorail", + "type": "string" + }, + "value": { + "const": "commercial.transport.track.monorail", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Vehicle Storage", + "type": "string" + }, + "value": { + "const": "commercial.transport.storage", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Boat Storage", + "type": "string" + }, + "value": { + "const": "commercial.transport.storage.boat", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Bus / Coach Depot", + "type": "string" + }, + "value": { + "const": "commercial.transport.storage.bus", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Transport Related Infrastructure", + "type": "string" + }, + "value": { + "const": "commercial.transport.infrastructure", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Aqueduct", + "type": "string" + }, + "value": { + "const": "commercial.transport.infrastructure.aqueduct", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Lock", + "type": "string" + }, + "value": { + "const": "commercial.transport.infrastructure.lock", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Weir", + "type": "string" + }, + "value": { + "const": "commercial.transport.infrastructure.weir", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Weighbridge / Load Gauge", + "type": "string" + }, + "value": { + "const": "commercial.transport.infrastructure.weighing", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Overnight Lorry Park", + "type": "string" + }, + "value": { + "const": "commercial.transport.overnightLorryPark", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Harbour / Port / Dock / Dockyard / Slipway / Landing Stage / Pier / Jetty / Pontoon / Terminal / Berthing / Quay", + "type": "string" + }, + "value": { + "const": "commercial.transport.dock", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Passenger Ferry Terminal", + "type": "string" + }, + "value": { + "const": "commercial.transport.dock.ferry.passengers", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Non-Tanker Nautical Berthing", + "type": "string" + }, + "value": { + "const": "commercial.transport.dock.generalBerth", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Nautical Refuelling Facility", + "type": "string" + }, + "value": { + "const": "commercial.transport.dock.refuelling", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Slipway", + "type": "string" + }, + "value": { + "const": "commercial.transport.dock.slipway", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Ship Passenger Terminal", + "type": "string" + }, + "value": { + "const": "commercial.transport.dock.passenger", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Tanker Berthing", + "type": "string" + }, + "value": { + "const": "commercial.transport.dock.tankerBerth", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Vehicular Ferry Terminal", + "type": "string" + }, + "value": { + "const": "commercial.transport.dock.ferry.vehicles", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Utility", + "type": "string" + }, + "value": { + "const": "commercial.utility", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Electricity Sub-Station", + "type": "string" + }, + "value": { + "const": "commercial.utility.SubStation", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Landfill", + "type": "string" + }, + "value": { + "const": "commercial.utility.landfill", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Power Station / Energy Production", + "type": "string" + }, + "value": { + "const": "commercial.utility.electricity", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Electricity Distribution Facility", + "type": "string" + }, + "value": { + "const": "commercial.utility.electricity.distribution", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Electricity Production Facility", + "type": "string" + }, + "value": { + "const": "commercial.utility.electricity.production", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Wind Farm", + "type": "string" + }, + "value": { + "const": "commercial.utility.electricity.windFarm", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Wind Turbine", + "type": "string" + }, + "value": { + "const": "commercial.utility.electricity.windTurbine", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Pump House / Pumping Station / Water Tower", + "type": "string" + }, + "value": { + "const": "commercial.utility.water", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Water Controlling / Pumping", + "type": "string" + }, + "value": { + "const": "commercial.utility.water.pump.control", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Water Distribution / Pumping", + "type": "string" + }, + "value": { + "const": "commercial.utility.water.pump.distribution", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Water Quality Monitoring", + "type": "string" + }, + "value": { + "const": "commercial.utility.water.qualityMonitoring", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Water Storage", + "type": "string" + }, + "value": { + "const": "commercial.utility.water.storage", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Waste Water Distribution / Pumping", + "type": "string" + }, + "value": { + "const": "commercial.utility.water.waste", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Telecommunication", + "type": "string" + }, + "value": { + "const": "commercial.utility.telecoms", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Telecommunications Mast", + "type": "string" + }, + "value": { + "const": "commercial.utility.telecoms.mast", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Telephone Exchange", + "type": "string" + }, + "value": { + "const": "commercial.utility.telecoms.exhange", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Water / Waste Water / Sewage Treatment Works", + "type": "string" + }, + "value": { + "const": "commercial.utility.waterTreatment", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Waste Water Treatment", + "type": "string" + }, + "value": { + "const": "commercial.utility.waterTreatment.waste", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Water Treatment", + "type": "string" + }, + "value": { + "const": "commercial.utility.waterTreatment.water", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Gas / Oil Storage / Distribution", + "type": "string" + }, + "value": { + "const": "commercial.utility.oilGas", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Gas Governor", + "type": "string" + }, + "value": { + "const": "commercial.utility.oilGas.gasGovernor", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Gas Holder", + "type": "string" + }, + "value": { + "const": "commercial.utility.oilGas.gasHolder", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Oil Terminal", + "type": "string" + }, + "value": { + "const": "commercial.utility.oilGas.oilTerminal", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Other Utility Use", + "type": "string" + }, + "value": { + "const": "commercial.utility.other", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Cable Terminal Station", + "type": "string" + }, + "value": { + "const": "commercial.utility.other.cableTerminal", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Observatory", + "type": "string" + }, + "value": { + "const": "commercial.utility.other.observatory", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Radar Station", + "type": "string" + }, + "value": { + "const": "commercial.utility.other.radar", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Satellite Earth Station", + "type": "string" + }, + "value": { + "const": "commercial.utility.other.satelliteEarth", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Waste Management", + "type": "string" + }, + "value": { + "const": "commercial.utility.wasteManagement", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Telephone Box", + "type": "string" + }, + "value": { + "const": "commercial.utility.publicPhone.box", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Other Public Telephones", + "type": "string" + }, + "value": { + "const": "commercial.utility.publicPhone.other", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Dam", + "type": "string" + }, + "value": { + "const": "commercial.utility.dam", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Emergency / Rescue Service", + "type": "string" + }, + "value": { + "const": "commercial.emergency", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Nautical Navigation Beacon / Light", + "type": "string" + }, + "value": { + "const": "other.navigation.nautical.beacon", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Aid To Road Navigation", + "type": "string" + }, + "value": { + "const": "other.navigation.road", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Guide Post", + "type": "string" + }, + "value": { + "const": "other.navigation.guidePost", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Coastal Protection / Flood Prevention", + "type": "string" + }, + "value": { + "const": "other.coastal", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Boulder Wall / Sea Wall", + "type": "string" + }, + "value": { + "const": "other.coastal.wall", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Flood Gate / Flood Sluice Gate / Flood Valve", + "type": "string" + }, + "value": { + "const": "other.coastal.floodGate", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Groyne", + "type": "string" + }, + "value": { + "const": "other.coastal.groyne", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Rip-Rap", + "type": "string" + }, + "value": { + "const": "other.coastal.ripRap", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Emergency Support", + "type": "string" + }, + "value": { + "const": "other.emergency", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Beach Office / First Aid Facility", + "type": "string" + }, + "value": { + "const": "other.emergency.firstAid", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Emergency Telephone (Non Motorway)", + "type": "string" + }, + "value": { + "const": "other.emergency.telephone", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Fire Alarm Structure / Fire Observation Tower / Fire Beater Facility", + "type": "string" + }, + "value": { + "const": "other.emergency.fire", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Emergency Equipment Point / Emergency Siren / Warning Flag", + "type": "string" + }, + "value": { + "const": "other.emergency.warning", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Lifeguard Facility", + "type": "string" + }, + "value": { + "const": "other.emergency.lifeguard", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "LIfe / Belt / Buoy / Float / Jacket / Safety Rope", + "type": "string" + }, + "value": { + "const": "other.emergency.floatAids", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Street Furniture", + "type": "string" + }, + "value": { + "const": "other.streetFurniture", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Agricultural Support Objects", + "type": "string" + }, + "value": { + "const": "other.agriculture", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Fish Ladder / Lock / Pen / Trap", + "type": "string" + }, + "value": { + "const": "other.agriculture.fishPen", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Livestock Pen / Dip", + "type": "string" + }, + "value": { + "const": "other.agriculture.livestockPen", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Currick", + "type": "string" + }, + "value": { + "const": "other.agriculture.currick", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Slurry Bed / Pit", + "type": "string" + }, + "value": { + "const": "other.agriculture.slurry", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Historical Site / Object", + "type": "string" + }, + "value": { + "const": "other.historic", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Historic Structure / Object", + "type": "string" + }, + "value": { + "const": "other.historic.structure", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Industrial Support", + "type": "string" + }, + "value": { + "const": "other.industrial", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Adit / Incline / Level", + "type": "string" + }, + "value": { + "const": "other.industrial.aditIncline", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Caisson / Dry Dock / Grid", + "type": "string" + }, + "value": { + "const": "other.industrial.caissonDock", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Channel / Conveyor / Conduit / Pipe", + "type": "string" + }, + "value": { + "const": "other.industrial.channel", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Chimney / Flue", + "type": "string" + }, + "value": { + "const": "other.industrial.chimney", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Crane / Hoist / Winch / Material Elevator", + "type": "string" + }, + "value": { + "const": "other.industrial.crane", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Flare Stack", + "type": "string" + }, + "value": { + "const": "other.industrial.flareStack", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Hopper / Silo / Cistern / Tank", + "type": "string" + }, + "value": { + "const": "other.industrial.siloTank", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Grab / Skip / Other Industrial Waste Machinery / Discharging", + "type": "string" + }, + "value": { + "const": "other.industrial.discharge", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Kiln / Oven / Smelter", + "type": "string" + }, + "value": { + "const": "other.industrial.kiln", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Manhole / Shaft", + "type": "string" + }, + "value": { + "const": "other.industrial.manholeShaft", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Industrial Overflow / Sluice / Valve / Valve Housing", + "type": "string" + }, + "value": { + "const": "other.industrial.overflowSluiceValve", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Cooling Tower", + "type": "string" + }, + "value": { + "const": "other.industrial.coolingTower", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Solar Panel / Waterwheel", + "type": "string" + }, + "value": { + "const": "other.industrial.solarPanel", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Telephone Pole / Post", + "type": "string" + }, + "value": { + "const": "other.industrial.pylon.telecom", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Electricity Distribution Pole / Pylon", + "type": "string" + }, + "value": { + "const": "other.industrial.pylon.electricity", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Significant Natural Object", + "type": "string" + }, + "value": { + "const": "other.natural", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Boundary / Significant / Historic Tree / Pollard", + "type": "string" + }, + "value": { + "const": "other.natural.tree", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Boundary / Significant Rock / Boulder", + "type": "string" + }, + "value": { + "const": "other.natural.rock", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Natural Hole (Blow / Shake / Swallow)", + "type": "string" + }, + "value": { + "const": "other.natural.hole", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Ornamental / Cultural Object", + "type": "string" + }, + "value": { + "const": "other.ornamental", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Mausoleum / Tomb / Grave", + "type": "string" + }, + "value": { + "const": "other.ornamental.tomb", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Simple Ornamental Object", + "type": "string" + }, + "value": { + "const": "other.ornamental.object", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Maze", + "type": "string" + }, + "value": { + "const": "other.ornamental.maze", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Sport / Leisure Support", + "type": "string" + }, + "value": { + "const": "other.leisure", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Butt / Hide", + "type": "string" + }, + "value": { + "const": "other.leisure.hide", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Gallop / Ride", + "type": "string" + }, + "value": { + "const": "other.leisure.gallop", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Miniature Railway", + "type": "string" + }, + "value": { + "const": "other.leisure.modelRailway", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Royal Mail Infrastructure", + "type": "string" + }, + "value": { + "const": "other.mail", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Postal Box", + "type": "string" + }, + "value": { + "const": "other.mail.postBox", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Postal Delivery Box / Pouch", + "type": "string" + }, + "value": { + "const": "other.mail.deliveryBox", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "PO Box", + "type": "string" + }, + "value": { + "const": "other.mail.POBox", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Additional Mail / Packet Addressee", + "type": "string" + }, + "value": { + "const": "other.mail.additionalAddressee", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Scientific / Observation Support", + "type": "string" + }, + "value": { + "const": "other.scientific", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Meteorological Station / Equipment", + "type": "string" + }, + "value": { + "const": "other.scientific.meteo", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Radar / Satellite Infrastructure", + "type": "string" + }, + "value": { + "const": "other.scientific.radarSatellite", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Telescope / Observation Infrastructure / Astronomy", + "type": "string" + }, + "value": { + "const": "other.scientific.astronomy", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Transport Support", + "type": "string" + }, + "value": { + "const": "other.transport", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Cattle Grid / Ford", + "type": "string" + }, + "value": { + "const": "other.transport.cattleGridFord", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Elevator / Escalator / Steps", + "type": "string" + }, + "value": { + "const": "other.transport.stepsLiftEscalator", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Footbridge / Walkway", + "type": "string" + }, + "value": { + "const": "other.transport.bridge", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Pole / Post / Bollard (Restricting Vehicular Access)", + "type": "string" + }, + "value": { + "const": "other.transport.post", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Subway / Underpass", + "type": "string" + }, + "value": { + "const": "other.transport.subway", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Customs Inspection Facility", + "type": "string" + }, + "value": { + "const": "other.transport.customs", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Lay-By", + "type": "string" + }, + "value": { + "const": "other.transport.layby", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Level Crossing", + "type": "string" + }, + "value": { + "const": "other.transport.rail.crossing.vehicles", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Mail Pick Up", + "type": "string" + }, + "value": { + "const": "other.transport.mailPickUp", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Railway Pedestrian Crossing", + "type": "string" + }, + "value": { + "const": "other.transport.rail.crossing.pedestrian", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Railway Buffer", + "type": "string" + }, + "value": { + "const": "other.transport.rail.buffer", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Rail Drag", + "type": "string" + }, + "value": { + "const": "other.transport.rail.drag", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Rail Infrastructure Services", + "type": "string" + }, + "value": { + "const": "other.transport.rail.infrastructure", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Rail Kilometre Distance Marker", + "type": "string" + }, + "value": { + "const": "other.transport.rail.marker.km", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Railway Lighting", + "type": "string" + }, + "value": { + "const": "other.transport.rail.lighting", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Rail Mile Distance Marker", + "type": "string" + }, + "value": { + "const": "other.transport.rail.market.mile", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Railway Turntable", + "type": "string" + }, + "value": { + "const": "other.transport.rail.turntable", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Rail Weighbridge", + "type": "string" + }, + "value": { + "const": "other.transport.rail.weighbridge", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Rail Signalling", + "type": "string" + }, + "value": { + "const": "other.transport.rail.signals", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Railway Traverse", + "type": "string" + }, + "value": { + "const": "other.transport.rail.traverse", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Goods Tramway", + "type": "string" + }, + "value": { + "const": "other.transport.goodsTramway", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Road Drag", + "type": "string" + }, + "value": { + "const": "other.transport.road.drag", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Vehicle Dip", + "type": "string" + }, + "value": { + "const": "other.transport.road.vehicleDip", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Road Turntable", + "type": "string" + }, + "value": { + "const": "other.transport.road.turntable", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Road Mile Distance Marker", + "type": "string" + }, + "value": { + "const": "other.transport.road.marker.mile", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Road Kilometre Distance Marker", + "type": "string" + }, + "value": { + "const": "other.transport.road.market.km", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Road Infrastructure Services", + "type": "string" + }, + "value": { + "const": "other.transport.road.infrastructure", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Unsupported Site", + "type": "string" + }, + "value": { + "const": "other.unsupported", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Cycle Parking Facility", + "type": "string" + }, + "value": { + "const": "other.unsupported.cycleParking", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Picnic / Barbeque Site", + "type": "string" + }, + "value": { + "const": "other.unsupported.picnic", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Travelling Persons Site", + "type": "string" + }, + "value": { + "const": "other.unsupported.travellingPersons", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Shelter (Not Including Bus Shelter)", + "type": "string" + }, + "value": { + "const": "other.unsupported.shelter", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Street Record", + "type": "string" + }, + "value": { + "const": "parent.street", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Residential", + "type": "string" + }, + "value": { + "const": "residential", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Ancillary Building", + "type": "string" + }, + "value": { + "const": "residential.building", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Car Park Space", + "type": "string" + }, + "value": { + "const": "residential.carParkingSpace", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Allocated Parking", + "type": "string" + }, + "value": { + "const": "residential.carParkingSpace.allocated", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Residential dwelling", + "type": "string" + }, + "value": { + "const": "residential.dwelling", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Caravan", + "type": "string" + }, + "value": { + "const": "residential.dwelling.caravan", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Detached", + "type": "string" + }, + "value": { + "const": "residential.dwelling.house.detached", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Semi-detached", + "type": "string" + }, + "value": { + "const": "residential.dwelling.house.semiDetached", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Terrace", + "type": "string" + }, + "value": { + "const": "residential.dwelling.house.terrace", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Flat", + "type": "string" + }, + "value": { + "const": "residential.dwelling.flat", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "House Boat", + "type": "string" + }, + "value": { + "const": "residential.dwelling.boat", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Sheltered Accommodation", + "type": "string" + }, + "value": { + "const": "residential.dwelling.shelteredAccommodation", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Privately Owned Holiday Caravan / Chalet", + "type": "string" + }, + "value": { + "const": "residential.dwelling.holiday", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Garage", + "type": "string" + }, + "value": { + "const": "residential.garage", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Lock-Up Garage / Garage Court", + "type": "string" + }, + "value": { + "const": "residential.garage.court", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "House In Multiple Occupation", + "type": "string" + }, + "value": { + "const": "residential.HMO", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "HMO Parent", + "type": "string" + }, + "value": { + "const": "residential.HMO.parent", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "HMO Bedsit / Other Non Self Contained Accommodation", + "type": "string" + }, + "value": { + "const": "residential.HMO.bedsit", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "HMO Not Further Divided", + "type": "string" + }, + "value": { + "const": "residential.HMO.undivided", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Residential Institution", + "type": "string" + }, + "value": { + "const": "residential.institution", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Care / Nursing Home", + "type": "string" + }, + "value": { + "const": "residential.institution.care", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Communal Residence", + "type": "string" + }, + "value": { + "const": "residential.institution.communal", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Non-Commercial Lodgings", + "type": "string" + }, + "value": { + "const": "residential.institution.noncommercial", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Religious Community", + "type": "string" + }, + "value": { + "const": "residential.institution.religious", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Residential Education", + "type": "string" + }, + "value": { + "const": "residential.institution.education", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Unclassified", + "type": "string" + }, + "value": { + "const": "unclassified", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Awaiting Classification", + "type": "string" + }, + "value": { + "const": "unclassified.awaitingclassification", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Pending Internal Investigation", + "type": "string" + }, + "value": { + "const": "unclassified.pendingInvestigation", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Dual Use", + "type": "string" + }, + "value": { + "const": "dualUse", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Object of Interest", + "type": "string" + }, + "value": { + "const": "object", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Archaeological Dig Site", + "type": "string" + }, + "value": { + "const": "object.archaeological", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Monument", + "type": "string" + }, + "value": { + "const": "object.monument", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Obelisk / Milestone / Standing Stone", + "type": "string" + }, + "value": { + "const": "object.monument.vertical", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Obelisk", + "type": "string" + }, + "value": { + "const": "object.monument.vertical.obelisk", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Standing Stone", + "type": "string" + }, + "value": { + "const": "object.monument.vertical.standingStone", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Memorial / Market Cross", + "type": "string" + }, + "value": { + "const": "object.monument.memorial", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Statue", + "type": "string" + }, + "value": { + "const": "object.monument.statue", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Castle / Historic Ruin", + "type": "string" + }, + "value": { + "const": "object.monument.ruin", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Other Structure", + "type": "string" + }, + "value": { + "const": "object.monument.other", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Boundary Stone", + "type": "string" + }, + "value": { + "const": "object.monument.other.boundaryStone", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Cascade / Fountain", + "type": "string" + }, + "value": { + "const": "object.monument.other.waterFeature", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Permanent Art Display / Sculpture", + "type": "string" + }, + "value": { + "const": "object.monument.other.art", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Windmill (Inactive)", + "type": "string" + }, + "value": { + "const": "object.monument.other.windmill", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Stately Home", + "type": "string" + }, + "value": { + "const": "object.statelyHome", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Underground Feature", + "type": "string" + }, + "value": { + "const": "object.underground", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Cave", + "type": "string" + }, + "value": { + "const": "object.underground.cave", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Pothole / Natural Hole", + "type": "string" + }, + "value": { + "const": "object.underground.hole", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Other Underground Feature", + "type": "string" + }, + "value": { + "const": "object.underground.other", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Cellar", + "type": "string" + }, + "value": { + "const": "object.underground.other.cellar", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Disused Mine", + "type": "string" + }, + "value": { + "const": "object.underground.other.extraction", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Mineral Mining / Inactive", + "type": "string" + }, + "value": { + "const": "object.underground.other.extraction.mine", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Oil And / Gas Extraction/ Inactive", + "type": "string" + }, + "value": { + "const": "object.underground.other.extraction.oilGas", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Mineral Quarrying And / Open Extraction / Inactive", + "type": "string" + }, + "value": { + "const": "object.underground.other.extraction.quarry", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Well / Spring", + "type": "string" + }, + "value": { + "const": "object.underground.other.water", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Spring", + "type": "string" + }, + "value": { + "const": "object.underground.other.water.spring", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Well", + "type": "string" + }, + "value": { + "const": "object.underground.other.water.well", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Place Of Worship", + "type": "string" + }, + "value": { + "const": "object.religious", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Religious building", + "type": "string" + }, + "value": { + "const": "object.religious.building", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Abbey", + "type": "string" + }, + "value": { + "const": "object.religious.building.abbey", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Cathedral", + "type": "string" + }, + "value": { + "const": "object.religious.building.cathedral", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Church", + "type": "string" + }, + "value": { + "const": "object.religious.building.church", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Chapel", + "type": "string" + }, + "value": { + "const": "object.religious.building.chapel", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Gurdwara", + "type": "string" + }, + "value": { + "const": "object.religious.building.gurdwara", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Kingdom Hall", + "type": "string" + }, + "value": { + "const": "object.religious.building.kingdomHall", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Lych Gate", + "type": "string" + }, + "value": { + "const": "object.religious.building.lychGate", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Mosque", + "type": "string" + }, + "value": { + "const": "object.religious.building.mosque", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Minster", + "type": "string" + }, + "value": { + "const": "object.religious.building.minster", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Stupa", + "type": "string" + }, + "value": { + "const": "object.religious.building.stupa", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Synagogue", + "type": "string" + }, + "value": { + "const": "object.religious.building.synagogue", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "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": { - "name": { + "completion": { + "enum": [ + "10plus", + "4plus", + "lessThan4", + "lessThan10" + ], + "type": "string" + }, + "date": { + "additionalProperties": false, + "properties": { + "finish": { + "$ref": "#/definitions/DateTime" + }, + "start": { + "$ref": "#/definitions/DateTime" + } + }, + "required": [ + "start", + "finish" + ], + "type": "object" + }, + "description": { + "type": "string" + }, + "projectType": { + "items": { + "$ref": "#/definitions/ProjectType" + }, + "type": "array" + }, + "time": { + "enum": [ + "future", + "past" + ], "type": "string" } }, - "required": ["name"], + "required": [ + "projectType", + "description" + ], "type": "object" }, - "Application": { + "ProposedAddress": { + "$id": "#ProposedAddress", "additionalProperties": false, + "description": "Address information for sites without a known Unique Property Reference Number (UPRN)", "properties": { - "name": { + "latitude": { + "type": "number" + }, + "localAuthorityDistrict": { + "items": { + "type": "string" + }, + "type": "array" + }, + "longitude": { + "type": "number" + }, + "region": { + "type": "string" + }, + "source": { + "const": "Proposed by applicant", + "type": "string" + }, + "title": { "type": "string" + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" } }, - "required": ["name"], + "required": [ + "latitude", + "localAuthorityDistrict", + "longitude", + "region", + "source", + "title", + "x", + "y" + ], "type": "object" }, - "DateTime": { - "format": "date-time", - "type": "string" + "QuestionAndResponses": { + "additionalProperties": false, + "properties": { + "metadata": { + "$ref": "#/definitions/QuestionMetaData" + }, + "question": { + "type": "string" + }, + "responses": { + "anyOf": [ + { + "items": { + "$ref": "#/definitions/Response" + }, + "type": "array" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "question", + "responses" + ], + "type": "object" }, - "File": { + "QuestionMetaData": { "additionalProperties": false, - "examples": [ + "properties": { + "autoAnswered": { + "type": "boolean" + }, + "policyRefs": { + "items": { + "additionalProperties": false, + "properties": { + "text": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "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": "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" + } + }, + "required": [ + "value", + "description" + ], + "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" + }, + { + "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" + }, + { + "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", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "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.", + "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.", + "type": "string" + }, + "value": { + "const": "Planning permission / Permitted development", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "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", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "", + "type": "string" + }, + "value": { + "const": "Listed building consent / Missing information", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "", + "type": "string" + }, + "value": { + "const": "Listed building consent / Required", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "", + "type": "string" + }, + "value": { + "const": "Listed building consent / De minimis", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "", + "type": "string" + }, + "value": { + "const": "Listed building consent / Not required", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "", + "type": "string" + }, + "value": { + "const": "Works to trees & hedges / Missing information", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "", + "type": "string" + }, + "value": { + "const": "Works to trees & hedges / Required", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "", + "type": "string" + }, + "value": { + "const": "Works to trees & hedges / De minimis", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "", + "type": "string" + }, + "value": { + "const": "Works to trees & hedges / Not required", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "", + "type": "string" + }, + "value": { + "const": "Demolition in a conservation area / Missing information", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, { - "size": "10mb" - } - ], - "properties": { - "foo": { - "enum": ["bar", "baz", "boo"], - "type": "string" + "additionalProperties": false, + "properties": { + "description": { + "const": "", + "type": "string" + }, + "value": { + "const": "Demolition in a conservation area / Required", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" }, - "size": { - "type": "string" - } - }, - "required": ["size", "foo"], - "type": "object" - }, - "Metadata": { - "additionalProperties": false, - "properties": { - "service": { + { "additionalProperties": false, - "description": "Details of the digital planning service which generated this payload", "properties": { - "name": { + "description": { + "const": "", "type": "string" }, - "owner": { + "value": { + "const": "Demolition in a conservation area / De minimis", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "", "type": "string" }, - "publishedFlowId": { - "$ref": "#/definitions/UUID" + "value": { + "const": "Demolition in a conservation area / Not required", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "", + "type": "string" }, - "url": { - "$ref": "#/definitions/URL" + "value": { + "const": "Planning policy / Missing information", + "type": "string" } }, - "required": ["publishedFlowId", "name", "owner", "url"], + "required": [ + "value", + "description" + ], "type": "object" }, - "session": { + { "additionalProperties": false, "properties": { - "createdAt": { - "$ref": "#/definitions/DateTime" + "description": { + "const": "", + "type": "string" }, - "id": { - "$ref": "#/definitions/UUID" + "value": { + "const": "Planning policy / Fails to meet policy", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "", + "type": "string" }, - "source": { - "const": "PlanX", - "default": "PlanX", + "value": { + "const": "Planning policy / Edge case", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "", "type": "string" }, - "submittedAt": { - "$ref": "#/definitions/DateTime" + "value": { + "const": "Planning policy / Meets policy", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "", + "type": "string" + }, + "value": { + "const": "Community infrastructure levy / Missing information", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "", + "type": "string" + }, + "value": { + "const": "Community infrastructure levy / Exemption void", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "", + "type": "string" + }, + "value": { + "const": "Community infrastructure levy / Exempt", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "", + "type": "string" + }, + "value": { + "const": "Community infrastructure levy / Relief void", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "", + "type": "string" + }, + "value": { + "const": "Community infrastructure levy / Relief", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "", + "type": "string" + }, + "value": { + "const": "Community infrastructure levy / Liable", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "", + "type": "string" + }, + "value": { + "const": "Community infrastructure levy / Not liable", + "type": "string" } }, - "required": ["source", "id", "createdAt", "submittedAt"], + "required": [ + "value", + "description" + ], "type": "object" } - }, - "required": ["service", "session"], - "type": "object" + ], + "description": "An individual result of this application" }, - "Property": { - "$id": "Property", - "additionalProperties": false, - "description": "This is an applicant", - "properties": { - "name": { - "type": "string" + "SiteContact": { + "$id": "#SiteContact", + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "role": { + "enum": [ + "applicant", + "agent", + "proxy" + ], + "type": "string" + } + }, + "required": [ + "role" + ], + "type": "object" + }, + { + "$ref": "#/definitions/SiteContactOther" } - }, - "required": ["name"], - "type": "object" + ], + "description": "Contact information for the site visit" }, - "Proposal": { + "SiteContactOther": { + "$id": "#SiteContactOther", "additionalProperties": false, + "description": "Contact information for the site visit when the SiteContact's role is 'other'", "properties": { + "email": { + "type": "string" + }, "name": { "type": "string" + }, + "phone": { + "type": "string" + }, + "role": { + "const": "other", + "type": "string" } }, - "required": ["name"], + "required": [ + "role", + "name", + "email", + "phone" + ], "type": "object" }, - "Responses": { + "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": { - "name": { + "role": { + "enum": [ + "applicant", + "agent", + "proxy" + ], "type": "string" } }, - "required": ["name"], + "required": [ + "role" + ], "type": "object" }, - "Result": { + "UserAddress": { + "$id": "#UserAddress", + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "sameAsSiteAddress": { + "const": true, + "type": "boolean" + } + }, + "required": [ + "sameAsSiteAddress" + ], + "type": "object" + }, + { + "$ref": "#/definitions/UserAddressNotSameSite" + } + ], + "description": "Address information for any user" + }, + "UserAddressNotSameSite": { + "$id": "#UserAddressNotSameSite", "additionalProperties": false, + "description": "Address information for any user who's contact information differs from the site address", "properties": { - "name": { + "country": { + "type": "string" + }, + "county": { + "type": "string" + }, + "line1": { + "type": "string" + }, + "line2": { + "type": "string" + }, + "postcode": { + "type": "string" + }, + "sameAsSiteAddress": { + "const": false, + "type": "boolean" + }, + "town": { "type": "string" } }, - "required": ["name"], + "required": [ + "sameAsSiteAddress", + "line1", + "town", + "postcode" + ], "type": "object" }, - "URL": { - "format": "uri", - "pattern": "^https?://", - "type": "string" - }, - "UUID": { - "format": "uuid", - "type": "string" - }, - "User": { + "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": { - "type": "string" + "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"], + "required": [ + "name", + "email", + "phone" + ], "type": "object" } }, @@ -178,7 +12530,13 @@ "$ref": "#/definitions/User" } }, - "required": ["applicant", "property", "application", "proposal", "user"], + "required": [ + "applicant", + "property", + "application", + "proposal", + "user" + ], "type": "object" }, "files": { @@ -197,7 +12555,13 @@ "$ref": "#/definitions/Result" } }, - "required": ["data", "result", "metadata", "responses", "files"], + "required": [ + "data", + "result", + "metadata", + "responses", + "files" + ], "title": "Digital Planning Data Schema", "type": "object" -} +} \ No newline at end of file diff --git a/src/export/digitalPlanning/schema/types.d.ts b/src/export/digitalPlanning/schema/types.d.ts index 9344c1f4..be9c51cf 100644 --- a/src/export/digitalPlanning/schema/types.d.ts +++ b/src/export/digitalPlanning/schema/types.d.ts @@ -5,9 +5,2634 @@ * and run json-schema-to-typescript to regenerate this file. */ +/** + * The user who completed the application either for themself or on behalf of someone else + */ +export type Applicant = BaseApplicant | Agent; +/** + * Address information for any user + */ +export type UserAddress = + | { + sameAsSiteAddress: true; + } + | UserAddressNotSameSite; +export type Email = string; +/** + * Contact information for the site visit + */ +export type SiteContact = + | { + role: "applicant" | "agent" | "proxy"; + } + | SiteContactOther; +export type DateTime = string; +/** + * Planning application types supported by this schema + */ +export type ApplicationType = + | { + description: "Lawful Development Certificate"; + value: "ldc"; + } + | { + description: "Lawful Development Certificate - Proposed"; + value: "ldc.proposed"; + } + | { + description: "Lawful Development Certificate - Existing"; + value: "ldc.existing"; + } + | { + description: "Prior Approval"; + value: "pa"; + } + | { + description: "Prior Approval - Larger extension to a house"; + value: "pa.part1.classA"; + } + | { + description: "Prior Approval - Adding storeys to a house"; + value: "pa.part1.classAA"; + } + | { + description: "Prior Approval - Convert a commercial building to mixed use"; + value: "pa.part3.classG"; + } + | { + description: "Prior Approval - Convert a mixed use building into a home"; + value: "pa.part3.classM"; + } + | { + description: "Prior Approval - Convert a commercial building into a home or homes"; + value: "pa.part3.classMA"; + } + | { + description: "Prior Approval - Convert a casino or amusement arcade into a home or homes"; + value: "pa.part3.classN"; + } + | { + description: "Prior Approval - Convert an agricultural building into a home"; + value: "pa.part3.classQ"; + } + | { + description: "Prior Approval - Convert an agricultural building to a commercial use"; + value: "pa.part3.classR"; + } + | { + description: "Prior Approval - Convert an agricultural building to a school"; + value: "pa.part3.classS"; + } + | { + description: "Prior Approval - Convert a commercial building to a school"; + value: "pa.part3.classT"; + } + | { + description: "Prior Approval - Put up a temporary structure"; + value: "pa.part4.classBB"; + } + | { + description: "Prior Approval - Use a building or land to shoot a film"; + value: "pa.part4.classE"; + } + | { + description: "Prior Approval - Build new agricultural buildings on a unit of 5 hectares or more"; + value: "pa.part6.classA"; + } + | { + description: "Prior Approval - Build new agricultural buildings on a unit of less than 5 hectares"; + value: "pa.part6.classB"; + } + | { + description: "Prior Approval - Build new forestry buildings"; + value: "pa.part6.classE"; + } + | { + description: "Prior Approval - Install click and collect facilities"; + value: "pa.part7.classC"; + } + | { + description: "Prior Approval - Extend a school, college, university, prison or hospital"; + value: "pa.part7.classM"; + } + | { + description: "Prior Approval - Demolish a building"; + value: "pa.part11.classB"; + } + | { + description: "Prior Approval - Install or change solar panels"; + value: "pa.part14.classJ"; + } + | { + description: "Prior Approval - Install telecommunications equipment"; + value: "pa.part16.classA"; + } + | { + description: "Prior Approval - Build homes on a detached blocks of flats"; + value: "pa.part20.classA"; + } + | { + description: "Prior Approval - Build homes on a detached commercial building"; + value: "pa.part20.classAA"; + } + | { + description: "Prior Approval - Build homes on an adjoining commercial or mixed use building"; + value: "pa.part20.classAB"; + } + | { + description: "Prior Approval - Build homes on adjoining houses"; + value: "pa.part20.classAC"; + } + | { + description: "Prior Approval - Build homes on detached houses"; + value: "pa.part20.classAD"; + } + | { + description: "Prior Approval - Demolish buildings and build homes in their place"; + value: "pa.part20.classZA"; + } + | { + description: "Planning Permission"; + value: "pp"; + } + | { + description: "Planning Permission"; + value: "pp.full.householder"; + } + | { + description: "Planning Permission"; + value: "pp.full.householder.retro"; + }; +/** + * Property types derived from Basic Land and Property Unit (BLPU) classification codes + */ +export type PropertyType = + | { + description: "Commercial"; + value: "commercial"; + } + | { + description: "Agricultural"; + value: "commercial.agriculture"; + } + | { + description: "Farm / Non-Residential Associated Building"; + value: "commercial.agriculture.farm"; + } + | { + description: "Fishery"; + value: "commercial.fish"; + } + | { + description: "Fish Farming"; + value: "commercial.fish.farm"; + } + | { + description: "Fish Hatchery"; + value: "commercial.fish.hatchery"; + } + | { + description: "Fish Processing"; + value: "commercial.fish.processing"; + } + | { + description: "Oyster / Mussel Bed"; + value: "commercial.fish.oysters"; + } + | { + description: "Horticulture"; + value: "commercial.horticulture"; + } + | { + description: "Smallholding"; + value: "commercial.horticulture.smallholding"; + } + | { + description: "Vineyard"; + value: "commercial.horticulture.vineyard"; + } + | { + description: "Watercress Bed"; + value: "commercial.horticulture.watercress"; + } + | { + description: "Slaughter House / Abattoir"; + value: "commercial.abattoir"; + } + | { + description: "Ancillary Building"; + value: "commercial.ancilliary"; + } + | { + description: "Community Services"; + value: "commercial.community"; + } + | { + description: "Law Court"; + value: "commercial.community.court"; + } + | { + description: "Prison"; + value: "commercial.community.prison"; + } + | { + description: "HM Detention Centre"; + value: "commercial.community.prison.detention"; + } + | { + description: "HM Prison Service"; + value: "commercial.community.prison.service"; + } + | { + description: "Secure Residential Accommodation"; + value: "commercial.community.prison.secureResidential"; + } + | { + description: "Public / Village Hall / Other Community Facility"; + value: "commercial.community.hall"; + } + | { + description: "Youth Recreational / Social Club"; + value: "commercial.community.hall.club"; + } + | { + description: "Public Convenience"; + value: "commercial.community.wc"; + } + | { + description: "Cemetery / Crematorium / Graveyard. In Current Use."; + value: "commercial.community.cemetary"; + } + | { + description: "Columbarium"; + value: "commercial.community.cemetary.columbarium"; + } + | { + description: "Crematorium"; + value: "commercial.community.cemetary.crematorium"; + } + | { + description: "Chapel Of Rest"; + value: "commercial.community.cemetary.chapelOfRest"; + } + | { + description: "Cemetery"; + value: "commercial.community.cemetary.cemetary"; + } + | { + description: "Military Cemetery"; + value: "commercial.community.cemetary.military"; + } + | { + description: "Mortuary"; + value: "commercial.community.cemetary.mortuary"; + } + | { + description: "Church Hall / Religious Meeting Place / Hall"; + value: "commercial.community.religious"; + } + | { + description: "Community Service Centre / Office"; + value: "commercial.community.services"; + } + | { + description: "Public Household Waste Recycling Centre (HWRC)"; + value: "commercial.community.HWRC"; + } + | { + description: "Recycling Site"; + value: "commercial.community.recycling"; + } + | { + description: "CCTV"; + value: "commercial.community.CCTV"; + } + | { + description: "Job Centre"; + value: "commercial.community.employment"; + } + | { + description: "Education"; + value: "commercial.education"; + } + | { + description: "College"; + value: "commercial.education.college"; + } + | { + description: "Further Education"; + value: "commercial.education.college.further"; + } + | { + description: "Higher Education"; + value: "commercial.education.college.higher"; + } + | { + description: "Children's Nursery / Crèche"; + value: "commercial.education.nursery"; + } + | { + description: "Preparatory / First / Primary / Infant / Junior / Middle School"; + value: "commercial.education.school"; + } + | { + description: "First School"; + value: "commercial.education.school.first"; + } + | { + description: "Infant School"; + value: "commercial.education.school.infant"; + } + | { + description: "Junior School"; + value: "commercial.education.school.junior"; + } + | { + description: "Middle School"; + value: "commercial.education.school.middle"; + } + | { + description: "Non State Primary / Preparatory School"; + value: "commercial.education.school.primary.private"; + } + | { + description: "Primary School"; + value: "commercial.education.school.primary.state"; + } + | { + description: "Secondary / High School"; + value: "commercial.education.secondarySchool"; + } + | { + description: "Non State Secondary School"; + value: "commercial.education.secondarySchool.private"; + } + | { + description: "Secondary School"; + value: "commercial.education.secondarySchool.state"; + } + | { + description: "University"; + value: "commercial.education.university"; + } + | { + description: "Special Needs Establishment."; + value: "commercial.education.specialNeeds"; + } + | { + description: "Other Educational Establishment"; + value: "commercial.education.other"; + } + | { + description: "Hotel / Motel / Boarding / Guest House"; + value: "commercial.guest"; + } + | { + description: "Boarding / Guest House / Bed And Breakfast / Youth Hostel"; + value: "commercial.guest.hostel"; + } + | { + description: "Youth Hostel"; + value: "commercial.guest.hostel.youth"; + } + | { + description: "Holiday Let/Accomodation/Short-Term Let Other Than CH01"; + value: "commercial.guest.shortLet"; + } + | { + description: "Hotel/Motel"; + value: "commercial.guest.hotel"; + } + | { + description: "Industrial Applicable to manufacturing, engineering, maintenance, storage / wholesale distribution and extraction sites"; + value: "commercial.industrial"; + } + | { + description: "Factory/Manufacturing"; + value: "commercial.industrial.manufacturing"; + } + | { + description: "Aircraft Works"; + value: "commercial.industrial.manufacturing.aircraft"; + } + | { + description: "Boat Building"; + value: "commercial.industrial.manufacturing.boats"; + } + | { + description: "Brick Works"; + value: "commercial.industrial.manufacturing.bricks"; + } + | { + description: "Brewery"; + value: "commercial.industrial.manufacturing.beer"; + } + | { + description: "Cider Manufacture"; + value: "commercial.industrial.manufacturing.cider"; + } + | { + description: "Chemical Works"; + value: "commercial.industrial.manufacturing.chemicals"; + } + | { + description: "Cement Works"; + value: "commercial.industrial.manufacturing.cement"; + } + | { + description: "Dairy Processing"; + value: "commercial.industrial.manufacturing.dairy"; + } + | { + description: "Distillery"; + value: "commercial.industrial.manufacturing.distillery"; + } + | { + description: "Flour Mill"; + value: "commercial.industrial.manufacturing.flour"; + } + | { + description: "Food Processing"; + value: "commercial.industrial.manufacturing.food"; + } + | { + description: "Glassworks"; + value: "commercial.industrial.manufacturing.glass"; + } + | { + description: "Manufacturing"; + value: "commercial.industrial.manufacturing.other"; + } + | { + description: "Oast House"; + value: "commercial.industrial.manufacturing.hops"; + } + | { + description: "Oil Refining"; + value: "commercial.industrial.manufacturing.oil"; + } + | { + description: "Pottery Manufacturing"; + value: "commercial.industrial.manufacturing.pottery"; + } + | { + description: "Paper Mill"; + value: "commercial.industrial.manufacturing.paper"; + } + | { + description: "Printing Works"; + value: "commercial.industrial.manufacturing.printing"; + } + | { + description: "Sugar Refinery"; + value: "commercial.industrial.manufacturing.sugar"; + } + | { + description: "Steel Works"; + value: "commercial.industrial.manufacturing.steel"; + } + | { + description: "Timber Mill"; + value: "commercial.industrial.manufacturing.timber"; + } + | { + description: "Winery"; + value: "commercial.industrial.manufacturing.wine"; + } + | { + description: "Shipyard"; + value: "commercial.industrial.manufacturing.ships"; + } + | { + description: "Mineral / Ore Working / Quarry / Mine"; + value: "commercial.industrial.extraction"; + } + | { + description: "Mineral Mining / Active"; + value: "commercial.industrial.extraction.mining"; + } + | { + description: "Mineral Distribution / Storage"; + value: "commercial.industrial.extraction.distribution"; + } + | { + description: "Mineral Processing"; + value: "commercial.industrial.extraction.processing"; + } + | { + description: "Oil / Gas Extraction / Active"; + value: "commercial.industrial.extraction.oilGas"; + } + | { + description: "Mineral Quarrying / Open Extraction / Active"; + value: "commercial.industrial.extraction.quarrying"; + } + | { + description: "Workshop / Light Industrial"; + value: "commercial.industrial.light"; + } + | { + description: "Servicing Garage"; + value: "commercial.industrial.light.garage"; + } + | { + description: "Warehouse / Store / Storage Depot"; + value: "commercial.industrial.light.storage"; + } + | { + description: "Crop Handling / Storage"; + value: "commercial.industrial.light.storage.crops"; + } + | { + description: "Postal Sorting / Distribution"; + value: "commercial.industrial.light.storage.post"; + } + | { + description: "Solid Fuel Storage"; + value: "commercial.industrial.light.storage.solidFuel"; + } + | { + description: "Timber Storage"; + value: "commercial.industrial.light.storage.timber"; + } + | { + description: "Wholesale Distribution"; + value: "commercial.industrial.distribution"; + } + | { + description: "Solid Fuel Distribution"; + value: "commercial.industrial.distribution.solidFueld"; + } + | { + description: "Timber Distribution"; + value: "commercial.industrial.distribution.timber"; + } + | { + description: "Recycling Plant"; + value: "commercial.industrial.recycling"; + } + | { + description: "Incinerator / Waste Transfer Station"; + value: "commercial.industrial.incineration"; + } + | { + description: "Maintenance Depot"; + value: "commercial.industrial.maintenanceDepot"; + } + | { + description: "Leisure - Applicable to recreational sites and enterprises"; + value: "commercial.leisure"; + } + | { + description: "Amusements"; + value: "commercial.leisure.amusements"; + } + | { + description: "Leisure Pier"; + value: "commercial.leisure.amusements.pier"; + } + | { + description: "Holiday / Campsite"; + value: "commercial.leisure.holiday"; + } + | { + description: "Camping"; + value: "commercial.leisure.holiday.camping"; + } + | { + description: "Caravanning"; + value: "commercial.leisure.holiday.caravanning"; + } + | { + description: "Holiday Accommodation"; + value: "commercial.leisure.holiday.accommodation"; + } + | { + description: "Holiday Centre"; + value: "commercial.leisure.holiday.centre"; + } + | { + description: "Youth Organisation Camp"; + value: "commercial.leisure.holiday.youth"; + } + | { + description: "Library"; + value: "commercial.leisure.library"; + } + | { + description: "Reading Room"; + value: "commercial.leisure.library.readingRoom"; + } + | { + description: "Museum / Gallery"; + value: "commercial.leisure.museum"; + } + | { + description: "Art Centre / Gallery"; + value: "commercial.leisure.museum.art"; + } + | { + description: "Aviation Museum"; + value: "commercial.leisure.museum.aviation"; + } + | { + description: "Heritage Centre"; + value: "commercial.leisure.museum.heritage"; + } + | { + description: "Industrial Museum"; + value: "commercial.leisure.museum.industrial"; + } + | { + description: "Military Museum"; + value: "commercial.leisure.museum.military"; + } + | { + description: "Maritime Museum"; + value: "commercial.leisure.museum.maritime"; + } + | { + description: "Science Museum"; + value: "commercial.leisure.museum.science"; + } + | { + description: "Transport Museum"; + value: "commercial.leisure.museum.transport"; + } + | { + description: "Indoor / Outdoor Leisure / Sporting Activity / Centre"; + value: "commercial.leisure.sport"; + } + | { + description: "Athletics Facility"; + value: "commercial.leisure.sport.athletics"; + } + | { + description: "Bowls Facility"; + value: "commercial.leisure.sport.bowls"; + } + | { + description: "Cricket Facility"; + value: "commercial.leisure.sport.cricket"; + } + | { + description: "Curling Facility"; + value: "commercial.leisure.sport.curling"; + } + | { + description: "Diving / Swimming Facility"; + value: "commercial.leisure.sport.swimming"; + } + | { + description: "Equestrian Sports Facility"; + value: "commercial.leisure.sport.equestrian"; + } + | { + description: "Football Facility"; + value: "commercial.leisure.sport.football"; + } + | { + description: "Fishing / Angling Facility"; + value: "commercial.leisure.sport.fishing"; + } + | { + description: "Golf Facility"; + value: "commercial.leisure.sport.golf"; + } + | { + description: "Gliding Facility"; + value: "commercial.leisure.sport.gliding"; + } + | { + description: "Greyhound Racing Facility"; + value: "commercial.leisure.sport.dogracing"; + } + | { + description: "Hockey Facility"; + value: "commercial.leisure.sport.hockey"; + } + | { + description: "Horse Racing Facility"; + value: "commercial.leisure.sport.horseracing"; + } + | { + description: "Historic Vessel / Aircraft / Vehicle"; + value: "commercial.leisure.sport.historicVehicles"; + } + | { + description: "Activity / Leisure / Sports Centre"; + value: "commercial.leisure.sport.centre"; + } + | { + description: "Model Sports Facility"; + value: "commercial.leisure.sport.model"; + } + | { + description: "Motor Sports Facility"; + value: "commercial.leisure.sport.motor"; + } + | { + description: "Playing Field"; + value: "commercial.leisure.sport.playingField"; + } + | { + description: "Racquet Sports Facility"; + value: "commercial.leisure.sport.racquet"; + } + | { + description: "Rugby Facility"; + value: "commercial.leisure.sport.rugby"; + } + | { + description: "Recreation Ground"; + value: "commercial.leisure.sport.recreationGround"; + } + | { + description: "Shinty Facility"; + value: "commercial.leisure.sport.shinty"; + } + | { + description: "Skateboarding Facility"; + value: "commercial.leisure.sport.skateboarding"; + } + | { + description: "Civilian Firing Facility"; + value: "commercial.leisure.sport.firing"; + } + | { + description: "Tenpin Bowling Facility"; + value: "commercial.leisure.sport.tenpin"; + } + | { + description: "Public Tennis Court"; + value: "commercial.leisure.sport.tennis"; + } + | { + description: "Water Sports Facility"; + value: "commercial.leisure.sport.water"; + } + | { + description: "Winter Sports Facility"; + value: "commercial.leisure.sport.winter"; + } + | { + description: "Wildlife Sports Facility"; + value: "commercial.leisure.sport.wildlife"; + } + | { + description: "Cycling Sports Facility"; + value: "commercial.leisure.sport.cycling"; + } + | { + description: "Bingo Hall / Cinema / Conference / Exhibition Centre / Theatre / Concert Hall"; + value: "commercial.leisure.entertainment"; + } + | { + description: "Cinema"; + value: "commercial.leisure.entertainment.cinema"; + } + | { + description: "Entertainment Complex"; + value: "commercial.leisure.entertainment.mixed"; + } + | { + description: "Conference / Exhibition Centre"; + value: "commercial.leisure.entertainment.exhibition"; + } + | { + description: "Theatre"; + value: "commercial.leisure.entertainment.theatre"; + } + | { + description: "Zoo / Theme Park"; + value: "commercial.leisure.park.zoo"; + } + | { + description: "Amusement Park"; + value: "commercial.leisure.park.amusement"; + } + | { + description: "Aquatic Attraction"; + value: "commercial.leisure.park.aquatic"; + } + | { + description: "Model Village Site"; + value: "commercial.leisure.park.model"; + } + | { + description: "Wildlife / Zoological Park"; + value: "commercial.leisure.park.wildlife"; + } + | { + description: "Beach Hut (Recreational, Non-Residential Use Only)"; + value: "commercial.leisure.beachHut"; + } + | { + description: "Licensed Private Members' Club"; + value: "commercial.leisure.club.private"; + } + | { + description: "Recreational / Social Club"; + value: "commercial.leisure.club.social"; + } + | { + description: "Arena / Stadium"; + value: "commercial.leisure.arena"; + } + | { + description: "Stadium"; + value: "commercial.leisure.arena.stadium"; + } + | { + description: "Showground"; + value: "commercial.leisure.arena.showground"; + } + | { + description: "Medical"; + value: "commercial.medical"; + } + | { + description: "Dentist"; + value: "commercial.medical.dentist"; + } + | { + description: "General Practice Surgery / Clinic"; + value: "commercial.medical.GP"; + } + | { + description: "Health Centre"; + value: "commercial.medical.healthCentre"; + } + | { + description: "Health Care Services"; + value: "commercial.medical.healthServices"; + } + | { + description: "Hospital / Hospice"; + value: "commercial.medical.care"; + } + | { + description: "Care home/Hospice"; + value: "commercial.medical.care.home"; + } + | { + description: "Hospital"; + value: "commercial.medical.care.hospital"; + } + | { + description: "Medical / Testing / Research Laboratory"; + value: "commercial.medical.lab"; + } + | { + description: "Professional Medical Service"; + value: "commercial.medical.professional"; + } + | { + description: "Assessment / Development Services"; + value: "commercial.medical.assessment"; + } + | { + description: "Animal Centre"; + value: "commercial.animals"; + } + | { + description: "Cattery / Kennel"; + value: "commercial.animals.kennelsCattery"; + } + | { + description: "Animal Services"; + value: "commercial.animals.services"; + } + | { + description: "Animal Quarantining"; + value: "commercial.animals.services.quarantine"; + } + | { + description: "Equestrian"; + value: "commercial.animals.equestrian"; + } + | { + description: "Horse Racing / Breeding Stable"; + value: "commercial.animals.equestrian.racing"; + } + | { + description: "Commercial Stabling / Riding"; + value: "commercial.animals.equestrian.riding"; + } + | { + description: "Vet / Animal Medical Treatment"; + value: "commercial.animals.vet"; + } + | { + description: "Animal / Bird / Marine Sanctuary"; + value: "commercial.animals.sanctuary"; + } + | { + description: "Animal Sanctuary"; + value: "commercial.animals.sanctuary.animals"; + } + | { + description: "Marine Sanctuary"; + value: "commercial.animals.sanctuary.marine"; + } + | { + description: "Office"; + value: "commercial.office"; + } + | { + description: "Office / Work Studio"; + value: "commercial.office.workspace"; + } + | { + description: "Embassy /, High Commission / Consulate"; + value: "commercial.office.workspace.embassy"; + } + | { + description: "Film Studio"; + value: "commercial.office.workspace.film"; + } + | { + description: "Central Government Service"; + value: "commercial.office.workspace.gov.national"; + } + | { + description: "Local Government Service"; + value: "commercial.office.workspace.gov.local"; + } + | { + description: "Broadcasting (TV / Radio)"; + value: "commercial.office.broadcasting"; + } + | { + description: "Retail"; + value: "commercial.retail"; + } + | { + description: "Bank / Financial Service"; + value: "commercial.retail.financial"; + } + | { + description: "Retail Service Agent"; + value: "commercial.retail.services"; + } + | { + description: "Post Office"; + value: "commercial.retail.post"; + } + | { + description: "Market (Indoor / Outdoor)"; + value: "commercial.retail.market"; + } + | { + description: "Fish Market"; + value: "commercial.retail.market.fish"; + } + | { + description: "Fruit / Vegetable Market"; + value: "commercial.retail.market.fruit"; + } + | { + description: "Livestock Market"; + value: "commercial.retail.market.livestock"; + } + | { + description: "Petrol Filling Station"; + value: "commercial.retail.fuel"; + } + | { + description: "Public House / Bar / Nightclub"; + value: "commercial.retail.drinking"; + } + | { + description: "Restaurant / Cafeteria"; + value: "commercial.retail.restaurant"; + } + | { + description: "Shop / Showroom"; + value: "commercial.retail.showroom"; + } + | { + description: "Shop"; + value: "commercial.retail.shop"; + } + | { + description: "Garden Centre"; + value: "commercial.retail.shop.gardenCentre"; + } + | { + description: "Other Licensed Premise / Vendor"; + value: "commercial.retail.licensedPremises"; + } + | { + description: "Fast Food Outlet / Takeaway (Hot / Cold)"; + value: "commercial.retail.takeaway"; + } + | { + description: "Automated Teller Machine (ATM)"; + value: "commercial.retail.atm"; + } + | { + description: "Storage Land"; + value: "commercial.storageLand"; + } + | { + description: "General Storage Land"; + value: "commercial.storageLand.general"; + } + | { + description: "Builders' Yard"; + value: "commercial.storageLand.building"; + } + | { + description: "Transport"; + value: "commercial.transport"; + } + | { + description: "Airfield / Airstrip / Airport / Air Transport Infrastructure Facility"; + value: "commercial.transport.air"; + } + | { + description: "Airfield"; + value: "commercial.transport.air.airfield"; + } + | { + description: "Air Transport Infrastructure Services"; + value: "commercial.transport.air.infrastructure"; + } + | { + description: "Airport"; + value: "commercial.transport.air.airport"; + } + | { + description: "Air Passenger Terminal"; + value: "commercial.transport.air.passengerTerminal"; + } + | { + description: "Helicopter Station"; + value: "commercial.transport.air.helicopterStation"; + } + | { + description: "Heliport / Helipad"; + value: "commercial.transport.air.heliport"; + } + | { + description: "Bus Shelter"; + value: "commercial.transport.bus"; + } + | { + description: "Car / Coach / Commercial Vehicle / Taxi Parking / Park And Ride Site"; + value: "commercial.transport.parking"; + } + | { + description: "Public Park And Ride"; + value: "commercial.transport.parking.parkAndRide"; + } + | { + description: "Public Car Parking"; + value: "commercial.transport.parking.car"; + } + | { + description: "Public Coach Parking"; + value: "commercial.transport.parking.coach"; + } + | { + description: "Public Commercial Vehicle Parking"; + value: "commercial.transport.parking.commercialVehicle"; + } + | { + description: "Goods Freight Handling / Terminal"; + value: "commercial.transport.freight"; + } + | { + description: "Air Freight Terminal"; + value: "commercial.transport.freight.air"; + } + | { + description: "Container Freight"; + value: "commercial.transport.freight.container"; + } + | { + description: "Road Freight Transport"; + value: "commercial.transport.freight.road"; + } + | { + description: "Rail Freight Transport"; + value: "commercial.transport.freight.rail"; + } + | { + description: "Marina"; + value: "commercial.transport.marina"; + } + | { + description: "Mooring"; + value: "commercial.transport.mooring"; + } + | { + description: "Railway Asset"; + value: "commercial.transport.railAsset"; + } + | { + description: "Station / Interchange / Terminal / Halt"; + value: "commercial.transport.terminal"; + } + | { + description: "Bus station"; + value: "commercial.transport.terminal.bus"; + } + | { + description: "Train station"; + value: "commercial.transport.terminal.train"; + } + | { + description: "Vehicular Rail Terminal"; + value: "commercial.transport.terminal.vehicularRail"; + } + | { + description: "Transport Track / Way"; + value: "commercial.transport.track"; + } + | { + description: "Cliff Railway"; + value: "commercial.transport.track.cliff"; + } + | { + description: "Chair Lift / Cable Car / Ski Tow"; + value: "commercial.transport.track.cable"; + } + | { + description: "Monorail"; + value: "commercial.transport.track.monorail"; + } + | { + description: "Vehicle Storage"; + value: "commercial.transport.storage"; + } + | { + description: "Boat Storage"; + value: "commercial.transport.storage.boat"; + } + | { + description: "Bus / Coach Depot"; + value: "commercial.transport.storage.bus"; + } + | { + description: "Transport Related Infrastructure"; + value: "commercial.transport.infrastructure"; + } + | { + description: "Aqueduct"; + value: "commercial.transport.infrastructure.aqueduct"; + } + | { + description: "Lock"; + value: "commercial.transport.infrastructure.lock"; + } + | { + description: "Weir"; + value: "commercial.transport.infrastructure.weir"; + } + | { + description: "Weighbridge / Load Gauge"; + value: "commercial.transport.infrastructure.weighing"; + } + | { + description: "Overnight Lorry Park"; + value: "commercial.transport.overnightLorryPark"; + } + | { + description: "Harbour / Port / Dock / Dockyard / Slipway / Landing Stage / Pier / Jetty / Pontoon / Terminal / Berthing / Quay"; + value: "commercial.transport.dock"; + } + | { + description: "Passenger Ferry Terminal"; + value: "commercial.transport.dock.ferry.passengers"; + } + | { + description: "Non-Tanker Nautical Berthing"; + value: "commercial.transport.dock.generalBerth"; + } + | { + description: "Nautical Refuelling Facility"; + value: "commercial.transport.dock.refuelling"; + } + | { + description: "Slipway"; + value: "commercial.transport.dock.slipway"; + } + | { + description: "Ship Passenger Terminal"; + value: "commercial.transport.dock.passenger"; + } + | { + description: "Tanker Berthing"; + value: "commercial.transport.dock.tankerBerth"; + } + | { + description: "Vehicular Ferry Terminal"; + value: "commercial.transport.dock.ferry.vehicles"; + } + | { + description: "Utility"; + value: "commercial.utility"; + } + | { + description: "Electricity Sub-Station"; + value: "commercial.utility.SubStation"; + } + | { + description: "Landfill"; + value: "commercial.utility.landfill"; + } + | { + description: "Power Station / Energy Production"; + value: "commercial.utility.electricity"; + } + | { + description: "Electricity Distribution Facility"; + value: "commercial.utility.electricity.distribution"; + } + | { + description: "Electricity Production Facility"; + value: "commercial.utility.electricity.production"; + } + | { + description: "Wind Farm"; + value: "commercial.utility.electricity.windFarm"; + } + | { + description: "Wind Turbine"; + value: "commercial.utility.electricity.windTurbine"; + } + | { + description: "Pump House / Pumping Station / Water Tower"; + value: "commercial.utility.water"; + } + | { + description: "Water Controlling / Pumping"; + value: "commercial.utility.water.pump.control"; + } + | { + description: "Water Distribution / Pumping"; + value: "commercial.utility.water.pump.distribution"; + } + | { + description: "Water Quality Monitoring"; + value: "commercial.utility.water.qualityMonitoring"; + } + | { + description: "Water Storage"; + value: "commercial.utility.water.storage"; + } + | { + description: "Waste Water Distribution / Pumping"; + value: "commercial.utility.water.waste"; + } + | { + description: "Telecommunication"; + value: "commercial.utility.telecoms"; + } + | { + description: "Telecommunications Mast"; + value: "commercial.utility.telecoms.mast"; + } + | { + description: "Telephone Exchange"; + value: "commercial.utility.telecoms.exhange"; + } + | { + description: "Water / Waste Water / Sewage Treatment Works"; + value: "commercial.utility.waterTreatment"; + } + | { + description: "Waste Water Treatment"; + value: "commercial.utility.waterTreatment.waste"; + } + | { + description: "Water Treatment"; + value: "commercial.utility.waterTreatment.water"; + } + | { + description: "Gas / Oil Storage / Distribution"; + value: "commercial.utility.oilGas"; + } + | { + description: "Gas Governor"; + value: "commercial.utility.oilGas.gasGovernor"; + } + | { + description: "Gas Holder"; + value: "commercial.utility.oilGas.gasHolder"; + } + | { + description: "Oil Terminal"; + value: "commercial.utility.oilGas.oilTerminal"; + } + | { + description: "Other Utility Use"; + value: "commercial.utility.other"; + } + | { + description: "Cable Terminal Station"; + value: "commercial.utility.other.cableTerminal"; + } + | { + description: "Observatory"; + value: "commercial.utility.other.observatory"; + } + | { + description: "Radar Station"; + value: "commercial.utility.other.radar"; + } + | { + description: "Satellite Earth Station"; + value: "commercial.utility.other.satelliteEarth"; + } + | { + description: "Waste Management"; + value: "commercial.utility.wasteManagement"; + } + | { + description: "Telephone Box"; + value: "commercial.utility.publicPhone.box"; + } + | { + description: "Other Public Telephones"; + value: "commercial.utility.publicPhone.other"; + } + | { + description: "Dam"; + value: "commercial.utility.dam"; + } + | { + description: "Emergency / Rescue Service"; + value: "commercial.emergency"; + } + | { + description: "Nautical Navigation Beacon / Light"; + value: "other.navigation.nautical.beacon"; + } + | { + description: "Aid To Road Navigation"; + value: "other.navigation.road"; + } + | { + description: "Guide Post"; + value: "other.navigation.guidePost"; + } + | { + description: "Coastal Protection / Flood Prevention"; + value: "other.coastal"; + } + | { + description: "Boulder Wall / Sea Wall"; + value: "other.coastal.wall"; + } + | { + description: "Flood Gate / Flood Sluice Gate / Flood Valve"; + value: "other.coastal.floodGate"; + } + | { + description: "Groyne"; + value: "other.coastal.groyne"; + } + | { + description: "Rip-Rap"; + value: "other.coastal.ripRap"; + } + | { + description: "Emergency Support"; + value: "other.emergency"; + } + | { + description: "Beach Office / First Aid Facility"; + value: "other.emergency.firstAid"; + } + | { + description: "Emergency Telephone (Non Motorway)"; + value: "other.emergency.telephone"; + } + | { + description: "Fire Alarm Structure / Fire Observation Tower / Fire Beater Facility"; + value: "other.emergency.fire"; + } + | { + description: "Emergency Equipment Point / Emergency Siren / Warning Flag"; + value: "other.emergency.warning"; + } + | { + description: "Lifeguard Facility"; + value: "other.emergency.lifeguard"; + } + | { + description: "LIfe / Belt / Buoy / Float / Jacket / Safety Rope"; + value: "other.emergency.floatAids"; + } + | { + description: "Street Furniture"; + value: "other.streetFurniture"; + } + | { + description: "Agricultural Support Objects"; + value: "other.agriculture"; + } + | { + description: "Fish Ladder / Lock / Pen / Trap"; + value: "other.agriculture.fishPen"; + } + | { + description: "Livestock Pen / Dip"; + value: "other.agriculture.livestockPen"; + } + | { + description: "Currick"; + value: "other.agriculture.currick"; + } + | { + description: "Slurry Bed / Pit"; + value: "other.agriculture.slurry"; + } + | { + description: "Historical Site / Object"; + value: "other.historic"; + } + | { + description: "Historic Structure / Object"; + value: "other.historic.structure"; + } + | { + description: "Industrial Support"; + value: "other.industrial"; + } + | { + description: "Adit / Incline / Level"; + value: "other.industrial.aditIncline"; + } + | { + description: "Caisson / Dry Dock / Grid"; + value: "other.industrial.caissonDock"; + } + | { + description: "Channel / Conveyor / Conduit / Pipe"; + value: "other.industrial.channel"; + } + | { + description: "Chimney / Flue"; + value: "other.industrial.chimney"; + } + | { + description: "Crane / Hoist / Winch / Material Elevator"; + value: "other.industrial.crane"; + } + | { + description: "Flare Stack"; + value: "other.industrial.flareStack"; + } + | { + description: "Hopper / Silo / Cistern / Tank"; + value: "other.industrial.siloTank"; + } + | { + description: "Grab / Skip / Other Industrial Waste Machinery / Discharging"; + value: "other.industrial.discharge"; + } + | { + description: "Kiln / Oven / Smelter"; + value: "other.industrial.kiln"; + } + | { + description: "Manhole / Shaft"; + value: "other.industrial.manholeShaft"; + } + | { + description: "Industrial Overflow / Sluice / Valve / Valve Housing"; + value: "other.industrial.overflowSluiceValve"; + } + | { + description: "Cooling Tower"; + value: "other.industrial.coolingTower"; + } + | { + description: "Solar Panel / Waterwheel"; + value: "other.industrial.solarPanel"; + } + | { + description: "Telephone Pole / Post"; + value: "other.industrial.pylon.telecom"; + } + | { + description: "Electricity Distribution Pole / Pylon"; + value: "other.industrial.pylon.electricity"; + } + | { + description: "Significant Natural Object"; + value: "other.natural"; + } + | { + description: "Boundary / Significant / Historic Tree / Pollard"; + value: "other.natural.tree"; + } + | { + description: "Boundary / Significant Rock / Boulder"; + value: "other.natural.rock"; + } + | { + description: "Natural Hole (Blow / Shake / Swallow)"; + value: "other.natural.hole"; + } + | { + description: "Ornamental / Cultural Object"; + value: "other.ornamental"; + } + | { + description: "Mausoleum / Tomb / Grave"; + value: "other.ornamental.tomb"; + } + | { + description: "Simple Ornamental Object"; + value: "other.ornamental.object"; + } + | { + description: "Maze"; + value: "other.ornamental.maze"; + } + | { + description: "Sport / Leisure Support"; + value: "other.leisure"; + } + | { + description: "Butt / Hide"; + value: "other.leisure.hide"; + } + | { + description: "Gallop / Ride"; + value: "other.leisure.gallop"; + } + | { + description: "Miniature Railway"; + value: "other.leisure.modelRailway"; + } + | { + description: "Royal Mail Infrastructure"; + value: "other.mail"; + } + | { + description: "Postal Box"; + value: "other.mail.postBox"; + } + | { + description: "Postal Delivery Box / Pouch"; + value: "other.mail.deliveryBox"; + } + | { + description: "PO Box"; + value: "other.mail.POBox"; + } + | { + description: "Additional Mail / Packet Addressee"; + value: "other.mail.additionalAddressee"; + } + | { + description: "Scientific / Observation Support"; + value: "other.scientific"; + } + | { + description: "Meteorological Station / Equipment"; + value: "other.scientific.meteo"; + } + | { + description: "Radar / Satellite Infrastructure"; + value: "other.scientific.radarSatellite"; + } + | { + description: "Telescope / Observation Infrastructure / Astronomy"; + value: "other.scientific.astronomy"; + } + | { + description: "Transport Support"; + value: "other.transport"; + } + | { + description: "Cattle Grid / Ford"; + value: "other.transport.cattleGridFord"; + } + | { + description: "Elevator / Escalator / Steps"; + value: "other.transport.stepsLiftEscalator"; + } + | { + description: "Footbridge / Walkway"; + value: "other.transport.bridge"; + } + | { + description: "Pole / Post / Bollard (Restricting Vehicular Access)"; + value: "other.transport.post"; + } + | { + description: "Subway / Underpass"; + value: "other.transport.subway"; + } + | { + description: "Customs Inspection Facility"; + value: "other.transport.customs"; + } + | { + description: "Lay-By"; + value: "other.transport.layby"; + } + | { + description: "Level Crossing"; + value: "other.transport.rail.crossing.vehicles"; + } + | { + description: "Mail Pick Up"; + value: "other.transport.mailPickUp"; + } + | { + description: "Railway Pedestrian Crossing"; + value: "other.transport.rail.crossing.pedestrian"; + } + | { + description: "Railway Buffer"; + value: "other.transport.rail.buffer"; + } + | { + description: "Rail Drag"; + value: "other.transport.rail.drag"; + } + | { + description: "Rail Infrastructure Services"; + value: "other.transport.rail.infrastructure"; + } + | { + description: "Rail Kilometre Distance Marker"; + value: "other.transport.rail.marker.km"; + } + | { + description: "Railway Lighting"; + value: "other.transport.rail.lighting"; + } + | { + description: "Rail Mile Distance Marker"; + value: "other.transport.rail.market.mile"; + } + | { + description: "Railway Turntable"; + value: "other.transport.rail.turntable"; + } + | { + description: "Rail Weighbridge"; + value: "other.transport.rail.weighbridge"; + } + | { + description: "Rail Signalling"; + value: "other.transport.rail.signals"; + } + | { + description: "Railway Traverse"; + value: "other.transport.rail.traverse"; + } + | { + description: "Goods Tramway"; + value: "other.transport.goodsTramway"; + } + | { + description: "Road Drag"; + value: "other.transport.road.drag"; + } + | { + description: "Vehicle Dip"; + value: "other.transport.road.vehicleDip"; + } + | { + description: "Road Turntable"; + value: "other.transport.road.turntable"; + } + | { + description: "Road Mile Distance Marker"; + value: "other.transport.road.marker.mile"; + } + | { + description: "Road Kilometre Distance Marker"; + value: "other.transport.road.market.km"; + } + | { + description: "Road Infrastructure Services"; + value: "other.transport.road.infrastructure"; + } + | { + description: "Unsupported Site"; + value: "other.unsupported"; + } + | { + description: "Cycle Parking Facility"; + value: "other.unsupported.cycleParking"; + } + | { + description: "Picnic / Barbeque Site"; + value: "other.unsupported.picnic"; + } + | { + description: "Travelling Persons Site"; + value: "other.unsupported.travellingPersons"; + } + | { + description: "Shelter (Not Including Bus Shelter)"; + value: "other.unsupported.shelter"; + } + | { + description: "Street Record"; + value: "parent.street"; + } + | { + description: "Residential"; + value: "residential"; + } + | { + description: "Ancillary Building"; + value: "residential.building"; + } + | { + description: "Car Park Space"; + value: "residential.carParkingSpace"; + } + | { + description: "Allocated Parking"; + value: "residential.carParkingSpace.allocated"; + } + | { + description: "Residential dwelling"; + value: "residential.dwelling"; + } + | { + description: "Caravan"; + value: "residential.dwelling.caravan"; + } + | { + description: "Detached"; + value: "residential.dwelling.house.detached"; + } + | { + description: "Semi-detached"; + value: "residential.dwelling.house.semiDetached"; + } + | { + description: "Terrace"; + value: "residential.dwelling.house.terrace"; + } + | { + description: "Flat"; + value: "residential.dwelling.flat"; + } + | { + description: "House Boat"; + value: "residential.dwelling.boat"; + } + | { + description: "Sheltered Accommodation"; + value: "residential.dwelling.shelteredAccommodation"; + } + | { + description: "Privately Owned Holiday Caravan / Chalet"; + value: "residential.dwelling.holiday"; + } + | { + description: "Garage"; + value: "residential.garage"; + } + | { + description: "Lock-Up Garage / Garage Court"; + value: "residential.garage.court"; + } + | { + description: "House In Multiple Occupation"; + value: "residential.HMO"; + } + | { + description: "HMO Parent"; + value: "residential.HMO.parent"; + } + | { + description: "HMO Bedsit / Other Non Self Contained Accommodation"; + value: "residential.HMO.bedsit"; + } + | { + description: "HMO Not Further Divided"; + value: "residential.HMO.undivided"; + } + | { + description: "Residential Institution"; + value: "residential.institution"; + } + | { + description: "Care / Nursing Home"; + value: "residential.institution.care"; + } + | { + description: "Communal Residence"; + value: "residential.institution.communal"; + } + | { + description: "Non-Commercial Lodgings"; + value: "residential.institution.noncommercial"; + } + | { + description: "Religious Community"; + value: "residential.institution.religious"; + } + | { + description: "Residential Education"; + value: "residential.institution.education"; + } + | { + description: "Unclassified"; + value: "unclassified"; + } + | { + description: "Awaiting Classification"; + value: "unclassified.awaitingclassification"; + } + | { + description: "Pending Internal Investigation"; + value: "unclassified.pendingInvestigation"; + } + | { + description: "Dual Use"; + value: "dualUse"; + } + | { + description: "Object of Interest"; + value: "object"; + } + | { + description: "Archaeological Dig Site"; + value: "object.archaeological"; + } + | { + description: "Monument"; + value: "object.monument"; + } + | { + description: "Obelisk / Milestone / Standing Stone"; + value: "object.monument.vertical"; + } + | { + description: "Obelisk"; + value: "object.monument.vertical.obelisk"; + } + | { + description: "Standing Stone"; + value: "object.monument.vertical.standingStone"; + } + | { + description: "Memorial / Market Cross"; + value: "object.monument.memorial"; + } + | { + description: "Statue"; + value: "object.monument.statue"; + } + | { + description: "Castle / Historic Ruin"; + value: "object.monument.ruin"; + } + | { + description: "Other Structure"; + value: "object.monument.other"; + } + | { + description: "Boundary Stone"; + value: "object.monument.other.boundaryStone"; + } + | { + description: "Cascade / Fountain"; + value: "object.monument.other.waterFeature"; + } + | { + description: "Permanent Art Display / Sculpture"; + value: "object.monument.other.art"; + } + | { + description: "Windmill (Inactive)"; + value: "object.monument.other.windmill"; + } + | { + description: "Stately Home"; + value: "object.statelyHome"; + } + | { + description: "Underground Feature"; + value: "object.underground"; + } + | { + description: "Cave"; + value: "object.underground.cave"; + } + | { + description: "Pothole / Natural Hole"; + value: "object.underground.hole"; + } + | { + description: "Other Underground Feature"; + value: "object.underground.other"; + } + | { + description: "Cellar"; + value: "object.underground.other.cellar"; + } + | { + description: "Disused Mine"; + value: "object.underground.other.extraction"; + } + | { + description: "Mineral Mining / Inactive"; + value: "object.underground.other.extraction.mine"; + } + | { + description: "Oil And / Gas Extraction/ Inactive"; + value: "object.underground.other.extraction.oilGas"; + } + | { + description: "Mineral Quarrying And / Open Extraction / Inactive"; + value: "object.underground.other.extraction.quarry"; + } + | { + description: "Well / Spring"; + value: "object.underground.other.water"; + } + | { + description: "Spring"; + value: "object.underground.other.water.spring"; + } + | { + description: "Well"; + value: "object.underground.other.water.well"; + } + | { + description: "Place Of Worship"; + value: "object.religious"; + } + | { + description: "Religious building"; + value: "object.religious.building"; + } + | { + description: "Abbey"; + value: "object.religious.building.abbey"; + } + | { + description: "Cathedral"; + value: "object.religious.building.cathedral"; + } + | { + description: "Church"; + value: "object.religious.building.church"; + } + | { + description: "Chapel"; + value: "object.religious.building.chapel"; + } + | { + description: "Gurdwara"; + value: "object.religious.building.gurdwara"; + } + | { + description: "Kingdom Hall"; + value: "object.religious.building.kingdomHall"; + } + | { + description: "Lych Gate"; + value: "object.religious.building.lychGate"; + } + | { + description: "Mosque"; + value: "object.religious.building.mosque"; + } + | { + description: "Minster"; + value: "object.religious.building.minster"; + } + | { + description: "Stupa"; + value: "object.religious.building.stupa"; + } + | { + description: "Synagogue"; + value: "object.religious.building.synagogue"; + } + | { + description: "Temple"; + value: "object.religious.building.temple"; + }; +/** + * Planning project types + */ +export type ProjectType = + | { + description: "Add or alter a balcony"; + value: "alter.balcony"; + } + | { + description: "Add or remove a bay window"; + value: "alter.bayWindow"; + } + | { + description: "Changes to a fence, wall or gate"; + value: "alter.boundary"; + } + | { + description: "Install underground cables"; + value: "alter.cables"; + } + | { + description: "Change chimneys"; + value: "alter.chimneys"; + } + | { + description: "Work on drains"; + value: "alter.drains"; + } + | { + description: "Install an air conditioning unit"; + value: "alter.equipment.airConditioning"; + } + | { + description: "Install a security alarm"; + value: "alter.equipment.alarm"; + } + | { + description: "Install a satellite dish or aerial"; + value: "alter.equipment.antennae"; + } + | { + description: "Install a flue with a biomass burner"; + value: "alter.equipment.biomass"; + } + | { + description: "Install CCTV cameras"; + value: "alter.equipment.cctv"; + } + | { + description: "Install a car charging point"; + value: "alter.equipment.charging"; + } + | { + description: "Install a heat pump"; + value: "alter.equipment.heatPump"; + } + | { + description: "Install outdoor lights"; + value: "alter.equipment.lighting"; + } + | { + description: "Install solar panels"; + value: "alter.equipment.solar"; + } + | { + description: "Install an outdoor tank (for example a water tank)"; + value: "alter.equipment.tank"; + } + | { + description: "Install a wind turbine"; + value: "alter.equipment.wind"; + } + | { + description: "Change the material or colour of the external walls"; + value: "alter.facades"; + } + | { + description: "Changes to a public road, pavement or path (including drop kerb)"; + value: "alter.highways"; + } + | { + description: "Landscaping works"; + value: "alter.landscape"; + } + | { + description: "Add or remove a pond"; + value: "alter.landscape.ponds"; + } + | { + description: "Add new doorways or windows"; + value: "alter.openings.add"; + } + | { + description: "Change the size of doorways or windows"; + value: "alter.openings.alter"; + } + | { + description: "Block up doorways or windows"; + value: "alter.openings.remove"; + } + | { + description: "Remove part of a building (such as a decorative feature)"; + value: "alter.remove"; + } + | { + description: "Remove equipment"; + value: "alter.remove.equipment"; + } + | { + description: "Repair windows or doors"; + value: "alter.repair"; + } + | { + description: "Replace windows or doors"; + value: "alter.replace"; + } + | { + description: "Replace or change the roof materials"; + value: "alter.roof.materials"; + } + | { + description: "Add a roof terrace"; + value: "alter.roof.roofTerrace"; + } + | { + description: "Change the shape of a roof"; + value: "alter.roof.shape"; + } + | { + description: "Add skylights to an existing roof"; + value: "alter.rooflight"; + } + | { + description: "Add secondary glazing to a window"; + value: "alter.secondaryGlazing"; + } + | { + description: "Add or alter shop fronts"; + value: "alter.shopfronts"; + } + | { + description: "Add or alter shutters"; + value: "alter.shutters"; + } + | { + description: "Add or replace a soil pipe"; + value: "alter.soilPipes"; + } + | { + description: "Add or change an external staircase"; + value: "alter.staircase"; + } + | { + description: "Add a decked area or patio"; + value: "alter.surfaces"; + } + | { + description: "Add a driveway or parking area"; + value: "alter.surfaces.parking"; + } + | { + description: "Install a swimming pool"; + value: "alter.swimmingPool"; + } + | { + description: "Changes to trees or hedges"; + value: "alter.trees"; + } + | { + description: "Convert a building to a different use"; + value: "changeOfUse"; + } + | { + description: "Convert part of the property into a granny flat (residential annexe)"; + value: "changeofUse.annexe"; + } + | { + description: "Use a caravan or mobile home on the property"; + value: "changeOfUse.caravans"; + } + | { + description: "Convert a garage"; + value: "changeOfUse.garage"; + } + | { + description: "Let a part of the property"; + value: "changeOfUse.let.part"; + } + | { + description: "Let the property"; + value: "changeOfUse.let.whole"; + } + | { + description: "Convert an outbuilding (such as a shed, garage or barn)"; + value: "changeOfUse.outbuilding"; + } + | { + description: "Convert part of a building"; + value: "changeOfUse.part"; + } + | { + description: "Change the use of a property"; + value: "changeOfUse.whole"; + } + | { + description: "Convert a home to bedsits or a shared home"; + value: "changeOfUse.whole.homeToHMO"; + } + | { + description: "Work from home"; + value: "changeOfUse.workFromHome"; + } + | { + description: "Demolish a building"; + value: "demolish"; + } + | { + description: "Demolish a fence, gate or boundary wall"; + value: "demolish.boundary"; + } + | { + description: "Demolish a building"; + value: "demolish.full"; + } + | { + description: "Demolish an outbuilding (such as a garage or barn)"; + value: "demolish.outbuildings"; + } + | { + description: "Demolish part of a building (such as an extension)"; + value: "demolish.part"; + } + | { + description: "Demolish a building and build homes in its place"; + value: "demolish.replace"; + } + | { + description: "Add a basement extension"; + value: "extend.basement"; + } + | { + description: "Add a front extension"; + value: "extend.front"; + } + | { + description: "Add an outbuilding (such as a shed, garage or garden office)"; + value: "extend.outbuildings"; + } + | { + description: "Add a porch"; + value: "extend.porch"; + } + | { + description: "Add a rear or side extension (or conservatory)"; + value: "extend.rear"; + } + | { + description: "Add a roof extension"; + value: "extend.roof"; + } + | { + description: "Add roof dormers"; + value: "extend.roof.dormer"; + } + | { + description: "Change the internal layout"; + value: "internal"; + } + | { + description: "Convert a loft"; + value: "internal.loft"; + } + | { + description: "Add a mezzanine floor"; + value: "internal.mezzanine"; + } + | { + description: "Another type of building"; + value: "new"; + } + | { + description: "Agricultural buildings"; + value: "new.agriculture"; + } + | { + description: "Install click and collect facilities"; + value: "new.clickCollect"; + } + | { + description: "Build new forestry buildings"; + value: "new.forestry"; + } + | { + description: "Leisure premises"; + value: "new.leisure"; + } + | { + description: "Industrial premises"; + value: "new.industrial"; + } + | { + description: "Offices"; + value: "new.office"; + } + | { + description: "Build new homes on a roof"; + value: "new.residential.dwelling"; + } + | { + description: "Retail premises"; + value: "new.retail"; + } + | { + description: "Install telecommunications equipment"; + value: "new.telecoms"; + } + | { + description: "Erect a temporary structure for historic visitor attractions and listed buildings"; + value: "new.temporaryStructure"; + } + | { + description: "Storage or distribution premises"; + value: "new.warehouse"; + } + | { + description: "Convert two or more properties into one"; + value: "unit.merge"; + } + | { + description: "Convert part of a house into a flat"; + value: "unit.subdivide"; + }; +/** + * Types of planning documents and drawings + */ +export type FileType = + | { + description: "Elevation plan - existing"; + value: "property.drawing.elevation"; + } + | { + description: "Floor plan - existing"; + value: "property.drawing.floorPlan"; + } + | { + description: "Roof plan - existing"; + value: "property.drawing.roofPlan"; + } + | { + description: "Section - existing"; + value: "property.drawing.section"; + } + | { + description: "Site plan - existing"; + value: "property.drawing.sitePlan"; + } + | { + description: "Use plan - existing"; + value: "property.drawing.usePlan"; + } + | { + description: "Photographs"; + value: "property.photograph"; + } + | { + description: "Location plan"; + value: "property.site.locationPlan"; + } + | { + description: "Elevation plan - proposed"; + value: "proposal.drawing.elevation"; + } + | { + description: "Floor plan - proposed"; + value: "proposal.drawing.floorPlan"; + } + | { + description: "Other - drawing"; + value: "proposal.drawing.other"; + } + | { + description: "Roof plan - proposed"; + value: "proposal.drawing.roofPlan"; + } + | { + description: "Section - proposed"; + value: "proposal.drawing.section"; + } + | { + description: "Site plan - proposed"; + value: "proposal.drawing.sitePlan"; + } + | { + description: "Unit plan - proposed"; + value: "proposal.drawing.unitPlan"; + } + | { + description: "Use plan - proposed"; + value: "proposal.drawing.usePlan"; + } + | { + description: "Bank statement"; + value: "proposal.document.bankStatement"; + } + | { + description: "Building control certificate"; + value: "proposal.document.buildingControl.certificate"; + } + | { + description: "Construction invoice"; + value: "proposal.document.construction.invoice"; + } + | { + description: "Contamination report"; + value: "proposal.document.contamination"; + } + | { + description: "Council tax bill"; + value: "proposal.document.councilTaxBill"; + } + | { + description: "Statuatory declaration"; + value: "proposal.document.declaration"; + } + | { + description: "Design and Access Statement"; + value: "proposal.document.designAndAccess"; + } + | { + description: "Flood risk assessment"; + value: "proposal.document.floodRisk"; + } + | { + description: "Heritage Statement"; + value: "proposal.document.heritageStatement"; + } + | { + description: "Noise assessment"; + value: "proposal.document.noise"; + } + | { + description: "Other - document"; + value: "proposal.document.other"; + } + | { + description: "Other - correspondence"; + value: "proposal.document.other.evidence"; + } + | { + description: "Sunlight and daylight report"; + value: "proposal.document.sunAndDaylight"; + } + | { + description: "Tenancy agreement"; + value: "proposal.document.tenancyAgreement"; + } + | { + description: "Tenancy invoice"; + value: "proposal.document.tenancyInvoice"; + } + | { + description: "Transport assessment"; + value: "proposal.document.transport"; + } + | { + description: "Utility bill"; + value: "proposal.document.utility.bill"; + } + | { + description: "Photographs"; + value: "proposal.photograph"; + } + | { + description: "Visualisations"; + value: "proposal.visualisation"; + }; export type UUID = string; export type URL = string; -export type DateTime = string; +/** + * The ordered list of questions, answers, and their metadata for this application + */ +export type Responses = QuestionAndResponses[]; +/** + * An individual result of this application + */ +export type ResultFlag = + | { + description: "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."; + value: "Planning permission / Immune"; + } + | { + description: "There is some key information missing that will be needed to assess this application."; + value: "Planning permission / Missing information"; + } + | { + description: "It looks like the proposed changes may require planning permission."; + value: "Planning permission / Permission needed"; + } + | { + description: "It looks like the proposed changes do not require planning permission, however the applicant must apply for Prior Approval before proceeding."; + value: "Planning permission / Prior approval"; + } + | { + description: "It looks like the proposed changes may not require planning permission, however the applicant must provide notice to the planning authority before proceeding."; + value: "Planning permission / Notice"; + } + | { + description: "It looks like the proposed changes may fall within the rules for Permitted Development and therefore would not need planning permission."; + value: "Planning permission / Permitted development"; + } + | { + description: "It looks like the proposed changes may not fall within the legal definition of 'development', and therefore would not require planning permission."; + value: "Planning permission / Not development"; + } + | { + description: ""; + value: "Listed building consent / Missing information"; + } + | { + description: ""; + value: "Listed building consent / Required"; + } + | { + description: ""; + value: "Listed building consent / De minimis"; + } + | { + description: ""; + value: "Listed building consent / Not required"; + } + | { + description: ""; + value: "Works to trees & hedges / Missing information"; + } + | { + description: ""; + value: "Works to trees & hedges / Required"; + } + | { + description: ""; + value: "Works to trees & hedges / De minimis"; + } + | { + description: ""; + value: "Works to trees & hedges / Not required"; + } + | { + description: ""; + value: "Demolition in a conservation area / Missing information"; + } + | { + description: ""; + value: "Demolition in a conservation area / Required"; + } + | { + description: ""; + value: "Demolition in a conservation area / De minimis"; + } + | { + description: ""; + value: "Demolition in a conservation area / Not required"; + } + | { + description: ""; + value: "Planning policy / Missing information"; + } + | { + description: ""; + value: "Planning policy / Fails to meet policy"; + } + | { + description: ""; + value: "Planning policy / Edge case"; + } + | { + description: ""; + value: "Planning policy / Meets policy"; + } + | { + description: ""; + value: "Community infrastructure levy / Missing information"; + } + | { + description: ""; + value: "Community infrastructure levy / Exemption void"; + } + | { + description: ""; + value: "Community infrastructure levy / Exempt"; + } + | { + description: ""; + value: "Community infrastructure levy / Relief void"; + } + | { + description: ""; + value: "Community infrastructure levy / Relief"; + } + | { + description: ""; + value: "Community infrastructure levy / Liable"; + } + | { + description: ""; + value: "Community infrastructure levy / Not liable"; + }; +/** + * The result of this application. Results are determined by flags corresponding to responses; each application can have up to one result per flagset + */ +export type Result = ResultFlag[]; /** * Root of PlanX's Digital Planning Schema @@ -25,27 +2650,187 @@ export interface DigitalPlanningDataSchema { responses: Responses; result: Result; } -export interface Applicant { +/** + * Information about the user who completed the application for themself, or information about the resident who the user applied on behalf of + */ +export interface BaseApplicant { + address: UserAddress; + contact: UserContact; + siteContact: SiteContact; + type: "individual" | "company" | "charity" | "public" | "parishCouncil"; +} +/** + * Address information for any user who's contact information differs from the site address + */ +export interface UserAddressNotSameSite { + country?: string; + county?: string; + line1: string; + line2?: string; + postcode: string; + sameAsSiteAddress: false; + town: string; +} +/** + * Contact information for any user + */ +export interface UserContact { + company?: { + name?: string; + }; + email: Email; + name: { + first: string; + last: string; + title?: string; + }; + phone: { + primary: string; + }; +} +/** + * Contact information for the site visit when the SiteContact's role is 'other' + */ +export interface SiteContactOther { + email: string; name: string; + phone: string; + role: "other"; +} +/** + * Information about the user who completed the application on behalf of someone else + */ +export interface Agent { + address: UserAddress; + agent: { + address: UserAddress; + contact: UserContact; + }; + contact: UserContact; + siteContact: SiteContact; + type: "individual" | "company" | "charity" | "public" | "parishCouncil"; } +/** + * Information about this planning application + */ export interface Application { - name: string; + declaration: { + accurate: true; + connection: "employee" | "relation.employee" | "electedMember" | "relation.electedMember" | "none"; + description?: string; + }; + fee: ApplicationFee; + preApp?: PreApplication; + type: ApplicationType; } /** - * This is an applicant + * The costs associated with this application + */ +export interface ApplicationFee { + calculated: number; + exemption: { + disability: boolean; + resubmission: boolean; + }; + payable: number; + reduction: { + alternative: boolean; + parishCouncil: boolean; + sports: boolean; + }; + reference?: { + govPay: string; + }; +} +/** + * Details of the pre-application, if applicable + */ +export interface PreApplication { + date: DateTime; + officer: string; + reference: string; + summary: string; +} +/** + * The site where the works will happen */ export interface Property { - name: string; + address: ProposedAddress | OSAddress; + boundary?: { + area: { + hectares: number; + squareMeters: number; + }; + site: string; + }; + constraints?: { + planning: { + description: string; + intersects: boolean; + value: string; + }[]; + }; + type: PropertyType; +} +/** + * Address information for sites without a known Unique Property Reference Number (UPRN) + */ +export interface ProposedAddress { + latitude: number; + localAuthorityDistrict: string[]; + longitude: number; + region: string; + source: "Proposed by applicant"; + title: string; + x: number; + y: number; +} +/** + * Address information for sites with a known address sourced from Ordnance Survey AddressBase Premium + */ +export interface OSAddress { + latitude: number; + localAuthorityDistrict: string[]; + longitude: number; + organisation?: string; + pao: string; + postcode: string; + region: string; + source: "Ordnance Survey"; + street: string; + title: string; + town: string; + uprn: string; + usrn: string; + x: number; + y: number; } +/** + * Information about the project + */ export interface Proposal { - name: string; + completion?: "10plus" | "4plus" | "lessThan4" | "lessThan10"; + date?: { + finish: DateTime; + start: DateTime; + }; + description: string; + projectType: ProjectType[]; + time?: "future" | "past"; } +/** + * The role of the user who completed the application + */ export interface User { - name: string; + role: "applicant" | "agent" | "proxy"; } +/** + * Files uploaded by the user to support this application + */ export interface File { - foo: "bar" | "baz" | "boo"; - size: string; + description?: string; + name: string; + type: FileType[]; } export interface Metadata { /** @@ -64,9 +2849,23 @@ export interface Metadata { submittedAt: DateTime; }; } -export interface Responses { - name: string; +export interface QuestionAndResponses { + metadata?: QuestionMetaData; + question: string; + responses: Response[] | string; } -export interface Result { - name: string; +export interface QuestionMetaData { + autoAnswered?: boolean; + policyRefs?: { + text?: string; + url?: string; + }[]; + sectionName?: string; +} +export interface Response { + metadata?: ResponseMetaData; + value: string; +} +export interface ResponseMetaData { + flags?: string[]; } From df198b602e192767b79f85f295d05fdc7dc8a50d Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Tue, 19 Sep 2023 13:18:10 +0200 Subject: [PATCH 02/13] run prettier, temp skip failing tests --- src/export/digitalPlanning/model.test.ts | 4 +- src/export/digitalPlanning/model.ts | 28 +- src/export/digitalPlanning/schema/schema.json | 3431 ++++------------- src/export/digitalPlanning/schema/types.d.ts | 7 +- 4 files changed, 708 insertions(+), 2762 deletions(-) diff --git a/src/export/digitalPlanning/model.test.ts b/src/export/digitalPlanning/model.test.ts index 9afc8309..aa4b9623 100644 --- a/src/export/digitalPlanning/model.test.ts +++ b/src/export/digitalPlanning/model.test.ts @@ -10,7 +10,7 @@ const mockPassport = new Passport({ describe("DigitalPlanning", () => { describe("getPayload", () => { - it("should return valid payload", () => { + it.skip("should return valid payload", () => { const instance = new DigitalPlanning({ sessionId: "session123", passport: mockPassport, @@ -92,7 +92,7 @@ describe("DigitalPlanning", () => { ); }); - test("incorrect enum value", () => { + test.skip("incorrect enum value", () => { const instance = new DigitalPlanning({ sessionId: "session123", passport: mockPassport, diff --git a/src/export/digitalPlanning/model.ts b/src/export/digitalPlanning/model.ts index 1d3b5e3d..e0f1dc8d 100644 --- a/src/export/digitalPlanning/model.ts +++ b/src/export/digitalPlanning/model.ts @@ -34,7 +34,7 @@ export class DigitalPlanning { return { data: { user: { - role: this.passport.data?.["user.role"] + role: this.passport.data?.["user.role"], }, applicant: { type: this.passport.data?.["applicant.type"], @@ -44,13 +44,15 @@ export class DigitalPlanning { last: this.passport.data?.["applicant.name.last"], }, email: this.passport.data?.["applicant.email"], - phone: this.passport.data?.["applicant.phone.primary"], + phone: { + primary: this.passport.data?.["applicant.phone.primary"], + }, }, address: { sameAsSiteAddress: true, }, siteContact: { - role: this.passport.data?.["user.role"], + role: "applicant", }, }, property: { @@ -61,7 +63,8 @@ export class DigitalPlanning { x: this.passport.data?.["_address.x"], y: this.passport.data?.["_address.y"], title: this.passport.data?.["_address.title"], - localAuthorityDistrict: this.passport.data?.["property.localAuthorityDistrict"], + localAuthorityDistrict: + this.passport.data?.["property.localAuthorityDistrict"], region: this.passport.data?.["property.region"], }, type: { @@ -73,7 +76,7 @@ export class DigitalPlanning { area: { hectares: this.passport.data?.["property.boundary.area.hectares"], squareMeters: this.passport.data?.["property.boundary.area"], - } + }, }, constraints: { planning: [], @@ -88,18 +91,23 @@ export class DigitalPlanning { calculated: this.passport.data?.["application.fee.calculated"], payable: this.passport.data?.["application.fee.payable"], exemption: { - disability: this.passport.data?.["application.fee.exemption.disability"], - resubmission: this.passport.data?.["application.fee.exemption.resubmission"], + disability: + this.passport.data?.["application.fee.exemption.disability"], + resubmission: + this.passport.data?.["application.fee.exemption.resubmission"], }, reduction: { sports: this.passport.data?.["application.fee.reduction.sports"], - parishCouncil: this.passport.data?.["application.fee.reduction.parishCouncil"], - alternative: this.passport.data?.["application.fee.reduction.alternative"], + parishCouncil: + this.passport.data?.["application.fee.reduction.parishCouncil"], + alternative: + this.passport.data?.["application.fee.reduction.alternative"], }, }, declaration: { accurate: this.passport.data?.["application.declaration.accurate"], - connection: this.passport.data?.["application.declaration.connection"], + connection: + this.passport.data?.["application.declaration.connection"], }, }, proposal: { diff --git a/src/export/digitalPlanning/schema/schema.json b/src/export/digitalPlanning/schema/schema.json index 9a009f7b..ebba1f3d 100644 --- a/src/export/digitalPlanning/schema/schema.json +++ b/src/export/digitalPlanning/schema/schema.json @@ -21,10 +21,7 @@ "$ref": "#/definitions/UserContact" } }, - "required": [ - "contact", - "address" - ], + "required": ["contact", "address"], "type": "object" }, "contact": { @@ -44,13 +41,7 @@ "type": "string" } }, - "required": [ - "address", - "agent", - "contact", - "siteContact", - "type" - ], + "required": ["address", "agent", "contact", "siteContact", "type"], "type": "object" }, "Applicant": { @@ -91,10 +82,7 @@ "type": "string" } }, - "required": [ - "accurate", - "connection" - ], + "required": ["accurate", "connection"], "type": "object" }, "fee": { @@ -107,11 +95,7 @@ "$ref": "#/definitions/ApplicationType" } }, - "required": [ - "type", - "fee", - "declaration" - ], + "required": ["type", "fee", "declaration"], "type": "object" }, "ApplicationFee": { @@ -132,10 +116,7 @@ "type": "boolean" } }, - "required": [ - "disability", - "resubmission" - ], + "required": ["disability", "resubmission"], "type": "object" }, "payable": { @@ -154,11 +135,7 @@ "type": "boolean" } }, - "required": [ - "alternative", - "parishCouncil", - "sports" - ], + "required": ["alternative", "parishCouncil", "sports"], "type": "object" }, "reference": { @@ -168,18 +145,11 @@ "type": "string" } }, - "required": [ - "govPay" - ], + "required": ["govPay"], "type": "object" } }, - "required": [ - "calculated", - "payable", - "exemption", - "reduction" - ], + "required": ["calculated", "payable", "exemption", "reduction"], "type": "object" }, "ApplicationType": { @@ -197,10 +167,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -215,10 +182,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -233,10 +197,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -251,10 +212,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -269,10 +227,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -287,10 +242,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -305,10 +257,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -323,10 +272,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -341,10 +287,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -359,10 +302,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -377,10 +317,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -395,10 +332,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -413,10 +347,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -431,10 +362,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -449,10 +377,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -467,10 +392,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -485,10 +407,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -503,10 +422,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -521,10 +437,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -539,10 +452,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -557,10 +467,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -575,10 +482,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -593,10 +497,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -611,10 +512,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -629,10 +527,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -647,10 +542,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -665,10 +557,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -683,10 +572,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -701,10 +587,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -719,10 +602,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -737,10 +617,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -755,10 +632,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -773,10 +647,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" } ], @@ -807,12 +678,7 @@ "type": "string" } }, - "required": [ - "type", - "contact", - "address", - "siteContact" - ], + "required": ["type", "contact", "address", "siteContact"], "type": "object" }, "DateTime": { @@ -841,10 +707,7 @@ "type": "array" } }, - "required": [ - "name", - "type" - ], + "required": ["name", "type"], "type": "object" }, "FileType": { @@ -862,10 +725,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -880,10 +740,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -898,10 +755,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -916,10 +770,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -934,10 +785,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -952,10 +800,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -970,10 +815,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -988,10 +830,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1006,10 +845,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1024,10 +860,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1042,10 +875,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1060,10 +890,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1078,10 +905,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1096,10 +920,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1114,10 +935,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1132,10 +950,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1150,10 +965,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1168,10 +980,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1186,10 +995,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1204,10 +1010,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1222,10 +1025,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1240,10 +1040,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1258,10 +1055,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1276,10 +1070,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1294,10 +1085,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1312,10 +1100,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1330,10 +1115,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1348,10 +1130,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1366,10 +1145,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1384,10 +1160,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1402,10 +1175,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1420,10 +1190,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1438,10 +1205,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1456,10 +1220,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1474,10 +1235,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" } ], @@ -1503,12 +1261,7 @@ "$ref": "#/definitions/URL" } }, - "required": [ - "publishedFlowId", - "name", - "owner", - "url" - ], + "required": ["publishedFlowId", "name", "owner", "url"], "type": "object" }, "session": { @@ -1529,19 +1282,11 @@ "$ref": "#/definitions/DateTime" } }, - "required": [ - "source", - "id", - "createdAt", - "submittedAt" - ], + "required": ["source", "id", "createdAt", "submittedAt"], "type": "object" } }, - "required": [ - "service", - "session" - ], + "required": ["service", "session"], "type": "object" }, "OSAddress": { @@ -1635,12 +1380,7 @@ "type": "string" } }, - "required": [ - "reference", - "date", - "officer", - "summary" - ], + "required": ["reference", "date", "officer", "summary"], "type": "object" }, "ProjectType": { @@ -1658,10 +1398,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1676,10 +1413,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1694,10 +1428,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1712,10 +1443,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1730,10 +1458,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1748,10 +1473,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1766,10 +1488,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1784,10 +1503,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1802,10 +1518,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1820,10 +1533,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1838,10 +1548,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1856,10 +1563,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1874,10 +1578,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1892,10 +1593,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1910,10 +1608,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1928,10 +1623,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1946,10 +1638,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1964,10 +1653,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -1982,10 +1668,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2000,10 +1683,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2018,10 +1698,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2036,10 +1713,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2054,10 +1728,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2072,10 +1743,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2090,10 +1758,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2108,10 +1773,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2126,10 +1788,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2144,10 +1803,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2162,10 +1818,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2180,10 +1833,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2198,10 +1848,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2216,10 +1863,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2234,10 +1878,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2252,10 +1893,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2270,10 +1908,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2288,10 +1923,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2306,10 +1938,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2324,10 +1953,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2342,10 +1968,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2360,10 +1983,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2378,10 +1998,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2396,10 +2013,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2414,10 +2028,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2432,10 +2043,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2450,10 +2058,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2468,10 +2073,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2486,10 +2088,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2504,10 +2103,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2522,10 +2118,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2540,10 +2133,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2558,10 +2148,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2576,10 +2163,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2594,10 +2178,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2612,10 +2193,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2630,10 +2208,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2648,10 +2223,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2666,10 +2238,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2684,10 +2253,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2702,10 +2268,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2720,10 +2283,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2738,10 +2298,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2756,10 +2313,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2774,10 +2328,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2792,10 +2343,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2810,10 +2358,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2828,10 +2373,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2846,10 +2388,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2864,10 +2403,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2882,10 +2418,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2900,10 +2433,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2918,10 +2448,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2936,10 +2463,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2954,10 +2478,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2972,10 +2493,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -2990,10 +2508,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3008,10 +2523,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3026,10 +2538,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3044,10 +2553,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3062,10 +2568,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3080,10 +2583,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3098,10 +2598,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3116,10 +2613,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" } ], @@ -3153,20 +2647,14 @@ "type": "number" } }, - "required": [ - "squareMeters", - "hectares" - ], + "required": ["squareMeters", "hectares"], "type": "object" }, "site": { "type": "string" } }, - "required": [ - "site", - "area" - ], + "required": ["site", "area"], "type": "object" }, "constraints": { @@ -3186,29 +2674,20 @@ "type": "string" } }, - "required": [ - "value", - "description", - "intersects" - ], + "required": ["value", "description", "intersects"], "type": "object" }, "type": "array" } }, - "required": [ - "planning" - ], + "required": ["planning"], "type": "object" }, "type": { "$ref": "#/definitions/PropertyType" } }, - "required": [ - "address", - "type" - ], + "required": ["address", "type"], "type": "object" }, "PropertyType": { @@ -3226,10 +2705,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3244,10 +2720,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3262,10 +2735,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3280,10 +2750,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3298,10 +2765,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3316,10 +2780,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3334,10 +2795,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3352,10 +2810,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3370,10 +2825,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3388,10 +2840,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3406,10 +2855,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3424,10 +2870,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3442,10 +2885,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3460,10 +2900,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3478,10 +2915,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3496,10 +2930,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3514,10 +2945,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3532,10 +2960,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3550,10 +2975,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3568,10 +2990,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3586,10 +3005,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3604,10 +3020,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3622,10 +3035,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3640,10 +3050,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3658,10 +3065,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3676,10 +3080,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3694,10 +3095,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3712,10 +3110,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3730,10 +3125,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3748,10 +3140,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3766,10 +3155,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3784,10 +3170,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3802,10 +3185,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3820,10 +3200,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3838,10 +3215,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3856,10 +3230,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3874,10 +3245,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3892,10 +3260,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3910,10 +3275,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3928,10 +3290,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3946,10 +3305,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3964,10 +3320,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -3982,10 +3335,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4000,10 +3350,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4018,10 +3365,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4036,10 +3380,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4054,10 +3395,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4072,10 +3410,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4090,10 +3425,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4108,10 +3440,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4126,10 +3455,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4144,10 +3470,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4162,10 +3485,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4180,10 +3500,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4198,10 +3515,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4216,10 +3530,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4234,10 +3545,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4252,10 +3560,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4270,10 +3575,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4288,10 +3590,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4306,10 +3605,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4324,10 +3620,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4342,10 +3635,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4360,10 +3650,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4378,10 +3665,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4396,10 +3680,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4414,10 +3695,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4432,10 +3710,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4450,10 +3725,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4468,10 +3740,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4486,10 +3755,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4504,10 +3770,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4522,10 +3785,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4540,10 +3800,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4558,10 +3815,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4576,10 +3830,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4594,10 +3845,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4612,10 +3860,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4630,10 +3875,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4648,10 +3890,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4666,10 +3905,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4684,10 +3920,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4702,10 +3935,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4720,10 +3950,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4738,10 +3965,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4756,10 +3980,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4774,10 +3995,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4792,10 +4010,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4810,10 +4025,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4828,10 +4040,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4846,10 +4055,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4864,10 +4070,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4882,10 +4085,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4900,10 +4100,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4918,10 +4115,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4936,10 +4130,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4954,10 +4145,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4972,10 +4160,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -4990,10 +4175,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5008,10 +4190,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5026,10 +4205,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5044,10 +4220,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5062,10 +4235,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5080,10 +4250,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5098,10 +4265,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5116,10 +4280,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5134,10 +4295,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5152,10 +4310,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5170,10 +4325,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5188,10 +4340,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5206,10 +4355,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5224,10 +4370,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5242,10 +4385,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5260,10 +4400,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5278,10 +4415,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5296,10 +4430,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5314,10 +4445,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5332,10 +4460,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5350,10 +4475,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5368,10 +4490,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5386,10 +4505,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5404,10 +4520,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5422,10 +4535,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5440,10 +4550,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5458,10 +4565,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5476,10 +4580,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5494,10 +4595,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5512,10 +4610,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5530,10 +4625,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5548,10 +4640,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5566,10 +4655,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5584,10 +4670,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5602,10 +4685,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5620,10 +4700,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5638,10 +4715,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5656,10 +4730,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5674,10 +4745,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5692,10 +4760,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5710,10 +4775,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5728,10 +4790,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5746,10 +4805,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5764,10 +4820,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5782,10 +4835,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5800,10 +4850,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5818,10 +4865,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5836,10 +4880,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5854,10 +4895,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5872,10 +4910,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5890,10 +4925,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5908,10 +4940,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5926,10 +4955,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5944,10 +4970,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5962,10 +4985,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5980,10 +5000,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -5998,10 +5015,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6016,10 +5030,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6034,10 +5045,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6052,10 +5060,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6070,10 +5075,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6088,10 +5090,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6106,10 +5105,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6124,10 +5120,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6142,10 +5135,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6160,10 +5150,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6178,10 +5165,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6196,10 +5180,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6214,10 +5195,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6232,10 +5210,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6250,10 +5225,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6268,10 +5240,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6286,10 +5255,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6304,10 +5270,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6322,10 +5285,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6340,10 +5300,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6358,10 +5315,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6376,10 +5330,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6394,10 +5345,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6412,10 +5360,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6430,10 +5375,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6448,10 +5390,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6466,10 +5405,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6484,10 +5420,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6502,10 +5435,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6520,10 +5450,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6538,10 +5465,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6556,10 +5480,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6574,10 +5495,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6592,10 +5510,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6610,10 +5525,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6628,10 +5540,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6646,10 +5555,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6664,10 +5570,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6682,10 +5585,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6700,10 +5600,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6718,10 +5615,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6736,10 +5630,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6754,10 +5645,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6772,10 +5660,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6790,10 +5675,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6808,10 +5690,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6826,10 +5705,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6844,10 +5720,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6862,10 +5735,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6880,10 +5750,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6898,10 +5765,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6916,10 +5780,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6934,10 +5795,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6952,10 +5810,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6970,10 +5825,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -6988,10 +5840,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7006,10 +5855,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7024,10 +5870,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7042,10 +5885,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7060,10 +5900,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7078,10 +5915,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7096,10 +5930,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7114,10 +5945,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7132,10 +5960,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7150,10 +5975,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7168,10 +5990,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7186,10 +6005,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7204,10 +6020,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7222,10 +6035,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7240,10 +6050,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7258,10 +6065,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7276,10 +6080,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7294,10 +6095,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7312,10 +6110,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7330,10 +6125,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7348,10 +6140,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7366,10 +6155,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7384,10 +6170,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7402,10 +6185,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7420,10 +6200,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7438,10 +6215,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7456,10 +6230,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7474,10 +6245,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7492,10 +6260,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7510,10 +6275,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7528,10 +6290,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7546,10 +6305,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7564,10 +6320,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7582,10 +6335,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7600,10 +6350,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7618,10 +6365,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7636,10 +6380,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7654,10 +6395,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7672,10 +6410,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7690,10 +6425,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7708,10 +6440,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7726,10 +6455,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7744,10 +6470,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7762,10 +6485,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7780,10 +6500,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7798,10 +6515,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7816,10 +6530,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7834,10 +6545,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7852,10 +6560,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7870,10 +6575,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7888,10 +6590,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7906,10 +6605,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7924,10 +6620,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7942,10 +6635,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7960,10 +6650,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7978,10 +6665,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -7996,10 +6680,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8014,10 +6695,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8032,10 +6710,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8050,10 +6725,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8068,10 +6740,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8086,10 +6755,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8104,10 +6770,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8122,10 +6785,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8140,10 +6800,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8158,10 +6815,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8176,10 +6830,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8194,10 +6845,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8212,10 +6860,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8230,10 +6875,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8248,10 +6890,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8266,10 +6905,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8284,10 +6920,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8302,10 +6935,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8320,10 +6950,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8338,10 +6965,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8356,10 +6980,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8374,10 +6995,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8392,10 +7010,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8410,10 +7025,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8428,10 +7040,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8446,10 +7055,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8464,10 +7070,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8482,10 +7085,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8500,10 +7100,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8518,10 +7115,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8536,10 +7130,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8554,10 +7145,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8572,10 +7160,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8590,10 +7175,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8608,10 +7190,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8626,10 +7205,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8644,10 +7220,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8662,10 +7235,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8680,10 +7250,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8698,10 +7265,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8716,10 +7280,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8734,10 +7295,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8752,10 +7310,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8770,10 +7325,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8788,10 +7340,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8806,10 +7355,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8824,10 +7370,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8842,10 +7385,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8860,10 +7400,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8878,10 +7415,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8896,10 +7430,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8914,10 +7445,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8932,10 +7460,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8950,10 +7475,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8968,10 +7490,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -8986,10 +7505,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9004,10 +7520,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9022,10 +7535,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9040,10 +7550,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9058,10 +7565,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9076,10 +7580,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9094,10 +7595,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9112,10 +7610,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9130,10 +7625,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9148,10 +7640,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9166,10 +7655,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9184,10 +7670,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9202,10 +7685,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9220,10 +7700,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9238,10 +7715,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9256,10 +7730,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9274,10 +7745,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9292,10 +7760,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9310,10 +7775,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9328,10 +7790,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9346,10 +7805,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9364,10 +7820,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9382,10 +7835,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9400,10 +7850,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9418,10 +7865,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9436,10 +7880,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9454,10 +7895,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9472,10 +7910,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9490,10 +7925,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9508,10 +7940,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9526,10 +7955,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9544,10 +7970,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9562,10 +7985,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9580,10 +8000,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9598,10 +8015,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9616,10 +8030,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9634,10 +8045,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9652,10 +8060,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9670,10 +8075,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9688,10 +8090,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9706,10 +8105,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9724,10 +8120,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9742,10 +8135,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9760,10 +8150,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9778,10 +8165,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9796,10 +8180,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9814,10 +8195,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9832,10 +8210,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9850,10 +8225,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9868,10 +8240,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9886,10 +8255,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9904,10 +8270,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9922,10 +8285,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9940,10 +8300,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9958,10 +8315,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9976,10 +8330,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -9994,10 +8345,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10012,10 +8360,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10030,10 +8375,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10048,10 +8390,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10066,10 +8405,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10084,10 +8420,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10102,10 +8435,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10120,10 +8450,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10138,10 +8465,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10156,10 +8480,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10174,10 +8495,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10192,10 +8510,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10210,10 +8525,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10228,10 +8540,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10246,10 +8555,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10264,10 +8570,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10282,10 +8585,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10300,10 +8600,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10318,10 +8615,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10336,10 +8630,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10354,10 +8645,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10372,10 +8660,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10390,10 +8675,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10408,10 +8690,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10426,10 +8705,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10444,10 +8720,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10462,10 +8735,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10480,10 +8750,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10498,10 +8765,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10516,10 +8780,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10534,10 +8795,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10552,10 +8810,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10570,10 +8825,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10588,10 +8840,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10606,10 +8855,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10624,10 +8870,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10642,10 +8885,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10660,10 +8900,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10678,10 +8915,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10696,10 +8930,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10714,10 +8945,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10732,10 +8960,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10750,10 +8975,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10768,10 +8990,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10786,10 +9005,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10804,10 +9020,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10822,10 +9035,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10840,10 +9050,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10858,10 +9065,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10876,10 +9080,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10894,10 +9095,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10912,10 +9110,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10930,10 +9125,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10948,10 +9140,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10966,10 +9155,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -10984,10 +9170,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11002,10 +9185,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11020,10 +9200,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11038,10 +9215,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11056,10 +9230,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11074,10 +9245,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11092,10 +9260,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11110,10 +9275,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11128,10 +9290,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11146,10 +9305,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11164,10 +9320,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11182,10 +9335,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11200,10 +9350,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11218,10 +9365,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11236,10 +9380,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11254,10 +9395,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11272,10 +9410,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11290,10 +9425,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11308,10 +9440,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11326,10 +9455,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11344,10 +9470,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11362,10 +9485,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11380,10 +9500,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11398,10 +9515,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11416,10 +9530,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11434,10 +9545,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11452,10 +9560,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11470,10 +9575,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11488,10 +9590,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11506,10 +9605,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11524,10 +9620,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11542,10 +9635,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11560,10 +9650,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" } ], @@ -11575,12 +9662,7 @@ "description": "Information about the project", "properties": { "completion": { - "enum": [ - "10plus", - "4plus", - "lessThan4", - "lessThan10" - ], + "enum": ["10plus", "4plus", "lessThan4", "lessThan10"], "type": "string" }, "date": { @@ -11593,10 +9675,7 @@ "$ref": "#/definitions/DateTime" } }, - "required": [ - "start", - "finish" - ], + "required": ["start", "finish"], "type": "object" }, "description": { @@ -11609,17 +9688,11 @@ "type": "array" }, "time": { - "enum": [ - "future", - "past" - ], + "enum": ["future", "past"], "type": "string" } }, - "required": [ - "projectType", - "description" - ], + "required": ["projectType", "description"], "type": "object" }, "ProposedAddress": { @@ -11691,10 +9764,7 @@ ] } }, - "required": [ - "question", - "responses" - ], + "required": ["question", "responses"], "type": "object" }, "QuestionMetaData": { @@ -11734,9 +9804,7 @@ "type": "string" } }, - "required": [ - "value" - ], + "required": ["value"], "type": "object" }, "ResponseMetaData": { @@ -11782,10 +9850,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11800,10 +9865,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11818,10 +9880,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11836,10 +9895,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11854,10 +9910,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11872,10 +9925,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11890,10 +9940,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11908,10 +9955,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11926,10 +9970,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11944,10 +9985,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11962,10 +10000,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11980,10 +10015,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -11998,10 +10030,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -12016,10 +10045,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -12034,10 +10060,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -12052,10 +10075,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -12070,10 +10090,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -12088,10 +10105,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -12106,10 +10120,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -12124,10 +10135,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -12142,10 +10150,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -12160,10 +10165,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -12178,10 +10180,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -12196,10 +10195,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -12214,10 +10210,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -12232,10 +10225,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -12250,10 +10240,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -12268,10 +10255,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -12286,10 +10270,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" }, { @@ -12304,10 +10285,7 @@ "type": "string" } }, - "required": [ - "value", - "description" - ], + "required": ["value", "description"], "type": "object" } ], @@ -12320,17 +10298,11 @@ "additionalProperties": false, "properties": { "role": { - "enum": [ - "applicant", - "agent", - "proxy" - ], + "enum": ["applicant", "agent", "proxy"], "type": "string" } }, - "required": [ - "role" - ], + "required": ["role"], "type": "object" }, { @@ -12358,12 +10330,7 @@ "type": "string" } }, - "required": [ - "role", - "name", - "email", - "phone" - ], + "required": ["role", "name", "email", "phone"], "type": "object" }, "URL": { @@ -12381,17 +10348,11 @@ "description": "The role of the user who completed the application", "properties": { "role": { - "enum": [ - "applicant", - "agent", - "proxy" - ], + "enum": ["applicant", "agent", "proxy"], "type": "string" } }, - "required": [ - "role" - ], + "required": ["role"], "type": "object" }, "UserAddress": { @@ -12405,9 +10366,7 @@ "type": "boolean" } }, - "required": [ - "sameAsSiteAddress" - ], + "required": ["sameAsSiteAddress"], "type": "object" }, { @@ -12444,12 +10403,7 @@ "type": "string" } }, - "required": [ - "sameAsSiteAddress", - "line1", - "town", - "postcode" - ], + "required": ["sameAsSiteAddress", "line1", "town", "postcode"], "type": "object" }, "UserContact": { @@ -12482,10 +10436,7 @@ "type": "string" } }, - "required": [ - "first", - "last" - ], + "required": ["first", "last"], "type": "object" }, "phone": { @@ -12495,17 +10446,11 @@ "type": "string" } }, - "required": [ - "primary" - ], + "required": ["primary"], "type": "object" } }, - "required": [ - "name", - "email", - "phone" - ], + "required": ["name", "email", "phone"], "type": "object" } }, @@ -12530,13 +10475,7 @@ "$ref": "#/definitions/User" } }, - "required": [ - "applicant", - "property", - "application", - "proposal", - "user" - ], + "required": ["applicant", "property", "application", "proposal", "user"], "type": "object" }, "files": { @@ -12555,13 +10494,7 @@ "$ref": "#/definitions/Result" } }, - "required": [ - "data", - "result", - "metadata", - "responses", - "files" - ], + "required": ["data", "result", "metadata", "responses", "files"], "title": "Digital Planning Data Schema", "type": "object" -} \ No newline at end of file +} diff --git a/src/export/digitalPlanning/schema/types.d.ts b/src/export/digitalPlanning/schema/types.d.ts index be9c51cf..8a1fe52b 100644 --- a/src/export/digitalPlanning/schema/types.d.ts +++ b/src/export/digitalPlanning/schema/types.d.ts @@ -2716,7 +2716,12 @@ export interface Agent { export interface Application { declaration: { accurate: true; - connection: "employee" | "relation.employee" | "electedMember" | "relation.electedMember" | "none"; + connection: + | "employee" + | "relation.employee" + | "electedMember" + | "relation.electedMember" + | "none"; description?: string; }; fee: ApplicationFee; From f5c3ef91d24ba0c8c03549e5bdc50cbd8c103f26 Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Tue, 19 Sep 2023 14:47:28 +0200 Subject: [PATCH 03/13] export generate planning data method on admin client --- src/requests/export.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/requests/export.ts b/src/requests/export.ts index 01f9c24f..abd08688 100644 --- a/src/requests/export.ts +++ b/src/requests/export.ts @@ -2,6 +2,8 @@ import { GraphQLClient } from "graphql-request"; import { computeBOPSParams } from "../export/bops"; import { computeCSVData } from "../export/csv"; +import { generateDigitalPlanningPayload } from "../export/digitalPlanning"; +import { DigitalPlanningDataSchema } from "../export/digitalPlanning/schema/types"; import type { BOPSExportData, ExportData } from "../types"; import { findPublishedFlowBySessionId, getFlowName } from "./flow"; import { getSessionById, getSessionPassport } from "./session"; @@ -20,6 +22,12 @@ export class ExportClient { bopsPayload(sessionId: string): Promise { return generateBOPSPayload(this.client, sessionId); } + + digitalPlanningDataPayload( + sessionId: string, + ): Promise { + return generateDigitalPlanningPayload(this.client, sessionId); + } } export async function generateCSVData( From 3b683338375333363e077b837012535bb2524c4c Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Thu, 21 Sep 2023 10:06:45 +0200 Subject: [PATCH 04/13] ensure schema/schema.json gets bundled on build --- package.json | 6 ++-- pnpm-lock.yaml | 93 +++++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 88 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 0ec39110..709b33f1 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ } }, "scripts": { - "build": "rimraf ./types ./dist && tsc --project ./tsconfig.types.json && tsc", + "build": "rimraf ./types ./dist && tsc --project ./tsconfig.types.json && tsc && pnpm copy-schema-files", "examples": "rimraf ./examples && ts-node ./src/templates/generateExamples.ts", "lint": "eslint 'src/**/*.{js,ts}' && prettier -c src/**/*", "lint:fix": "eslint --fix 'src/**/*.{js,ts}' && prettier -w src/**/*", @@ -40,7 +40,8 @@ "check": "tsc --project ./tsconfig.check.json && pnpm lint", "postinstall": "pnpm i rimraf && pnpm build", "prepare": "husky install", - "generate-types-from-schema": "cd src/export/digitalPlanning/schema/ && json2ts schema.json > types.d.ts" + "generate-types-from-schema": "cd src/export/digitalPlanning/schema/ && json2ts schema.json > types.d.ts", + "copy-schema-files": "copyfiles 'schema/schema.json' dist" }, "dependencies": { "@emotion/react": "^11.11.1", @@ -49,6 +50,7 @@ "@types/geojson": "^7946.0.10", "ajv": "^8.12.0", "ajv-formats": "^2.1.1", + "copyfiles": "^2.4.1", "docx": "^8.2.2", "eslint": "^8.49.0", "fast-xml-parser": "^4.2.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e0587ee8..ddf6ab68 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,6 +23,9 @@ dependencies: ajv-formats: specifier: ^2.1.1 version: 2.1.1(ajv@8.12.0) + copyfiles: + specifier: ^2.4.1 + version: 2.4.1 docx: specifier: ^8.2.2 version: 8.2.2 @@ -2380,6 +2383,14 @@ packages: string-width: 5.1.2 dev: true + /cliui@7.0.4: + resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==} + dependencies: + string-width: 4.2.3 + strip-ansi: 6.0.1 + wrap-ansi: 7.0.0 + dev: false + /cliui@8.0.1: resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} engines: {node: '>=12'} @@ -2442,7 +2453,7 @@ packages: dev: true /concat-map@0.0.1: - resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} + resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=} /convert-source-map@1.9.0: resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==} @@ -2456,6 +2467,19 @@ packages: engines: {node: '>=0.10.0'} dev: true + /copyfiles@2.4.1: + resolution: {integrity: sha512-fereAvAvxDrQDOXybk3Qu3dPbOoKoysFMWtkY3mv5BsL8//OSZVL5DCLYqgRfY5cWirgRzlC+WSrxp6Bo3eNZg==} + hasBin: true + dependencies: + glob: 7.2.3 + minimatch: 3.1.2 + mkdirp: 1.0.4 + noms: 0.0.0 + through2: 2.0.5 + untildify: 4.0.0 + yargs: 16.2.0 + dev: false + /core-util-is@1.0.3: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} dev: false @@ -2658,7 +2682,6 @@ packages: /emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} - dev: true /emoji-regex@9.2.2: resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} @@ -2755,7 +2778,6 @@ packages: /escalade@3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} engines: {node: '>=6'} - dev: true /escape-string-regexp@1.0.5: resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} @@ -3150,7 +3172,6 @@ packages: /get-caller-file@2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} engines: {node: 6.* || 8.* || >= 10.*} - dev: true /get-package-type@0.1.0: resolution: {integrity: sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==} @@ -3463,7 +3484,6 @@ packages: /is-fullwidth-code-point@3.0.0: resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} engines: {node: '>=8'} - dev: true /is-fullwidth-code-point@4.0.0: resolution: {integrity: sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==} @@ -3532,6 +3552,10 @@ packages: engines: {node: '>=0.10.0'} dev: true + /isarray@0.0.1: + resolution: {integrity: sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==} + dev: false + /isarray@1.0.0: resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==} @@ -4618,6 +4642,13 @@ packages: resolution: {integrity: sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==} dev: true + /noms@0.0.0: + resolution: {integrity: sha512-lNDU9VJaOPxUmXcLb+HQFeUgQQPtMI24Gt6hgfuMHRJgMRHMF/qZ4HJD3GDru4sSw9IQl2jPjAYnQrdIeLbwow==} + dependencies: + inherits: 2.0.4 + readable-stream: 1.0.34 + dev: false + /normalize-path@2.1.1: resolution: {integrity: sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w==} engines: {node: '>=0.10.0'} @@ -4948,6 +4979,15 @@ packages: loose-envify: 1.4.0 dev: false + /readable-stream@1.0.34: + resolution: {integrity: sha512-ok1qVCJuRkNmvebYikljxJA/UEsKwLl2nI1OmaqAu4/UE+h0wKCHok4XkL/gvi39OacXvw59RJUOFUkDib2rHg==} + dependencies: + core-util-is: 1.0.3 + inherits: 2.0.4 + isarray: 0.0.1 + string_decoder: 0.10.31 + dev: false + /readable-stream@2.3.8: resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==} dependencies: @@ -4993,7 +5033,6 @@ packages: /require-directory@2.1.1: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} - dev: true /require-from-string@2.0.2: resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} @@ -5308,7 +5347,6 @@ packages: emoji-regex: 8.0.0 is-fullwidth-code-point: 3.0.0 strip-ansi: 6.0.1 - dev: true /string-width@5.1.2: resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==} @@ -5319,6 +5357,10 @@ packages: strip-ansi: 7.1.0 dev: true + /string_decoder@0.10.31: + resolution: {integrity: sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ==} + dev: false + /string_decoder@1.1.1: resolution: {integrity: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==} dependencies: @@ -5422,6 +5464,13 @@ packages: any-promise: 1.3.0 dev: false + /through2@2.0.5: + resolution: {integrity: sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==} + dependencies: + readable-stream: 2.3.8 + xtend: 4.0.2 + dev: false + /timers-ext@0.1.7: resolution: {integrity: sha512-b85NUNzTSdodShTIbky6ZF02e8STtVVfD+fu4aXXShEELpozH+bCpJLYMPZbsABN2wDH7fJpqIoXxJpzbf0NqQ==} dependencies: @@ -5621,6 +5670,11 @@ packages: isobject: 3.0.1 dev: true + /untildify@4.0.0: + resolution: {integrity: sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==} + engines: {node: '>=8'} + dev: false + /update-browserslist-db@1.0.11(browserslist@4.21.9): resolution: {integrity: sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==} hasBin: true @@ -5707,7 +5761,6 @@ packages: ansi-styles: 4.3.0 string-width: 4.2.3 strip-ansi: 6.0.1 - dev: true /wrap-ansi@8.1.0: resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==} @@ -5749,10 +5802,14 @@ packages: resolution: {integrity: sha512-huCv9IH9Tcf95zuYCsQraZtWnJvBtLVE0QHMOs8bWyZAFZNDcYjsPq1nEx8jKA9y+Beo9v+7OBPRisQTjinQMw==} dev: false + /xtend@4.0.2: + resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==} + engines: {node: '>=0.4'} + dev: false + /y18n@5.0.8: resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} engines: {node: '>=10'} - dev: true /yallist@3.1.1: resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} @@ -5772,11 +5829,29 @@ packages: engines: {node: '>= 14'} dev: true + /yargs-parser@20.2.9: + resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} + engines: {node: '>=10'} + dev: false + /yargs-parser@21.1.1: resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} engines: {node: '>=12'} dev: true + /yargs@16.2.0: + resolution: {integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==} + engines: {node: '>=10'} + dependencies: + cliui: 7.0.4 + escalade: 3.1.1 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + string-width: 4.2.3 + y18n: 5.0.8 + yargs-parser: 20.2.9 + dev: false + /yargs@17.7.2: resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} engines: {node: '>=12'} From c28109932e97d336993bc6eeb387ec8052bc4a2b Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Thu, 21 Sep 2023 10:15:09 +0200 Subject: [PATCH 05/13] try full filepath --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 709b33f1..22dc4c78 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "postinstall": "pnpm i rimraf && pnpm build", "prepare": "husky install", "generate-types-from-schema": "cd src/export/digitalPlanning/schema/ && json2ts schema.json > types.d.ts", - "copy-schema-files": "copyfiles 'schema/schema.json' dist" + "copy-schema-files": "copyfiles 'src/export/digitalPlanning/schema/schema.json' dist" }, "dependencies": { "@emotion/react": "^11.11.1", From 1b7ed858f3c2d7a4787aae5250ebe0c47d242141 Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Thu, 21 Sep 2023 10:54:02 +0200 Subject: [PATCH 06/13] local build includes schema regardless of copyfiles --- package.json | 6 ++-- pnpm-lock.yaml | 91 +++++--------------------------------------------- 2 files changed, 10 insertions(+), 87 deletions(-) diff --git a/package.json b/package.json index 22dc4c78..0ec39110 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ } }, "scripts": { - "build": "rimraf ./types ./dist && tsc --project ./tsconfig.types.json && tsc && pnpm copy-schema-files", + "build": "rimraf ./types ./dist && tsc --project ./tsconfig.types.json && tsc", "examples": "rimraf ./examples && ts-node ./src/templates/generateExamples.ts", "lint": "eslint 'src/**/*.{js,ts}' && prettier -c src/**/*", "lint:fix": "eslint --fix 'src/**/*.{js,ts}' && prettier -w src/**/*", @@ -40,8 +40,7 @@ "check": "tsc --project ./tsconfig.check.json && pnpm lint", "postinstall": "pnpm i rimraf && pnpm build", "prepare": "husky install", - "generate-types-from-schema": "cd src/export/digitalPlanning/schema/ && json2ts schema.json > types.d.ts", - "copy-schema-files": "copyfiles 'src/export/digitalPlanning/schema/schema.json' dist" + "generate-types-from-schema": "cd src/export/digitalPlanning/schema/ && json2ts schema.json > types.d.ts" }, "dependencies": { "@emotion/react": "^11.11.1", @@ -50,7 +49,6 @@ "@types/geojson": "^7946.0.10", "ajv": "^8.12.0", "ajv-formats": "^2.1.1", - "copyfiles": "^2.4.1", "docx": "^8.2.2", "eslint": "^8.49.0", "fast-xml-parser": "^4.2.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ddf6ab68..365b9c53 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,9 +23,6 @@ dependencies: ajv-formats: specifier: ^2.1.1 version: 2.1.1(ajv@8.12.0) - copyfiles: - specifier: ^2.4.1 - version: 2.4.1 docx: specifier: ^8.2.2 version: 8.2.2 @@ -2383,14 +2380,6 @@ packages: string-width: 5.1.2 dev: true - /cliui@7.0.4: - resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==} - dependencies: - string-width: 4.2.3 - strip-ansi: 6.0.1 - wrap-ansi: 7.0.0 - dev: false - /cliui@8.0.1: resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} engines: {node: '>=12'} @@ -2467,19 +2456,6 @@ packages: engines: {node: '>=0.10.0'} dev: true - /copyfiles@2.4.1: - resolution: {integrity: sha512-fereAvAvxDrQDOXybk3Qu3dPbOoKoysFMWtkY3mv5BsL8//OSZVL5DCLYqgRfY5cWirgRzlC+WSrxp6Bo3eNZg==} - hasBin: true - dependencies: - glob: 7.2.3 - minimatch: 3.1.2 - mkdirp: 1.0.4 - noms: 0.0.0 - through2: 2.0.5 - untildify: 4.0.0 - yargs: 16.2.0 - dev: false - /core-util-is@1.0.3: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} dev: false @@ -2682,6 +2658,7 @@ packages: /emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} + dev: true /emoji-regex@9.2.2: resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} @@ -2778,6 +2755,7 @@ packages: /escalade@3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} engines: {node: '>=6'} + dev: true /escape-string-regexp@1.0.5: resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} @@ -3172,6 +3150,7 @@ packages: /get-caller-file@2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} engines: {node: 6.* || 8.* || >= 10.*} + dev: true /get-package-type@0.1.0: resolution: {integrity: sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==} @@ -3484,6 +3463,7 @@ packages: /is-fullwidth-code-point@3.0.0: resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} engines: {node: '>=8'} + dev: true /is-fullwidth-code-point@4.0.0: resolution: {integrity: sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==} @@ -3552,10 +3532,6 @@ packages: engines: {node: '>=0.10.0'} dev: true - /isarray@0.0.1: - resolution: {integrity: sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==} - dev: false - /isarray@1.0.0: resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==} @@ -4642,13 +4618,6 @@ packages: resolution: {integrity: sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==} dev: true - /noms@0.0.0: - resolution: {integrity: sha512-lNDU9VJaOPxUmXcLb+HQFeUgQQPtMI24Gt6hgfuMHRJgMRHMF/qZ4HJD3GDru4sSw9IQl2jPjAYnQrdIeLbwow==} - dependencies: - inherits: 2.0.4 - readable-stream: 1.0.34 - dev: false - /normalize-path@2.1.1: resolution: {integrity: sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w==} engines: {node: '>=0.10.0'} @@ -4979,15 +4948,6 @@ packages: loose-envify: 1.4.0 dev: false - /readable-stream@1.0.34: - resolution: {integrity: sha512-ok1qVCJuRkNmvebYikljxJA/UEsKwLl2nI1OmaqAu4/UE+h0wKCHok4XkL/gvi39OacXvw59RJUOFUkDib2rHg==} - dependencies: - core-util-is: 1.0.3 - inherits: 2.0.4 - isarray: 0.0.1 - string_decoder: 0.10.31 - dev: false - /readable-stream@2.3.8: resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==} dependencies: @@ -5033,6 +4993,7 @@ packages: /require-directory@2.1.1: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} + dev: true /require-from-string@2.0.2: resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} @@ -5347,6 +5308,7 @@ packages: emoji-regex: 8.0.0 is-fullwidth-code-point: 3.0.0 strip-ansi: 6.0.1 + dev: true /string-width@5.1.2: resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==} @@ -5357,10 +5319,6 @@ packages: strip-ansi: 7.1.0 dev: true - /string_decoder@0.10.31: - resolution: {integrity: sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ==} - dev: false - /string_decoder@1.1.1: resolution: {integrity: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==} dependencies: @@ -5464,13 +5422,6 @@ packages: any-promise: 1.3.0 dev: false - /through2@2.0.5: - resolution: {integrity: sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==} - dependencies: - readable-stream: 2.3.8 - xtend: 4.0.2 - dev: false - /timers-ext@0.1.7: resolution: {integrity: sha512-b85NUNzTSdodShTIbky6ZF02e8STtVVfD+fu4aXXShEELpozH+bCpJLYMPZbsABN2wDH7fJpqIoXxJpzbf0NqQ==} dependencies: @@ -5670,11 +5621,6 @@ packages: isobject: 3.0.1 dev: true - /untildify@4.0.0: - resolution: {integrity: sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==} - engines: {node: '>=8'} - dev: false - /update-browserslist-db@1.0.11(browserslist@4.21.9): resolution: {integrity: sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==} hasBin: true @@ -5761,6 +5707,7 @@ packages: ansi-styles: 4.3.0 string-width: 4.2.3 strip-ansi: 6.0.1 + dev: true /wrap-ansi@8.1.0: resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==} @@ -5802,14 +5749,10 @@ packages: resolution: {integrity: sha512-huCv9IH9Tcf95zuYCsQraZtWnJvBtLVE0QHMOs8bWyZAFZNDcYjsPq1nEx8jKA9y+Beo9v+7OBPRisQTjinQMw==} dev: false - /xtend@4.0.2: - resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==} - engines: {node: '>=0.4'} - dev: false - /y18n@5.0.8: resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} engines: {node: '>=10'} + dev: true /yallist@3.1.1: resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} @@ -5829,29 +5772,11 @@ packages: engines: {node: '>= 14'} dev: true - /yargs-parser@20.2.9: - resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} - engines: {node: '>=10'} - dev: false - /yargs-parser@21.1.1: resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} engines: {node: '>=12'} dev: true - /yargs@16.2.0: - resolution: {integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==} - engines: {node: '>=10'} - dependencies: - cliui: 7.0.4 - escalade: 3.1.1 - get-caller-file: 2.0.5 - require-directory: 2.1.1 - string-width: 4.2.3 - y18n: 5.0.8 - yargs-parser: 20.2.9 - dev: false - /yargs@17.7.2: resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} engines: {node: '>=12'} From e660091dd38271a8fa6d827b061d34afa33fba29 Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Mon, 25 Sep 2023 10:36:11 +0200 Subject: [PATCH 07/13] temporarily skip validation --- src/export/digitalPlanning/model.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/export/digitalPlanning/model.ts b/src/export/digitalPlanning/model.ts index e0f1dc8d..4ac8c56e 100644 --- a/src/export/digitalPlanning/model.ts +++ b/src/export/digitalPlanning/model.ts @@ -23,7 +23,7 @@ export class DigitalPlanning { } getPayload(): Payload { - this.validatePayload(); + // this.validatePayload(); return this.payload; } From 9c502877d306d3fd2431428403a01ee831fa5679 Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Mon, 25 Sep 2023 11:08:19 +0200 Subject: [PATCH 08/13] better option for toggling validation or plain payload generation --- src/export/digitalPlanning/index.ts | 14 ++++++++++---- src/export/digitalPlanning/model.ts | 9 ++++++++- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/src/export/digitalPlanning/index.ts b/src/export/digitalPlanning/index.ts index 5bd3225c..f4f5e832 100644 --- a/src/export/digitalPlanning/index.ts +++ b/src/export/digitalPlanning/index.ts @@ -8,6 +8,7 @@ import { DigitalPlanningDataSchema as DigitalPlanningPayload } from "./schema/ty export async function generateDigitalPlanningPayload( client: GraphQLClient, sessionId: string, + validate?: boolean, ): Promise { const session = await getSessionById(client, sessionId); if (!session) throw Error(`No session found matching ID ${sessionId}`); @@ -17,10 +18,15 @@ export async function generateDigitalPlanningPayload( const passport = new Passport(session.data.passport); - const payload = new DigitalPlanning({ - sessionId, - passport, - }).getPayload(); + const payload = validate + ? new DigitalPlanning({ + sessionId, + passport, + }).getPayload() + : new DigitalPlanning({ + sessionId, + passport, + }).getPayloadWithoutValidation(); return payload; } diff --git a/src/export/digitalPlanning/model.ts b/src/export/digitalPlanning/model.ts index 4ac8c56e..10ccbe35 100644 --- a/src/export/digitalPlanning/model.ts +++ b/src/export/digitalPlanning/model.ts @@ -23,7 +23,14 @@ export class DigitalPlanning { } getPayload(): Payload { - // this.validatePayload(); + this.validatePayload(); + return this.payload; + } + + /** + * WIP - temporary method as we debug typescript / validation errors + */ + getPayloadWithoutValidation(): Payload { return this.payload; } From 62bd968576e3140c2f45771b9ecca4d204f46dc2 Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Wed, 27 Sep 2023 13:18:29 +0200 Subject: [PATCH 09/13] expose optional validate param on exported method --- src/export/digitalPlanning/index.ts | 4 +--- src/requests/export.ts | 3 ++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/export/digitalPlanning/index.ts b/src/export/digitalPlanning/index.ts index f4f5e832..3069f45e 100644 --- a/src/export/digitalPlanning/index.ts +++ b/src/export/digitalPlanning/index.ts @@ -18,7 +18,7 @@ export async function generateDigitalPlanningPayload( const passport = new Passport(session.data.passport); - const payload = validate + return validate ? new DigitalPlanning({ sessionId, passport, @@ -27,6 +27,4 @@ export async function generateDigitalPlanningPayload( sessionId, passport, }).getPayloadWithoutValidation(); - - return payload; } diff --git a/src/requests/export.ts b/src/requests/export.ts index abd08688..aef49365 100644 --- a/src/requests/export.ts +++ b/src/requests/export.ts @@ -25,8 +25,9 @@ export class ExportClient { digitalPlanningDataPayload( sessionId: string, + validate?: boolean, ): Promise { - return generateDigitalPlanningPayload(this.client, sessionId); + return generateDigitalPlanningPayload(this.client, sessionId, validate); } } From b743d20551faa05f790d60bf2870e1bd7434b29f Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Wed, 27 Sep 2023 13:42:12 +0200 Subject: [PATCH 10/13] try this --- src/export/digitalPlanning/index.ts | 32 ++++++++++++++++++++--------- src/requests/export.ts | 18 +++++++++++++--- 2 files changed, 37 insertions(+), 13 deletions(-) diff --git a/src/export/digitalPlanning/index.ts b/src/export/digitalPlanning/index.ts index 3069f45e..64e2bbe7 100644 --- a/src/export/digitalPlanning/index.ts +++ b/src/export/digitalPlanning/index.ts @@ -8,7 +8,6 @@ import { DigitalPlanningDataSchema as DigitalPlanningPayload } from "./schema/ty export async function generateDigitalPlanningPayload( client: GraphQLClient, sessionId: string, - validate?: boolean, ): Promise { const session = await getSessionById(client, sessionId); if (!session) throw Error(`No session found matching ID ${sessionId}`); @@ -18,13 +17,26 @@ export async function generateDigitalPlanningPayload( const passport = new Passport(session.data.passport); - return validate - ? new DigitalPlanning({ - sessionId, - passport, - }).getPayload() - : new DigitalPlanning({ - sessionId, - passport, - }).getPayloadWithoutValidation(); + return new DigitalPlanning({ + sessionId, + passport, + }).getPayload(); +} + +export async function generateDigitalPlanningPayloadWithoutValidation( + client: GraphQLClient, + sessionId: string, +): Promise { + const session = await getSessionById(client, sessionId); + if (!session) throw Error(`No session found matching ID ${sessionId}`); + + if (!session.data.passport?.data) + throw Error(`Data missing from passport for session ${sessionId}`); + + const passport = new Passport(session.data.passport); + + return new DigitalPlanning({ + sessionId, + passport, + }).getPayloadWithoutValidation(); } diff --git a/src/requests/export.ts b/src/requests/export.ts index aef49365..93051dc9 100644 --- a/src/requests/export.ts +++ b/src/requests/export.ts @@ -2,7 +2,10 @@ import { GraphQLClient } from "graphql-request"; import { computeBOPSParams } from "../export/bops"; import { computeCSVData } from "../export/csv"; -import { generateDigitalPlanningPayload } from "../export/digitalPlanning"; +import { + generateDigitalPlanningPayload, + generateDigitalPlanningPayloadWithoutValidation, +} from "../export/digitalPlanning"; import { DigitalPlanningDataSchema } from "../export/digitalPlanning/schema/types"; import type { BOPSExportData, ExportData } from "../types"; import { findPublishedFlowBySessionId, getFlowName } from "./flow"; @@ -25,9 +28,18 @@ export class ExportClient { digitalPlanningDataPayload( sessionId: string, - validate?: boolean, ): Promise { - return generateDigitalPlanningPayload(this.client, sessionId, validate); + return generateDigitalPlanningPayload(this.client, sessionId); + } + + /** Temp export for testing */ + digitalPlanningDataPayloadWithoutValidation( + sessionId: string, + ): Promise { + return generateDigitalPlanningPayloadWithoutValidation( + this.client, + sessionId, + ); } } From e92af13b4d78ea498de2407a26173bc9921d4660 Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Thu, 28 Sep 2023 14:50:55 +0200 Subject: [PATCH 11/13] add mock sessions from alastair, update mapping --- .../mocks/lawfulDevelopmentCertificate.ts | 6910 +++++++++++++++++ .../mocks/planningPermission.ts | 2658 +++++++ .../digitalPlanning/mocks/priorApproval.ts | 2255 ++++++ src/export/digitalPlanning/model.test.ts | 4 +- src/export/digitalPlanning/model.ts | 51 +- 5 files changed, 11858 insertions(+), 20 deletions(-) create mode 100644 src/export/digitalPlanning/mocks/lawfulDevelopmentCertificate.ts create mode 100644 src/export/digitalPlanning/mocks/planningPermission.ts create mode 100644 src/export/digitalPlanning/mocks/priorApproval.ts diff --git a/src/export/digitalPlanning/mocks/lawfulDevelopmentCertificate.ts b/src/export/digitalPlanning/mocks/lawfulDevelopmentCertificate.ts new file mode 100644 index 00000000..f7b05073 --- /dev/null +++ b/src/export/digitalPlanning/mocks/lawfulDevelopmentCertificate.ts @@ -0,0 +1,6910 @@ +// https://api.editor.planx.dev/admin/session/95f90e21-93f5-4761-90b3-815c673e041f/summary +export const mockLDCESession = { + flow: { + id: "824628b2-deeb-48b0-92b1-2ca7f3b17163", + slug: "apply-for-a-lawful-development-certificate", + team: { + slug: "buckinghamshire", + }, + }, + created_at: "2023-09-01T06:11:24.502169+00:00", + updated_at: "2023-09-01T06:52:04.568603+00:00", + submitted_at: "2023-09-01T06:52:04.568603+00:00", + locked_at: null, + sanitised_at: null, + email: "example@example.com", + passport: { + _nots: { + "property.constraints.planning": [ + "listed", + "locallyListed", + "registeredPark", + "designated.conservationArea", + "designated.nationalPark", + "designated.nationalPark.broads", + "designated.WHS", + "designated.SPA", + "monument", + "tpo", + "nature.SSSI", + "nature.SAC", + "nature.ASNW", + "article4.buckinghamshire.twyfordgrange", + "article4.buckinghamshire.ivylane", + "article4.buckinghamshire.ruralaylesbury", + "article4.buckinghamshire.piddingtonroad", + "article4.buckinghamshire.rockylane", + "article4.buckinghamshire.bridgestreet", + "article4.buckinghamshire.winslowroad", + "article4.buckinghamshire.amershamroad", + "article4.buckinghamshire.amershamroadeast", + "article4.buckinghamshire.asheridgeroad", + "article4.buckinghamshire.bakerswood", + "article4.buckinghamshire.bakerswoodbrokengate", + "article4.buckinghamshire.ballingerroad", + "article4.buckinghamshire.ballingerroadnorth", + "article4.buckinghamshire.bangorsroadnorth", + "article4.buckinghamshire.beamondendfarm", + "article4.buckinghamshire.blackthornelane", + "article4.buckinghamshire.boismoorroad", + "article4.buckinghamshire.botleyroad", + "article4.buckinghamshire.boundaryroad", + "article4.buckinghamshire.bourneend", + "article4.buckinghamshire.bovingdonheights.a", + "article4.buckinghamshire.bovingdonheights.b", + "article4.buckinghamshire.broadviewchesham", + "article4.buckinghamshire.bryantsbottomroad.a", + "article4.buckinghamshire.bryantsbottomroad.b", + "article4.buckinghamshire.burtonslane", + "article4.buckinghamshire.chalklaneanhydehealth", + "article4.buckinghamshire.chartridgelane", + "article4.buckinghamshire.cheshamroad", + "article4.buckinghamshire.chessfieldparkenclosure", + "article4.buckinghamshire.churchlane", + "article4.buckinghamshire.collegeplantation", + "article4.buckinghamshire.collumgreen", + "article4.buckinghamshire.commonwood", + "article4.buckinghamshire.commonwoodagri", + "article4.buckinghamshire.commonwoodandpennroad", + "article4.buckinghamshire.commonwoodenclosure", + "article4.buckinghamshire.commonwoodpennroad", + "article4.buckinghamshire.coneybankwood", + "article4.buckinghamshire.copperkinslanecaravan", + "article4.buckinghamshire.cooperkinslaneenclosure", + "article4.buckinghamshire.coppicesouthheathcaravan", + "article4.buckinghamshire.cryershillroad", + "article4.buckinghamshire.deanfield", + "article4.buckinghamshire.DO10fulmer", + "article4.buckinghamshire.dorneywoodroad", + "article4.buckinghamshire.eastamershamroadOS0006", + "article4.buckinghamshire.eastamershamroadOS9269", + "article4.buckinghamshire.eastjasonshill", + "article4.buckinghamshire.eastjordanslane", + "article4.buckinghamshire.eastlatimervillage", + "article4.buckinghamshire.eastlodgelaneagri", + "article4.buckinghamshire.eastlodgelanecaravan", + "article4.buckinghamshire.eastmarishlane", + "article4.buckinghamshire.eastvaleroad", + "article4.buckinghamshire.ferrylane", + "article4.buckinghamshire.ferrylaneagri", + "article4.buckinghamshire.fourwinds", + "article4.buckinghamshire.fulmer", + "article4.buckinghamshire.fulmerplacefarm", + "article4.buckinghamshire.georgegreen", + "article4.buckinghamshire.gravellyway", + "article4.buckinghamshire.greenacres", + "article4.buckinghamshire.greenstreetfarmagri", + "article4.buckinghamshire.greenstreetfarm.a", + "article4.buckinghamshire.greenstreetfarm.b", + "article4.buckinghamshire.hampdenroad", + "article4.buckinghamshire.hollybushcorner", + "article4.buckinghamshire.johnsonsfarm", + "article4.buckinghamshire.junctionhughendenroad", + "article4.buckinghamshire.lakeendroad", + "article4.buckinghamshire.littlekingsash", + "article4.buckinghamshire.lodgelane", + "article4.buckinghamshire.lodgelaneagri", + "article4.buckinghamshire.lodgelaneenclosure", + "article4.buckinghamshire.lodgelanewestenclosure", + "article4.buckinghamshire.manorfarm", + "article4.buckinghamshire.mansionlanesouth", + "article4.buckinghamshire.mansionlanewest", + "article4.buckinghamshire.millfarm", + "article4.buckinghamshire.ministrywharf", + "article4.buckinghamshire.nightingaleslanestrip", + "article4.buckinghamshire.northA404", + "article4.buckinghamshire.northandsouthhollowway", + "article4.buckinghamshire.northballingerroadvaravan", + "article4.buckinghamshire.northjordansfarm", + "article4.buckinghamshire.northlongpark", + "article4.buckinghamshire.northorbitalroad", + "article4.buckinghamshire.northpark", + "article4.buckinghamshire.northsidesevenhills", + "article4.buckinghamshire.northwelderslane", + "article4.buckinghamshire.officetoresi", + "article4.buckinghamshire.os1178", + "article4.buckinghamshire.os262", + "article4.buckinghamshire.os3100", + "article4.buckinghamshire.os3313.a", + "article4.buckinghamshire.os3313.b", + "article4.buckinghamshire.os4729", + "article4.buckinghamshire.os5200", + "article4.buckinghamshire.os6961", + "article4.buckinghamshire.os8050", + "article4.buckinghamshire.os8349", + "article4.buckinghamshire.parkspringwood", + "article4.buckinghamshire.parslowshillock", + "article4.buckinghamshire.pednorhighroad", + "article4.buckinghamshire.pednorroadanddrydelllane", + "article4.buckinghamshire.pednorroadcaravan", + "article4.buckinghamshire.pednorroaddrydelllane", + "article4.buckinghamshire.pednorroadenclosure", + "article4.buckinghamshire.pennroad", + "article4.buckinghamshire.pennwood", + "article4.buckinghamshire.phillipshillfarm.a", + "article4.buckinghamshire.phillipshillfarm.b", + "article4.buckinghamshire.piggery", + "article4.buckinghamshire.potkilnlaneandlaytersgreen", + "article4.buckinghamshire.potterrowcaravan", + "article4.buckinghamshire.potterrowenclosure", + "article4.buckinghamshire.poultry", + "article4.buckinghamshire.purtonlane", + "article4.buckinghamshire.rearuplands", + "article4.buckinghamshire.robertswooddrive", + "article4.buckinghamshire.ruralwycombe", + "article4.buckinghamshire.saunderton", + "article4.buckinghamshire.sedgesfarm", + "article4.buckinghamshire.sheepcotedellroad", + "article4.buckinghamshire.shepherdsfold", + "article4.buckinghamshire.sibleyscoppice", + "article4.buckinghamshire.skimmersorchard.a", + "article4.buckinghamshire.skimmersorchard.b", + "article4.buckinghamshire.skimmersorchard.c", + "article4.buckinghamshire.southA413", + "article4.buckinghamshire.southchartridge", + "article4.buckinghamshire.southeastfinchlane", + "article4.buckinghamshire.southkilnlane", + "article4.buckinghamshire.southlittlemissenden", + "article4.buckinghamshire.southpenfoldlane.a", + "article4.buckinghamshire.southpenfoldlane.b", + "article4.buckinghamshire.southpenfoldlaneOS262", + "article4.buckinghamshire.southsheepcoteroad", + "article4.buckinghamshire.southsidekiln", + "article4.buckinghamshire.southswanbottom", + "article4.buckinghamshire.stokenchurch", + "article4.buckinghamshire.threeoaksfarm", + "article4.buckinghamshire.turnerswood", + "article4.buckinghamshire.turvillevalley", + "article4.buckinghamshire.valleyroad", + "article4.buckinghamshire.wellcottage", + "article4.buckinghamshire.westledgelanecaravan", + "article4.buckinghamshire.weststhubertslane", + "article4.buckinghamshire.westwexhamstreet", + "article4.buckinghamshire.widmerfarm", + "article4.buckinghamshire.wigginton", + "article4.buckinghamshire.wiltonlane", + "article4.buckinghamshire.wooburngreen", + "article4.buckinghamshire.woodlandsmeadow", + "article4.buckinghamshire.wyburnwood", + "article4.buckinghamshire.wyburnwoodagri", + "article4.buckinghamshire.wyburnwoodforestry", + "article4.buckinghamshire.wycombehealthfarmnortheast", + "article4.buckinghamshire.wycombehealthfarmspurlands", + "article4.buckinghamshire.wycombeheathfarm", + "article4.buckinghamshire.wycombeheathfarmcaravan", + "article4.buckinghamshire.caz", + "road.classified", + ], + }, + _address: { + x: 489320, + y: 200872, + pao: "", + town: "GREAT MISSENDEN", + uprn: "100081174436", + usrn: "07300709", + title: "GIPSY HOUSE, WHITEFIELD LANE, GREAT MISSENDEN", + source: "os", + street: "WHITEFIELD LANE", + latitude: 51.6994957, + postcode: "HP16 0BP", + blpu_code: "2", + longitude: -0.708966, + planx_value: "residential.dwelling.house.detached", + organisation: null, + planx_description: "Detached", + single_line_address: + "GIPSY HOUSE, WHITEFIELD LANE, GREAT MISSENDEN, BUCKINGHAMSHIRE, HP16 0BP", + }, + "user.role": ["agent"], + _constraints: [ + { + metadata: { + tpo: { + name: "Tree preservation zone", + text: "A Tree Preservation Order (TPO) can be placed on single trees, groups of trees and even whole woodlands. Tree Preservation Orders are made by local planning authorities following [guidance](https://www.gov.uk/guidance/tree-preservation-orders-and-trees-in-conservation-areas) provided by the [Department for Levelling Up, Housing and Communities](https://www.gov.uk/government/organisations/department-for-levelling-up-housing-and-communities).\n\nEach [tree preservation order](/dataset/tree-preservation-order) may apply to a number of tree preservation order zones, and a number of individual [trees](/dataset/tree).\n\nThis dataset contains data from [a small group of local planning authorities](/about/) who we are working with to develop a [data specification for tree preservation orders](https://www.digital-land.info/guidance/specifications/tree-preservation-order).", + plural: "Trees preservation zones", + prefix: "", + themes: ["environment"], + dataset: "tree-preservation-zone", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q10884", + wikipedia: "Tree", + collection: "tree-preservation-order", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "An area covered by a tree preservation order", + "entity-count": { + count: 13161, + dataset: "tree-preservation-zone", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": "© Crown copyright and database right 2023", + }, + listed: { + name: "Listed building outline", + text: "The geospatial boundary for [listed buildings](https://historicengland.org.uk/listing/what-is-designation/listed-buildings) as designated by [Historic England](https://historicengland.org.uk/) as collected from local planning authorities.\n\nWe are [working with a group of local planning authorities](/about/) to help them publish their data to inform planning decisions, and to develop a [data specification for listed building outlines](https://www.digital-land.info/guidance/specifications/listed-building).\n\nWe expect to eventually merge this dataset with the [listed building](/dataset/listed-building) dataset.", + plural: "Listed building outlines", + prefix: "", + themes: ["heritage"], + dataset: "listed-building-outline", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q570600", + wikipedia: "Listed_building", + collection: "listed-building", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "boundary of a listed building", + "entity-count": { + count: 12237, + dataset: "listed-building-outline", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#F9C744", + }, + "attribution-text": "© Crown copyright and database right 2023", + }, + article4: { + name: "Article 4 direction area", + text: "A local planning authority may create an [article 4 direction](https://www.gov.uk/guidance/when-is-permission-required#article-4-direction) to alter or remove [permitted development rights](https://www.gov.uk/government/publications/permitted-development-rights-for-householders-technical-guidance) from a building or area.\n\nEach [article 4 direction](/dataset/article-4-direction) may apply to one or more article 4 direction areas, each with one or more [article 4 direction rules](/dataset/article-4-direction-rule).\n\nThis dataset contains data from [a small group of local planning authorities](/about/) who we are working with to develop a [data specification for article 4 directions](https://www.digital-land.info/guidance/specifications/article-4-direction).", + plural: "Article 4 direction areas", + prefix: "", + themes: ["heritage"], + dataset: "article-4-direction-area", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "", + wikipedia: "", + collection: "article-4-direction", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: + "Orders made by the local planning authority to remove all or some of the permitted development rights on a site in order to protect it", + "entity-count": { + count: 1369, + dataset: "article-4-direction-area", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": "© Crown copyright and database right 2023", + }, + monument: { + name: "Scheduled monument", + text: "Historic buildings or sites such as Roman remains, burial mounds, castles, bridges, earthworks, the remains of deserted villages and industrial sites can be designated scheduled monuments by the Secretary of State for [Digital, Culture, Media and Sport](https://www.gov.uk/government/organisations/department-for-digital-culture-media-sport). \n\nThis list of scheduled monuments is kept and maintained by [Historic England](https://historicengland.org.uk/).", + plural: "Scheduled monuments", + prefix: "", + themes: ["heritage"], + dataset: "scheduled-monument", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q219538", + wikipedia: "Scheduled_monument", + collection: "historic-england", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: "", + "entity-count": { + count: 19935, + dataset: "scheduled-monument", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#0F9CDA", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + "nature.SAC": { + name: "Special area of conservation", + text: "Special areas of conservation (SACs) are area of land which have been designated by\n[DEFRA](https://www.gov.uk/government/organisations/department-for-environment-food-rural-affairs),\nwith advice from the [Joint Nature Conservation Committee](https://jncc.gov.uk/),\nto protect specific habitats and species.\n\nDEFRA and [Natural England](https://www.gov.uk/government/organisations/natural-england) publish\n[guidance](https://www.gov.uk/guidance/protected-sites-and-areas-how-to-review-planning-applications)\non how to review planning applications in protected sites and areas.", + plural: "Special areas of conservation", + prefix: "", + themes: ["environment"], + dataset: "special-area-of-conservation", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q1191622", + wikipedia: "Special_Area_of_Conservation", + collection: "special-area-of-conservation", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: "", + "entity-count": { + count: 256, + dataset: "special-area-of-conservation", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#7A8705", + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "nature.ASNW": { + name: "Ancient woodland", + text: "An area designated as ancient woodland by Natural England.\n\nNatural England and Forestry Commission [Guidance](https://www.gov.uk/guidance/ancient-woodland-and-veteran-trees-protection-surveys-licences) is used in planning decisions.", + plural: "Ancient woodlands", + prefix: "", + themes: ["environment"], + dataset: "ancient-woodland", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q3078732", + wikipedia: "Ancient_woodland", + collection: "ancient-woodland", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: + "An area that’s been wooded continuously since at least 1600 AD", + "entity-count": { + count: 44355, + dataset: "ancient-woodland", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#00703c", + opacity: 0.2, + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "nature.SSSI": { + name: "Site of special scientific interest", + text: "Sites of special scientific interest (SSSI) are nationally protected sites that have features such as wildlife or geology. \n\nSSSIs are designated by [Natural England](https://www.gov.uk/government/organisations/natural-england).\nThere is [guidance](https://www.gov.uk/guidance/protected-areas-sites-of-special-scientific-interest) to help local authorities decide on planning applications in protected SSSIs.", + plural: "Sites of special scientific interest", + prefix: "", + themes: ["environment"], + dataset: "site-of-special-scientific-interest", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q422211", + wikipedia: "Site_of_Special_Scientific_Interest", + collection: "site-of-special-scientific-interest", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: "", + "entity-count": { + count: 4128, + dataset: "site-of-special-scientific-interest", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#308fac", + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "article4.caz": { + name: "Central activities zone", + text: "The [Greater London Authority](https://www.london.gov.uk/) (GLA) designates a central area of London with [implications for planning](https://www.london.gov.uk/what-we-do/planning/implementing-london-plan/london-plan-guidance-and-spgs/central-activities-zone)\nThis dataset combines data provided by the GLA with the boundary from the individual London boroughs.", + plural: "Central activities zones", + prefix: "", + themes: ["development"], + dataset: "central-activities-zone", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "", + wikipedia: "", + collection: "central-activities-zone", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "", + "entity-count": { + count: 10, + dataset: "central-activities-zone", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": "© Crown copyright and database right 2023", + }, + locallyListed: { + name: "Locally listed building", + text: "A building or site in a local planning authority’s area that make a positive contribution to its local character and sense of place because of their heritage value. Although such heritage assets may not be nationally designated or even located within the boundaries of a conservation area, they may be offered some level of protection by the local planning authority identifying them on a formally adopted list of local heritage assets.\n\nThis is an experimental dataset of locally listed buildings found on [data.gov.uk](https://www.data.gov.uk/search?q=locally+listed+buildings).\nWe are [working with a group of local planning authorities](/about/) to help them publish their locally listed buildings, and to develop a data specification for locally listed buildings.", + plural: "Locally listed buildings", + prefix: "", + themes: ["heritage"], + dataset: "locally-listed-building", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q570600", + wikipedia: "Listed_building#Locally_listed_buildings", + collection: "listed-building", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "locally listed heritage assets, including buildings", + "entity-count": { + count: 448, + dataset: "locally-listed-building", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#F9C744", + }, + "attribution-text": "© Crown copyright and database right 2023", + }, + "designated.SPA": { + name: "Special protection area", + text: "[Special protection areas](https://naturalengland-defra.opendata.arcgis.com/maps/Defra::special-protection-areas-england/about) is an area designated \nfor the protection of birds and wildlife. This dataset is provided by [Natural England](https://www.gov.uk/government/organisations/natural-england).", + plural: "Special protection areas", + prefix: "", + themes: ["environment"], + dataset: "special-protection-area", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "", + wikipedia: "", + collection: "special-protection-area", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: "", + "entity-count": { + count: 88, + dataset: "special-protection-area", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "designated.WHS": { + name: "World heritage site buffer zone", + text: "A [World Heritage Site](/dataset/world-heritage-site) may have a [buffer zone](https://whc.unesco.org/en/series/25/) with implications for planning.", + plural: "World heritage site buffer zones", + prefix: "", + themes: ["heritage"], + dataset: "world-heritage-site-buffer-zone", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q9259", + wikipedia: "World_Heritage_Site", + collection: "historic-england", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: "", + "entity-count": { + count: 8, + dataset: "world-heritage-site-buffer-zone", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#EB1EE5", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + registeredPark: { + name: "Historic parks and gardens", + text: "Historic parks and gardens as listed by [Historic England](https://historicengland.org.uk/) in the [Register of Parks and Gardens of Special Historic Interest](https://historicengland.org.uk/listing/what-is-designation/registered-parks-and-gardens/).", + plural: "Parks and gardens", + prefix: "", + themes: ["environment", "heritage"], + dataset: "park-and-garden", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q6975250", + wikipedia: + "Register_of_Historic_Parks_and_Gardens_of_Special_Historic_Interest_in_England", + collection: "historic-england", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: "", + "entity-count": { + count: 1699, + dataset: "park-and-garden", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#0EB951", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + "designated.AONB": { + name: "Area of outstanding natural beauty", + text: "An area of outstanding natural beauty (AONB) as designated by [Natural England](https://www.gov.uk/government/organisations/natural-england).\n\nNatural England provides [guidance](https://www.gov.uk/guidance/protected-sites-and-areas-how-to-review-planning-applications) to help local authorities decide on planning applications in protected sites and areas.", + plural: "Areas of outstanding natural beauty", + prefix: "", + themes: ["environment"], + dataset: "area-of-outstanding-natural-beauty", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q174945", + wikipedia: "Area_of_Outstanding_Natural_Beauty", + collection: "area-of-outstanding-natural-beauty", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: + "Land protected by law to conserve and enhance its natural beauty", + "entity-count": { + count: 34, + dataset: "area-of-outstanding-natural-beauty", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#d53880", + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "designated.nationalPark": { + name: "National park", + text: "The administrative boundaries of [national park authorities](/dataset/national-park-authority) in England as provided by the ONS for the purposes of producing statistics.", + plural: "National parks", + prefix: "statistical-geography", + themes: ["heritage"], + dataset: "national-park", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q60256727", + wikipedia: "National_park", + collection: "national-park", + "entry-date": "", + "start-date": "", + attribution: "ons-boundary", + description: "", + "entity-count": { + count: 10, + dataset: "national-park", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#3DA52C", + }, + "attribution-text": + "Source: Office for National Statistics licensed under the Open Government Licence v.3.0\nContains OS data © Crown copyright and database right 2023", + }, + "designated.conservationArea": { + name: "Conservation area", + text: "Local planning authorities are responsible for designating conservation areas, though [Historic England](https://historicengland.org.uk/) and the Secretary of State also have powers to create them.\n\nThis dataset also contains the boundaries of conservation areas from Historic England, as well as other data found on [data.gov.uk](https://www.data.gov.uk/search?q=conservation+area) and currently contains a number of duplicate areas we are working to remove.\n\nWe are also [working with a group of local planning authorities](/about/) to help them publish their conservation areas, and to develop a [data specification for conservation areas](https://www.digital-land.info/guidance/specifications/conservation-area).\n\nHistoric England provide [guidance](https://historicengland.org.uk/advice/your-home/owning-historic-property/conservation-area/) to help householders understand the implications of living in a conservation area for planning applications.", + plural: "Conservation areas", + prefix: "", + themes: ["heritage"], + dataset: "conservation-area", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q5162904", + wikipedia: "Conservation_area_(United_Kingdom)", + collection: "conservation-area", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: + "Special architectural or historic interest, the character or appearance of which it is desirable to preserve or enhance", + "entity-count": { + count: 8600, + dataset: "conservation-area", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#78AA00", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + }, + constraints: { + tpo: { + fn: "tpo", + text: "is not in a Tree Preservation Order (TPO) Zone", + value: false, + category: "Trees", + }, + listed: { + fn: "listed", + text: "is not, or is not within, a Listed Building", + value: false, + category: "Heritage and conservation", + }, + article4: { + fn: "article4", + data: [ + { + name: "Whole District excluding the Town of Chesham - Poultry production.", + entity: 7010002192, + prefix: "article-4-direction-area", + dataset: "article-4-direction-area", + "end-date": "", + typology: "geography", + reference: "112", + "entry-date": "2022-04-28", + "start-date": "2059-01-15", + description: + "Bucks County Council Town and Country Planning Act 1947 Town and Country Planning General Development Order 1950. Re Whole District excluding the Town of Chesham. In relation to poultry production.", + "organisation-entity": "67", + }, + ], + text: "is subject to local permitted development restrictions (known as Article 4 directions)", + value: true, + category: "General policy", + }, + monument: { + fn: "monument", + text: "is not the site of a Scheduled Monument", + value: false, + category: "Heritage and conservation", + }, + designated: { + value: true, + }, + "nature.SAC": { + fn: "nature.SAC", + text: "is not in a Special Area of Conservation (SAC)", + value: false, + category: "Ecology", + }, + "nature.ASNW": { + fn: "nature.ASNW", + text: "is not in an Ancient Semi-Natural Woodland (ASNW)", + value: false, + category: "Ecology", + }, + "nature.SSSI": { + fn: "nature.SSSI", + text: "is not a Site of Special Scientific Interest (SSSI)", + value: false, + category: "Ecology", + }, + locallyListed: { + fn: "locallyListed", + text: "is not, or is not within, a Locally Listed Building", + value: false, + category: "Heritage and conservation", + }, + "designated.SPA": { + fn: "designated.SPA", + text: "is not in a Special Protection Area (SPA)", + value: false, + category: "Heritage and conservation", + }, + "designated.WHS": { + fn: "designated.WHS", + text: "is not an UNESCO World Heritage Site", + value: false, + category: "Heritage and conservation", + }, + registeredPark: { + fn: "registeredPark", + text: "is not in a Historic Park or Garden", + value: false, + category: "Heritage and conservation", + }, + "designated.AONB": { + fn: "designated.AONB", + data: [ + { + name: "Chilterns", + entity: 1000005, + prefix: "area-of-outstanding-natural-beauty", + dataset: "area-of-outstanding-natural-beauty", + twitter: "chilternsaonb", + website: "https://www.chilternsaonb.org/", + "end-date": "", + typology: "geography", + wikidata: "Q19849", + reference: "5", + wikipedia: "Chiltern_Hills", + "entry-date": "2022-09-10", + "start-date": "1990-03-01", + "documentation-url": + "http://www.landscapesforlife.org.uk/about-aonbs/visit-aonbs/chilterns-aonb", + "organisation-entity": "600001", + }, + ], + text: "is in an Area of Outstanding Natural Beauty", + value: true, + category: "Heritage and conservation", + }, + "designated.nationalPark": { + fn: "designated.nationalPark", + text: "is not in a National Park", + value: false, + category: "Heritage and conservation", + }, + "designated.conservationArea": { + fn: "designated.conservationArea", + text: "is not in a Conservation Area", + value: false, + category: "Heritage and conservation", + }, + "article4.buckinghamshire.caz": { + fn: "article4.caz", + text: "is not in the Central Activities Zone", + value: false, + category: "General policy", + }, + "article4.buckinghamshire.os262": { + fn: "article4.buckinghamshire.os262", + value: false, + }, + "designated.nationalPark.broads": { + fn: "designated.nationalPark.broads", + value: false, + }, + "article4.buckinghamshire.fulmer": { + fn: "article4.buckinghamshire.fulmer", + value: false, + }, + "article4.buckinghamshire.os1178": { + fn: "article4.buckinghamshire.os1178", + value: false, + }, + "article4.buckinghamshire.os3100": { + fn: "article4.buckinghamshire.os3100", + value: false, + }, + "article4.buckinghamshire.os4729": { + fn: "article4.buckinghamshire.os4729", + value: false, + }, + "article4.buckinghamshire.os5200": { + fn: "article4.buckinghamshire.os5200", + value: false, + }, + "article4.buckinghamshire.os6961": { + fn: "article4.buckinghamshire.os6961", + value: false, + }, + "article4.buckinghamshire.os8050": { + fn: "article4.buckinghamshire.os8050", + value: false, + }, + "article4.buckinghamshire.os8349": { + fn: "article4.buckinghamshire.os8349", + value: false, + }, + "article4.buckinghamshire.ivylane": { + fn: "article4.buckinghamshire.ivylane", + value: false, + }, + "article4.buckinghamshire.piggery": { + fn: "article4.buckinghamshire.piggery", + value: false, + }, + "article4.buckinghamshire.poultry": { + fn: "article4.buckinghamshire.poultry", + value: false, + }, + "article4.buckinghamshire.millfarm": { + fn: "article4.buckinghamshire.millfarm", + value: false, + }, + "article4.buckinghamshire.os3313.a": { + fn: "article4.buckinghamshire.os3313.a", + value: false, + }, + "article4.buckinghamshire.os3313.b": { + fn: "article4.buckinghamshire.os3313.b", + value: false, + }, + "article4.buckinghamshire.pennroad": { + fn: "article4.buckinghamshire.pennroad", + value: false, + }, + "article4.buckinghamshire.pennwood": { + fn: "article4.buckinghamshire.pennwood", + value: false, + }, + "article4.buckinghamshire.bourneend": { + fn: "article4.buckinghamshire.bourneend", + value: false, + }, + "article4.buckinghamshire.deanfield": { + fn: "article4.buckinghamshire.deanfield", + value: false, + }, + "article4.buckinghamshire.ferrylane": { + fn: "article4.buckinghamshire.ferrylane", + value: false, + }, + "article4.buckinghamshire.fourwinds": { + fn: "article4.buckinghamshire.fourwinds", + value: false, + }, + "article4.buckinghamshire.lodgelane": { + fn: "article4.buckinghamshire.lodgelane", + value: false, + }, + "article4.buckinghamshire.manorfarm": { + fn: "article4.buckinghamshire.manorfarm", + value: false, + }, + "article4.buckinghamshire.northA404": { + fn: "article4.buckinghamshire.northA404", + value: false, + }, + "article4.buckinghamshire.northpark": { + fn: "article4.buckinghamshire.northpark", + value: false, + }, + "article4.buckinghamshire.rockylane": { + fn: "article4.buckinghamshire.rockylane", + value: false, + }, + "article4.buckinghamshire.southA413": { + fn: "article4.buckinghamshire.southA413", + value: false, + }, + "article4.buckinghamshire.wigginton": { + fn: "article4.buckinghamshire.wigginton", + value: false, + }, + "article4.buckinghamshire.DO10fulmer": { + fn: "article4.buckinghamshire.DO10fulmer", + value: false, + }, + "article4.buckinghamshire.bakerswood": { + fn: "article4.buckinghamshire.bakerswood", + value: false, + }, + "article4.buckinghamshire.botleyroad": { + fn: "article4.buckinghamshire.botleyroad", + value: false, + }, + "article4.buckinghamshire.churchlane": { + fn: "article4.buckinghamshire.churchlane", + value: false, + }, + "article4.buckinghamshire.commonwood": { + fn: "article4.buckinghamshire.commonwood", + value: false, + }, + "article4.buckinghamshire.greenacres": { + fn: "article4.buckinghamshire.greenacres", + value: false, + }, + "article4.buckinghamshire.purtonlane": { + fn: "article4.buckinghamshire.purtonlane", + value: false, + }, + "article4.buckinghamshire.saunderton": { + fn: "article4.buckinghamshire.saunderton", + value: false, + }, + "article4.buckinghamshire.sedgesfarm": { + fn: "article4.buckinghamshire.sedgesfarm", + value: false, + }, + "article4.buckinghamshire.valleyroad": { + fn: "article4.buckinghamshire.valleyroad", + value: false, + }, + "article4.buckinghamshire.widmerfarm": { + fn: "article4.buckinghamshire.widmerfarm", + value: false, + }, + "article4.buckinghamshire.wiltonlane": { + fn: "article4.buckinghamshire.wiltonlane", + value: false, + }, + "article4.buckinghamshire.wyburnwood": { + fn: "article4.buckinghamshire.wyburnwood", + value: false, + }, + "article4.buckinghamshire.burtonslane": { + fn: "article4.buckinghamshire.burtonslane", + value: false, + }, + "article4.buckinghamshire.cheshamroad": { + fn: "article4.buckinghamshire.cheshamroad", + value: false, + }, + "article4.buckinghamshire.collumgreen": { + fn: "article4.buckinghamshire.collumgreen", + value: false, + }, + "article4.buckinghamshire.georgegreen": { + fn: "article4.buckinghamshire.georgegreen", + value: false, + }, + "article4.buckinghamshire.gravellyway": { + fn: "article4.buckinghamshire.gravellyway", + value: false, + }, + "article4.buckinghamshire.hampdenroad": { + fn: "article4.buckinghamshire.hampdenroad", + value: false, + }, + "article4.buckinghamshire.lakeendroad": { + fn: "article4.buckinghamshire.lakeendroad", + value: false, + }, + "article4.buckinghamshire.rearuplands": { + fn: "article4.buckinghamshire.rearuplands", + value: false, + }, + "article4.buckinghamshire.turnerswood": { + fn: "article4.buckinghamshire.turnerswood", + value: false, + }, + "article4.buckinghamshire.wellcottage": { + fn: "article4.buckinghamshire.wellcottage", + value: false, + }, + "article4.buckinghamshire.winslowroad": { + fn: "article4.buckinghamshire.winslowroad", + value: false, + }, + "article4.buckinghamshire.amershamroad": { + fn: "article4.buckinghamshire.amershamroad", + value: false, + }, + "article4.buckinghamshire.boismoorroad": { + fn: "article4.buckinghamshire.boismoorroad", + value: false, + }, + "article4.buckinghamshire.boundaryroad": { + fn: "article4.buckinghamshire.boundaryroad", + value: false, + }, + "article4.buckinghamshire.bridgestreet": { + fn: "article4.buckinghamshire.bridgestreet", + value: false, + }, + "article4.buckinghamshire.eastvaleroad": { + fn: "article4.buckinghamshire.eastvaleroad", + value: false, + }, + "article4.buckinghamshire.johnsonsfarm": { + fn: "article4.buckinghamshire.johnsonsfarm", + value: false, + }, + "article4.buckinghamshire.officetoresi": { + fn: "article4.buckinghamshire.officetoresi", + value: false, + }, + "article4.buckinghamshire.ruralwycombe": { + fn: "article4.buckinghamshire.ruralwycombe", + value: false, + }, + "article4.buckinghamshire.stokenchurch": { + fn: "article4.buckinghamshire.stokenchurch", + value: false, + }, + "article4.buckinghamshire.wooburngreen": { + fn: "article4.buckinghamshire.wooburngreen", + value: false, + }, + "article4.buckinghamshire.asheridgeroad": { + fn: "article4.buckinghamshire.asheridgeroad", + value: false, + }, + "article4.buckinghamshire.ballingerroad": { + fn: "article4.buckinghamshire.ballingerroad", + value: false, + }, + "article4.buckinghamshire.coneybankwood": { + fn: "article4.buckinghamshire.coneybankwood", + value: false, + }, + "article4.buckinghamshire.ferrylaneagri": { + fn: "article4.buckinghamshire.ferrylaneagri", + value: false, + }, + "article4.buckinghamshire.lodgelaneagri": { + fn: "article4.buckinghamshire.lodgelaneagri", + value: false, + }, + "article4.buckinghamshire.ministrywharf": { + fn: "article4.buckinghamshire.ministrywharf", + value: false, + }, + "article4.buckinghamshire.northlongpark": { + fn: "article4.buckinghamshire.northlongpark", + value: false, + }, + "article4.buckinghamshire.shepherdsfold": { + fn: "article4.buckinghamshire.shepherdsfold", + value: false, + }, + "article4.buckinghamshire.southkilnlane": { + fn: "article4.buckinghamshire.southkilnlane", + value: false, + }, + "article4.buckinghamshire.southsidekiln": { + fn: "article4.buckinghamshire.southsidekiln", + value: false, + }, + "article4.buckinghamshire.threeoaksfarm": { + fn: "article4.buckinghamshire.threeoaksfarm", + value: false, + }, + "article4.buckinghamshire.twyfordgrange": { + fn: "article4.buckinghamshire.twyfordgrange", + value: false, + }, + "article4.buckinghamshire.beamondendfarm": { + fn: "article4.buckinghamshire.beamondendfarm", + value: false, + }, + "article4.buckinghamshire.chartridgelane": { + fn: "article4.buckinghamshire.chartridgelane", + value: false, + }, + "article4.buckinghamshire.commonwoodagri": { + fn: "article4.buckinghamshire.commonwoodagri", + value: false, + }, + "article4.buckinghamshire.cryershillroad": { + fn: "article4.buckinghamshire.cryershillroad", + value: false, + }, + "article4.buckinghamshire.dorneywoodroad": { + fn: "article4.buckinghamshire.dorneywoodroad", + value: false, + }, + "article4.buckinghamshire.eastjasonshill": { + fn: "article4.buckinghamshire.eastjasonshill", + value: false, + }, + "article4.buckinghamshire.eastmarishlane": { + fn: "article4.buckinghamshire.eastmarishlane", + value: false, + }, + "article4.buckinghamshire.littlekingsash": { + fn: "article4.buckinghamshire.littlekingsash", + value: false, + }, + "article4.buckinghamshire.parkspringwood": { + fn: "article4.buckinghamshire.parkspringwood", + value: false, + }, + "article4.buckinghamshire.pednorhighroad": { + fn: "article4.buckinghamshire.pednorhighroad", + value: false, + }, + "article4.buckinghamshire.piddingtonroad": { + fn: "article4.buckinghamshire.piddingtonroad", + value: false, + }, + "article4.buckinghamshire.ruralaylesbury": { + fn: "article4.buckinghamshire.ruralaylesbury", + value: false, + }, + "article4.buckinghamshire.sibleyscoppice": { + fn: "article4.buckinghamshire.sibleyscoppice", + value: false, + }, + "article4.buckinghamshire.turvillevalley": { + fn: "article4.buckinghamshire.turvillevalley", + value: false, + }, + "article4.buckinghamshire.wyburnwoodagri": { + fn: "article4.buckinghamshire.wyburnwoodagri", + value: false, + }, + "article4.buckinghamshire.blackthornelane": { + fn: "article4.buckinghamshire.blackthornelane", + value: false, + }, + "article4.buckinghamshire.eastjordanslane": { + fn: "article4.buckinghamshire.eastjordanslane", + value: false, + }, + "article4.buckinghamshire.fulmerplacefarm": { + fn: "article4.buckinghamshire.fulmerplacefarm", + value: false, + }, + "article4.buckinghamshire.hollybushcorner": { + fn: "article4.buckinghamshire.hollybushcorner", + value: false, + }, + "article4.buckinghamshire.mansionlanewest": { + fn: "article4.buckinghamshire.mansionlanewest", + value: false, + }, + "article4.buckinghamshire.parslowshillock": { + fn: "article4.buckinghamshire.parslowshillock", + value: false, + }, + "article4.buckinghamshire.southchartridge": { + fn: "article4.buckinghamshire.southchartridge", + value: false, + }, + "article4.buckinghamshire.southswanbottom": { + fn: "article4.buckinghamshire.southswanbottom", + value: false, + }, + "article4.buckinghamshire.woodlandsmeadow": { + fn: "article4.buckinghamshire.woodlandsmeadow", + value: false, + }, + "article4.buckinghamshire.amershamroadeast": { + fn: "article4.buckinghamshire.amershamroadeast", + value: false, + }, + "article4.buckinghamshire.bangorsroadnorth": { + fn: "article4.buckinghamshire.bangorsroadnorth", + value: false, + }, + "article4.buckinghamshire.broadviewchesham": { + fn: "article4.buckinghamshire.broadviewchesham", + value: false, + }, + "article4.buckinghamshire.mansionlanesouth": { + fn: "article4.buckinghamshire.mansionlanesouth", + value: false, + }, + "article4.buckinghamshire.northjordansfarm": { + fn: "article4.buckinghamshire.northjordansfarm", + value: false, + }, + "article4.buckinghamshire.northorbitalroad": { + fn: "article4.buckinghamshire.northorbitalroad", + value: false, + }, + "article4.buckinghamshire.northwelderslane": { + fn: "article4.buckinghamshire.northwelderslane", + value: false, + }, + "article4.buckinghamshire.potterrowcaravan": { + fn: "article4.buckinghamshire.potterrowcaravan", + value: false, + }, + "article4.buckinghamshire.robertswooddrive": { + fn: "article4.buckinghamshire.robertswooddrive", + value: false, + }, + "article4.buckinghamshire.westwexhamstreet": { + fn: "article4.buckinghamshire.westwexhamstreet", + value: false, + }, + "article4.buckinghamshire.wycombeheathfarm": { + fn: "article4.buckinghamshire.wycombeheathfarm", + value: false, + }, + "article4.buckinghamshire.collegeplantation": { + fn: "article4.buckinghamshire.collegeplantation", + value: false, + }, + "article4.buckinghamshire.eastlodgelaneagri": { + fn: "article4.buckinghamshire.eastlodgelaneagri", + value: false, + }, + "article4.buckinghamshire.greenstreetfarm.a": { + fn: "article4.buckinghamshire.greenstreetfarm.a", + value: false, + }, + "article4.buckinghamshire.greenstreetfarm.b": { + fn: "article4.buckinghamshire.greenstreetfarm.b", + value: false, + }, + "article4.buckinghamshire.pednorroadcaravan": { + fn: "article4.buckinghamshire.pednorroadcaravan", + value: false, + }, + "article4.buckinghamshire.sheepcotedellroad": { + fn: "article4.buckinghamshire.sheepcotedellroad", + value: false, + }, + "article4.buckinghamshire.skimmersorchard.a": { + fn: "article4.buckinghamshire.skimmersorchard.a", + value: false, + }, + "article4.buckinghamshire.skimmersorchard.b": { + fn: "article4.buckinghamshire.skimmersorchard.b", + value: false, + }, + "article4.buckinghamshire.skimmersorchard.c": { + fn: "article4.buckinghamshire.skimmersorchard.c", + value: false, + }, + "article4.buckinghamshire.weststhubertslane": { + fn: "article4.buckinghamshire.weststhubertslane", + value: false, + }, + "article4.buckinghamshire.ballingerroadnorth": { + fn: "article4.buckinghamshire.ballingerroadnorth", + value: false, + }, + "article4.buckinghamshire.bovingdonheights.a": { + fn: "article4.buckinghamshire.bovingdonheights.a", + value: false, + }, + "article4.buckinghamshire.bovingdonheights.b": { + fn: "article4.buckinghamshire.bovingdonheights.b", + value: false, + }, + "article4.buckinghamshire.commonwoodpennroad": { + fn: "article4.buckinghamshire.commonwoodpennroad", + value: false, + }, + "article4.buckinghamshire.eastlatimervillage": { + fn: "article4.buckinghamshire.eastlatimervillage", + value: false, + }, + "article4.buckinghamshire.lodgelaneenclosure": { + fn: "article4.buckinghamshire.lodgelaneenclosure", + value: false, + }, + "article4.buckinghamshire.phillipshillfarm.a": { + fn: "article4.buckinghamshire.phillipshillfarm.a", + value: false, + }, + "article4.buckinghamshire.phillipshillfarm.b": { + fn: "article4.buckinghamshire.phillipshillfarm.b", + value: false, + }, + "article4.buckinghamshire.potterrowenclosure": { + fn: "article4.buckinghamshire.potterrowenclosure", + value: false, + }, + "article4.buckinghamshire.southeastfinchlane": { + fn: "article4.buckinghamshire.southeastfinchlane", + value: false, + }, + "article4.buckinghamshire.southpenfoldlane.a": { + fn: "article4.buckinghamshire.southpenfoldlane.a", + value: false, + }, + "article4.buckinghamshire.southpenfoldlane.b": { + fn: "article4.buckinghamshire.southpenfoldlane.b", + value: false, + }, + "article4.buckinghamshire.southsheepcoteroad": { + fn: "article4.buckinghamshire.southsheepcoteroad", + value: false, + }, + "article4.buckinghamshire.wyburnwoodforestry": { + fn: "article4.buckinghamshire.wyburnwoodforestry", + value: false, + }, + "article4.buckinghamshire.bryantsbottomroad.a": { + fn: "article4.buckinghamshire.bryantsbottomroad.a", + value: false, + }, + "article4.buckinghamshire.bryantsbottomroad.b": { + fn: "article4.buckinghamshire.bryantsbottomroad.b", + value: false, + }, + "article4.buckinghamshire.commonwoodenclosure": { + fn: "article4.buckinghamshire.commonwoodenclosure", + value: false, + }, + "article4.buckinghamshire.greenstreetfarmagri": { + fn: "article4.buckinghamshire.greenstreetfarmagri", + value: false, + }, + "article4.buckinghamshire.northsidesevenhills": { + fn: "article4.buckinghamshire.northsidesevenhills", + value: false, + }, + "article4.buckinghamshire.pednorroadenclosure": { + fn: "article4.buckinghamshire.pednorroadenclosure", + value: false, + }, + "article4.buckinghamshire.bakerswoodbrokengate": { + fn: "article4.buckinghamshire.bakerswoodbrokengate", + value: false, + }, + "article4.buckinghamshire.eastlodgelanecaravan": { + fn: "article4.buckinghamshire.eastlodgelanecaravan", + value: false, + }, + "article4.buckinghamshire.southlittlemissenden": { + fn: "article4.buckinghamshire.southlittlemissenden", + value: false, + }, + "article4.buckinghamshire.westledgelanecaravan": { + fn: "article4.buckinghamshire.westledgelanecaravan", + value: false, + }, + "article4.buckinghamshire.wholedistrictpoultry": { + fn: "article4.buckinghamshire.wholedistrictpoultry", + value: true, + }, + "article4.buckinghamshire.chalklaneanhydehealth": { + fn: "article4.buckinghamshire.chalklaneanhydehealth", + value: false, + }, + "article4.buckinghamshire.commonwoodandpennroad": { + fn: "article4.buckinghamshire.commonwoodandpennroad", + value: false, + }, + "article4.buckinghamshire.copperkinslanecaravan": { + fn: "article4.buckinghamshire.copperkinslanecaravan", + value: false, + }, + "article4.buckinghamshire.junctionhughendenroad": { + fn: "article4.buckinghamshire.junctionhughendenroad", + value: false, + }, + "article4.buckinghamshire.nightingaleslanestrip": { + fn: "article4.buckinghamshire.nightingaleslanestrip", + value: false, + }, + "article4.buckinghamshire.pednorroaddrydelllane": { + fn: "article4.buckinghamshire.pednorroaddrydelllane", + value: false, + }, + "article4.buckinghamshire.southpenfoldlaneOS262": { + fn: "article4.buckinghamshire.southpenfoldlaneOS262", + value: false, + }, + "article4.buckinghamshire.eastamershamroadOS0006": { + fn: "article4.buckinghamshire.eastamershamroadOS0006", + value: false, + }, + "article4.buckinghamshire.eastamershamroadOS9269": { + fn: "article4.buckinghamshire.eastamershamroadOS9269", + value: false, + }, + "article4.buckinghamshire.lodgelanewestenclosure": { + fn: "article4.buckinghamshire.lodgelanewestenclosure", + value: false, + }, + "article4.buckinghamshire.northandsouthhollowway": { + fn: "article4.buckinghamshire.northandsouthhollowway", + value: false, + }, + "article4.buckinghamshire.chessfieldparkenclosure": { + fn: "article4.buckinghamshire.chessfieldparkenclosure", + value: false, + }, + "article4.buckinghamshire.cooperkinslaneenclosure": { + fn: "article4.buckinghamshire.cooperkinslaneenclosure", + value: false, + }, + "article4.buckinghamshire.wycombeheathfarmcaravan": { + fn: "article4.buckinghamshire.wycombeheathfarmcaravan", + value: false, + }, + "article4.buckinghamshire.coppicesouthheathcaravan": { + fn: "article4.buckinghamshire.coppicesouthheathcaravan", + value: false, + }, + "article4.buckinghamshire.pednorroadanddrydelllane": { + fn: "article4.buckinghamshire.pednorroadanddrydelllane", + value: false, + }, + "article4.buckinghamshire.northballingerroadvaravan": { + fn: "article4.buckinghamshire.northballingerroadvaravan", + value: false, + }, + "article4.buckinghamshire.potkilnlaneandlaytersgreen": { + fn: "article4.buckinghamshire.potkilnlaneandlaytersgreen", + value: false, + }, + "article4.buckinghamshire.wycombehealthfarmnortheast": { + fn: "article4.buckinghamshire.wycombehealthfarmnortheast", + value: false, + }, + "article4.buckinghamshire.wycombehealthfarmspurlands": { + fn: "article4.buckinghamshire.wycombehealthfarmspurlands", + value: false, + }, + }, + planxRequest: + "https://api.editor.planx.dev/gis/buckinghamshire?geom=POLYGON+%28%28-0.7085376977920632+51.699564621757816%2C+-0.7086127996444802+51.69965605327502%2C+-0.708982944488535+51.699654390885456%2C+-0.7089909911155797+51.699673508361855%2C+-0.7089319825172521+51.699683482694184%2C+-0.7089520990848638+51.69973002954916%2C+-0.7091867923736667+51.69968930105364%2C+-0.7092216610908603+51.699688469859495%2C+-0.709239095449457+51.69968514508267%2C+-0.709253847599039+51.6997134056779%2C+-0.7093128561973666+51.69970176896433%2C+-0.7092699408531282+51.699610337539525%2C+-0.7096253335476013+51.699648572521454%2C+-0.7098613679409116+51.69958457046823%2C+-0.7098962366581053+51.69955049141595%2C+-0.7098090648651213+51.6994216557425%2C+-0.7099243998527616+51.699390070166544%2C+-0.7098264992237182+51.699238791576136%2C+-0.7097460329532714+51.699236297968724%2C+-0.7095716893673034+51.69927536446852%2C+-0.7095421850681398+51.69927619567025%2C+-0.7092954218387698+51.69931941814053%2C+-0.7090929150581455+51.69937427737031%2C+-0.709021836519251+51.69938923896689%2C+-0.7089574635028936+51.6994008757608%2C+-0.7088904082775213+51.69942082454341%2C+-0.7086691260337761+51.699501450783515%2C+-0.7086181640624932+51.699517243535354%2C+-0.7085457444191079+51.699541348251245%2C+-0.7085350155830483+51.69954799782576%2C+-0.7085376977920632+51.699564621757816%29%29&analytics=false&sessionId=95f90e21-93f5-4761-90b3-815c673e041f", + sourceRequest: + "https://www.planning.data.gov.uk/entity.json?entries=current&geometry=POLYGON+%28%28-0.7085376977920632+51.699564621757816%2C+-0.7086127996444802+51.69965605327502%2C+-0.708982944488535+51.699654390885456%2C+-0.7089909911155797+51.699673508361855%2C+-0.7089319825172521+51.699683482694184%2C+-0.7089520990848638+51.69973002954916%2C+-0.7091867923736667+51.69968930105364%2C+-0.7092216610908603+51.699688469859495%2C+-0.709239095449457+51.69968514508267%2C+-0.709253847599039+51.6997134056779%2C+-0.7093128561973666+51.69970176896433%2C+-0.7092699408531282+51.699610337539525%2C+-0.7096253335476013+51.699648572521454%2C+-0.7098613679409116+51.69958457046823%2C+-0.7098962366581053+51.69955049141595%2C+-0.7098090648651213+51.6994216557425%2C+-0.7099243998527616+51.699390070166544%2C+-0.7098264992237182+51.699238791576136%2C+-0.7097460329532714+51.699236297968724%2C+-0.7095716893673034+51.69927536446852%2C+-0.7095421850681398+51.69927619567025%2C+-0.7092954218387698+51.69931941814053%2C+-0.7090929150581455+51.69937427737031%2C+-0.709021836519251+51.69938923896689%2C+-0.7089574635028936+51.6994008757608%2C+-0.7088904082775213+51.69942082454341%2C+-0.7086691260337761+51.699501450783515%2C+-0.7086181640624932+51.699517243535354%2C+-0.7085457444191079+51.699541348251245%2C+-0.7085350155830483+51.69954799782576%2C+-0.7085376977920632+51.699564621757816%29%29&geometry_relation=intersects&limit=100&dataset=article-4-direction-area&dataset=central-activities-zone&dataset=listed-building&dataset=listed-building-outline&dataset=locally-listed-building&dataset=park-and-garden&dataset=conservation-area&dataset=area-of-outstanding-natural-beauty&dataset=national-park&dataset=world-heritage-site&dataset=world-heritage-site-buffer-zone&dataset=special-protection-area&dataset=scheduled-monument&dataset=tree&dataset=tree-preservation-order&dataset=tree-preservation-zone&dataset=site-of-special-scientific-interest&dataset=special-area-of-conservation&dataset=ancient-woodland", + }, + { + metadata: { + "road.classified": { + name: "Classified road", + text: "This will effect your project if you are looking to add a dropped kerb. It may also impact some agricultural or forestry projects within 25 metres of a classified road.", + plural: "Classified roads", + }, + }, + constraints: { + "road.classified": { + fn: "road.classified", + text: "is not on a Classified Road", + value: false, + category: "General policy", + }, + }, + planxRequest: "https://api.editor.planx.dev/roads?usrn=07300709", + sourceRequest: + "https://api.os.uk/features/v1/wfs?service=WFS&request=GetFeature&version=2.0.0&typeNames=Highways_RoadLink&outputFormat=GEOJSON&srsName=urn%3Aogc%3Adef%3Acrs%3AEPSG%3A%3A4326&count=1&filter=%0A++++%3Cogc%3AFilter%3E%0A++++++%3Cogc%3APropertyIsLike+wildCard%3D%22%25%22+singleChar%3D%22%23%22+escapeChar%3D%22%21%22%3E%0A++++++++%3Cogc%3APropertyName%3EFormsPartOf%3C%2Fogc%3APropertyName%3E%0A++++++++%3Cogc%3ALiteral%3E%25Street%23usrn07300709%25%3C%2Fogc%3ALiteral%3E%0A++++++%3C%2Fogc%3APropertyIsLike%3E%0A++++%3C%2Fogc%3AFilter%3E%0A++&", + }, + ], + "property.type": ["residential.dwelling.house.detached"], + "proposal.time": ["past"], + "applicant.type": ["individual"], + "applicant.title": "Mr", + "property.region": ["South East"], + "proposal.immune": ["true"], + "application.type": ["ldc.existing"], + "proposal.siteArea": 2993.67, + "uniform.isRelated": ["false"], + "uniform.siteVisit": ["true"], + "applicant.interest": ["owner.co"], + "applicant.resident": ["true"], + "application.reason": [ + "It looks like the changes were completed long enough ago that they are now immune from enforcement.", + ], + "uniform.personRole": ["Agent"], + "applicant.name.last": "Dahl", + "proposal.completion": ["4plus"], + "proposal.photograph": [ + { + url: "https://api.editor.planx.dev/file/private/r34zxe3x/RoaldDahlHut.jpg", + filename: "RoaldDahlHut.jpg", + cachedSlot: { + id: "x3q_9j0G9ji9nHLFK1H8V", + url: "https://api.editor.planx.dev/file/private/r34zxe3x/RoaldDahlHut.jpg", + file: { + path: "RoaldDahlHut.jpg", + size: 265905, + type: "image/jpeg", + }, + status: "success", + progress: 1, + }, + }, + ], + "applicant.agent.form": ["Yes"], + "applicant.name.first": "Roald", + "proposal.description": + "Construction of a small outbuilding for use as a writing studio.", + "proposal.finish.date": "1959-01-01", + "proposal.projectType": ["extend.outbuildings.studio"], + "applicant.agent.email": "f.fox@boggischickenshed.com", + "applicant.agent.title": "Mr", + "applicant.siteContact": ["applicant"], + "uniform.applicationTo": ["X0415"], + "uniform.consentRegime": ["Certificate of Lawfulness"], + "application.about.form": ["Existing building works"], + "property.boundary.site": { + type: "Feature", + geometry: { + type: "Polygon", + coordinates: [ + [ + [-0.7085376977920632, 51.699564621757816], + [-0.7086127996444802, 51.69965605327502], + [-0.708982944488535, 51.699654390885456], + [-0.7089909911155797, 51.699673508361855], + [-0.7089319825172521, 51.699683482694184], + [-0.7089520990848638, 51.69973002954916], + [-0.7091867923736667, 51.69968930105364], + [-0.7092216610908603, 51.699688469859495], + [-0.709239095449457, 51.69968514508267], + [-0.709253847599039, 51.6997134056779], + [-0.7093128561973666, 51.69970176896433], + [-0.7092699408531282, 51.699610337539525], + [-0.7096253335476013, 51.699648572521454], + [-0.7098613679409116, 51.69958457046823], + [-0.7098962366581053, 51.69955049141595], + [-0.7098090648651213, 51.6994216557425], + [-0.7099243998527616, 51.699390070166544], + [-0.7098264992237182, 51.699238791576136], + [-0.7097460329532714, 51.699236297968724], + [-0.7095716893673034, 51.69927536446852], + [-0.7095421850681398, 51.69927619567025], + [-0.7092954218387698, 51.69931941814053], + [-0.7090929150581455, 51.69937427737031], + [-0.709021836519251, 51.69938923896689], + [-0.7089574635028936, 51.6994008757608], + [-0.7088904082775213, 51.69942082454341], + [-0.7086691260337761, 51.699501450783515], + [-0.7086181640624932, 51.699517243535354], + [-0.7085457444191079, 51.699541348251245], + [-0.7085350155830483, 51.69954799782576], + [-0.7085376977920632, 51.699564621757816], + ], + ], + }, + properties: null, + }, + "property.history.built": ["before2020"], + "proposal.treeWorksOnly": ["false"], + "uniform.scenarioNumber": ["14"], + "applicant.agent.address": { + town: "Great Tunnelling", + line1: "The Tree", + line2: "One Tree Hill", + county: "", + country: "", + postcode: "F0XH0L3", + }, + "applicant.interest.form": ["Co-owner"], + "application.fee.payable": 206, + "property.numberOfOwners": ["3+"], + "_contact.applicant.agent": { + "applicant.agent": { + email: "f.fox@boggischickenshed.com", + phone: "0234 567 8910", + title: "Mr", + lastName: "Fox", + firstName: "F", + organisation: "", + }, + }, + "application.preAppAdvice": ["false"], + "application.resubmission": ["false"], + "proposal.droppedKerbOnly": ["false"], + "applicant.agent.name.last": "Fox", + "proposal.drawing.sitePlan": [ + { + url: "https://api.editor.planx.dev/file/private/kopklkj9/Site%20plan.pdf", + filename: "Site plan.pdf", + cachedSlot: { + id: "sIXXCJ8V4JDPdSZb6nsVG", + url: "https://api.editor.planx.dev/file/private/kopklkj9/Site%20plan.pdf", + file: { + path: "Site plan.pdf", + size: 1041815, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "uniform.applicantInterest": ["Owner"], + "uniform.proposedUseStatus": ["permanent"], + "applicant.agent.name.first": "F", + "applicant.sameAddress.form": ["Yes"], + "applicant.siteContact.name": ["Contact applicant"], + "application.fee.calculated": 206, + "property.history.changeUse": ["false"], + "proposal.drawing.elevation": [ + { + url: "https://api.editor.planx.dev/file/private/u2vjw69h/Elevations.pdf", + filename: "Elevations.pdf", + cachedSlot: { + id: "pQoNb6OeRNt7zUvP_pch6", + url: "https://api.editor.planx.dev/file/private/u2vjw69h/Elevations.pdf", + file: { + path: "Elevations.pdf", + size: 116018, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "proposal.drawing.floorPlan": [ + { + url: "https://api.editor.planx.dev/file/private/gbaur05c/Plan.pdf", + filename: "Plan.pdf", + cachedSlot: { + id: "2hBGyxZCJFnrZ1ljMWAYq", + url: "https://api.editor.planx.dev/file/private/gbaur05c/Plan.pdf", + file: { + path: "Plan.pdf", + size: 85548, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "proposal.siteArea.hectares": 0.299367, + "applicant.siteContact.email": "r.dahl@example.com", + "proposal.changeNumberOfHomes": ["noChange"], + "proposal.footprint.50percent": ["pass"], + "applicant.agent.phone.primary": "0234 567 8910", + "application.basisOfLawfulness": ["immune"], + "application.preAppAdvice.form": ["No"], + "property.constraints.planning": [ + "article4.buckinghamshire.wholedistrictpoultry", + "designated.AONB", + ], + "proposal.outbuilding.roofType": ["dual"], + "applicant.ownership.certificate": ["b"], + "applicant.ownership.noticeGiven": ["true"], + "applicant.ownership.owner3.name": "Matilda Wormwood", + "applicant.siteContact.telephone": "01098 765 432", + "property.boundary.site.buffered": { + type: "Feature", + geometry: { + type: "Polygon", + coordinates: [ + [ + [-0.7109836726435832, 51.69953800916663], + [-0.7109921196092339, 51.69952050445258], + [-0.7110126569679002, 51.69939181358177], + [-0.7109931902938477, 51.69926305880489], + [-0.710934435507929, 51.69913897309222], + [-0.7108365320454985, 51.698987695341266], + [-0.7107419027354172, 51.69887404500446], + [-0.7106143628239038, 51.69877350837627], + [-0.7104584978143903, 51.6986896999392], + [-0.7102799114559755, 51.69862563274743], + [-0.7100850242791016, 51.698583610112955], + [-0.70988084278219, 51.69856514280756], + [-0.7098003777066323, 51.698562649237275], + [-0.7095850444697853, 51.698569228903054], + [-0.7093760295605324, 51.69860198984535], + [-0.7092781229849829, 51.698623928519886], + [-0.709246228159465, 51.69862712727662], + [-0.7089994681868906, 51.69867034912694], + [-0.7088595781459334, 51.698701384599275], + [-0.7086993089985737, 51.69874480155081], + [-0.7086943462860816, 51.6987458461691], + [-0.7086527552465105, 51.69875336462158], + [-0.7084865450404726, 51.69879280642064], + [-0.7084194905085656, 51.69881275493519], + [-0.7083388919735701, 51.69883936695607], + [-0.7081494316265858, 51.698908398329344], + [-0.708131484529464, 51.69891395998458], + [-0.70810328376089, 51.6989230203955], + [-0.7080308647942329, 51.698947124794834], + [-0.7077762333599421, 51.69906440912657], + [-0.7077655045238856, 51.699071058631], + [-0.7076420235649725, 51.6991624943346], + [-0.7075464496896602, 51.69926597779686], + [-0.70748176990721, 51.69937827502307], + [-0.7074500057954949, 51.69949587655196], + [-0.707452150297203, 51.69961510712694], + [-0.7074548321123736, 51.69963173108365], + [-0.7074934133148448, 51.699754436978964], + [-0.7075678694162779, 51.69987062225423], + [-0.7076429698169237, 51.699962054389744], + [-0.7077500214276489, 51.70006714600156], + [-0.7078863674832241, 51.700158279882466], + [-0.7080473786886547, 51.700232361697935], + [-0.7082275881910142, 51.700286876080916], + [-0.7084208772055759, 51.700319972047346], + [-0.7084290870294441, 51.70032040570004], + [-0.7086094755379649, 51.70037022040152], + [-0.7088191007679381, 51.70039946402231], + [-0.7090339107926231, 51.700402611232114], + [-0.7091928408186801, 51.70038528396379], + [-0.7093758149290983, 51.70038364658226], + [-0.7095838188586172, 51.70035614446758], + [-0.7096428282102678, 51.700344507588724], + [-0.7097533797609843, 51.70031516085449], + [-0.7098603318309943, 51.70030714981855], + [-0.7100615357814699, 51.70026651136157], + [-0.7102975727811436, 51.700202508434316], + [-0.7104849473638406, 51.70013735279267], + [-0.7106480165752528, 51.700050651833216], + [-0.7107804246103208, 51.69994578490583], + [-0.7108152929136836, 51.699911705581506], + [-0.7109097934283611, 51.699796092245265], + [-0.7109668715644575, 51.699671411130154], + [-0.7109844202150329, 51.699542265673266], + [-0.7109836726435832, 51.69953800916663], + ], + ], + }, + properties: {}, + }, + "property.localAuthorityDistrict": ["Buckinghamshire", "Chiltern"], + "proposal.immunity.evidence.date": ["construction", "other"], + "proposal.visibleFromPublicRealm": ["Information not provided"], + "applicant.provideApplicantsEmail": ["false"], + "applicant.provideApplicantsPhone": ["false"], + "application.declaration.accurate": ["true"], + "application.fee.reduction.sports": ["false"], + "application.fee.reference.govPay": { + moto: false, + state: { + status: "created", + finished: false, + }, + _links: { + self: { + href: "https://publicapi.payments.service.gov.uk/v1/payments/50h1fi7l9eo4c9fa7jm1avs3ag", + method: "GET", + }, + cancel: { + href: "https://publicapi.payments.service.gov.uk/v1/payments/50h1fi7l9eo4c9fa7jm1avs3ag/cancel", + method: "POST", + }, + events: { + href: "https://publicapi.payments.service.gov.uk/v1/payments/50h1fi7l9eo4c9fa7jm1avs3ag/events", + method: "GET", + }, + refunds: { + href: "https://publicapi.payments.service.gov.uk/v1/payments/50h1fi7l9eo4c9fa7jm1avs3ag/refunds", + method: "GET", + }, + next_url: { + href: "https://card.payments.service.gov.uk/secure/c141a9f9-359c-4283-bc30-5353b5079f54", + method: "GET", + }, + next_url_post: { + href: "https://card.payments.service.gov.uk/secure", + type: "application/x-www-form-urlencoded", + method: "POST", + params: { + chargeTokenId: "c141a9f9-359c-4283-bc30-5353b5079f54", + }, + }, + }, + amount: 206, + language: "en", + reference: "95f90e21-93f5-4761-90b3-815c673e041f", + payment_id: "50h1fi7l9eo4c9fa7jm1avs3ag", + return_url: + "https://editor.planx.dev/buckinghamshire/apply-for-a-lawful-development-certificate/preview?sessionId=95f90e21-93f5-4761-90b3-815c673e041f&email=example%40example.com", + description: "New application", + created_date: "2023-09-01T06:46:41.524Z", + refund_summary: { + status: "pending", + amount_available: 20600, + amount_submitted: 0, + }, + delayed_capture: false, + payment_provider: "sandbox", + authorisation_mode: "web", + settlement_summary: {}, + }, + "proposal.document.other.evidence": [ + { + url: "https://api.editor.planx.dev/file/private/4vhzu4c5/Roald-Dahl-letter-one-use.pdf", + filename: "Roald-Dahl-letter-one-use.pdf", + cachedSlot: { + id: "oKmvSqN16AEJmljETpDRR", + url: "https://api.editor.planx.dev/file/private/4vhzu4c5/Roald-Dahl-letter-one-use.pdf", + file: { + path: "Roald-Dahl-letter-one-use.pdf", + size: 5810214, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "proposal.changeNumberOfHomes.form": ["No"], + "proposal.extend.outbuildings.area": 9, + "applicant.interest.ownerKnown.form": ["Yes, all of them"], + "applicant.ownership.owner3.address": { + town: "Reading", + line1: "9, Library Way", + line2: "", + county: "", + country: "", + postcode: "L1T3R8Y", + }, + "application.declaration.connection": ["none"], + "application.showTreesConsentResult": ["false"], + "applicant.ownership.noticeGiven.form": ["Yes"], + "application.fee.exemption.disability": ["false"], + "applicant.ownership.owner2.noticeDate": "1964-04-01", + "applicant.ownership.owner3.noticeDate": "1988-04-01", + "application.declaration.accurate.form": ["Yes"], + "application.fee.reduction.alternative": ["false"], + "application.fee.exemption.resubmission": ["false"], + "proposal.document.construction.invoice": [ + { + url: "https://api.editor.planx.dev/file/private/uz72iu40/Test%20document.pdf", + filename: "Test document.pdf", + cachedSlot: { + id: "1LsDGCZduh8WwRE07mufG", + url: "https://api.editor.planx.dev/file/private/uz72iu40/Test%20document.pdf", + file: { + path: "Test document.pdf", + size: 7948, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "application.declaration.connection.form": ["No connections"], + "application.fee.reduction.parishCouncil": ["false"], + "applicant.ownership.certificateB.owner2.name": "William Wonka", + "proposal.document.other.evidence.description": + "Nothing really, this is just a test. ", + "applicant.ownership.certificateB.owner2.address": { + town: "Oomaph upon Ouse", + line1: "The Factory", + line2: "10, Scrumdiddlyumptious Avenue", + county: "", + country: "", + postcode: "CH0C0L8", + }, + "proposal.document.construction.invoice.description": + "Nothing, it's a test document. ", + }, + breadcrumbs: { + "0Pl5wUYWiv": { + auto: false, + answers: ["sjmFWrYbPo"], + }, + "0Ssv1Buc4B": { + auto: true, + answers: ["v2b6eBucAa"], + }, + "0awrbrvw4j": { + auto: false, + answers: ["kX8LJ7KAPl"], + }, + "0vyk3XWTXQ": { + auto: true, + answers: ["TrkbYqWWL5"], + }, + "1AWzJUh7SY": { + auto: true, + data: { + "applicant.ownership.noticeGiven.form": ["Yes"], + }, + }, + "1brLbfr0VI": { + auto: true, + data: { + "application.showTreesConsentResult": ["false"], + }, + }, + "1sN8ZrOy2f": { + auto: true, + data: { + "application.type": ["ldc.existing"], + }, + }, + "2fPL5miNqx": { + auto: true, + answers: ["ywnW81Ru65"], + }, + "3lNLOOkOSL": { + auto: false, + data: { + "proposal.drawing.sitePlan": [ + { + url: "https://api.editor.planx.dev/file/private/kopklkj9/Site%20plan.pdf", + filename: "Site plan.pdf", + cachedSlot: { + id: "sIXXCJ8V4JDPdSZb6nsVG", + url: "https://api.editor.planx.dev/file/private/kopklkj9/Site%20plan.pdf", + file: { + path: "Site plan.pdf", + size: 1041815, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + }, + }, + "4LxJnbKLHX": { + auto: false, + answers: ["g8KPY17tci"], + }, + "4m9HFWJOSL": { + auto: false, + answers: ["xpI8kSKOSL"], + }, + "503Qd4UzSW": { + auto: true, + answers: ["mbwfPiuQcn"], + }, + "5BvOSdcGqe": { + auto: false, + answers: ["phNHyuVqvs"], + }, + "5DwwhQGOIz": { + auto: false, + data: { + _nots: { + "property.constraints.planning": [ + "listed", + "locallyListed", + "registeredPark", + "designated.conservationArea", + "designated.nationalPark", + "designated.nationalPark.broads", + "designated.WHS", + "designated.SPA", + "monument", + "tpo", + "nature.SSSI", + "nature.SAC", + "nature.ASNW", + "article4.buckinghamshire.twyfordgrange", + "article4.buckinghamshire.ivylane", + "article4.buckinghamshire.ruralaylesbury", + "article4.buckinghamshire.piddingtonroad", + "article4.buckinghamshire.rockylane", + "article4.buckinghamshire.bridgestreet", + "article4.buckinghamshire.winslowroad", + "article4.buckinghamshire.amershamroad", + "article4.buckinghamshire.amershamroadeast", + "article4.buckinghamshire.asheridgeroad", + "article4.buckinghamshire.bakerswood", + "article4.buckinghamshire.bakerswoodbrokengate", + "article4.buckinghamshire.ballingerroad", + "article4.buckinghamshire.ballingerroadnorth", + "article4.buckinghamshire.bangorsroadnorth", + "article4.buckinghamshire.beamondendfarm", + "article4.buckinghamshire.blackthornelane", + "article4.buckinghamshire.boismoorroad", + "article4.buckinghamshire.botleyroad", + "article4.buckinghamshire.boundaryroad", + "article4.buckinghamshire.bourneend", + "article4.buckinghamshire.bovingdonheights.a", + "article4.buckinghamshire.bovingdonheights.b", + "article4.buckinghamshire.broadviewchesham", + "article4.buckinghamshire.bryantsbottomroad.a", + "article4.buckinghamshire.bryantsbottomroad.b", + "article4.buckinghamshire.burtonslane", + "article4.buckinghamshire.chalklaneanhydehealth", + "article4.buckinghamshire.chartridgelane", + "article4.buckinghamshire.cheshamroad", + "article4.buckinghamshire.chessfieldparkenclosure", + "article4.buckinghamshire.churchlane", + "article4.buckinghamshire.collegeplantation", + "article4.buckinghamshire.collumgreen", + "article4.buckinghamshire.commonwood", + "article4.buckinghamshire.commonwoodagri", + "article4.buckinghamshire.commonwoodandpennroad", + "article4.buckinghamshire.commonwoodenclosure", + "article4.buckinghamshire.commonwoodpennroad", + "article4.buckinghamshire.coneybankwood", + "article4.buckinghamshire.copperkinslanecaravan", + "article4.buckinghamshire.cooperkinslaneenclosure", + "article4.buckinghamshire.coppicesouthheathcaravan", + "article4.buckinghamshire.cryershillroad", + "article4.buckinghamshire.deanfield", + "article4.buckinghamshire.DO10fulmer", + "article4.buckinghamshire.dorneywoodroad", + "article4.buckinghamshire.eastamershamroadOS0006", + "article4.buckinghamshire.eastamershamroadOS9269", + "article4.buckinghamshire.eastjasonshill", + "article4.buckinghamshire.eastjordanslane", + "article4.buckinghamshire.eastlatimervillage", + "article4.buckinghamshire.eastlodgelaneagri", + "article4.buckinghamshire.eastlodgelanecaravan", + "article4.buckinghamshire.eastmarishlane", + "article4.buckinghamshire.eastvaleroad", + "article4.buckinghamshire.ferrylane", + "article4.buckinghamshire.ferrylaneagri", + "article4.buckinghamshire.fourwinds", + "article4.buckinghamshire.fulmer", + "article4.buckinghamshire.fulmerplacefarm", + "article4.buckinghamshire.georgegreen", + "article4.buckinghamshire.gravellyway", + "article4.buckinghamshire.greenacres", + "article4.buckinghamshire.greenstreetfarmagri", + "article4.buckinghamshire.greenstreetfarm.a", + "article4.buckinghamshire.greenstreetfarm.b", + "article4.buckinghamshire.hampdenroad", + "article4.buckinghamshire.hollybushcorner", + "article4.buckinghamshire.johnsonsfarm", + "article4.buckinghamshire.junctionhughendenroad", + "article4.buckinghamshire.lakeendroad", + "article4.buckinghamshire.littlekingsash", + "article4.buckinghamshire.lodgelane", + "article4.buckinghamshire.lodgelaneagri", + "article4.buckinghamshire.lodgelaneenclosure", + "article4.buckinghamshire.lodgelanewestenclosure", + "article4.buckinghamshire.manorfarm", + "article4.buckinghamshire.mansionlanesouth", + "article4.buckinghamshire.mansionlanewest", + "article4.buckinghamshire.millfarm", + "article4.buckinghamshire.ministrywharf", + "article4.buckinghamshire.nightingaleslanestrip", + "article4.buckinghamshire.northA404", + "article4.buckinghamshire.northandsouthhollowway", + "article4.buckinghamshire.northballingerroadvaravan", + "article4.buckinghamshire.northjordansfarm", + "article4.buckinghamshire.northlongpark", + "article4.buckinghamshire.northorbitalroad", + "article4.buckinghamshire.northpark", + "article4.buckinghamshire.northsidesevenhills", + "article4.buckinghamshire.northwelderslane", + "article4.buckinghamshire.officetoresi", + "article4.buckinghamshire.os1178", + "article4.buckinghamshire.os262", + "article4.buckinghamshire.os3100", + "article4.buckinghamshire.os3313.a", + "article4.buckinghamshire.os3313.b", + "article4.buckinghamshire.os4729", + "article4.buckinghamshire.os5200", + "article4.buckinghamshire.os6961", + "article4.buckinghamshire.os8050", + "article4.buckinghamshire.os8349", + "article4.buckinghamshire.parkspringwood", + "article4.buckinghamshire.parslowshillock", + "article4.buckinghamshire.pednorhighroad", + "article4.buckinghamshire.pednorroadanddrydelllane", + "article4.buckinghamshire.pednorroadcaravan", + "article4.buckinghamshire.pednorroaddrydelllane", + "article4.buckinghamshire.pednorroadenclosure", + "article4.buckinghamshire.pennroad", + "article4.buckinghamshire.pennwood", + "article4.buckinghamshire.phillipshillfarm.a", + "article4.buckinghamshire.phillipshillfarm.b", + "article4.buckinghamshire.piggery", + "article4.buckinghamshire.potkilnlaneandlaytersgreen", + "article4.buckinghamshire.potterrowcaravan", + "article4.buckinghamshire.potterrowenclosure", + "article4.buckinghamshire.poultry", + "article4.buckinghamshire.purtonlane", + "article4.buckinghamshire.rearuplands", + "article4.buckinghamshire.robertswooddrive", + "article4.buckinghamshire.ruralwycombe", + "article4.buckinghamshire.saunderton", + "article4.buckinghamshire.sedgesfarm", + "article4.buckinghamshire.sheepcotedellroad", + "article4.buckinghamshire.shepherdsfold", + "article4.buckinghamshire.sibleyscoppice", + "article4.buckinghamshire.skimmersorchard.a", + "article4.buckinghamshire.skimmersorchard.b", + "article4.buckinghamshire.skimmersorchard.c", + "article4.buckinghamshire.southA413", + "article4.buckinghamshire.southchartridge", + "article4.buckinghamshire.southeastfinchlane", + "article4.buckinghamshire.southkilnlane", + "article4.buckinghamshire.southlittlemissenden", + "article4.buckinghamshire.southpenfoldlane.a", + "article4.buckinghamshire.southpenfoldlane.b", + "article4.buckinghamshire.southpenfoldlaneOS262", + "article4.buckinghamshire.southsheepcoteroad", + "article4.buckinghamshire.southsidekiln", + "article4.buckinghamshire.southswanbottom", + "article4.buckinghamshire.stokenchurch", + "article4.buckinghamshire.threeoaksfarm", + "article4.buckinghamshire.turnerswood", + "article4.buckinghamshire.turvillevalley", + "article4.buckinghamshire.valleyroad", + "article4.buckinghamshire.wellcottage", + "article4.buckinghamshire.westledgelanecaravan", + "article4.buckinghamshire.weststhubertslane", + "article4.buckinghamshire.westwexhamstreet", + "article4.buckinghamshire.widmerfarm", + "article4.buckinghamshire.wigginton", + "article4.buckinghamshire.wiltonlane", + "article4.buckinghamshire.wooburngreen", + "article4.buckinghamshire.woodlandsmeadow", + "article4.buckinghamshire.wyburnwood", + "article4.buckinghamshire.wyburnwoodagri", + "article4.buckinghamshire.wyburnwoodforestry", + "article4.buckinghamshire.wycombehealthfarmnortheast", + "article4.buckinghamshire.wycombehealthfarmspurlands", + "article4.buckinghamshire.wycombeheathfarm", + "article4.buckinghamshire.wycombeheathfarmcaravan", + "article4.buckinghamshire.caz", + "road.classified", + ], + }, + _constraints: [ + { + metadata: { + tpo: { + name: "Tree preservation zone", + text: "A Tree Preservation Order (TPO) can be placed on single trees, groups of trees and even whole woodlands. Tree Preservation Orders are made by local planning authorities following [guidance](https://www.gov.uk/guidance/tree-preservation-orders-and-trees-in-conservation-areas) provided by the [Department for Levelling Up, Housing and Communities](https://www.gov.uk/government/organisations/department-for-levelling-up-housing-and-communities).\n\nEach [tree preservation order](/dataset/tree-preservation-order) may apply to a number of tree preservation order zones, and a number of individual [trees](/dataset/tree).\n\nThis dataset contains data from [a small group of local planning authorities](/about/) who we are working with to develop a [data specification for tree preservation orders](https://www.digital-land.info/guidance/specifications/tree-preservation-order).", + plural: "Trees preservation zones", + prefix: "", + themes: ["environment"], + dataset: "tree-preservation-zone", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q10884", + wikipedia: "Tree", + collection: "tree-preservation-order", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "An area covered by a tree preservation order", + "entity-count": { + count: 13161, + dataset: "tree-preservation-zone", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": + "© Crown copyright and database right 2023", + }, + listed: { + name: "Listed building outline", + text: "The geospatial boundary for [listed buildings](https://historicengland.org.uk/listing/what-is-designation/listed-buildings) as designated by [Historic England](https://historicengland.org.uk/) as collected from local planning authorities.\n\nWe are [working with a group of local planning authorities](/about/) to help them publish their data to inform planning decisions, and to develop a [data specification for listed building outlines](https://www.digital-land.info/guidance/specifications/listed-building).\n\nWe expect to eventually merge this dataset with the [listed building](/dataset/listed-building) dataset.", + plural: "Listed building outlines", + prefix: "", + themes: ["heritage"], + dataset: "listed-building-outline", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q570600", + wikipedia: "Listed_building", + collection: "listed-building", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "boundary of a listed building", + "entity-count": { + count: 12237, + dataset: "listed-building-outline", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#F9C744", + }, + "attribution-text": + "© Crown copyright and database right 2023", + }, + article4: { + name: "Article 4 direction area", + text: "A local planning authority may create an [article 4 direction](https://www.gov.uk/guidance/when-is-permission-required#article-4-direction) to alter or remove [permitted development rights](https://www.gov.uk/government/publications/permitted-development-rights-for-householders-technical-guidance) from a building or area.\n\nEach [article 4 direction](/dataset/article-4-direction) may apply to one or more article 4 direction areas, each with one or more [article 4 direction rules](/dataset/article-4-direction-rule).\n\nThis dataset contains data from [a small group of local planning authorities](/about/) who we are working with to develop a [data specification for article 4 directions](https://www.digital-land.info/guidance/specifications/article-4-direction).", + plural: "Article 4 direction areas", + prefix: "", + themes: ["heritage"], + dataset: "article-4-direction-area", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "", + wikipedia: "", + collection: "article-4-direction", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: + "Orders made by the local planning authority to remove all or some of the permitted development rights on a site in order to protect it", + "entity-count": { + count: 1369, + dataset: "article-4-direction-area", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": + "© Crown copyright and database right 2023", + }, + monument: { + name: "Scheduled monument", + text: "Historic buildings or sites such as Roman remains, burial mounds, castles, bridges, earthworks, the remains of deserted villages and industrial sites can be designated scheduled monuments by the Secretary of State for [Digital, Culture, Media and Sport](https://www.gov.uk/government/organisations/department-for-digital-culture-media-sport). \n\nThis list of scheduled monuments is kept and maintained by [Historic England](https://historicengland.org.uk/).", + plural: "Scheduled monuments", + prefix: "", + themes: ["heritage"], + dataset: "scheduled-monument", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q219538", + wikipedia: "Scheduled_monument", + collection: "historic-england", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: "", + "entity-count": { + count: 19935, + dataset: "scheduled-monument", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#0F9CDA", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + "nature.SAC": { + name: "Special area of conservation", + text: "Special areas of conservation (SACs) are area of land which have been designated by\n[DEFRA](https://www.gov.uk/government/organisations/department-for-environment-food-rural-affairs),\nwith advice from the [Joint Nature Conservation Committee](https://jncc.gov.uk/),\nto protect specific habitats and species.\n\nDEFRA and [Natural England](https://www.gov.uk/government/organisations/natural-england) publish\n[guidance](https://www.gov.uk/guidance/protected-sites-and-areas-how-to-review-planning-applications)\non how to review planning applications in protected sites and areas.", + plural: "Special areas of conservation", + prefix: "", + themes: ["environment"], + dataset: "special-area-of-conservation", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q1191622", + wikipedia: "Special_Area_of_Conservation", + collection: "special-area-of-conservation", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: "", + "entity-count": { + count: 256, + dataset: "special-area-of-conservation", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#7A8705", + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "nature.ASNW": { + name: "Ancient woodland", + text: "An area designated as ancient woodland by Natural England.\n\nNatural England and Forestry Commission [Guidance](https://www.gov.uk/guidance/ancient-woodland-and-veteran-trees-protection-surveys-licences) is used in planning decisions.", + plural: "Ancient woodlands", + prefix: "", + themes: ["environment"], + dataset: "ancient-woodland", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q3078732", + wikipedia: "Ancient_woodland", + collection: "ancient-woodland", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: + "An area that’s been wooded continuously since at least 1600 AD", + "entity-count": { + count: 44355, + dataset: "ancient-woodland", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#00703c", + opacity: 0.2, + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "nature.SSSI": { + name: "Site of special scientific interest", + text: "Sites of special scientific interest (SSSI) are nationally protected sites that have features such as wildlife or geology. \n\nSSSIs are designated by [Natural England](https://www.gov.uk/government/organisations/natural-england).\nThere is [guidance](https://www.gov.uk/guidance/protected-areas-sites-of-special-scientific-interest) to help local authorities decide on planning applications in protected SSSIs.", + plural: "Sites of special scientific interest", + prefix: "", + themes: ["environment"], + dataset: "site-of-special-scientific-interest", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q422211", + wikipedia: "Site_of_Special_Scientific_Interest", + collection: "site-of-special-scientific-interest", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: "", + "entity-count": { + count: 4128, + dataset: "site-of-special-scientific-interest", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#308fac", + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "article4.caz": { + name: "Central activities zone", + text: "The [Greater London Authority](https://www.london.gov.uk/) (GLA) designates a central area of London with [implications for planning](https://www.london.gov.uk/what-we-do/planning/implementing-london-plan/london-plan-guidance-and-spgs/central-activities-zone)\nThis dataset combines data provided by the GLA with the boundary from the individual London boroughs.", + plural: "Central activities zones", + prefix: "", + themes: ["development"], + dataset: "central-activities-zone", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "", + wikipedia: "", + collection: "central-activities-zone", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "", + "entity-count": { + count: 10, + dataset: "central-activities-zone", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": + "© Crown copyright and database right 2023", + }, + locallyListed: { + name: "Locally listed building", + text: "A building or site in a local planning authority’s area that make a positive contribution to its local character and sense of place because of their heritage value. Although such heritage assets may not be nationally designated or even located within the boundaries of a conservation area, they may be offered some level of protection by the local planning authority identifying them on a formally adopted list of local heritage assets.\n\nThis is an experimental dataset of locally listed buildings found on [data.gov.uk](https://www.data.gov.uk/search?q=locally+listed+buildings).\nWe are [working with a group of local planning authorities](/about/) to help them publish their locally listed buildings, and to develop a data specification for locally listed buildings.", + plural: "Locally listed buildings", + prefix: "", + themes: ["heritage"], + dataset: "locally-listed-building", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q570600", + wikipedia: "Listed_building#Locally_listed_buildings", + collection: "listed-building", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: + "locally listed heritage assets, including buildings", + "entity-count": { + count: 448, + dataset: "locally-listed-building", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#F9C744", + }, + "attribution-text": + "© Crown copyright and database right 2023", + }, + "designated.SPA": { + name: "Special protection area", + text: "[Special protection areas](https://naturalengland-defra.opendata.arcgis.com/maps/Defra::special-protection-areas-england/about) is an area designated \nfor the protection of birds and wildlife. This dataset is provided by [Natural England](https://www.gov.uk/government/organisations/natural-england).", + plural: "Special protection areas", + prefix: "", + themes: ["environment"], + dataset: "special-protection-area", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "", + wikipedia: "", + collection: "special-protection-area", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: "", + "entity-count": { + count: 88, + dataset: "special-protection-area", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "designated.WHS": { + name: "World heritage site buffer zone", + text: "A [World Heritage Site](/dataset/world-heritage-site) may have a [buffer zone](https://whc.unesco.org/en/series/25/) with implications for planning.", + plural: "World heritage site buffer zones", + prefix: "", + themes: ["heritage"], + dataset: "world-heritage-site-buffer-zone", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q9259", + wikipedia: "World_Heritage_Site", + collection: "historic-england", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: "", + "entity-count": { + count: 8, + dataset: "world-heritage-site-buffer-zone", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#EB1EE5", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + registeredPark: { + name: "Historic parks and gardens", + text: "Historic parks and gardens as listed by [Historic England](https://historicengland.org.uk/) in the [Register of Parks and Gardens of Special Historic Interest](https://historicengland.org.uk/listing/what-is-designation/registered-parks-and-gardens/).", + plural: "Parks and gardens", + prefix: "", + themes: ["environment", "heritage"], + dataset: "park-and-garden", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q6975250", + wikipedia: + "Register_of_Historic_Parks_and_Gardens_of_Special_Historic_Interest_in_England", + collection: "historic-england", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: "", + "entity-count": { + count: 1699, + dataset: "park-and-garden", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#0EB951", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + "designated.AONB": { + name: "Area of outstanding natural beauty", + text: "An area of outstanding natural beauty (AONB) as designated by [Natural England](https://www.gov.uk/government/organisations/natural-england).\n\nNatural England provides [guidance](https://www.gov.uk/guidance/protected-sites-and-areas-how-to-review-planning-applications) to help local authorities decide on planning applications in protected sites and areas.", + plural: "Areas of outstanding natural beauty", + prefix: "", + themes: ["environment"], + dataset: "area-of-outstanding-natural-beauty", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q174945", + wikipedia: "Area_of_Outstanding_Natural_Beauty", + collection: "area-of-outstanding-natural-beauty", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: + "Land protected by law to conserve and enhance its natural beauty", + "entity-count": { + count: 34, + dataset: "area-of-outstanding-natural-beauty", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#d53880", + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "designated.nationalPark": { + name: "National park", + text: "The administrative boundaries of [national park authorities](/dataset/national-park-authority) in England as provided by the ONS for the purposes of producing statistics.", + plural: "National parks", + prefix: "statistical-geography", + themes: ["heritage"], + dataset: "national-park", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q60256727", + wikipedia: "National_park", + collection: "national-park", + "entry-date": "", + "start-date": "", + attribution: "ons-boundary", + description: "", + "entity-count": { + count: 10, + dataset: "national-park", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#3DA52C", + }, + "attribution-text": + "Source: Office for National Statistics licensed under the Open Government Licence v.3.0\nContains OS data © Crown copyright and database right 2023", + }, + "designated.conservationArea": { + name: "Conservation area", + text: "Local planning authorities are responsible for designating conservation areas, though [Historic England](https://historicengland.org.uk/) and the Secretary of State also have powers to create them.\n\nThis dataset also contains the boundaries of conservation areas from Historic England, as well as other data found on [data.gov.uk](https://www.data.gov.uk/search?q=conservation+area) and currently contains a number of duplicate areas we are working to remove.\n\nWe are also [working with a group of local planning authorities](/about/) to help them publish their conservation areas, and to develop a [data specification for conservation areas](https://www.digital-land.info/guidance/specifications/conservation-area).\n\nHistoric England provide [guidance](https://historicengland.org.uk/advice/your-home/owning-historic-property/conservation-area/) to help householders understand the implications of living in a conservation area for planning applications.", + plural: "Conservation areas", + prefix: "", + themes: ["heritage"], + dataset: "conservation-area", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q5162904", + wikipedia: "Conservation_area_(United_Kingdom)", + collection: "conservation-area", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: + "Special architectural or historic interest, the character or appearance of which it is desirable to preserve or enhance", + "entity-count": { + count: 8600, + dataset: "conservation-area", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#78AA00", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + }, + constraints: { + tpo: { + fn: "tpo", + text: "is not in a Tree Preservation Order (TPO) Zone", + value: false, + category: "Trees", + }, + listed: { + fn: "listed", + text: "is not, or is not within, a Listed Building", + value: false, + category: "Heritage and conservation", + }, + article4: { + fn: "article4", + data: [ + { + name: "Whole District excluding the Town of Chesham - Poultry production.", + entity: 7010002192, + prefix: "article-4-direction-area", + dataset: "article-4-direction-area", + "end-date": "", + typology: "geography", + reference: "112", + "entry-date": "2022-04-28", + "start-date": "2059-01-15", + description: + "Bucks County Council Town and Country Planning Act 1947 Town and Country Planning General Development Order 1950. Re Whole District excluding the Town of Chesham. In relation to poultry production.", + "organisation-entity": "67", + }, + ], + text: "is subject to local permitted development restrictions (known as Article 4 directions)", + value: true, + category: "General policy", + }, + monument: { + fn: "monument", + text: "is not the site of a Scheduled Monument", + value: false, + category: "Heritage and conservation", + }, + designated: { + value: true, + }, + "nature.SAC": { + fn: "nature.SAC", + text: "is not in a Special Area of Conservation (SAC)", + value: false, + category: "Ecology", + }, + "nature.ASNW": { + fn: "nature.ASNW", + text: "is not in an Ancient Semi-Natural Woodland (ASNW)", + value: false, + category: "Ecology", + }, + "nature.SSSI": { + fn: "nature.SSSI", + text: "is not a Site of Special Scientific Interest (SSSI)", + value: false, + category: "Ecology", + }, + locallyListed: { + fn: "locallyListed", + text: "is not, or is not within, a Locally Listed Building", + value: false, + category: "Heritage and conservation", + }, + "designated.SPA": { + fn: "designated.SPA", + text: "is not in a Special Protection Area (SPA)", + value: false, + category: "Heritage and conservation", + }, + "designated.WHS": { + fn: "designated.WHS", + text: "is not an UNESCO World Heritage Site", + value: false, + category: "Heritage and conservation", + }, + registeredPark: { + fn: "registeredPark", + text: "is not in a Historic Park or Garden", + value: false, + category: "Heritage and conservation", + }, + "designated.AONB": { + fn: "designated.AONB", + data: [ + { + name: "Chilterns", + entity: 1000005, + prefix: "area-of-outstanding-natural-beauty", + dataset: "area-of-outstanding-natural-beauty", + twitter: "chilternsaonb", + website: "https://www.chilternsaonb.org/", + "end-date": "", + typology: "geography", + wikidata: "Q19849", + reference: "5", + wikipedia: "Chiltern_Hills", + "entry-date": "2022-09-10", + "start-date": "1990-03-01", + "documentation-url": + "http://www.landscapesforlife.org.uk/about-aonbs/visit-aonbs/chilterns-aonb", + "organisation-entity": "600001", + }, + ], + text: "is in an Area of Outstanding Natural Beauty", + value: true, + category: "Heritage and conservation", + }, + "designated.nationalPark": { + fn: "designated.nationalPark", + text: "is not in a National Park", + value: false, + category: "Heritage and conservation", + }, + "designated.conservationArea": { + fn: "designated.conservationArea", + text: "is not in a Conservation Area", + value: false, + category: "Heritage and conservation", + }, + "article4.buckinghamshire.caz": { + fn: "article4.caz", + text: "is not in the Central Activities Zone", + value: false, + category: "General policy", + }, + "article4.buckinghamshire.os262": { + fn: "article4.buckinghamshire.os262", + value: false, + }, + "designated.nationalPark.broads": { + fn: "designated.nationalPark.broads", + value: false, + }, + "article4.buckinghamshire.fulmer": { + fn: "article4.buckinghamshire.fulmer", + value: false, + }, + "article4.buckinghamshire.os1178": { + fn: "article4.buckinghamshire.os1178", + value: false, + }, + "article4.buckinghamshire.os3100": { + fn: "article4.buckinghamshire.os3100", + value: false, + }, + "article4.buckinghamshire.os4729": { + fn: "article4.buckinghamshire.os4729", + value: false, + }, + "article4.buckinghamshire.os5200": { + fn: "article4.buckinghamshire.os5200", + value: false, + }, + "article4.buckinghamshire.os6961": { + fn: "article4.buckinghamshire.os6961", + value: false, + }, + "article4.buckinghamshire.os8050": { + fn: "article4.buckinghamshire.os8050", + value: false, + }, + "article4.buckinghamshire.os8349": { + fn: "article4.buckinghamshire.os8349", + value: false, + }, + "article4.buckinghamshire.ivylane": { + fn: "article4.buckinghamshire.ivylane", + value: false, + }, + "article4.buckinghamshire.piggery": { + fn: "article4.buckinghamshire.piggery", + value: false, + }, + "article4.buckinghamshire.poultry": { + fn: "article4.buckinghamshire.poultry", + value: false, + }, + "article4.buckinghamshire.millfarm": { + fn: "article4.buckinghamshire.millfarm", + value: false, + }, + "article4.buckinghamshire.os3313.a": { + fn: "article4.buckinghamshire.os3313.a", + value: false, + }, + "article4.buckinghamshire.os3313.b": { + fn: "article4.buckinghamshire.os3313.b", + value: false, + }, + "article4.buckinghamshire.pennroad": { + fn: "article4.buckinghamshire.pennroad", + value: false, + }, + "article4.buckinghamshire.pennwood": { + fn: "article4.buckinghamshire.pennwood", + value: false, + }, + "article4.buckinghamshire.bourneend": { + fn: "article4.buckinghamshire.bourneend", + value: false, + }, + "article4.buckinghamshire.deanfield": { + fn: "article4.buckinghamshire.deanfield", + value: false, + }, + "article4.buckinghamshire.ferrylane": { + fn: "article4.buckinghamshire.ferrylane", + value: false, + }, + "article4.buckinghamshire.fourwinds": { + fn: "article4.buckinghamshire.fourwinds", + value: false, + }, + "article4.buckinghamshire.lodgelane": { + fn: "article4.buckinghamshire.lodgelane", + value: false, + }, + "article4.buckinghamshire.manorfarm": { + fn: "article4.buckinghamshire.manorfarm", + value: false, + }, + "article4.buckinghamshire.northA404": { + fn: "article4.buckinghamshire.northA404", + value: false, + }, + "article4.buckinghamshire.northpark": { + fn: "article4.buckinghamshire.northpark", + value: false, + }, + "article4.buckinghamshire.rockylane": { + fn: "article4.buckinghamshire.rockylane", + value: false, + }, + "article4.buckinghamshire.southA413": { + fn: "article4.buckinghamshire.southA413", + value: false, + }, + "article4.buckinghamshire.wigginton": { + fn: "article4.buckinghamshire.wigginton", + value: false, + }, + "article4.buckinghamshire.DO10fulmer": { + fn: "article4.buckinghamshire.DO10fulmer", + value: false, + }, + "article4.buckinghamshire.bakerswood": { + fn: "article4.buckinghamshire.bakerswood", + value: false, + }, + "article4.buckinghamshire.botleyroad": { + fn: "article4.buckinghamshire.botleyroad", + value: false, + }, + "article4.buckinghamshire.churchlane": { + fn: "article4.buckinghamshire.churchlane", + value: false, + }, + "article4.buckinghamshire.commonwood": { + fn: "article4.buckinghamshire.commonwood", + value: false, + }, + "article4.buckinghamshire.greenacres": { + fn: "article4.buckinghamshire.greenacres", + value: false, + }, + "article4.buckinghamshire.purtonlane": { + fn: "article4.buckinghamshire.purtonlane", + value: false, + }, + "article4.buckinghamshire.saunderton": { + fn: "article4.buckinghamshire.saunderton", + value: false, + }, + "article4.buckinghamshire.sedgesfarm": { + fn: "article4.buckinghamshire.sedgesfarm", + value: false, + }, + "article4.buckinghamshire.valleyroad": { + fn: "article4.buckinghamshire.valleyroad", + value: false, + }, + "article4.buckinghamshire.widmerfarm": { + fn: "article4.buckinghamshire.widmerfarm", + value: false, + }, + "article4.buckinghamshire.wiltonlane": { + fn: "article4.buckinghamshire.wiltonlane", + value: false, + }, + "article4.buckinghamshire.wyburnwood": { + fn: "article4.buckinghamshire.wyburnwood", + value: false, + }, + "article4.buckinghamshire.burtonslane": { + fn: "article4.buckinghamshire.burtonslane", + value: false, + }, + "article4.buckinghamshire.cheshamroad": { + fn: "article4.buckinghamshire.cheshamroad", + value: false, + }, + "article4.buckinghamshire.collumgreen": { + fn: "article4.buckinghamshire.collumgreen", + value: false, + }, + "article4.buckinghamshire.georgegreen": { + fn: "article4.buckinghamshire.georgegreen", + value: false, + }, + "article4.buckinghamshire.gravellyway": { + fn: "article4.buckinghamshire.gravellyway", + value: false, + }, + "article4.buckinghamshire.hampdenroad": { + fn: "article4.buckinghamshire.hampdenroad", + value: false, + }, + "article4.buckinghamshire.lakeendroad": { + fn: "article4.buckinghamshire.lakeendroad", + value: false, + }, + "article4.buckinghamshire.rearuplands": { + fn: "article4.buckinghamshire.rearuplands", + value: false, + }, + "article4.buckinghamshire.turnerswood": { + fn: "article4.buckinghamshire.turnerswood", + value: false, + }, + "article4.buckinghamshire.wellcottage": { + fn: "article4.buckinghamshire.wellcottage", + value: false, + }, + "article4.buckinghamshire.winslowroad": { + fn: "article4.buckinghamshire.winslowroad", + value: false, + }, + "article4.buckinghamshire.amershamroad": { + fn: "article4.buckinghamshire.amershamroad", + value: false, + }, + "article4.buckinghamshire.boismoorroad": { + fn: "article4.buckinghamshire.boismoorroad", + value: false, + }, + "article4.buckinghamshire.boundaryroad": { + fn: "article4.buckinghamshire.boundaryroad", + value: false, + }, + "article4.buckinghamshire.bridgestreet": { + fn: "article4.buckinghamshire.bridgestreet", + value: false, + }, + "article4.buckinghamshire.eastvaleroad": { + fn: "article4.buckinghamshire.eastvaleroad", + value: false, + }, + "article4.buckinghamshire.johnsonsfarm": { + fn: "article4.buckinghamshire.johnsonsfarm", + value: false, + }, + "article4.buckinghamshire.officetoresi": { + fn: "article4.buckinghamshire.officetoresi", + value: false, + }, + "article4.buckinghamshire.ruralwycombe": { + fn: "article4.buckinghamshire.ruralwycombe", + value: false, + }, + "article4.buckinghamshire.stokenchurch": { + fn: "article4.buckinghamshire.stokenchurch", + value: false, + }, + "article4.buckinghamshire.wooburngreen": { + fn: "article4.buckinghamshire.wooburngreen", + value: false, + }, + "article4.buckinghamshire.asheridgeroad": { + fn: "article4.buckinghamshire.asheridgeroad", + value: false, + }, + "article4.buckinghamshire.ballingerroad": { + fn: "article4.buckinghamshire.ballingerroad", + value: false, + }, + "article4.buckinghamshire.coneybankwood": { + fn: "article4.buckinghamshire.coneybankwood", + value: false, + }, + "article4.buckinghamshire.ferrylaneagri": { + fn: "article4.buckinghamshire.ferrylaneagri", + value: false, + }, + "article4.buckinghamshire.lodgelaneagri": { + fn: "article4.buckinghamshire.lodgelaneagri", + value: false, + }, + "article4.buckinghamshire.ministrywharf": { + fn: "article4.buckinghamshire.ministrywharf", + value: false, + }, + "article4.buckinghamshire.northlongpark": { + fn: "article4.buckinghamshire.northlongpark", + value: false, + }, + "article4.buckinghamshire.shepherdsfold": { + fn: "article4.buckinghamshire.shepherdsfold", + value: false, + }, + "article4.buckinghamshire.southkilnlane": { + fn: "article4.buckinghamshire.southkilnlane", + value: false, + }, + "article4.buckinghamshire.southsidekiln": { + fn: "article4.buckinghamshire.southsidekiln", + value: false, + }, + "article4.buckinghamshire.threeoaksfarm": { + fn: "article4.buckinghamshire.threeoaksfarm", + value: false, + }, + "article4.buckinghamshire.twyfordgrange": { + fn: "article4.buckinghamshire.twyfordgrange", + value: false, + }, + "article4.buckinghamshire.beamondendfarm": { + fn: "article4.buckinghamshire.beamondendfarm", + value: false, + }, + "article4.buckinghamshire.chartridgelane": { + fn: "article4.buckinghamshire.chartridgelane", + value: false, + }, + "article4.buckinghamshire.commonwoodagri": { + fn: "article4.buckinghamshire.commonwoodagri", + value: false, + }, + "article4.buckinghamshire.cryershillroad": { + fn: "article4.buckinghamshire.cryershillroad", + value: false, + }, + "article4.buckinghamshire.dorneywoodroad": { + fn: "article4.buckinghamshire.dorneywoodroad", + value: false, + }, + "article4.buckinghamshire.eastjasonshill": { + fn: "article4.buckinghamshire.eastjasonshill", + value: false, + }, + "article4.buckinghamshire.eastmarishlane": { + fn: "article4.buckinghamshire.eastmarishlane", + value: false, + }, + "article4.buckinghamshire.littlekingsash": { + fn: "article4.buckinghamshire.littlekingsash", + value: false, + }, + "article4.buckinghamshire.parkspringwood": { + fn: "article4.buckinghamshire.parkspringwood", + value: false, + }, + "article4.buckinghamshire.pednorhighroad": { + fn: "article4.buckinghamshire.pednorhighroad", + value: false, + }, + "article4.buckinghamshire.piddingtonroad": { + fn: "article4.buckinghamshire.piddingtonroad", + value: false, + }, + "article4.buckinghamshire.ruralaylesbury": { + fn: "article4.buckinghamshire.ruralaylesbury", + value: false, + }, + "article4.buckinghamshire.sibleyscoppice": { + fn: "article4.buckinghamshire.sibleyscoppice", + value: false, + }, + "article4.buckinghamshire.turvillevalley": { + fn: "article4.buckinghamshire.turvillevalley", + value: false, + }, + "article4.buckinghamshire.wyburnwoodagri": { + fn: "article4.buckinghamshire.wyburnwoodagri", + value: false, + }, + "article4.buckinghamshire.blackthornelane": { + fn: "article4.buckinghamshire.blackthornelane", + value: false, + }, + "article4.buckinghamshire.eastjordanslane": { + fn: "article4.buckinghamshire.eastjordanslane", + value: false, + }, + "article4.buckinghamshire.fulmerplacefarm": { + fn: "article4.buckinghamshire.fulmerplacefarm", + value: false, + }, + "article4.buckinghamshire.hollybushcorner": { + fn: "article4.buckinghamshire.hollybushcorner", + value: false, + }, + "article4.buckinghamshire.mansionlanewest": { + fn: "article4.buckinghamshire.mansionlanewest", + value: false, + }, + "article4.buckinghamshire.parslowshillock": { + fn: "article4.buckinghamshire.parslowshillock", + value: false, + }, + "article4.buckinghamshire.southchartridge": { + fn: "article4.buckinghamshire.southchartridge", + value: false, + }, + "article4.buckinghamshire.southswanbottom": { + fn: "article4.buckinghamshire.southswanbottom", + value: false, + }, + "article4.buckinghamshire.woodlandsmeadow": { + fn: "article4.buckinghamshire.woodlandsmeadow", + value: false, + }, + "article4.buckinghamshire.amershamroadeast": { + fn: "article4.buckinghamshire.amershamroadeast", + value: false, + }, + "article4.buckinghamshire.bangorsroadnorth": { + fn: "article4.buckinghamshire.bangorsroadnorth", + value: false, + }, + "article4.buckinghamshire.broadviewchesham": { + fn: "article4.buckinghamshire.broadviewchesham", + value: false, + }, + "article4.buckinghamshire.mansionlanesouth": { + fn: "article4.buckinghamshire.mansionlanesouth", + value: false, + }, + "article4.buckinghamshire.northjordansfarm": { + fn: "article4.buckinghamshire.northjordansfarm", + value: false, + }, + "article4.buckinghamshire.northorbitalroad": { + fn: "article4.buckinghamshire.northorbitalroad", + value: false, + }, + "article4.buckinghamshire.northwelderslane": { + fn: "article4.buckinghamshire.northwelderslane", + value: false, + }, + "article4.buckinghamshire.potterrowcaravan": { + fn: "article4.buckinghamshire.potterrowcaravan", + value: false, + }, + "article4.buckinghamshire.robertswooddrive": { + fn: "article4.buckinghamshire.robertswooddrive", + value: false, + }, + "article4.buckinghamshire.westwexhamstreet": { + fn: "article4.buckinghamshire.westwexhamstreet", + value: false, + }, + "article4.buckinghamshire.wycombeheathfarm": { + fn: "article4.buckinghamshire.wycombeheathfarm", + value: false, + }, + "article4.buckinghamshire.collegeplantation": { + fn: "article4.buckinghamshire.collegeplantation", + value: false, + }, + "article4.buckinghamshire.eastlodgelaneagri": { + fn: "article4.buckinghamshire.eastlodgelaneagri", + value: false, + }, + "article4.buckinghamshire.greenstreetfarm.a": { + fn: "article4.buckinghamshire.greenstreetfarm.a", + value: false, + }, + "article4.buckinghamshire.greenstreetfarm.b": { + fn: "article4.buckinghamshire.greenstreetfarm.b", + value: false, + }, + "article4.buckinghamshire.pednorroadcaravan": { + fn: "article4.buckinghamshire.pednorroadcaravan", + value: false, + }, + "article4.buckinghamshire.sheepcotedellroad": { + fn: "article4.buckinghamshire.sheepcotedellroad", + value: false, + }, + "article4.buckinghamshire.skimmersorchard.a": { + fn: "article4.buckinghamshire.skimmersorchard.a", + value: false, + }, + "article4.buckinghamshire.skimmersorchard.b": { + fn: "article4.buckinghamshire.skimmersorchard.b", + value: false, + }, + "article4.buckinghamshire.skimmersorchard.c": { + fn: "article4.buckinghamshire.skimmersorchard.c", + value: false, + }, + "article4.buckinghamshire.weststhubertslane": { + fn: "article4.buckinghamshire.weststhubertslane", + value: false, + }, + "article4.buckinghamshire.ballingerroadnorth": { + fn: "article4.buckinghamshire.ballingerroadnorth", + value: false, + }, + "article4.buckinghamshire.bovingdonheights.a": { + fn: "article4.buckinghamshire.bovingdonheights.a", + value: false, + }, + "article4.buckinghamshire.bovingdonheights.b": { + fn: "article4.buckinghamshire.bovingdonheights.b", + value: false, + }, + "article4.buckinghamshire.commonwoodpennroad": { + fn: "article4.buckinghamshire.commonwoodpennroad", + value: false, + }, + "article4.buckinghamshire.eastlatimervillage": { + fn: "article4.buckinghamshire.eastlatimervillage", + value: false, + }, + "article4.buckinghamshire.lodgelaneenclosure": { + fn: "article4.buckinghamshire.lodgelaneenclosure", + value: false, + }, + "article4.buckinghamshire.phillipshillfarm.a": { + fn: "article4.buckinghamshire.phillipshillfarm.a", + value: false, + }, + "article4.buckinghamshire.phillipshillfarm.b": { + fn: "article4.buckinghamshire.phillipshillfarm.b", + value: false, + }, + "article4.buckinghamshire.potterrowenclosure": { + fn: "article4.buckinghamshire.potterrowenclosure", + value: false, + }, + "article4.buckinghamshire.southeastfinchlane": { + fn: "article4.buckinghamshire.southeastfinchlane", + value: false, + }, + "article4.buckinghamshire.southpenfoldlane.a": { + fn: "article4.buckinghamshire.southpenfoldlane.a", + value: false, + }, + "article4.buckinghamshire.southpenfoldlane.b": { + fn: "article4.buckinghamshire.southpenfoldlane.b", + value: false, + }, + "article4.buckinghamshire.southsheepcoteroad": { + fn: "article4.buckinghamshire.southsheepcoteroad", + value: false, + }, + "article4.buckinghamshire.wyburnwoodforestry": { + fn: "article4.buckinghamshire.wyburnwoodforestry", + value: false, + }, + "article4.buckinghamshire.bryantsbottomroad.a": { + fn: "article4.buckinghamshire.bryantsbottomroad.a", + value: false, + }, + "article4.buckinghamshire.bryantsbottomroad.b": { + fn: "article4.buckinghamshire.bryantsbottomroad.b", + value: false, + }, + "article4.buckinghamshire.commonwoodenclosure": { + fn: "article4.buckinghamshire.commonwoodenclosure", + value: false, + }, + "article4.buckinghamshire.greenstreetfarmagri": { + fn: "article4.buckinghamshire.greenstreetfarmagri", + value: false, + }, + "article4.buckinghamshire.northsidesevenhills": { + fn: "article4.buckinghamshire.northsidesevenhills", + value: false, + }, + "article4.buckinghamshire.pednorroadenclosure": { + fn: "article4.buckinghamshire.pednorroadenclosure", + value: false, + }, + "article4.buckinghamshire.bakerswoodbrokengate": { + fn: "article4.buckinghamshire.bakerswoodbrokengate", + value: false, + }, + "article4.buckinghamshire.eastlodgelanecaravan": { + fn: "article4.buckinghamshire.eastlodgelanecaravan", + value: false, + }, + "article4.buckinghamshire.southlittlemissenden": { + fn: "article4.buckinghamshire.southlittlemissenden", + value: false, + }, + "article4.buckinghamshire.westledgelanecaravan": { + fn: "article4.buckinghamshire.westledgelanecaravan", + value: false, + }, + "article4.buckinghamshire.wholedistrictpoultry": { + fn: "article4.buckinghamshire.wholedistrictpoultry", + value: true, + }, + "article4.buckinghamshire.chalklaneanhydehealth": { + fn: "article4.buckinghamshire.chalklaneanhydehealth", + value: false, + }, + "article4.buckinghamshire.commonwoodandpennroad": { + fn: "article4.buckinghamshire.commonwoodandpennroad", + value: false, + }, + "article4.buckinghamshire.copperkinslanecaravan": { + fn: "article4.buckinghamshire.copperkinslanecaravan", + value: false, + }, + "article4.buckinghamshire.junctionhughendenroad": { + fn: "article4.buckinghamshire.junctionhughendenroad", + value: false, + }, + "article4.buckinghamshire.nightingaleslanestrip": { + fn: "article4.buckinghamshire.nightingaleslanestrip", + value: false, + }, + "article4.buckinghamshire.pednorroaddrydelllane": { + fn: "article4.buckinghamshire.pednorroaddrydelllane", + value: false, + }, + "article4.buckinghamshire.southpenfoldlaneOS262": { + fn: "article4.buckinghamshire.southpenfoldlaneOS262", + value: false, + }, + "article4.buckinghamshire.eastamershamroadOS0006": { + fn: "article4.buckinghamshire.eastamershamroadOS0006", + value: false, + }, + "article4.buckinghamshire.eastamershamroadOS9269": { + fn: "article4.buckinghamshire.eastamershamroadOS9269", + value: false, + }, + "article4.buckinghamshire.lodgelanewestenclosure": { + fn: "article4.buckinghamshire.lodgelanewestenclosure", + value: false, + }, + "article4.buckinghamshire.northandsouthhollowway": { + fn: "article4.buckinghamshire.northandsouthhollowway", + value: false, + }, + "article4.buckinghamshire.chessfieldparkenclosure": { + fn: "article4.buckinghamshire.chessfieldparkenclosure", + value: false, + }, + "article4.buckinghamshire.cooperkinslaneenclosure": { + fn: "article4.buckinghamshire.cooperkinslaneenclosure", + value: false, + }, + "article4.buckinghamshire.wycombeheathfarmcaravan": { + fn: "article4.buckinghamshire.wycombeheathfarmcaravan", + value: false, + }, + "article4.buckinghamshire.coppicesouthheathcaravan": { + fn: "article4.buckinghamshire.coppicesouthheathcaravan", + value: false, + }, + "article4.buckinghamshire.pednorroadanddrydelllane": { + fn: "article4.buckinghamshire.pednorroadanddrydelllane", + value: false, + }, + "article4.buckinghamshire.northballingerroadvaravan": { + fn: "article4.buckinghamshire.northballingerroadvaravan", + value: false, + }, + "article4.buckinghamshire.potkilnlaneandlaytersgreen": { + fn: "article4.buckinghamshire.potkilnlaneandlaytersgreen", + value: false, + }, + "article4.buckinghamshire.wycombehealthfarmnortheast": { + fn: "article4.buckinghamshire.wycombehealthfarmnortheast", + value: false, + }, + "article4.buckinghamshire.wycombehealthfarmspurlands": { + fn: "article4.buckinghamshire.wycombehealthfarmspurlands", + value: false, + }, + }, + planxRequest: + "https://api.editor.planx.dev/gis/buckinghamshire?geom=POLYGON+%28%28-0.7085376977920632+51.699564621757816%2C+-0.7086127996444802+51.69965605327502%2C+-0.708982944488535+51.699654390885456%2C+-0.7089909911155797+51.699673508361855%2C+-0.7089319825172521+51.699683482694184%2C+-0.7089520990848638+51.69973002954916%2C+-0.7091867923736667+51.69968930105364%2C+-0.7092216610908603+51.699688469859495%2C+-0.709239095449457+51.69968514508267%2C+-0.709253847599039+51.6997134056779%2C+-0.7093128561973666+51.69970176896433%2C+-0.7092699408531282+51.699610337539525%2C+-0.7096253335476013+51.699648572521454%2C+-0.7098613679409116+51.69958457046823%2C+-0.7098962366581053+51.69955049141595%2C+-0.7098090648651213+51.6994216557425%2C+-0.7099243998527616+51.699390070166544%2C+-0.7098264992237182+51.699238791576136%2C+-0.7097460329532714+51.699236297968724%2C+-0.7095716893673034+51.69927536446852%2C+-0.7095421850681398+51.69927619567025%2C+-0.7092954218387698+51.69931941814053%2C+-0.7090929150581455+51.69937427737031%2C+-0.709021836519251+51.69938923896689%2C+-0.7089574635028936+51.6994008757608%2C+-0.7088904082775213+51.69942082454341%2C+-0.7086691260337761+51.699501450783515%2C+-0.7086181640624932+51.699517243535354%2C+-0.7085457444191079+51.699541348251245%2C+-0.7085350155830483+51.69954799782576%2C+-0.7085376977920632+51.699564621757816%29%29&analytics=false&sessionId=95f90e21-93f5-4761-90b3-815c673e041f", + sourceRequest: + "https://www.planning.data.gov.uk/entity.json?entries=current&geometry=POLYGON+%28%28-0.7085376977920632+51.699564621757816%2C+-0.7086127996444802+51.69965605327502%2C+-0.708982944488535+51.699654390885456%2C+-0.7089909911155797+51.699673508361855%2C+-0.7089319825172521+51.699683482694184%2C+-0.7089520990848638+51.69973002954916%2C+-0.7091867923736667+51.69968930105364%2C+-0.7092216610908603+51.699688469859495%2C+-0.709239095449457+51.69968514508267%2C+-0.709253847599039+51.6997134056779%2C+-0.7093128561973666+51.69970176896433%2C+-0.7092699408531282+51.699610337539525%2C+-0.7096253335476013+51.699648572521454%2C+-0.7098613679409116+51.69958457046823%2C+-0.7098962366581053+51.69955049141595%2C+-0.7098090648651213+51.6994216557425%2C+-0.7099243998527616+51.699390070166544%2C+-0.7098264992237182+51.699238791576136%2C+-0.7097460329532714+51.699236297968724%2C+-0.7095716893673034+51.69927536446852%2C+-0.7095421850681398+51.69927619567025%2C+-0.7092954218387698+51.69931941814053%2C+-0.7090929150581455+51.69937427737031%2C+-0.709021836519251+51.69938923896689%2C+-0.7089574635028936+51.6994008757608%2C+-0.7088904082775213+51.69942082454341%2C+-0.7086691260337761+51.699501450783515%2C+-0.7086181640624932+51.699517243535354%2C+-0.7085457444191079+51.699541348251245%2C+-0.7085350155830483+51.69954799782576%2C+-0.7085376977920632+51.699564621757816%29%29&geometry_relation=intersects&limit=100&dataset=article-4-direction-area&dataset=central-activities-zone&dataset=listed-building&dataset=listed-building-outline&dataset=locally-listed-building&dataset=park-and-garden&dataset=conservation-area&dataset=area-of-outstanding-natural-beauty&dataset=national-park&dataset=world-heritage-site&dataset=world-heritage-site-buffer-zone&dataset=special-protection-area&dataset=scheduled-monument&dataset=tree&dataset=tree-preservation-order&dataset=tree-preservation-zone&dataset=site-of-special-scientific-interest&dataset=special-area-of-conservation&dataset=ancient-woodland", + }, + { + metadata: { + "road.classified": { + name: "Classified road", + text: "This will effect your project if you are looking to add a dropped kerb. It may also impact some agricultural or forestry projects within 25 metres of a classified road.", + plural: "Classified roads", + }, + }, + constraints: { + "road.classified": { + fn: "road.classified", + text: "is not on a Classified Road", + value: false, + category: "General policy", + }, + }, + planxRequest: "https://api.editor.planx.dev/roads?usrn=07300709", + sourceRequest: + "https://api.os.uk/features/v1/wfs?service=WFS&request=GetFeature&version=2.0.0&typeNames=Highways_RoadLink&outputFormat=GEOJSON&srsName=urn%3Aogc%3Adef%3Acrs%3AEPSG%3A%3A4326&count=1&filter=%0A++++%3Cogc%3AFilter%3E%0A++++++%3Cogc%3APropertyIsLike+wildCard%3D%22%25%22+singleChar%3D%22%23%22+escapeChar%3D%22%21%22%3E%0A++++++++%3Cogc%3APropertyName%3EFormsPartOf%3C%2Fogc%3APropertyName%3E%0A++++++++%3Cogc%3ALiteral%3E%25Street%23usrn07300709%25%3C%2Fogc%3ALiteral%3E%0A++++++%3C%2Fogc%3APropertyIsLike%3E%0A++++%3C%2Fogc%3AFilter%3E%0A++&", + }, + ], + "property.constraints.planning": [ + "article4", + "article4.buckinghamshire.wholedistrictpoultry", + "designated", + "designated.AONB", + ], + }, + }, + "6FF2kxYlt9": { + auto: false, + data: { + "proposal.extend.outbuildings.area": 9, + }, + }, + "77iAKzVKuK": { + auto: false, + }, + "79ymhLdI7w": { + auto: false, + }, + "7BfbnIRRfq": { + auto: false, + }, + "7ntIiA6nIN": { + auto: true, + answers: ["V9GtPhCLC7"], + }, + "7uJKQQSUh3": { + auto: true, + data: { + "application.fee.payable": 206, + }, + }, + "8GjUc1aOSL": { + auto: false, + answers: ["Up4LlJJOSL"], + }, + "8MdFLG40RS": { + auto: true, + answers: ["ftRxsPpz0o"], + }, + "8N0IUdXIGP": { + auto: true, + data: { + "application.fee.calculated": 206, + }, + }, + "8NYrjVTOSL": { + auto: true, + answers: ["4srmcZJOSL"], + }, + "8NcP8NqC5M": { + auto: true, + data: { + "applicant.siteContact.name": ["Contact applicant"], + }, + }, + "8TzGMWhtkL": { + auto: false, + answers: ["LOt66E1JV7"], + }, + "8Wz7TKJbeD": { + auto: false, + answers: ["8qqEbCGj97"], + }, + "9N1arGLgYP": { + auto: false, + answers: ["2L2bvvvJSO"], + }, + "9T5ygfiOSL": { + auto: false, + data: { + "proposal.drawing.elevation": [ + { + url: "https://api.editor.planx.dev/file/private/u2vjw69h/Elevations.pdf", + filename: "Elevations.pdf", + cachedSlot: { + id: "pQoNb6OeRNt7zUvP_pch6", + url: "https://api.editor.planx.dev/file/private/u2vjw69h/Elevations.pdf", + file: { + path: "Elevations.pdf", + size: 116018, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + }, + }, + "9pjmVfdzHW": { + auto: false, + answers: ["P4VxYlulnY"], + }, + AXaUGBucW3: { + auto: false, + answers: ["iApyZBuc47"], + }, + BDulPzfy0y: { + auto: true, + answers: ["nc2KHMoesk"], + }, + BEOIGLHpsD: { + auto: true, + answers: ["eCfyydxyzW"], + }, + BH2eL6rZAU: { + auto: false, + answers: ["D95sd8eRww"], + }, + BxabOjdFkI: { + auto: false, + answers: ["jgRDYeEjRs"], + }, + CJe7fhKaNE: { + auto: false, + }, + CtyInx9nSU: { + auto: true, + answers: ["6GUMWpt6ha"], + }, + DRDCupIVGF: { + auto: false, + answers: ["qJOuaBYmPV"], + }, + DdhZeOkk2v: { + auto: true, + answers: ["RJNExuoOwX"], + }, + EVmeiyRI8i: { + auto: true, + data: { + "application.reason": [ + "It looks like the changes were completed long enough ago that they are now immune from enforcement.", + ], + }, + }, + EhITkuUgIa: { + auto: false, + data: { + "proposal.document.other.evidence.description": + "Nothing really, this is just a test. ", + }, + }, + EzFeoWAJsA: { + auto: false, + answers: ["9aG813lmzF"], + }, + F1dNb6GrId: { + auto: false, + answers: ["cSCpeZYglY"], + }, + F6LTVJ1x8i: { + auto: false, + data: { + "applicant.ownership.certificateB.owner2.address": { + town: "Oomaph upon Ouse", + line1: "The Factory", + line2: "10, Scrumdiddlyumptious Avenue", + county: "", + country: "", + postcode: "CH0C0L8", + }, + }, + }, + FMTSaAgSJU: { + auto: false, + data: { + "applicant.agent.email": "f.fox@boggischickenshed.com", + "applicant.agent.title": "Mr", + "_contact.applicant.agent": { + "applicant.agent": { + email: "f.fox@boggischickenshed.com", + phone: "0234 567 8910", + title: "Mr", + lastName: "Fox", + firstName: "F", + organisation: "", + }, + }, + "applicant.agent.name.last": "Fox", + "applicant.agent.name.first": "F", + "applicant.agent.phone.primary": "0234 567 8910", + }, + }, + FQb17szEMr: { + auto: false, + data: { + "applicant.ownership.owner3.name": "Matilda Wormwood", + }, + }, + FTytwtHCSy: { + auto: true, + answers: ["y1Yc7Bxv2i"], + }, + FXE2DC4plY: { + auto: false, + data: { + "applicant.title": "Mr", + }, + }, + FfAMHlMjYX: { + auto: false, + data: { + "applicant.ownership.owner3.address": { + town: "Reading", + line1: "9, Library Way", + line2: "", + county: "", + country: "", + postcode: "L1T3R8Y", + }, + }, + }, + Ft7nQ96FWN: { + auto: true, + answers: ["HpbTYicfdV"], + }, + G9ZNj5qv5u: { + auto: false, + data: { + "applicant.ownership.owner3.noticeDate": "1988-04-01", + }, + }, + GhdOJQdJll: { + auto: false, + answers: ["69UnrXjsIo"], + }, + GzQpqBucyb: { + auto: false, + data: { + _address: { + x: 489320, + y: 200872, + pao: "", + town: "GREAT MISSENDEN", + uprn: "100081174436", + usrn: "07300709", + title: "GIPSY HOUSE, WHITEFIELD LANE, GREAT MISSENDEN", + source: "os", + street: "WHITEFIELD LANE", + latitude: 51.6994957, + postcode: "HP16 0BP", + blpu_code: "2", + longitude: -0.708966, + planx_value: "residential.dwelling.house.detached", + organisation: null, + planx_description: "Detached", + single_line_address: + "GIPSY HOUSE, WHITEFIELD LANE, GREAT MISSENDEN, BUCKINGHAMSHIRE, HP16 0BP", + }, + "property.type": ["residential.dwelling.house.detached"], + "property.region": ["South East"], + "property.localAuthorityDistrict": ["Buckinghamshire", "Chiltern"], + }, + }, + H149aYxMJs: { + auto: true, + data: { + "application.fee.reduction.alternative": ["false"], + }, + }, + HEcOjemCzB: { + auto: true, + data: { + "application.declaration.connection.form": ["No connections"], + }, + }, + HFoK4k5eBe: { + auto: true, + answers: ["6Dkbwcl2D4"], + }, + HWIxnaRcgY: { + auto: false, + answers: ["G3SQr7K4vR"], + }, + HjpRvGM7Zh: { + auto: false, + data: { + "applicant.siteContact.email": "r.dahl@example.com", + }, + }, + I03hRPF3ck: { + auto: true, + answers: ["87KjOi5c82"], + }, + ID9WMI7OEi: { + auto: true, + answers: ["G3BZsb6088"], + }, + IFi2Bba1mw: { + auto: false, + answers: ["TPzQ9ntX0m"], + }, + IGwILecDZB: { + auto: true, + data: { + "uniform.scenarioNumber": ["14"], + }, + }, + Ihwwu3bxWz: { + auto: false, + }, + JNw7c2w0LI: { + auto: true, + data: { + "proposal.immune": ["true"], + }, + }, + JgzZ2IZHOx: { + auto: false, + }, + JptQuk1QNF: { + auto: false, + answers: ["0Xpu76xU0a"], + }, + K41I1ALpDw: { + auto: false, + answers: ["1zHTlnbmtl"], + }, + KG6fYQPbu6: { + auto: false, + answers: ["myH3OU55sm"], + }, + Lp98F41OSL: { + auto: false, + data: { + "proposal.photograph": [ + { + url: "https://api.editor.planx.dev/file/private/r34zxe3x/RoaldDahlHut.jpg", + filename: "RoaldDahlHut.jpg", + cachedSlot: { + id: "x3q_9j0G9ji9nHLFK1H8V", + url: "https://api.editor.planx.dev/file/private/r34zxe3x/RoaldDahlHut.jpg", + file: { + path: "RoaldDahlHut.jpg", + size: 265905, + type: "image/jpeg", + }, + status: "success", + progress: 1, + }, + }, + ], + }, + }, + M0JSebPwdk: { + auto: false, + answers: ["nNvKo3HoYA"], + }, + M1mkqk3Tmo: { + auto: true, + answers: ["mn44t7jzsv"], + }, + MFA0caFJZi: { + auto: true, + data: { + "applicant.interest.ownerKnown.form": ["Yes, all of them"], + }, + }, + MTgOz8hIV2: { + auto: true, + answers: ["CNIaSoxji7"], + }, + MZxqLLRlpU: { + auto: true, + answers: ["vj7B1dxE86"], + }, + NpxV0KPCFD: { + auto: true, + answers: ["Ukqe9VzuoD"], + }, + OE4iwSIBEh: { + auto: true, + answers: ["v7cuvvRoGp"], + }, + OOA81d7i3v: { + auto: true, + answers: ["EpPAVeS2Ts"], + }, + OYHRwje5GU: { + auto: true, + data: { + "application.declaration.accurate.form": ["Yes"], + }, + }, + P7MRCbgs5Z: { + auto: true, + data: { + "uniform.applicationTo": ["X0415"], + }, + }, + PqaaWmevJJ: { + auto: false, + answers: ["fG91y6iZ7P"], + }, + PrOPyE0sgC: { + auto: true, + data: { + "uniform.proposedUseStatus": ["permanent"], + }, + }, + PsPDXO23J4: { + auto: true, + answers: ["0raZXaqEZk"], + }, + QAZWTVrm3T: { + auto: true, + data: { + "application.fee.reduction.parishCouncil": ["false"], + }, + }, + QAuLTiFzF7: { + auto: true, + answers: ["S5i6ww6VVw"], + }, + QgI87UIDEx: { + auto: true, + answers: ["aJzng1LAVi"], + }, + QoMCXqj0Jq: { + auto: true, + answers: ["WMbA7jMLn0"], + }, + R72aEBuc3F: { + auto: false, + data: { + "application.fee.reference.govPay": { + moto: false, + state: { + status: "created", + finished: false, + }, + _links: { + self: { + href: "https://publicapi.payments.service.gov.uk/v1/payments/50h1fi7l9eo4c9fa7jm1avs3ag", + method: "GET", + }, + cancel: { + href: "https://publicapi.payments.service.gov.uk/v1/payments/50h1fi7l9eo4c9fa7jm1avs3ag/cancel", + method: "POST", + }, + events: { + href: "https://publicapi.payments.service.gov.uk/v1/payments/50h1fi7l9eo4c9fa7jm1avs3ag/events", + method: "GET", + }, + refunds: { + href: "https://publicapi.payments.service.gov.uk/v1/payments/50h1fi7l9eo4c9fa7jm1avs3ag/refunds", + method: "GET", + }, + next_url: { + href: "https://card.payments.service.gov.uk/secure/c141a9f9-359c-4283-bc30-5353b5079f54", + method: "GET", + }, + next_url_post: { + href: "https://card.payments.service.gov.uk/secure", + type: "application/x-www-form-urlencoded", + method: "POST", + params: { + chargeTokenId: "c141a9f9-359c-4283-bc30-5353b5079f54", + }, + }, + }, + amount: 206, + language: "en", + reference: "95f90e21-93f5-4761-90b3-815c673e041f", + payment_id: "50h1fi7l9eo4c9fa7jm1avs3ag", + return_url: + "https://editor.planx.dev/buckinghamshire/apply-for-a-lawful-development-certificate/preview?sessionId=95f90e21-93f5-4761-90b3-815c673e041f&email=example%40example.com", + description: "New application", + created_date: "2023-09-01T06:46:41.524Z", + refund_summary: { + status: "pending", + amount_available: 20600, + amount_submitted: 0, + }, + delayed_capture: false, + payment_provider: "sandbox", + authorisation_mode: "web", + settlement_summary: {}, + }, + }, + }, + R98q846FC3: { + auto: false, + answers: ["OczZtbZimV"], + }, + R9xoCvcNxi: { + auto: false, + data: { + "applicant.siteContact.telephone": "01098 765 432", + }, + }, + RA22yIIDzp: { + auto: false, + data: { + "applicant.agent.address": { + town: "Great Tunnelling", + line1: "The Tree", + line2: "One Tree Hill", + county: "", + country: "", + postcode: "F0XH0L3", + }, + }, + }, + RQsUof5f4e: { + auto: true, + answers: ["ftl7vJUR3r"], + }, + SJRiZ1gkrY: { + auto: true, + data: { + "applicant.sameAddress.form": ["Yes"], + }, + }, + SaPPIl3ag2: { + auto: false, + answers: ["UPNR2Fcul1"], + }, + SaVolT892o: { + auto: false, + answers: ["AuqdCKzZDJ"], + }, + SoLrKSKj7H: { + auto: true, + answers: ["QUedStxP6e"], + }, + SxNNsZLWST: { + auto: true, + answers: ["ZlDSurJAk0"], + }, + T4MfGcERNk: { + auto: true, + answers: ["5SmkkFbQeH"], + }, + TYrX2iCTSM: { + auto: true, + answers: ["N6McTJBkrx"], + }, + TgIikxzDQG: { + auto: true, + data: { + "uniform.personRole": ["Agent"], + }, + }, + UaX9Y7zwnt: { + auto: true, + data: { + "applicant.interest.form": ["Co-owner"], + }, + }, + UxZwoQGXEm: { + auto: false, + }, + V3xdrkbXFM: { + auto: false, + answers: ["TBtlhQv9fd"], + }, + VDkwqeUx6q: { + auto: true, + data: { + "proposal.treeWorksOnly": ["false"], + }, + }, + VTS57dqOSL: { + auto: false, + data: { + "proposal.drawing.floorPlan": [ + { + url: "https://api.editor.planx.dev/file/private/gbaur05c/Plan.pdf", + filename: "Plan.pdf", + cachedSlot: { + id: "2hBGyxZCJFnrZ1ljMWAYq", + url: "https://api.editor.planx.dev/file/private/gbaur05c/Plan.pdf", + file: { + path: "Plan.pdf", + size: 85548, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + }, + }, + VjKjvBucUI: { + auto: false, + data: { + "proposal.description": + "Construction of a small outbuilding for use as a writing studio.", + }, + }, + WAUEgMY1RL: { + auto: true, + answers: ["AfMV3SF44Q"], + }, + WtKRa7H01E: { + auto: true, + data: { + "proposal.changeNumberOfHomes.form": ["No"], + }, + }, + XaYzOFuZeG: { + auto: true, + data: { + "uniform.consentRegime": ["Certificate of Lawfulness"], + }, + }, + Y54bfspOSL: { + auto: true, + answers: ["04plQaSOSL"], + }, + Y9xMHhRlqG: { + auto: false, + answers: ["S5tLeqWDlZ"], + }, + YknSC0rXC4: { + auto: true, + answers: ["JVZ3H9Hlfh"], + }, + ZCjhkDtKBd: { + auto: false, + data: { + "proposal.document.construction.invoice.description": + "Nothing, it's a test document. ", + }, + }, + ZVPE5MjeNd: { + auto: true, + answers: ["FJCgycNn2P"], + }, + b9vdQXL4DJ: { + auto: true, + answers: ["p2SM4t4xvZ"], + }, + bT0uRbQ9zP: { + auto: false, + data: { + "applicant.ownership.owner2.noticeDate": "1964-04-01", + }, + }, + chwCCWH8F4: { + auto: true, + data: { + "application.basisOfLawfulness": ["immune"], + }, + }, + dTKxWBS9rN: { + auto: true, + answers: ["Lp0ubA5pu2"], + }, + dknMGLlZaS: { + auto: true, + answers: ["oaEgqmt3Mj"], + }, + e6of40mrXE: { + auto: true, + answers: ["09A5vT8dsH"], + }, + e9KicD0vDS: { + auto: true, + data: { + "proposal.treeWorksOnly": ["false"], + }, + }, + e9ceIKpkfo: { + auto: false, + data: { + "applicant.name.last": "Dahl", + }, + }, + eiN5C9wgDe: { + auto: true, + answers: ["ya2UR5ZIxk", "MQcgbedwkV"], + }, + fAMhajodcK: { + auto: false, + answers: ["vIe5DstCCi"], + }, + fHAdWEyy1P: { + auto: true, + data: { + "application.about.form": ["Existing building works"], + }, + }, + fVYkQz2pgh: { + auto: true, + data: { + "uniform.applicantInterest": ["Owner"], + }, + }, + fcVT5BucS9: { + auto: true, + answers: ["IgpYiBucbq"], + }, + fsu9BOa10m: { + auto: false, + }, + g01FztvfL0: { + auto: true, + data: { + "application.fee.reduction.sports": ["false"], + }, + }, + g6wcsMDSO4: { + auto: false, + answers: ["T6YAgh207t"], + }, + gdWAiaeK6T: { + auto: false, + answers: ["0XQye14FMA"], + }, + gw5NL0D1L6: { + auto: false, + data: { + "proposal.document.other.evidence": [ + { + url: "https://api.editor.planx.dev/file/private/4vhzu4c5/Roald-Dahl-letter-one-use.pdf", + filename: "Roald-Dahl-letter-one-use.pdf", + cachedSlot: { + id: "oKmvSqN16AEJmljETpDRR", + url: "https://api.editor.planx.dev/file/private/4vhzu4c5/Roald-Dahl-letter-one-use.pdf", + file: { + path: "Roald-Dahl-letter-one-use.pdf", + size: 5810214, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + }, + }, + hYuHtyQ82u: { + auto: true, + answers: ["3HkLByRLqu"], + }, + hajnq5Jrt9: { + auto: true, + answers: ["JR7yi5mn3x"], + }, + hy4BpkgxiS: { + auto: true, + data: { + "application.preAppAdvice.form": ["No"], + }, + }, + i9GJE30sNy: { + auto: true, + answers: ["FA8A8gL4qo"], + }, + ifKSiqpfjA: { + auto: true, + data: { + "application.fee.exemption.resubmission": ["false"], + }, + }, + igkKNVGOml: { + auto: false, + data: { + "proposal.document.construction.invoice": [ + { + url: "https://api.editor.planx.dev/file/private/uz72iu40/Test%20document.pdf", + filename: "Test document.pdf", + cachedSlot: { + id: "1LsDGCZduh8WwRE07mufG", + url: "https://api.editor.planx.dev/file/private/uz72iu40/Test%20document.pdf", + file: { + path: "Test document.pdf", + size: 7948, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + }, + }, + jElHa4maz7: { + auto: true, + answers: ["SXIAJm69Ab"], + }, + jZI7f9NbCp: { + auto: false, + answers: ["vsgmhnWYGN"], + }, + jhW9joqZF3: { + auto: true, + answers: ["jqor9SqKdC"], + }, + jkGS7LGAID: { + auto: true, + answers: ["pDbALmkBdg"], + }, + kH8LltzXsC: { + auto: true, + answers: ["bKvEooIOQF"], + }, + kReKi25IZv: { + auto: false, + answers: ["9qIGBq3Ff9"], + }, + kSrznTJtdY: { + auto: false, + answers: ["uJnpwmGplh"], + }, + lzrCgu2UMX: { + auto: false, + answers: ["8PVjYhoq9X"], + }, + mpDYAZBWJO: { + auto: true, + answers: ["R34ldvRJHr"], + }, + o3pjW1Ewvt: { + auto: true, + data: { + "uniform.isRelated": ["false"], + }, + }, + o5kF1r8tKi: { + auto: false, + answers: ["WtC3D7R0Ej"], + }, + oPT6MurtzF: { + auto: true, + answers: ["mcCg06Q8Tj"], + }, + pcMHigjbuk: { + auto: false, + answers: ["YibahLVYCO"], + }, + psPCDOXhBj: { + auto: false, + data: { + "applicant.ownership.certificateB.owner2.name": "William Wonka", + }, + }, + qOFQbwkcP6: { + auto: false, + answers: ["yVH3PRQe8R", "Upnjp854YU"], + }, + qUVxzBucWv: { + auto: false, + }, + r2nOxy3raM: { + auto: true, + data: { + "applicant.agent.form": ["Yes"], + }, + }, + s2EjQr7hOf: { + auto: false, + answers: ["r9qFS8EOpO"], + }, + sHS8rmjZ9s: { + auto: false, + answers: ["8MsyTmE6WF"], + }, + sea3PGmxCZ: { + auto: false, + answers: ["VrrESbMyxA"], + }, + t3rPLe315n: { + auto: true, + answers: ["Sr8DdrXD8y"], + }, + tClUld3roO: { + auto: true, + answers: ["InXbWQrzAo"], + }, + tcYXJPvOSL: { + auto: false, + answers: ["Jxh9aVsOSL"], + }, + uHpFXp2oEn: { + auto: false, + answers: ["OC7xPYy7L3"], + }, + uuePSTTula: { + auto: true, + answers: ["dzD1L5t5ju"], + }, + vW3aRnGD8i: { + auto: false, + answers: ["c68I7NnAPs"], + }, + w5ddLy8KMO: { + auto: false, + data: { + "applicant.name.first": "Roald", + }, + }, + wCqwaiL60E: { + auto: true, + answers: ["lQrLoTZ4Hi"], + }, + wF0JADoFCj: { + auto: true, + answers: ["yxivAI9Riv"], + }, + wMA7jBucyt: { + auto: false, + data: { + "proposal.siteArea": 2993.67, + "property.boundary.site": { + type: "Feature", + geometry: { + type: "Polygon", + coordinates: [ + [ + [-0.7085376977920632, 51.699564621757816], + [-0.7086127996444802, 51.69965605327502], + [-0.708982944488535, 51.699654390885456], + [-0.7089909911155797, 51.699673508361855], + [-0.7089319825172521, 51.699683482694184], + [-0.7089520990848638, 51.69973002954916], + [-0.7091867923736667, 51.69968930105364], + [-0.7092216610908603, 51.699688469859495], + [-0.709239095449457, 51.69968514508267], + [-0.709253847599039, 51.6997134056779], + [-0.7093128561973666, 51.69970176896433], + [-0.7092699408531282, 51.699610337539525], + [-0.7096253335476013, 51.699648572521454], + [-0.7098613679409116, 51.69958457046823], + [-0.7098962366581053, 51.69955049141595], + [-0.7098090648651213, 51.6994216557425], + [-0.7099243998527616, 51.699390070166544], + [-0.7098264992237182, 51.699238791576136], + [-0.7097460329532714, 51.699236297968724], + [-0.7095716893673034, 51.69927536446852], + [-0.7095421850681398, 51.69927619567025], + [-0.7092954218387698, 51.69931941814053], + [-0.7090929150581455, 51.69937427737031], + [-0.709021836519251, 51.69938923896689], + [-0.7089574635028936, 51.6994008757608], + [-0.7088904082775213, 51.69942082454341], + [-0.7086691260337761, 51.699501450783515], + [-0.7086181640624932, 51.699517243535354], + [-0.7085457444191079, 51.699541348251245], + [-0.7085350155830483, 51.69954799782576], + [-0.7085376977920632, 51.699564621757816], + ], + ], + }, + properties: null, + }, + "proposal.siteArea.hectares": 0.299367, + "property.boundary.site.buffered": { + type: "Feature", + geometry: { + type: "Polygon", + coordinates: [ + [ + [-0.7109836726435832, 51.69953800916663], + [-0.7109921196092339, 51.69952050445258], + [-0.7110126569679002, 51.69939181358177], + [-0.7109931902938477, 51.69926305880489], + [-0.710934435507929, 51.69913897309222], + [-0.7108365320454985, 51.698987695341266], + [-0.7107419027354172, 51.69887404500446], + [-0.7106143628239038, 51.69877350837627], + [-0.7104584978143903, 51.6986896999392], + [-0.7102799114559755, 51.69862563274743], + [-0.7100850242791016, 51.698583610112955], + [-0.70988084278219, 51.69856514280756], + [-0.7098003777066323, 51.698562649237275], + [-0.7095850444697853, 51.698569228903054], + [-0.7093760295605324, 51.69860198984535], + [-0.7092781229849829, 51.698623928519886], + [-0.709246228159465, 51.69862712727662], + [-0.7089994681868906, 51.69867034912694], + [-0.7088595781459334, 51.698701384599275], + [-0.7086993089985737, 51.69874480155081], + [-0.7086943462860816, 51.6987458461691], + [-0.7086527552465105, 51.69875336462158], + [-0.7084865450404726, 51.69879280642064], + [-0.7084194905085656, 51.69881275493519], + [-0.7083388919735701, 51.69883936695607], + [-0.7081494316265858, 51.698908398329344], + [-0.708131484529464, 51.69891395998458], + [-0.70810328376089, 51.6989230203955], + [-0.7080308647942329, 51.698947124794834], + [-0.7077762333599421, 51.69906440912657], + [-0.7077655045238856, 51.699071058631], + [-0.7076420235649725, 51.6991624943346], + [-0.7075464496896602, 51.69926597779686], + [-0.70748176990721, 51.69937827502307], + [-0.7074500057954949, 51.69949587655196], + [-0.707452150297203, 51.69961510712694], + [-0.7074548321123736, 51.69963173108365], + [-0.7074934133148448, 51.699754436978964], + [-0.7075678694162779, 51.69987062225423], + [-0.7076429698169237, 51.699962054389744], + [-0.7077500214276489, 51.70006714600156], + [-0.7078863674832241, 51.700158279882466], + [-0.7080473786886547, 51.700232361697935], + [-0.7082275881910142, 51.700286876080916], + [-0.7084208772055759, 51.700319972047346], + [-0.7084290870294441, 51.70032040570004], + [-0.7086094755379649, 51.70037022040152], + [-0.7088191007679381, 51.70039946402231], + [-0.7090339107926231, 51.700402611232114], + [-0.7091928408186801, 51.70038528396379], + [-0.7093758149290983, 51.70038364658226], + [-0.7095838188586172, 51.70035614446758], + [-0.7096428282102678, 51.700344507588724], + [-0.7097533797609843, 51.70031516085449], + [-0.7098603318309943, 51.70030714981855], + [-0.7100615357814699, 51.70026651136157], + [-0.7102975727811436, 51.700202508434316], + [-0.7104849473638406, 51.70013735279267], + [-0.7106480165752528, 51.700050651833216], + [-0.7107804246103208, 51.69994578490583], + [-0.7108152929136836, 51.699911705581506], + [-0.7109097934283611, 51.699796092245265], + [-0.7109668715644575, 51.699671411130154], + [-0.7109844202150329, 51.699542265673266], + [-0.7109836726435832, 51.69953800916663], + ], + ], + }, + properties: {}, + }, + }, + }, + wPBtMBucx8: { + auto: false, + }, + wYltrarLqA: { + auto: false, + data: { + "proposal.finish.date": "1959-01-01", + }, + }, + wnfLSSZCat: { + auto: true, + data: { + "proposal.droppedKerbOnly": ["false"], + }, + }, + wpEncMznNH: { + auto: true, + answers: ["NyBy1y5rcC"], + }, + x1Atq3YkBG: { + auto: true, + answers: ["Ba2tpHEtfR"], + }, + x86Gqqn9ol: { + auto: true, + data: { + "uniform.siteVisit": ["true"], + }, + }, + xnKlZ5RBSA: { + auto: false, + answers: ["tFH92t2HOk"], + }, + y8MJmwJN9v: { + auto: true, + answers: ["xCf01sTFD6"], + }, + yPJSNETmd7: { + auto: true, + data: { + "proposal.visibleFromPublicRealm": ["Information not provided"], + }, + }, + ypey0lTOSL: { + auto: false, + answers: ["m5VAJxROSL"], + }, + zvQnSsrVg6: { + auto: false, + answers: ["RFhIuKQyz6"], + }, + }, + payments: [], + invitations_to_pay: [], +}; + +// https://api.editor.planx.dev/admin/session/8da51c5b-a2a0-4386-a15d-29d66f9c121c/summary +export const mockLDCPSession = { + flow: { + id: "824628b2-deeb-48b0-92b1-2ca7f3b17163", + slug: "apply-for-a-lawful-development-certificate", + team: { + slug: "buckinghamshire", + }, + }, + created_at: "2023-09-04T05:59:05.516553+00:00", + updated_at: "2023-09-04T06:15:54.709917+00:00", + submitted_at: "2023-09-04T06:15:54.709917+00:00", + locked_at: null, + sanitised_at: null, + email: "example@example.com", + passport: { + _nots: { + "property.constraints.planning": [ + "article4", + "listed", + "locallyListed", + "registeredPark", + "designated.conservationArea", + "designated.AONB", + "designated.nationalPark", + "designated.nationalPark.broads", + "designated.WHS", + "designated.SPA", + "monument", + "tpo", + "nature.SSSI", + "nature.SAC", + "nature.ASNW", + "designated", + "article4.buckinghamshire.caz", + "road.classified", + ], + }, + _address: { + x: 493822, + y: 191603, + pao: "7", + town: "BEACONSFIELD", + uprn: "100080482163", + usrn: "35200844", + title: "7, BLYTON CLOSE, BEACONSFIELD", + source: "os", + street: "BLYTON CLOSE", + latitude: 51.6154458, + postcode: "HP9 2LX", + blpu_code: "2", + longitude: -0.6463271, + planx_value: "residential.dwelling.house.detached", + organisation: null, + planx_description: "Detached", + single_line_address: + "7, BLYTON CLOSE, BEACONSFIELD, BUCKINGHAMSHIRE, HP9 2LX", + }, + "user.role": ["applicant"], + _constraints: [ + { + metadata: { + tpo: { + name: "Tree preservation zone", + text: "A Tree Preservation Order (TPO) can be placed on single trees, groups of trees and even whole woodlands. Tree Preservation Orders are made by local planning authorities following [guidance](https://www.gov.uk/guidance/tree-preservation-orders-and-trees-in-conservation-areas) provided by the [Department for Levelling Up, Housing and Communities](https://www.gov.uk/government/organisations/department-for-levelling-up-housing-and-communities).\n\nEach [tree preservation order](/dataset/tree-preservation-order) may apply to a number of tree preservation order zones, and a number of individual [trees](/dataset/tree).\n\nThis dataset contains data from [a small group of local planning authorities](/about/) who we are working with to develop a [data specification for tree preservation orders](https://www.digital-land.info/guidance/specifications/tree-preservation-order).", + plural: "Trees preservation zones", + prefix: "", + themes: ["environment"], + dataset: "tree-preservation-zone", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q10884", + wikipedia: "Tree", + collection: "tree-preservation-order", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "An area covered by a tree preservation order", + "entity-count": { + count: 13161, + dataset: "tree-preservation-zone", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": "© Crown copyright and database right 2023", + }, + listed: { + name: "Listed building outline", + text: "The geospatial boundary for [listed buildings](https://historicengland.org.uk/listing/what-is-designation/listed-buildings) as designated by [Historic England](https://historicengland.org.uk/) as collected from local planning authorities.\n\nWe are [working with a group of local planning authorities](/about/) to help them publish their data to inform planning decisions, and to develop a [data specification for listed building outlines](https://www.digital-land.info/guidance/specifications/listed-building).\n\nWe expect to eventually merge this dataset with the [listed building](/dataset/listed-building) dataset.", + plural: "Listed building outlines", + prefix: "", + themes: ["heritage"], + dataset: "listed-building-outline", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q570600", + wikipedia: "Listed_building", + collection: "listed-building", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "boundary of a listed building", + "entity-count": { + count: 12237, + dataset: "listed-building-outline", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#F9C744", + }, + "attribution-text": "© Crown copyright and database right 2023", + }, + article4: { + name: "Article 4 direction area", + text: "A local planning authority may create an [article 4 direction](https://www.gov.uk/guidance/when-is-permission-required#article-4-direction) to alter or remove [permitted development rights](https://www.gov.uk/government/publications/permitted-development-rights-for-householders-technical-guidance) from a building or area.\n\nEach [article 4 direction](/dataset/article-4-direction) may apply to one or more article 4 direction areas, each with one or more [article 4 direction rules](/dataset/article-4-direction-rule).\n\nThis dataset contains data from [a small group of local planning authorities](/about/) who we are working with to develop a [data specification for article 4 directions](https://www.digital-land.info/guidance/specifications/article-4-direction).", + plural: "Article 4 direction areas", + prefix: "", + themes: ["heritage"], + dataset: "article-4-direction-area", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "", + wikipedia: "", + collection: "article-4-direction", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: + "Orders made by the local planning authority to remove all or some of the permitted development rights on a site in order to protect it", + "entity-count": { + count: 1369, + dataset: "article-4-direction-area", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": "© Crown copyright and database right 2023", + }, + monument: { + name: "Scheduled monument", + text: "Historic buildings or sites such as Roman remains, burial mounds, castles, bridges, earthworks, the remains of deserted villages and industrial sites can be designated scheduled monuments by the Secretary of State for [Digital, Culture, Media and Sport](https://www.gov.uk/government/organisations/department-for-digital-culture-media-sport). \n\nThis list of scheduled monuments is kept and maintained by [Historic England](https://historicengland.org.uk/).", + plural: "Scheduled monuments", + prefix: "", + themes: ["heritage"], + dataset: "scheduled-monument", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q219538", + wikipedia: "Scheduled_monument", + collection: "historic-england", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: "", + "entity-count": { + count: 19935, + dataset: "scheduled-monument", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#0F9CDA", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + "nature.SAC": { + name: "Special area of conservation", + text: "Special areas of conservation (SACs) are area of land which have been designated by\n[DEFRA](https://www.gov.uk/government/organisations/department-for-environment-food-rural-affairs),\nwith advice from the [Joint Nature Conservation Committee](https://jncc.gov.uk/),\nto protect specific habitats and species.\n\nDEFRA and [Natural England](https://www.gov.uk/government/organisations/natural-england) publish\n[guidance](https://www.gov.uk/guidance/protected-sites-and-areas-how-to-review-planning-applications)\non how to review planning applications in protected sites and areas.", + plural: "Special areas of conservation", + prefix: "", + themes: ["environment"], + dataset: "special-area-of-conservation", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q1191622", + wikipedia: "Special_Area_of_Conservation", + collection: "special-area-of-conservation", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: "", + "entity-count": { + count: 256, + dataset: "special-area-of-conservation", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#7A8705", + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "nature.ASNW": { + name: "Ancient woodland", + text: "An area designated as ancient woodland by Natural England.\n\nNatural England and Forestry Commission [Guidance](https://www.gov.uk/guidance/ancient-woodland-and-veteran-trees-protection-surveys-licences) is used in planning decisions.", + plural: "Ancient woodlands", + prefix: "", + themes: ["environment"], + dataset: "ancient-woodland", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q3078732", + wikipedia: "Ancient_woodland", + collection: "ancient-woodland", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: + "An area that’s been wooded continuously since at least 1600 AD", + "entity-count": { + count: 44355, + dataset: "ancient-woodland", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#00703c", + opacity: 0.2, + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "nature.SSSI": { + name: "Site of special scientific interest", + text: "Sites of special scientific interest (SSSI) are nationally protected sites that have features such as wildlife or geology. \n\nSSSIs are designated by [Natural England](https://www.gov.uk/government/organisations/natural-england).\nThere is [guidance](https://www.gov.uk/guidance/protected-areas-sites-of-special-scientific-interest) to help local authorities decide on planning applications in protected SSSIs.", + plural: "Sites of special scientific interest", + prefix: "", + themes: ["environment"], + dataset: "site-of-special-scientific-interest", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q422211", + wikipedia: "Site_of_Special_Scientific_Interest", + collection: "site-of-special-scientific-interest", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: "", + "entity-count": { + count: 4128, + dataset: "site-of-special-scientific-interest", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#308fac", + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "article4.caz": { + name: "Central activities zone", + text: "The [Greater London Authority](https://www.london.gov.uk/) (GLA) designates a central area of London with [implications for planning](https://www.london.gov.uk/what-we-do/planning/implementing-london-plan/london-plan-guidance-and-spgs/central-activities-zone)\nThis dataset combines data provided by the GLA with the boundary from the individual London boroughs.", + plural: "Central activities zones", + prefix: "", + themes: ["development"], + dataset: "central-activities-zone", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "", + wikipedia: "", + collection: "central-activities-zone", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "", + "entity-count": { + count: 10, + dataset: "central-activities-zone", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": "© Crown copyright and database right 2023", + }, + locallyListed: { + name: "Locally listed building", + text: "A building or site in a local planning authority’s area that make a positive contribution to its local character and sense of place because of their heritage value. Although such heritage assets may not be nationally designated or even located within the boundaries of a conservation area, they may be offered some level of protection by the local planning authority identifying them on a formally adopted list of local heritage assets.\n\nThis is an experimental dataset of locally listed buildings found on [data.gov.uk](https://www.data.gov.uk/search?q=locally+listed+buildings).\nWe are [working with a group of local planning authorities](/about/) to help them publish their locally listed buildings, and to develop a data specification for locally listed buildings.", + plural: "Locally listed buildings", + prefix: "", + themes: ["heritage"], + dataset: "locally-listed-building", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q570600", + wikipedia: "Listed_building#Locally_listed_buildings", + collection: "listed-building", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "locally listed heritage assets, including buildings", + "entity-count": { + count: 448, + dataset: "locally-listed-building", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#F9C744", + }, + "attribution-text": "© Crown copyright and database right 2023", + }, + "designated.SPA": { + name: "Special protection area", + text: "[Special protection areas](https://naturalengland-defra.opendata.arcgis.com/maps/Defra::special-protection-areas-england/about) is an area designated \nfor the protection of birds and wildlife. This dataset is provided by [Natural England](https://www.gov.uk/government/organisations/natural-england).", + plural: "Special protection areas", + prefix: "", + themes: ["environment"], + dataset: "special-protection-area", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "", + wikipedia: "", + collection: "special-protection-area", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: "", + "entity-count": { + count: 88, + dataset: "special-protection-area", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "designated.WHS": { + name: "World heritage site buffer zone", + text: "A [World Heritage Site](/dataset/world-heritage-site) may have a [buffer zone](https://whc.unesco.org/en/series/25/) with implications for planning.", + plural: "World heritage site buffer zones", + prefix: "", + themes: ["heritage"], + dataset: "world-heritage-site-buffer-zone", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q9259", + wikipedia: "World_Heritage_Site", + collection: "historic-england", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: "", + "entity-count": { + count: 8, + dataset: "world-heritage-site-buffer-zone", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#EB1EE5", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + registeredPark: { + name: "Historic parks and gardens", + text: "Historic parks and gardens as listed by [Historic England](https://historicengland.org.uk/) in the [Register of Parks and Gardens of Special Historic Interest](https://historicengland.org.uk/listing/what-is-designation/registered-parks-and-gardens/).", + plural: "Parks and gardens", + prefix: "", + themes: ["environment", "heritage"], + dataset: "park-and-garden", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q6975250", + wikipedia: + "Register_of_Historic_Parks_and_Gardens_of_Special_Historic_Interest_in_England", + collection: "historic-england", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: "", + "entity-count": { + count: 1699, + dataset: "park-and-garden", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#0EB951", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + "designated.AONB": { + name: "Area of outstanding natural beauty", + text: "An area of outstanding natural beauty (AONB) as designated by [Natural England](https://www.gov.uk/government/organisations/natural-england).\n\nNatural England provides [guidance](https://www.gov.uk/guidance/protected-sites-and-areas-how-to-review-planning-applications) to help local authorities decide on planning applications in protected sites and areas.", + plural: "Areas of outstanding natural beauty", + prefix: "", + themes: ["environment"], + dataset: "area-of-outstanding-natural-beauty", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q174945", + wikipedia: "Area_of_Outstanding_Natural_Beauty", + collection: "area-of-outstanding-natural-beauty", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: + "Land protected by law to conserve and enhance its natural beauty", + "entity-count": { + count: 34, + dataset: "area-of-outstanding-natural-beauty", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#d53880", + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "designated.nationalPark": { + name: "National park", + text: "The administrative boundaries of [national park authorities](/dataset/national-park-authority) in England as provided by the ONS for the purposes of producing statistics.", + plural: "National parks", + prefix: "statistical-geography", + themes: ["heritage"], + dataset: "national-park", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q60256727", + wikipedia: "National_park", + collection: "national-park", + "entry-date": "", + "start-date": "", + attribution: "ons-boundary", + description: "", + "entity-count": { + count: 10, + dataset: "national-park", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#3DA52C", + }, + "attribution-text": + "Source: Office for National Statistics licensed under the Open Government Licence v.3.0\nContains OS data © Crown copyright and database right 2023", + }, + "designated.conservationArea": { + name: "Conservation area", + text: "Local planning authorities are responsible for designating conservation areas, though [Historic England](https://historicengland.org.uk/) and the Secretary of State also have powers to create them.\n\nThis dataset also contains the boundaries of conservation areas from Historic England, as well as other data found on [data.gov.uk](https://www.data.gov.uk/search?q=conservation+area) and currently contains a number of duplicate areas we are working to remove.\n\nWe are also [working with a group of local planning authorities](/about/) to help them publish their conservation areas, and to develop a [data specification for conservation areas](https://www.digital-land.info/guidance/specifications/conservation-area).\n\nHistoric England provide [guidance](https://historicengland.org.uk/advice/your-home/owning-historic-property/conservation-area/) to help householders understand the implications of living in a conservation area for planning applications.", + plural: "Conservation areas", + prefix: "", + themes: ["heritage"], + dataset: "conservation-area", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q5162904", + wikipedia: "Conservation_area_(United_Kingdom)", + collection: "conservation-area", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: + "Special architectural or historic interest, the character or appearance of which it is desirable to preserve or enhance", + "entity-count": { + count: 8600, + dataset: "conservation-area", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#78AA00", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + }, + constraints: { + tpo: { + fn: "tpo", + text: "is not in a Tree Preservation Order (TPO) Zone", + value: false, + category: "Trees", + }, + listed: { + fn: "listed", + text: "is not, or is not within, a Listed Building", + value: false, + category: "Heritage and conservation", + }, + article4: { + fn: "article4", + text: "is not subject to local permitted development restrictions (known as Article 4 directions)", + value: false, + category: "General policy", + }, + monument: { + fn: "monument", + text: "is not the site of a Scheduled Monument", + value: false, + category: "Heritage and conservation", + }, + designated: { + value: false, + }, + "nature.SAC": { + fn: "nature.SAC", + text: "is not in a Special Area of Conservation (SAC)", + value: false, + category: "Ecology", + }, + "nature.ASNW": { + fn: "nature.ASNW", + text: "is not in an Ancient Semi-Natural Woodland (ASNW)", + value: false, + category: "Ecology", + }, + "nature.SSSI": { + fn: "nature.SSSI", + text: "is not a Site of Special Scientific Interest (SSSI)", + value: false, + category: "Ecology", + }, + locallyListed: { + fn: "locallyListed", + text: "is not, or is not within, a Locally Listed Building", + value: false, + category: "Heritage and conservation", + }, + "designated.SPA": { + fn: "designated.SPA", + text: "is not in a Special Protection Area (SPA)", + value: false, + category: "Heritage and conservation", + }, + "designated.WHS": { + fn: "designated.WHS", + text: "is not an UNESCO World Heritage Site", + value: false, + category: "Heritage and conservation", + }, + registeredPark: { + fn: "registeredPark", + text: "is not in a Historic Park or Garden", + value: false, + category: "Heritage and conservation", + }, + "designated.AONB": { + fn: "designated.AONB", + text: "is not in an Area of Outstanding Natural Beauty", + value: false, + category: "Heritage and conservation", + }, + "designated.nationalPark": { + fn: "designated.nationalPark", + text: "is not in a National Park", + value: false, + category: "Heritage and conservation", + }, + "designated.conservationArea": { + fn: "designated.conservationArea", + text: "is not in a Conservation Area", + value: false, + category: "Heritage and conservation", + }, + "article4.buckinghamshire.caz": { + fn: "article4.caz", + text: "is not in the Central Activities Zone", + value: false, + category: "General policy", + }, + "designated.nationalPark.broads": { + fn: "designated.nationalPark.broads", + value: false, + }, + }, + planxRequest: + "https://api.editor.planx.dev/gis/buckinghamshire?geom=POLYGON+%28%28-0.646633654832832+51.61556919642334%2C+-0.6466296315193095+51.61554504700152%2C+-0.6465049088001171+51.61551173743314%2C+-0.6464512646198194+51.61522027766699%2C+-0.6463131308555524+51.61522943785954%2C+-0.6463037431240002+51.61520695374722%2C+-0.6462487578391951+51.615222775901515%2C+-0.6462393701076429+51.61520861923739%2C+-0.6459456682205124+51.615292726412235%2C+-0.6460489332675857+51.61561499701554%2C+-0.646633654832832+51.61556919642334%29%29&analytics=false&sessionId=8da51c5b-a2a0-4386-a15d-29d66f9c121c", + sourceRequest: + "https://www.planning.data.gov.uk/entity.json?entries=current&geometry=POLYGON+%28%28-0.646633654832832+51.61556919642334%2C+-0.6466296315193095+51.61554504700152%2C+-0.6465049088001171+51.61551173743314%2C+-0.6464512646198194+51.61522027766699%2C+-0.6463131308555524+51.61522943785954%2C+-0.6463037431240002+51.61520695374722%2C+-0.6462487578391951+51.615222775901515%2C+-0.6462393701076429+51.61520861923739%2C+-0.6459456682205124+51.615292726412235%2C+-0.6460489332675857+51.61561499701554%2C+-0.646633654832832+51.61556919642334%29%29&geometry_relation=intersects&limit=100&dataset=article-4-direction-area&dataset=central-activities-zone&dataset=listed-building&dataset=listed-building-outline&dataset=locally-listed-building&dataset=park-and-garden&dataset=conservation-area&dataset=area-of-outstanding-natural-beauty&dataset=national-park&dataset=world-heritage-site&dataset=world-heritage-site-buffer-zone&dataset=special-protection-area&dataset=scheduled-monument&dataset=tree&dataset=tree-preservation-order&dataset=tree-preservation-zone&dataset=site-of-special-scientific-interest&dataset=special-area-of-conservation&dataset=ancient-woodland", + }, + { + metadata: { + "road.classified": { + name: "Classified road", + text: "This will effect your project if you are looking to add a dropped kerb. It may also impact some agricultural or forestry projects within 25 metres of a classified road.", + plural: "Classified roads", + }, + }, + constraints: { + "road.classified": { + fn: "road.classified", + text: "is not on a Classified Road", + value: false, + category: "General policy", + }, + }, + planxRequest: "https://api.editor.planx.dev/roads?usrn=35200844", + sourceRequest: + "https://api.os.uk/features/v1/wfs?service=WFS&request=GetFeature&version=2.0.0&typeNames=Highways_RoadLink&outputFormat=GEOJSON&srsName=urn%3Aogc%3Adef%3Acrs%3AEPSG%3A%3A4326&count=1&filter=%0A++++%3Cogc%3AFilter%3E%0A++++++%3Cogc%3APropertyIsLike+wildCard%3D%22%25%22+singleChar%3D%22%23%22+escapeChar%3D%22%21%22%3E%0A++++++++%3Cogc%3APropertyName%3EFormsPartOf%3C%2Fogc%3APropertyName%3E%0A++++++++%3Cogc%3ALiteral%3E%25Street%23usrn35200844%25%3C%2Fogc%3ALiteral%3E%0A++++++%3C%2Fogc%3APropertyIsLike%3E%0A++++%3C%2Fogc%3AFilter%3E%0A++&", + }, + ], + "property.type": ["residential.dwelling.house.detached"], + "proposal.time": ["future"], + "applicant.type": ["individual"], + "applicant.email": "famousfive@example.com", + "applicant.title": "Ms", + "property.region": ["South East"], + "application.type": ["ldc.proposed"], + "proposal.siteArea": 1418.26, + "uniform.isRelated": ["false"], + "uniform.siteVisit": ["true"], + "_contact.applicant": { + applicant: { + email: "famousfive@example.com", + phone: "05555 555 555", + title: "Ms", + lastName: "Blyton", + firstName: "Enid", + organisation: "", + }, + }, + "applicant.interest": ["owner.sole"], + "applicant.resident": ["true"], + "application.reason": [ + "It looks like the changes fall within the scope of permitted development.", + ], + "uniform.personRole": ["Applicant"], + "applicant.name.last": "Blyton", + "applicant.agent.form": ["No"], + "applicant.name.first": "Enid", + "proposal.description": "Rear extension of a home", + "proposal.extend.area": 24, + "proposal.projectType": ["extend.rear"], + "applicant.siteContact": ["applicant"], + "uniform.applicationTo": ["N410"], + "uniform.consentRegime": ["Certificate of Lawfulness"], + "application.about.form": ["Proposed building works"], + "property.boundary.site": { + type: "Feature", + geometry: { + type: "Polygon", + coordinates: [ + [ + [-0.646633654832832, 51.61556919642334], + [-0.6466296315193095, 51.61554504700152], + [-0.6465049088001171, 51.61551173743314], + [-0.6464512646198194, 51.61522027766699], + [-0.6463131308555524, 51.61522943785954], + [-0.6463037431240002, 51.61520695374722], + [-0.6462487578391951, 51.615222775901515], + [-0.6462393701076429, 51.61520861923739], + [-0.6459456682205124, 51.615292726412235], + [-0.6460489332675857, 51.61561499701554], + [-0.646633654832832, 51.61556919642334], + ], + ], + }, + properties: null, + }, + "property.history.built": ["before2020"], + "property.numberStoreys": ["2plus"], + "proposal.treeWorksOnly": ["false"], + "uniform.scenarioNumber": ["15"], + "applicant.interest.form": ["Sole owner"], + "applicant.phone.primary": "05555 555 555", + "application.fee.payable": 0, + "proposal.extension.type": ["rear"], + "application.preAppAdvice": ["false"], + "application.resubmission": ["true"], + "property.projection.rear": ["false"], + "proposal.droppedKerbOnly": ["false"], + "property.drawing.roofPlan": [ + { + url: "https://api.editor.planx.dev/file/private/ha2qdn2z/RoofPlan.pdf", + filename: "RoofPlan.pdf", + cachedSlot: { + id: "VwShrTA-oJVwekLI9Scmz", + url: "https://api.editor.planx.dev/file/private/ha2qdn2z/RoofPlan.pdf", + file: { + path: "RoofPlan.pdf", + size: 79416, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "property.drawing.sitePlan": [ + { + url: "https://api.editor.planx.dev/file/private/3u00rjyw/Site%20plan.pdf", + filename: "Site plan.pdf", + cachedSlot: { + id: "7H9Pd8dXPux9XNLXTfEld", + url: "https://api.editor.planx.dev/file/private/3u00rjyw/Site%20plan.pdf", + file: { + path: "Site plan.pdf", + size: 1041815, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "proposal.drawing.roofPlan": [ + { + url: "https://api.editor.planx.dev/file/private/g92g9w65/RoofPlan.pdf", + filename: "RoofPlan.pdf", + cachedSlot: { + id: "ASGWU6xKYQ_VFPUg8vF74", + url: "https://api.editor.planx.dev/file/private/g92g9w65/RoofPlan.pdf", + file: { + path: "RoofPlan.pdf", + size: 79416, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "proposal.drawing.sitePlan": [ + { + url: "https://api.editor.planx.dev/file/private/i7tag96k/Site%20plan.pdf", + filename: "Site plan.pdf", + cachedSlot: { + id: "jfRrIUSbeA4r_ZiV1vfkO", + url: "https://api.editor.planx.dev/file/private/i7tag96k/Site%20plan.pdf", + file: { + path: "Site plan.pdf", + size: 1041815, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "uniform.applicantInterest": ["Owner"], + "uniform.proposedUseStatus": ["permanent"], + "applicant.sameAddress.form": ["Yes"], + "application.fee.calculated": 103, + "property.drawing.elevation": [ + { + url: "https://api.editor.planx.dev/file/private/tw50m88n/Elevations.pdf", + filename: "Elevations.pdf", + cachedSlot: { + id: "jXqpQRlQ41ozp1ecXgld3", + url: "https://api.editor.planx.dev/file/private/tw50m88n/Elevations.pdf", + file: { + path: "Elevations.pdf", + size: 116018, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "property.drawing.floorPlan": [ + { + url: "https://api.editor.planx.dev/file/private/diahn9ft/Plan.pdf", + filename: "Plan.pdf", + cachedSlot: { + id: "ckXLvaszdp4EJ4LaCCtZs", + url: "https://api.editor.planx.dev/file/private/diahn9ft/Plan.pdf", + file: { + path: "Plan.pdf", + size: 85548, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "property.history.changeUse": ["false"], + "proposal.drawing.elevation": [ + { + url: "https://api.editor.planx.dev/file/private/0rpf43jj/Elevations.pdf", + filename: "Elevations.pdf", + cachedSlot: { + id: "s_EFFL8jYh0GwxFsgWE0h", + url: "https://api.editor.planx.dev/file/private/0rpf43jj/Elevations.pdf", + file: { + path: "Elevations.pdf", + size: 116018, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "proposal.drawing.floorPlan": [ + { + url: "https://api.editor.planx.dev/file/private/iio7ok5g/Plan.pdf", + filename: "Plan.pdf", + cachedSlot: { + id: "k7PaAmo9Lx_GYg2MVqgrA", + url: "https://api.editor.planx.dev/file/private/iio7ok5g/Plan.pdf", + file: { + path: "Plan.pdf", + size: 85548, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "proposal.extension.storeys": ["1"], + "proposal.siteArea.hectares": 0.141826, + "proposal.extension.roofType": ["flat"], + "proposal.changeNumberOfHomes": ["noChange"], + "proposal.footprint.50percent": ["pass"], + "application.basisOfLawfulness": ["permittedDevelopment"], + "application.preAppAdvice.form": ["No"], + "applicant.ownership.certificate": ["a"], + "property.boundary.site.buffered": { + type: "Feature", + geometry: { + type: "Polygon", + coordinates: [ + [ + [-0.6475370033086114, 51.61517912952115], + [-0.6475304791646056, 51.615143686894534], + [-0.6474859834150044, 51.61501501740428], + [-0.6474020970009039, 51.61489416219748], + [-0.6472820136760072, 51.61478572208753], + [-0.6471303050748967, 51.614693825229125], + [-0.6469527466542662, 51.61462196997686], + [-0.6467560978256921, 51.614572891721444], + [-0.6465478446499682, 51.61454845876994], + [-0.6465206730027817, 51.614548605267], + [-0.6464657854639168, 51.61454001080326], + [-0.646255068594627, 51.6145331409933], + [-0.646229741148224, 51.61453539108265], + [-0.6462078275282843, 51.61453441340132], + [-0.6459911201751132, 51.61455197998924], + [-0.6457844616844772, 51.61459612732214], + [-0.6454907629177721, 51.61468023336199], + [-0.6453120204253557, 51.61474488761412], + [-0.6451562571182359, 51.61482940972914], + [-0.6450291218979636, 51.614930734511006], + [-0.6449352255582322, 51.615045187392376], + [-0.6448779735572823, 51.61516861768304], + [-0.6448594424870248, 51.615296549087816], + [-0.6448803047228773, 51.61542434203707], + [-0.6449835625047058, 51.61574661357491], + [-0.6450417384464279, 51.615867607461176], + [-0.6451352146371245, 51.61597974808089], + [-0.645260715149991, 51.61607910510574], + [-0.6454138415795655, 51.61616219622555], + [-0.6455892271845146, 51.61622610920761], + [-0.6457807249843511, 51.616268603976565], + [-0.6459816232169552, 51.61628819113518], + [-0.6461848806027057, 51.61628418417269], + [-0.6467696106521076, 51.61623838290518], + [-0.646974364094076, 51.616209650068676], + [-0.6471663934487392, 51.616156999610595], + [-0.6473385272791733, 51.616082397805265], + [-0.6474843372462296, 51.61598863070644], + [-0.647598378188012, 51.615879200089154], + [-0.6476763914639571, 51.615758192662575], + [-0.6477154639700333, 51.61563012744028], + [-0.6477141368898316, 51.61549978696978], + [-0.6477101130075604, 51.615475637584886], + [-0.6476622982410574, 51.61533582614553], + [-0.6475681127052794, 51.61520540982381], + [-0.6475370033086114, 51.61517912952115], + ], + ], + }, + properties: {}, + }, + "property.localAuthorityDistrict": ["Buckinghamshire", "South Bucks"], + "proposal.visibleFromPublicRealm": ["Information not provided"], + "application.declaration.accurate": ["true"], + "proposal.changeNumberOfHomes.form": ["No"], + "application.declaration.connection": ["none"], + "application.showTreesConsentResult": ["false"], + "application.fee.exemption.disability": ["false"], + "application.declaration.accurate.form": ["Yes"], + "proposal.extension.within2mOfBoundary": ["false"], + "application.fee.exemption.resubmission": ["true"], + "application.declaration.connection.form": ["No connections"], + "application.resubmission.original.applicationReference": + "M8AG1C F4R4WAY TR33", + }, + breadcrumbs: { + "0LeweTcJSG": { + auto: false, + data: { + "property.drawing.floorPlan": [ + { + url: "https://api.editor.planx.dev/file/private/diahn9ft/Plan.pdf", + filename: "Plan.pdf", + cachedSlot: { + id: "ckXLvaszdp4EJ4LaCCtZs", + url: "https://api.editor.planx.dev/file/private/diahn9ft/Plan.pdf", + file: { + path: "Plan.pdf", + size: 85548, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + }, + }, + "0Ssv1Buc4B": { + auto: true, + answers: ["v2b6eBucAa"], + }, + "0WkoPIRtSH": { + auto: true, + data: { + "application.about.form": ["Proposed building works"], + }, + }, + "0awrbrvw4j": { + auto: false, + answers: ["kX8LJ7KAPl"], + }, + "0vyk3XWTXQ": { + auto: true, + answers: ["Hyi3bZxFDX"], + }, + "1Zk55jTsN1": { + auto: false, + data: { + "applicant.email": "famousfive@example.com", + "applicant.title": "Ms", + "_contact.applicant": { + applicant: { + email: "famousfive@example.com", + phone: "05555 555 555", + title: "Ms", + lastName: "Blyton", + firstName: "Enid", + organisation: "", + }, + }, + "applicant.name.last": "Blyton", + "applicant.name.first": "Enid", + "applicant.phone.primary": "05555 555 555", + }, + }, + "1brLbfr0VI": { + auto: true, + data: { + "application.showTreesConsentResult": ["false"], + }, + }, + "3SY7XLmpEE": { + auto: false, + data: { + "proposal.drawing.sitePlan": [ + { + url: "https://api.editor.planx.dev/file/private/i7tag96k/Site%20plan.pdf", + filename: "Site plan.pdf", + cachedSlot: { + id: "jfRrIUSbeA4r_ZiV1vfkO", + url: "https://api.editor.planx.dev/file/private/i7tag96k/Site%20plan.pdf", + file: { + path: "Site plan.pdf", + size: 1041815, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + }, + }, + "503Qd4UzSW": { + auto: true, + answers: ["mbwfPiuQcn"], + }, + "5BvOSdcGqe": { + auto: false, + answers: ["8GNsCjBDF4"], + }, + "5DwwhQGOIz": { + auto: false, + data: { + _nots: { + "property.constraints.planning": [ + "article4", + "listed", + "locallyListed", + "registeredPark", + "designated.conservationArea", + "designated.AONB", + "designated.nationalPark", + "designated.nationalPark.broads", + "designated.WHS", + "designated.SPA", + "monument", + "tpo", + "nature.SSSI", + "nature.SAC", + "nature.ASNW", + "designated", + "article4.buckinghamshire.caz", + "road.classified", + ], + }, + _constraints: [ + { + metadata: { + tpo: { + name: "Tree preservation zone", + text: "A Tree Preservation Order (TPO) can be placed on single trees, groups of trees and even whole woodlands. Tree Preservation Orders are made by local planning authorities following [guidance](https://www.gov.uk/guidance/tree-preservation-orders-and-trees-in-conservation-areas) provided by the [Department for Levelling Up, Housing and Communities](https://www.gov.uk/government/organisations/department-for-levelling-up-housing-and-communities).\n\nEach [tree preservation order](/dataset/tree-preservation-order) may apply to a number of tree preservation order zones, and a number of individual [trees](/dataset/tree).\n\nThis dataset contains data from [a small group of local planning authorities](/about/) who we are working with to develop a [data specification for tree preservation orders](https://www.digital-land.info/guidance/specifications/tree-preservation-order).", + plural: "Trees preservation zones", + prefix: "", + themes: ["environment"], + dataset: "tree-preservation-zone", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q10884", + wikipedia: "Tree", + collection: "tree-preservation-order", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "An area covered by a tree preservation order", + "entity-count": { + count: 13161, + dataset: "tree-preservation-zone", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": + "© Crown copyright and database right 2023", + }, + listed: { + name: "Listed building outline", + text: "The geospatial boundary for [listed buildings](https://historicengland.org.uk/listing/what-is-designation/listed-buildings) as designated by [Historic England](https://historicengland.org.uk/) as collected from local planning authorities.\n\nWe are [working with a group of local planning authorities](/about/) to help them publish their data to inform planning decisions, and to develop a [data specification for listed building outlines](https://www.digital-land.info/guidance/specifications/listed-building).\n\nWe expect to eventually merge this dataset with the [listed building](/dataset/listed-building) dataset.", + plural: "Listed building outlines", + prefix: "", + themes: ["heritage"], + dataset: "listed-building-outline", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q570600", + wikipedia: "Listed_building", + collection: "listed-building", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "boundary of a listed building", + "entity-count": { + count: 12237, + dataset: "listed-building-outline", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#F9C744", + }, + "attribution-text": + "© Crown copyright and database right 2023", + }, + article4: { + name: "Article 4 direction area", + text: "A local planning authority may create an [article 4 direction](https://www.gov.uk/guidance/when-is-permission-required#article-4-direction) to alter or remove [permitted development rights](https://www.gov.uk/government/publications/permitted-development-rights-for-householders-technical-guidance) from a building or area.\n\nEach [article 4 direction](/dataset/article-4-direction) may apply to one or more article 4 direction areas, each with one or more [article 4 direction rules](/dataset/article-4-direction-rule).\n\nThis dataset contains data from [a small group of local planning authorities](/about/) who we are working with to develop a [data specification for article 4 directions](https://www.digital-land.info/guidance/specifications/article-4-direction).", + plural: "Article 4 direction areas", + prefix: "", + themes: ["heritage"], + dataset: "article-4-direction-area", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "", + wikipedia: "", + collection: "article-4-direction", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: + "Orders made by the local planning authority to remove all or some of the permitted development rights on a site in order to protect it", + "entity-count": { + count: 1369, + dataset: "article-4-direction-area", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": + "© Crown copyright and database right 2023", + }, + monument: { + name: "Scheduled monument", + text: "Historic buildings or sites such as Roman remains, burial mounds, castles, bridges, earthworks, the remains of deserted villages and industrial sites can be designated scheduled monuments by the Secretary of State for [Digital, Culture, Media and Sport](https://www.gov.uk/government/organisations/department-for-digital-culture-media-sport). \n\nThis list of scheduled monuments is kept and maintained by [Historic England](https://historicengland.org.uk/).", + plural: "Scheduled monuments", + prefix: "", + themes: ["heritage"], + dataset: "scheduled-monument", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q219538", + wikipedia: "Scheduled_monument", + collection: "historic-england", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: "", + "entity-count": { + count: 19935, + dataset: "scheduled-monument", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#0F9CDA", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + "nature.SAC": { + name: "Special area of conservation", + text: "Special areas of conservation (SACs) are area of land which have been designated by\n[DEFRA](https://www.gov.uk/government/organisations/department-for-environment-food-rural-affairs),\nwith advice from the [Joint Nature Conservation Committee](https://jncc.gov.uk/),\nto protect specific habitats and species.\n\nDEFRA and [Natural England](https://www.gov.uk/government/organisations/natural-england) publish\n[guidance](https://www.gov.uk/guidance/protected-sites-and-areas-how-to-review-planning-applications)\non how to review planning applications in protected sites and areas.", + plural: "Special areas of conservation", + prefix: "", + themes: ["environment"], + dataset: "special-area-of-conservation", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q1191622", + wikipedia: "Special_Area_of_Conservation", + collection: "special-area-of-conservation", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: "", + "entity-count": { + count: 256, + dataset: "special-area-of-conservation", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#7A8705", + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "nature.ASNW": { + name: "Ancient woodland", + text: "An area designated as ancient woodland by Natural England.\n\nNatural England and Forestry Commission [Guidance](https://www.gov.uk/guidance/ancient-woodland-and-veteran-trees-protection-surveys-licences) is used in planning decisions.", + plural: "Ancient woodlands", + prefix: "", + themes: ["environment"], + dataset: "ancient-woodland", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q3078732", + wikipedia: "Ancient_woodland", + collection: "ancient-woodland", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: + "An area that’s been wooded continuously since at least 1600 AD", + "entity-count": { + count: 44355, + dataset: "ancient-woodland", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#00703c", + opacity: 0.2, + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "nature.SSSI": { + name: "Site of special scientific interest", + text: "Sites of special scientific interest (SSSI) are nationally protected sites that have features such as wildlife or geology. \n\nSSSIs are designated by [Natural England](https://www.gov.uk/government/organisations/natural-england).\nThere is [guidance](https://www.gov.uk/guidance/protected-areas-sites-of-special-scientific-interest) to help local authorities decide on planning applications in protected SSSIs.", + plural: "Sites of special scientific interest", + prefix: "", + themes: ["environment"], + dataset: "site-of-special-scientific-interest", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q422211", + wikipedia: "Site_of_Special_Scientific_Interest", + collection: "site-of-special-scientific-interest", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: "", + "entity-count": { + count: 4128, + dataset: "site-of-special-scientific-interest", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#308fac", + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "article4.caz": { + name: "Central activities zone", + text: "The [Greater London Authority](https://www.london.gov.uk/) (GLA) designates a central area of London with [implications for planning](https://www.london.gov.uk/what-we-do/planning/implementing-london-plan/london-plan-guidance-and-spgs/central-activities-zone)\nThis dataset combines data provided by the GLA with the boundary from the individual London boroughs.", + plural: "Central activities zones", + prefix: "", + themes: ["development"], + dataset: "central-activities-zone", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "", + wikipedia: "", + collection: "central-activities-zone", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "", + "entity-count": { + count: 10, + dataset: "central-activities-zone", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": + "© Crown copyright and database right 2023", + }, + locallyListed: { + name: "Locally listed building", + text: "A building or site in a local planning authority’s area that make a positive contribution to its local character and sense of place because of their heritage value. Although such heritage assets may not be nationally designated or even located within the boundaries of a conservation area, they may be offered some level of protection by the local planning authority identifying them on a formally adopted list of local heritage assets.\n\nThis is an experimental dataset of locally listed buildings found on [data.gov.uk](https://www.data.gov.uk/search?q=locally+listed+buildings).\nWe are [working with a group of local planning authorities](/about/) to help them publish their locally listed buildings, and to develop a data specification for locally listed buildings.", + plural: "Locally listed buildings", + prefix: "", + themes: ["heritage"], + dataset: "locally-listed-building", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q570600", + wikipedia: "Listed_building#Locally_listed_buildings", + collection: "listed-building", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: + "locally listed heritage assets, including buildings", + "entity-count": { + count: 448, + dataset: "locally-listed-building", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#F9C744", + }, + "attribution-text": + "© Crown copyright and database right 2023", + }, + "designated.SPA": { + name: "Special protection area", + text: "[Special protection areas](https://naturalengland-defra.opendata.arcgis.com/maps/Defra::special-protection-areas-england/about) is an area designated \nfor the protection of birds and wildlife. This dataset is provided by [Natural England](https://www.gov.uk/government/organisations/natural-england).", + plural: "Special protection areas", + prefix: "", + themes: ["environment"], + dataset: "special-protection-area", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "", + wikipedia: "", + collection: "special-protection-area", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: "", + "entity-count": { + count: 88, + dataset: "special-protection-area", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "designated.WHS": { + name: "World heritage site buffer zone", + text: "A [World Heritage Site](/dataset/world-heritage-site) may have a [buffer zone](https://whc.unesco.org/en/series/25/) with implications for planning.", + plural: "World heritage site buffer zones", + prefix: "", + themes: ["heritage"], + dataset: "world-heritage-site-buffer-zone", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q9259", + wikipedia: "World_Heritage_Site", + collection: "historic-england", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: "", + "entity-count": { + count: 8, + dataset: "world-heritage-site-buffer-zone", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#EB1EE5", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + registeredPark: { + name: "Historic parks and gardens", + text: "Historic parks and gardens as listed by [Historic England](https://historicengland.org.uk/) in the [Register of Parks and Gardens of Special Historic Interest](https://historicengland.org.uk/listing/what-is-designation/registered-parks-and-gardens/).", + plural: "Parks and gardens", + prefix: "", + themes: ["environment", "heritage"], + dataset: "park-and-garden", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q6975250", + wikipedia: + "Register_of_Historic_Parks_and_Gardens_of_Special_Historic_Interest_in_England", + collection: "historic-england", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: "", + "entity-count": { + count: 1699, + dataset: "park-and-garden", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#0EB951", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + "designated.AONB": { + name: "Area of outstanding natural beauty", + text: "An area of outstanding natural beauty (AONB) as designated by [Natural England](https://www.gov.uk/government/organisations/natural-england).\n\nNatural England provides [guidance](https://www.gov.uk/guidance/protected-sites-and-areas-how-to-review-planning-applications) to help local authorities decide on planning applications in protected sites and areas.", + plural: "Areas of outstanding natural beauty", + prefix: "", + themes: ["environment"], + dataset: "area-of-outstanding-natural-beauty", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q174945", + wikipedia: "Area_of_Outstanding_Natural_Beauty", + collection: "area-of-outstanding-natural-beauty", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: + "Land protected by law to conserve and enhance its natural beauty", + "entity-count": { + count: 34, + dataset: "area-of-outstanding-natural-beauty", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#d53880", + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "designated.nationalPark": { + name: "National park", + text: "The administrative boundaries of [national park authorities](/dataset/national-park-authority) in England as provided by the ONS for the purposes of producing statistics.", + plural: "National parks", + prefix: "statistical-geography", + themes: ["heritage"], + dataset: "national-park", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q60256727", + wikipedia: "National_park", + collection: "national-park", + "entry-date": "", + "start-date": "", + attribution: "ons-boundary", + description: "", + "entity-count": { + count: 10, + dataset: "national-park", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#3DA52C", + }, + "attribution-text": + "Source: Office for National Statistics licensed under the Open Government Licence v.3.0\nContains OS data © Crown copyright and database right 2023", + }, + "designated.conservationArea": { + name: "Conservation area", + text: "Local planning authorities are responsible for designating conservation areas, though [Historic England](https://historicengland.org.uk/) and the Secretary of State also have powers to create them.\n\nThis dataset also contains the boundaries of conservation areas from Historic England, as well as other data found on [data.gov.uk](https://www.data.gov.uk/search?q=conservation+area) and currently contains a number of duplicate areas we are working to remove.\n\nWe are also [working with a group of local planning authorities](/about/) to help them publish their conservation areas, and to develop a [data specification for conservation areas](https://www.digital-land.info/guidance/specifications/conservation-area).\n\nHistoric England provide [guidance](https://historicengland.org.uk/advice/your-home/owning-historic-property/conservation-area/) to help householders understand the implications of living in a conservation area for planning applications.", + plural: "Conservation areas", + prefix: "", + themes: ["heritage"], + dataset: "conservation-area", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q5162904", + wikipedia: "Conservation_area_(United_Kingdom)", + collection: "conservation-area", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: + "Special architectural or historic interest, the character or appearance of which it is desirable to preserve or enhance", + "entity-count": { + count: 8600, + dataset: "conservation-area", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#78AA00", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + }, + constraints: { + tpo: { + fn: "tpo", + text: "is not in a Tree Preservation Order (TPO) Zone", + value: false, + category: "Trees", + }, + listed: { + fn: "listed", + text: "is not, or is not within, a Listed Building", + value: false, + category: "Heritage and conservation", + }, + article4: { + fn: "article4", + text: "is not subject to local permitted development restrictions (known as Article 4 directions)", + value: false, + category: "General policy", + }, + monument: { + fn: "monument", + text: "is not the site of a Scheduled Monument", + value: false, + category: "Heritage and conservation", + }, + designated: { + value: false, + }, + "nature.SAC": { + fn: "nature.SAC", + text: "is not in a Special Area of Conservation (SAC)", + value: false, + category: "Ecology", + }, + "nature.ASNW": { + fn: "nature.ASNW", + text: "is not in an Ancient Semi-Natural Woodland (ASNW)", + value: false, + category: "Ecology", + }, + "nature.SSSI": { + fn: "nature.SSSI", + text: "is not a Site of Special Scientific Interest (SSSI)", + value: false, + category: "Ecology", + }, + locallyListed: { + fn: "locallyListed", + text: "is not, or is not within, a Locally Listed Building", + value: false, + category: "Heritage and conservation", + }, + "designated.SPA": { + fn: "designated.SPA", + text: "is not in a Special Protection Area (SPA)", + value: false, + category: "Heritage and conservation", + }, + "designated.WHS": { + fn: "designated.WHS", + text: "is not an UNESCO World Heritage Site", + value: false, + category: "Heritage and conservation", + }, + registeredPark: { + fn: "registeredPark", + text: "is not in a Historic Park or Garden", + value: false, + category: "Heritage and conservation", + }, + "designated.AONB": { + fn: "designated.AONB", + text: "is not in an Area of Outstanding Natural Beauty", + value: false, + category: "Heritage and conservation", + }, + "designated.nationalPark": { + fn: "designated.nationalPark", + text: "is not in a National Park", + value: false, + category: "Heritage and conservation", + }, + "designated.conservationArea": { + fn: "designated.conservationArea", + text: "is not in a Conservation Area", + value: false, + category: "Heritage and conservation", + }, + "article4.buckinghamshire.caz": { + fn: "article4.caz", + text: "is not in the Central Activities Zone", + value: false, + category: "General policy", + }, + "designated.nationalPark.broads": { + fn: "designated.nationalPark.broads", + value: false, + }, + }, + planxRequest: + "https://api.editor.planx.dev/gis/buckinghamshire?geom=POLYGON+%28%28-0.646633654832832+51.61556919642334%2C+-0.6466296315193095+51.61554504700152%2C+-0.6465049088001171+51.61551173743314%2C+-0.6464512646198194+51.61522027766699%2C+-0.6463131308555524+51.61522943785954%2C+-0.6463037431240002+51.61520695374722%2C+-0.6462487578391951+51.615222775901515%2C+-0.6462393701076429+51.61520861923739%2C+-0.6459456682205124+51.615292726412235%2C+-0.6460489332675857+51.61561499701554%2C+-0.646633654832832+51.61556919642334%29%29&analytics=false&sessionId=8da51c5b-a2a0-4386-a15d-29d66f9c121c", + sourceRequest: + "https://www.planning.data.gov.uk/entity.json?entries=current&geometry=POLYGON+%28%28-0.646633654832832+51.61556919642334%2C+-0.6466296315193095+51.61554504700152%2C+-0.6465049088001171+51.61551173743314%2C+-0.6464512646198194+51.61522027766699%2C+-0.6463131308555524+51.61522943785954%2C+-0.6463037431240002+51.61520695374722%2C+-0.6462487578391951+51.615222775901515%2C+-0.6462393701076429+51.61520861923739%2C+-0.6459456682205124+51.615292726412235%2C+-0.6460489332675857+51.61561499701554%2C+-0.646633654832832+51.61556919642334%29%29&geometry_relation=intersects&limit=100&dataset=article-4-direction-area&dataset=central-activities-zone&dataset=listed-building&dataset=listed-building-outline&dataset=locally-listed-building&dataset=park-and-garden&dataset=conservation-area&dataset=area-of-outstanding-natural-beauty&dataset=national-park&dataset=world-heritage-site&dataset=world-heritage-site-buffer-zone&dataset=special-protection-area&dataset=scheduled-monument&dataset=tree&dataset=tree-preservation-order&dataset=tree-preservation-zone&dataset=site-of-special-scientific-interest&dataset=special-area-of-conservation&dataset=ancient-woodland", + }, + { + metadata: { + "road.classified": { + name: "Classified road", + text: "This will effect your project if you are looking to add a dropped kerb. It may also impact some agricultural or forestry projects within 25 metres of a classified road.", + plural: "Classified roads", + }, + }, + constraints: { + "road.classified": { + fn: "road.classified", + text: "is not on a Classified Road", + value: false, + category: "General policy", + }, + }, + planxRequest: "https://api.editor.planx.dev/roads?usrn=35200844", + sourceRequest: + "https://api.os.uk/features/v1/wfs?service=WFS&request=GetFeature&version=2.0.0&typeNames=Highways_RoadLink&outputFormat=GEOJSON&srsName=urn%3Aogc%3Adef%3Acrs%3AEPSG%3A%3A4326&count=1&filter=%0A++++%3Cogc%3AFilter%3E%0A++++++%3Cogc%3APropertyIsLike+wildCard%3D%22%25%22+singleChar%3D%22%23%22+escapeChar%3D%22%21%22%3E%0A++++++++%3Cogc%3APropertyName%3EFormsPartOf%3C%2Fogc%3APropertyName%3E%0A++++++++%3Cogc%3ALiteral%3E%25Street%23usrn35200844%25%3C%2Fogc%3ALiteral%3E%0A++++++%3C%2Fogc%3APropertyIsLike%3E%0A++++%3C%2Fogc%3AFilter%3E%0A++&", + }, + ], + }, + }, + "66LkiZhvhd": { + auto: true, + answers: ["st7YwpVQGb"], + }, + "77iAKzVKuK": { + auto: false, + }, + "79ymhLdI7w": { + auto: false, + }, + "7BfbnIRRfq": { + auto: false, + }, + "83n77dtTWe": { + auto: false, + data: { + "proposal.drawing.floorPlan": [ + { + url: "https://api.editor.planx.dev/file/private/iio7ok5g/Plan.pdf", + filename: "Plan.pdf", + cachedSlot: { + id: "k7PaAmo9Lx_GYg2MVqgrA", + url: "https://api.editor.planx.dev/file/private/iio7ok5g/Plan.pdf", + file: { + path: "Plan.pdf", + size: 85548, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + }, + }, + "95XcTDdlqz": { + auto: true, + data: { + "application.fee.payable": 0, + }, + }, + ADEFuGG2xF: { + auto: false, + data: { + "property.drawing.sitePlan": [ + { + url: "https://api.editor.planx.dev/file/private/3u00rjyw/Site%20plan.pdf", + filename: "Site plan.pdf", + cachedSlot: { + id: "7H9Pd8dXPux9XNLXTfEld", + url: "https://api.editor.planx.dev/file/private/3u00rjyw/Site%20plan.pdf", + file: { + path: "Site plan.pdf", + size: 1041815, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + }, + }, + AXaUGBucW3: { + auto: false, + answers: ["QRbcuBuczJ"], + }, + B3QUuAVXW4: { + auto: false, + answers: ["g3GoOjJgaN"], + }, + B5QYKzlsMP: { + auto: true, + answers: ["ANb4Cen6ue"], + }, + BBnMYpDKY6: { + auto: false, + answers: ["MjeFcf6FpB"], + }, + BDulPzfy0y: { + auto: true, + answers: ["nc2KHMoesk"], + }, + BEOIGLHpsD: { + auto: true, + answers: ["eCfyydxyzW"], + }, + BF3OfdDHDv: { + auto: false, + answers: ["ZOi7hdDHDv"], + }, + BH2eL6rZAU: { + auto: false, + answers: ["jLEs1HNX6H"], + }, + BZ7i3DZDA2: { + auto: true, + data: { + "application.reason": [ + "It looks like the changes fall within the scope of permitted development.", + ], + }, + }, + BnAgyyY3hX: { + auto: false, + answers: ["7ebH217ewZ"], + }, + CJe7fhKaNE: { + auto: false, + }, + CtyIndDHDv: { + auto: true, + answers: ["6GUMWdDHDv"], + }, + DRDCupIVGF: { + auto: false, + answers: ["qJOuaBYmPV"], + }, + DdhZeOkk2v: { + auto: true, + answers: ["SUosXCaSIc"], + }, + EFlwBdDHDv: { + auto: false, + answers: ["SxkZmdDHDv"], + }, + Ev9kHdDHDv: { + auto: false, + answers: ["jFGdvdDHDv"], + }, + G24OiZ6efK: { + auto: false, + answers: ["ApWXpo366q"], + }, + G5JGBndEDM: { + auto: false, + }, + GXlbDdDHDv: { + auto: true, + answers: ["RyWeDdDHDv"], + }, + GiYxoK8Lh3: { + auto: false, + data: { + "application.resubmission.original.applicationReference": + "M8AG1C F4R4WAY TR33", + }, + }, + GzQpqBucyb: { + auto: false, + data: { + _address: { + x: 493822, + y: 191603, + pao: "7", + town: "BEACONSFIELD", + uprn: "100080482163", + usrn: "35200844", + title: "7, BLYTON CLOSE, BEACONSFIELD", + source: "os", + street: "BLYTON CLOSE", + latitude: 51.6154458, + postcode: "HP9 2LX", + blpu_code: "2", + longitude: -0.6463271, + planx_value: "residential.dwelling.house.detached", + organisation: null, + planx_description: "Detached", + single_line_address: + "7, BLYTON CLOSE, BEACONSFIELD, BUCKINGHAMSHIRE, HP9 2LX", + }, + "property.type": ["residential.dwelling.house.detached"], + "property.region": ["South East"], + "property.localAuthorityDistrict": ["Buckinghamshire", "South Bucks"], + }, + }, + HEcOjemCzB: { + auto: true, + data: { + "application.declaration.connection.form": ["No connections"], + }, + }, + I03hRPF3ck: { + auto: true, + answers: ["87KjOi5c82"], + }, + ID9WMI7OEi: { + auto: true, + answers: ["G3BZsb6088"], + }, + Ihwwu3bxWz: { + auto: false, + }, + IvhIQ5MqTU: { + auto: false, + answers: ["RZBWTrxcPK"], + }, + JgzZ2IZHOx: { + auto: false, + }, + JsQ6stbSoR: { + auto: true, + data: { + "uniform.scenarioNumber": ["15"], + }, + }, + KqpstX1gmN: { + auto: false, + answers: ["w3XNQonKQc"], + }, + L6RlHOAmz3: { + auto: false, + answers: ["JpD8CZ5aCu"], + }, + LIh6XKLiUn: { + auto: true, + answers: ["Q6znhEmiY6"], + }, + MZxqLLRlpU: { + auto: true, + answers: ["iCA0Zh7mWZ"], + }, + NpxV0KPCFD: { + auto: true, + answers: ["kgaFUFF9ER"], + }, + OE4iwSIBEh: { + auto: true, + answers: ["KJYBgEBrp4"], + }, + OOA81d7i3v: { + auto: true, + answers: ["nAQzgzcoRF"], + }, + OPdu2dxcS9: { + auto: true, + data: { + "applicant.ownership.certificate": ["a"], + }, + }, + OYHRwje5GU: { + auto: true, + data: { + "application.declaration.accurate.form": ["Yes"], + }, + }, + OjcuaKCgpa: { + auto: true, + answers: ["8AqvBGCccJ"], + }, + PLdbajCJrR: { + auto: false, + answers: ["OFod3V0jwr"], + }, + PdKCudDHDv: { + auto: false, + answers: ["uIin0dDHDv"], + }, + PrOPyE0sgC: { + auto: true, + data: { + "uniform.proposedUseStatus": ["permanent"], + }, + }, + PsPDXO23J4: { + auto: true, + answers: ["0raZXaqEZk"], + }, + QAuLTiFzF7: { + auto: true, + answers: ["S5i6ww6VVw"], + }, + QgI87UIDEx: { + auto: true, + answers: ["aJzng1LAVi"], + }, + QoMCXqj0Jq: { + auto: true, + answers: ["WMbA7jMLn0"], + }, + RBxIgFmtpW: { + auto: true, + answers: ["SSnoaFh6Ru"], + }, + RQsUof5f4e: { + auto: true, + answers: ["iMgDYwC1fA"], + }, + Rge2bmsJuW: { + auto: true, + answers: ["l2vse4yJHr"], + }, + SJRiZ1gkrY: { + auto: true, + data: { + "applicant.sameAddress.form": ["Yes"], + }, + }, + Sri42CLxLb: { + auto: false, + }, + SxNNsZLWST: { + auto: true, + answers: ["ZlDSurJAk0"], + }, + T4MfGcERNk: { + auto: true, + answers: ["E5QBnU1qK3"], + }, + T8MisdDHDv: { + auto: true, + answers: ["NspB0dDHDv"], + }, + TfzRoHL6KI: { + auto: true, + data: { + "uniform.personRole": ["Applicant"], + }, + }, + UC9rlYa7IM: { + auto: false, + answers: ["3aNuvSNKJg"], + }, + US4ni2gZ5G: { + auto: false, + answers: ["jz7MTYf7aB"], + }, + UnxsqdDHDv: { + auto: false, + answers: ["cRQ7XdDHDv"], + }, + Ur9v9mzksq: { + auto: false, + answers: ["4EdCr2Lo2q"], + }, + UxZwoQGXEm: { + auto: false, + }, + VQnG4B8HEk: { + auto: true, + answers: ["4uzXfO1h1p"], + }, + VjKjvBucUI: { + auto: false, + data: { + "proposal.description": "Rear extension of a home", + }, + }, + W8i3IBucmu: { + auto: true, + answers: ["UpM0bBucnW"], + }, + WAUEgMY1RL: { + auto: true, + answers: ["AfMV3SF44Q"], + }, + WtKRa7H01E: { + auto: true, + data: { + "proposal.changeNumberOfHomes.form": ["No"], + }, + }, + XSUy5dDHDv: { + auto: false, + answers: ["w2rV2dDHDv"], + }, + XaYzOFuZeG: { + auto: true, + data: { + "uniform.consentRegime": ["Certificate of Lawfulness"], + }, + }, + ZSw4cvGSqq: { + auto: false, + data: { + "property.drawing.roofPlan": [ + { + url: "https://api.editor.planx.dev/file/private/ha2qdn2z/RoofPlan.pdf", + filename: "RoofPlan.pdf", + cachedSlot: { + id: "VwShrTA-oJVwekLI9Scmz", + url: "https://api.editor.planx.dev/file/private/ha2qdn2z/RoofPlan.pdf", + file: { + path: "RoofPlan.pdf", + size: 79416, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + }, + }, + atDuqx5eRw: { + auto: true, + data: { + "uniform.applicationTo": ["N410"], + }, + }, + auidwdDHDv: { + auto: true, + answers: ["Erj03dDHDv"], + }, + cBeeUUKHCI: { + auto: true, + answers: ["LHt92ualbF"], + }, + d9eN1FNDwZ: { + auto: false, + answers: ["NUf3GlrKrq"], + }, + dTKxWBS9rN: { + auto: true, + answers: ["Lp0ubA5pu2"], + }, + dknMGLlZaS: { + auto: true, + answers: ["oaEgqmt3Mj"], + }, + e6of40mrXE: { + auto: true, + answers: ["09A5vT8dsH"], + }, + e9KicD0vDS: { + auto: true, + data: { + "proposal.treeWorksOnly": ["false"], + }, + }, + eQJQldDHDv: { + auto: false, + answers: ["mOt9KdDHDv"], + }, + eiN5C9wgDe: { + auto: false, + answers: ["tOgSFh7p2N"], + }, + erMj9LH16l: { + auto: true, + data: { + "application.fee.calculated": 103, + }, + }, + f3n8w9wbSg: { + auto: true, + data: { + "application.type": ["ldc.proposed"], + }, + }, + fAMhajodcK: { + auto: false, + answers: ["vIe5DstCCi"], + }, + fVYkQz2pgh: { + auto: true, + data: { + "uniform.applicantInterest": ["Owner"], + }, + }, + fcVT5BucS9: { + auto: true, + answers: ["lUduBBucPp"], + }, + fsu9BOa10m: { + auto: false, + }, + hYuHtyQ82u: { + auto: true, + answers: ["3HkLByRLqu"], + }, + hep91tC6df: { + auto: true, + answers: ["PVf0buLTHy"], + }, + hwylHZOZXA: { + auto: true, + answers: ["o8F4ZxPUdg"], + }, + hy4BpkgxiS: { + auto: true, + data: { + "application.preAppAdvice.form": ["No"], + }, + }, + i9GJE30sNy: { + auto: true, + answers: ["FA8A8gL4qo"], + }, + jElHa4maz7: { + auto: true, + answers: ["SXIAJm69Ab"], + }, + jePQtsHWGM: { + auto: true, + data: { + "applicant.agent.form": ["No"], + }, + }, + jhW9joqZF3: { + auto: true, + answers: ["jqor9SqKdC"], + }, + k6Q5dvmXD1: { + auto: false, + data: { + "proposal.drawing.elevation": [ + { + url: "https://api.editor.planx.dev/file/private/0rpf43jj/Elevations.pdf", + filename: "Elevations.pdf", + cachedSlot: { + id: "s_EFFL8jYh0GwxFsgWE0h", + url: "https://api.editor.planx.dev/file/private/0rpf43jj/Elevations.pdf", + file: { + path: "Elevations.pdf", + size: 116018, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + }, + }, + kH8LltzXsC: { + auto: true, + answers: ["bKvEooIOQF"], + }, + kzn8idDHDv: { + auto: true, + answers: ["kcInpdDHDv"], + }, + lRnk8aGAQw: { + auto: false, + answers: ["k7nh4KPDay"], + }, + lzrCgu2UMX: { + auto: false, + answers: ["8PVjYhoq9X"], + }, + mpDYAZBWJO: { + auto: true, + answers: ["rxUcHsSFwH"], + }, + nRy3DiEUkY: { + auto: false, + answers: ["28dMaldAN9"], + }, + o1tfldDHDv: { + auto: false, + answers: ["2TmlhdDHDv"], + }, + o3pjW1Ewvt: { + auto: true, + data: { + "uniform.isRelated": ["false"], + }, + }, + pZnDl2vCR1: { + auto: true, + data: { + "applicant.interest.form": ["Sole owner"], + }, + }, + qDzpYdDHDv: { + auto: false, + answers: ["AYczpdDHDv"], + }, + qUVxzBucWv: { + auto: false, + }, + rNXirZ267r: { + auto: true, + answers: ["OTLkpJhuh7"], + }, + rySJzQH2mV: { + auto: false, + answers: ["TNMPpI41G7"], + }, + sT4yc1Qw5n: { + auto: false, + data: { + "proposal.extend.area": 24, + }, + }, + scFNodDHDv: { + auto: false, + answers: ["TevZZdDHDv"], + }, + sea3PGmxCZ: { + auto: false, + answers: ["VrrESbMyxA"], + }, + tClUld3roO: { + auto: true, + answers: ["InXbWQrzAo"], + }, + tiiWMdDHDv: { + auto: true, + answers: ["w1ZbqdDHDv"], + }, + tzhExdDHDv: { + auto: true, + answers: ["hu6mVdDHDv"], + }, + uCJDR1VzzH: { + auto: true, + data: { + "application.basisOfLawfulness": ["permittedDevelopment"], + }, + }, + uEWi5CUULe: { + auto: true, + answers: ["flahwTHhxL"], + }, + uYcSdRePXT: { + auto: false, + data: { + "proposal.drawing.roofPlan": [ + { + url: "https://api.editor.planx.dev/file/private/g92g9w65/RoofPlan.pdf", + filename: "RoofPlan.pdf", + cachedSlot: { + id: "ASGWU6xKYQ_VFPUg8vF74", + url: "https://api.editor.planx.dev/file/private/g92g9w65/RoofPlan.pdf", + file: { + path: "RoofPlan.pdf", + size: 79416, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + }, + }, + vW3aRnGD8i: { + auto: false, + answers: ["c68I7NnAPs"], + }, + wCqwaiL60E: { + auto: true, + answers: ["lQrLoTZ4Hi"], + }, + wMA7jBucyt: { + auto: false, + data: { + "proposal.siteArea": 1418.26, + "property.boundary.site": { + type: "Feature", + geometry: { + type: "Polygon", + coordinates: [ + [ + [-0.646633654832832, 51.61556919642334], + [-0.6466296315193095, 51.61554504700152], + [-0.6465049088001171, 51.61551173743314], + [-0.6464512646198194, 51.61522027766699], + [-0.6463131308555524, 51.61522943785954], + [-0.6463037431240002, 51.61520695374722], + [-0.6462487578391951, 51.615222775901515], + [-0.6462393701076429, 51.61520861923739], + [-0.6459456682205124, 51.615292726412235], + [-0.6460489332675857, 51.61561499701554], + [-0.646633654832832, 51.61556919642334], + ], + ], + }, + properties: null, + }, + "proposal.siteArea.hectares": 0.141826, + "property.boundary.site.buffered": { + type: "Feature", + geometry: { + type: "Polygon", + coordinates: [ + [ + [-0.6475370033086114, 51.61517912952115], + [-0.6475304791646056, 51.615143686894534], + [-0.6474859834150044, 51.61501501740428], + [-0.6474020970009039, 51.61489416219748], + [-0.6472820136760072, 51.61478572208753], + [-0.6471303050748967, 51.614693825229125], + [-0.6469527466542662, 51.61462196997686], + [-0.6467560978256921, 51.614572891721444], + [-0.6465478446499682, 51.61454845876994], + [-0.6465206730027817, 51.614548605267], + [-0.6464657854639168, 51.61454001080326], + [-0.646255068594627, 51.6145331409933], + [-0.646229741148224, 51.61453539108265], + [-0.6462078275282843, 51.61453441340132], + [-0.6459911201751132, 51.61455197998924], + [-0.6457844616844772, 51.61459612732214], + [-0.6454907629177721, 51.61468023336199], + [-0.6453120204253557, 51.61474488761412], + [-0.6451562571182359, 51.61482940972914], + [-0.6450291218979636, 51.614930734511006], + [-0.6449352255582322, 51.615045187392376], + [-0.6448779735572823, 51.61516861768304], + [-0.6448594424870248, 51.615296549087816], + [-0.6448803047228773, 51.61542434203707], + [-0.6449835625047058, 51.61574661357491], + [-0.6450417384464279, 51.615867607461176], + [-0.6451352146371245, 51.61597974808089], + [-0.645260715149991, 51.61607910510574], + [-0.6454138415795655, 51.61616219622555], + [-0.6455892271845146, 51.61622610920761], + [-0.6457807249843511, 51.616268603976565], + [-0.6459816232169552, 51.61628819113518], + [-0.6461848806027057, 51.61628418417269], + [-0.6467696106521076, 51.61623838290518], + [-0.646974364094076, 51.616209650068676], + [-0.6471663934487392, 51.616156999610595], + [-0.6473385272791733, 51.616082397805265], + [-0.6474843372462296, 51.61598863070644], + [-0.647598378188012, 51.615879200089154], + [-0.6476763914639571, 51.615758192662575], + [-0.6477154639700333, 51.61563012744028], + [-0.6477141368898316, 51.61549978696978], + [-0.6477101130075604, 51.615475637584886], + [-0.6476622982410574, 51.61533582614553], + [-0.6475681127052794, 51.61520540982381], + [-0.6475370033086114, 51.61517912952115], + ], + ], + }, + properties: {}, + }, + }, + }, + wPBtMBucx8: { + auto: false, + }, + wnfLSSZCat: { + auto: true, + data: { + "proposal.droppedKerbOnly": ["false"], + }, + }, + x86Gqqn9ol: { + auto: true, + data: { + "uniform.siteVisit": ["true"], + }, + }, + yPJSNETmd7: { + auto: true, + data: { + "proposal.visibleFromPublicRealm": ["Information not provided"], + }, + }, + yPVZBqcc1K: { + auto: false, + answers: ["SsXkQovF9D"], + }, + zHTBssREEw: { + auto: false, + answers: ["H8jVd74Mv4"], + }, + zrzylofeuv: { + auto: false, + data: { + "property.drawing.elevation": [ + { + url: "https://api.editor.planx.dev/file/private/tw50m88n/Elevations.pdf", + filename: "Elevations.pdf", + cachedSlot: { + id: "jXqpQRlQ41ozp1ecXgld3", + url: "https://api.editor.planx.dev/file/private/tw50m88n/Elevations.pdf", + file: { + path: "Elevations.pdf", + size: 116018, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + }, + }, + }, + payments: [], + invitations_to_pay: [], +}; diff --git a/src/export/digitalPlanning/mocks/planningPermission.ts b/src/export/digitalPlanning/mocks/planningPermission.ts new file mode 100644 index 00000000..ee5e4dda --- /dev/null +++ b/src/export/digitalPlanning/mocks/planningPermission.ts @@ -0,0 +1,2658 @@ +// https://api.editor.planx.dev/admin/session/81bcaa0f-baf5-4573-ba0a-ea868c573faf/summary +export const mockPlanningPermissionSession = { + flow: { + id: "01e38c5d-e701-4e44-acdc-4d6b5cc3b854", + slug: "apply-for-planning-permission", + team: { + slug: "lambeth", + }, + }, + created_at: "2023-08-31T17:33:46.22695+00:00", + updated_at: "2023-09-21T09:49:05.072265+00:00", + submitted_at: null, + locked_at: null, + sanitised_at: null, + email: "example@example.com", + passport: { + _nots: { + "property.constraints.planning": [ + "article4", + "listed", + "locallyListed", + "registeredPark", + "designated.conservationArea", + "designated.AONB", + "designated.nationalPark", + "designated.nationalPark.broads", + "designated.WHS", + "designated.SPA", + "monument", + "tpo", + "nature.SSSI", + "nature.SAC", + "nature.ASNW", + "designated", + "article4.lambeth.caz", + "road.classified", + ], + }, + _address: { + x: 530787, + y: 175754, + pao: "40", + town: "LONDON", + uprn: "100021892955", + usrn: "21901294", + title: "40, STANSFIELD ROAD, LONDON", + source: "os", + street: "STANSFIELD ROAD", + latitude: 51.4656522, + postcode: "SW9 9RZ", + blpu_code: "2", + longitude: -0.1185926, + planx_value: "residential.dwelling.house.terrace", + organisation: null, + planx_description: "Terrace", + single_line_address: "40, STANSFIELD ROAD, LONDON, LAMBETH, SW9 9RZ", + }, + "user.role": ["proxy"], + "0Dyfs4S5jG": "Metallic cladding, reflective. Multiple colours.", + BpAMJoP25E: "Zinc panels", + O9Uej0Dk9H: "Wood, painted.", + R3zAy6ez8n: "Wooden sash windows, painted white", + frGuJV6OZa: "London stock brick", + k9c3xtUhBN: "Grey slate", + rH87NM67xt: "No door present", + v9fPz73Nuh: "Brushed steel.", + _constraints: [ + { + metadata: { + tpo: { + name: "Tree preservation zone", + text: "A Tree Preservation Order (TPO) can be placed on single trees, groups of trees and even whole woodlands. Tree Preservation Orders are made by local planning authorities following [guidance](https://www.gov.uk/guidance/tree-preservation-orders-and-trees-in-conservation-areas) provided by the [Department for Levelling Up, Housing and Communities](https://www.gov.uk/government/organisations/department-for-levelling-up-housing-and-communities).\n\nEach [tree preservation order](/dataset/tree-preservation-order) may apply to a number of tree preservation order zones, and a number of individual [trees](/dataset/tree).\n\nThis dataset contains data from [a small group of local planning authorities](/about/) who we are working with to develop a [data specification for tree preservation orders](https://www.digital-land.info/guidance/specifications/tree-preservation-order).", + plural: "Trees preservation zones", + prefix: "", + themes: ["environment"], + dataset: "tree-preservation-zone", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q10884", + wikipedia: "Tree", + collection: "tree-preservation-order", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "An area covered by a tree preservation order", + "entity-count": { + count: 13161, + dataset: "tree-preservation-zone", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": "© Crown copyright and database right 2023", + }, + listed: { + name: "Listed building outline", + text: "The geospatial boundary for [listed buildings](https://historicengland.org.uk/listing/what-is-designation/listed-buildings) as designated by [Historic England](https://historicengland.org.uk/) as collected from local planning authorities.\n\nWe are [working with a group of local planning authorities](/about/) to help them publish their data to inform planning decisions, and to develop a [data specification for listed building outlines](https://www.digital-land.info/guidance/specifications/listed-building).\n\nWe expect to eventually merge this dataset with the [listed building](/dataset/listed-building) dataset.", + plural: "Listed building outlines", + prefix: "", + themes: ["heritage"], + dataset: "listed-building-outline", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q570600", + wikipedia: "Listed_building", + collection: "listed-building", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "boundary of a listed building", + "entity-count": { + count: 12237, + dataset: "listed-building-outline", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#F9C744", + }, + "attribution-text": "© Crown copyright and database right 2023", + }, + article4: { + name: "Article 4 direction area", + text: "A local planning authority may create an [article 4 direction](https://www.gov.uk/guidance/when-is-permission-required#article-4-direction) to alter or remove [permitted development rights](https://www.gov.uk/government/publications/permitted-development-rights-for-householders-technical-guidance) from a building or area.\n\nEach [article 4 direction](/dataset/article-4-direction) may apply to one or more article 4 direction areas, each with one or more [article 4 direction rules](/dataset/article-4-direction-rule).\n\nThis dataset contains data from [a small group of local planning authorities](/about/) who we are working with to develop a [data specification for article 4 directions](https://www.digital-land.info/guidance/specifications/article-4-direction).", + plural: "Article 4 direction areas", + prefix: "", + themes: ["heritage"], + dataset: "article-4-direction-area", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "", + wikipedia: "", + collection: "article-4-direction", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: + "Orders made by the local planning authority to remove all or some of the permitted development rights on a site in order to protect it", + "entity-count": { + count: 1369, + dataset: "article-4-direction-area", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": "© Crown copyright and database right 2023", + }, + monument: { + name: "Scheduled monument", + text: "Historic buildings or sites such as Roman remains, burial mounds, castles, bridges, earthworks, the remains of deserted villages and industrial sites can be designated scheduled monuments by the Secretary of State for [Digital, Culture, Media and Sport](https://www.gov.uk/government/organisations/department-for-digital-culture-media-sport). \n\nThis list of scheduled monuments is kept and maintained by [Historic England](https://historicengland.org.uk/).", + plural: "Scheduled monuments", + prefix: "", + themes: ["heritage"], + dataset: "scheduled-monument", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q219538", + wikipedia: "Scheduled_monument", + collection: "historic-england", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: "", + "entity-count": { + count: 19935, + dataset: "scheduled-monument", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#0F9CDA", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + "nature.SAC": { + name: "Special area of conservation", + text: "Special areas of conservation (SACs) are area of land which have been designated by\n[DEFRA](https://www.gov.uk/government/organisations/department-for-environment-food-rural-affairs),\nwith advice from the [Joint Nature Conservation Committee](https://jncc.gov.uk/),\nto protect specific habitats and species.\n\nDEFRA and [Natural England](https://www.gov.uk/government/organisations/natural-england) publish\n[guidance](https://www.gov.uk/guidance/protected-sites-and-areas-how-to-review-planning-applications)\non how to review planning applications in protected sites and areas.", + plural: "Special areas of conservation", + prefix: "", + themes: ["environment"], + dataset: "special-area-of-conservation", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q1191622", + wikipedia: "Special_Area_of_Conservation", + collection: "special-area-of-conservation", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: "", + "entity-count": { + count: 256, + dataset: "special-area-of-conservation", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#7A8705", + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "nature.ASNW": { + name: "Ancient woodland", + text: "An area designated as ancient woodland by Natural England.\n\nNatural England and Forestry Commission [Guidance](https://www.gov.uk/guidance/ancient-woodland-and-veteran-trees-protection-surveys-licences) is used in planning decisions.", + plural: "Ancient woodlands", + prefix: "", + themes: ["environment"], + dataset: "ancient-woodland", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q3078732", + wikipedia: "Ancient_woodland", + collection: "ancient-woodland", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: + "An area that’s been wooded continuously since at least 1600 AD", + "entity-count": { + count: 44355, + dataset: "ancient-woodland", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#00703c", + opacity: 0.2, + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "nature.SSSI": { + name: "Site of special scientific interest", + text: "Sites of special scientific interest (SSSI) are nationally protected sites that have features such as wildlife or geology. \n\nSSSIs are designated by [Natural England](https://www.gov.uk/government/organisations/natural-england).\nThere is [guidance](https://www.gov.uk/guidance/protected-areas-sites-of-special-scientific-interest) to help local authorities decide on planning applications in protected SSSIs.", + plural: "Sites of special scientific interest", + prefix: "", + themes: ["environment"], + dataset: "site-of-special-scientific-interest", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q422211", + wikipedia: "Site_of_Special_Scientific_Interest", + collection: "site-of-special-scientific-interest", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: "", + "entity-count": { + count: 4128, + dataset: "site-of-special-scientific-interest", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#308fac", + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "article4.caz": { + name: "Central activities zone", + text: "The [Greater London Authority](https://www.london.gov.uk/) (GLA) designates a central area of London with [implications for planning](https://www.london.gov.uk/what-we-do/planning/implementing-london-plan/london-plan-guidance-and-spgs/central-activities-zone)\nThis dataset combines data provided by the GLA with the boundary from the individual London boroughs.", + plural: "Central activities zones", + prefix: "", + themes: ["development"], + dataset: "central-activities-zone", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "", + wikipedia: "", + collection: "central-activities-zone", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "", + "entity-count": { + count: 10, + dataset: "central-activities-zone", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": "© Crown copyright and database right 2023", + }, + locallyListed: { + name: "Locally listed building", + text: "A building or site in a local planning authority’s area that make a positive contribution to its local character and sense of place because of their heritage value. Although such heritage assets may not be nationally designated or even located within the boundaries of a conservation area, they may be offered some level of protection by the local planning authority identifying them on a formally adopted list of local heritage assets.\n\nThis is an experimental dataset of locally listed buildings found on [data.gov.uk](https://www.data.gov.uk/search?q=locally+listed+buildings).\nWe are [working with a group of local planning authorities](/about/) to help them publish their locally listed buildings, and to develop a data specification for locally listed buildings.", + plural: "Locally listed buildings", + prefix: "", + themes: ["heritage"], + dataset: "locally-listed-building", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q570600", + wikipedia: "Listed_building#Locally_listed_buildings", + collection: "listed-building", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "locally listed heritage assets, including buildings", + "entity-count": { + count: 448, + dataset: "locally-listed-building", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#F9C744", + }, + "attribution-text": "© Crown copyright and database right 2023", + }, + "designated.SPA": { + name: "Special protection area", + text: "[Special protection areas](https://naturalengland-defra.opendata.arcgis.com/maps/Defra::special-protection-areas-england/about) is an area designated \nfor the protection of birds and wildlife. This dataset is provided by [Natural England](https://www.gov.uk/government/organisations/natural-england).", + plural: "Special protection areas", + prefix: "", + themes: ["environment"], + dataset: "special-protection-area", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "", + wikipedia: "", + collection: "special-protection-area", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: "", + "entity-count": { + count: 88, + dataset: "special-protection-area", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "designated.WHS": { + name: "World heritage site buffer zone", + text: "A [World Heritage Site](/dataset/world-heritage-site) may have a [buffer zone](https://whc.unesco.org/en/series/25/) with implications for planning.", + plural: "World heritage site buffer zones", + prefix: "", + themes: ["heritage"], + dataset: "world-heritage-site-buffer-zone", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q9259", + wikipedia: "World_Heritage_Site", + collection: "historic-england", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: "", + "entity-count": { + count: 8, + dataset: "world-heritage-site-buffer-zone", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#EB1EE5", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + registeredPark: { + name: "Historic parks and gardens", + text: "Historic parks and gardens as listed by [Historic England](https://historicengland.org.uk/) in the [Register of Parks and Gardens of Special Historic Interest](https://historicengland.org.uk/listing/what-is-designation/registered-parks-and-gardens/).", + plural: "Parks and gardens", + prefix: "", + themes: ["environment", "heritage"], + dataset: "park-and-garden", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q6975250", + wikipedia: + "Register_of_Historic_Parks_and_Gardens_of_Special_Historic_Interest_in_England", + collection: "historic-england", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: "", + "entity-count": { + count: 1699, + dataset: "park-and-garden", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#0EB951", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + "designated.AONB": { + name: "Area of outstanding natural beauty", + text: "An area of outstanding natural beauty (AONB) as designated by [Natural England](https://www.gov.uk/government/organisations/natural-england).\n\nNatural England provides [guidance](https://www.gov.uk/guidance/protected-sites-and-areas-how-to-review-planning-applications) to help local authorities decide on planning applications in protected sites and areas.", + plural: "Areas of outstanding natural beauty", + prefix: "", + themes: ["environment"], + dataset: "area-of-outstanding-natural-beauty", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q174945", + wikipedia: "Area_of_Outstanding_Natural_Beauty", + collection: "area-of-outstanding-natural-beauty", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: + "Land protected by law to conserve and enhance its natural beauty", + "entity-count": { + count: 34, + dataset: "area-of-outstanding-natural-beauty", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#d53880", + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "designated.nationalPark": { + name: "National park", + text: "The administrative boundaries of [national park authorities](/dataset/national-park-authority) in England as provided by the ONS for the purposes of producing statistics.", + plural: "National parks", + prefix: "statistical-geography", + themes: ["heritage"], + dataset: "national-park", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q60256727", + wikipedia: "National_park", + collection: "national-park", + "entry-date": "", + "start-date": "", + attribution: "ons-boundary", + description: "", + "entity-count": { + count: 10, + dataset: "national-park", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#3DA52C", + }, + "attribution-text": + "Source: Office for National Statistics licensed under the Open Government Licence v.3.0\nContains OS data © Crown copyright and database right 2023", + }, + "designated.conservationArea": { + name: "Conservation area", + text: "Local planning authorities are responsible for designating conservation areas, though [Historic England](https://historicengland.org.uk/) and the Secretary of State also have powers to create them.\n\nThis dataset also contains the boundaries of conservation areas from Historic England, as well as other data found on [data.gov.uk](https://www.data.gov.uk/search?q=conservation+area) and currently contains a number of duplicate areas we are working to remove.\n\nWe are also [working with a group of local planning authorities](/about/) to help them publish their conservation areas, and to develop a [data specification for conservation areas](https://www.digital-land.info/guidance/specifications/conservation-area).\n\nHistoric England provide [guidance](https://historicengland.org.uk/advice/your-home/owning-historic-property/conservation-area/) to help householders understand the implications of living in a conservation area for planning applications.", + plural: "Conservation areas", + prefix: "", + themes: ["heritage"], + dataset: "conservation-area", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q5162904", + wikipedia: "Conservation_area_(United_Kingdom)", + collection: "conservation-area", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: + "Special architectural or historic interest, the character or appearance of which it is desirable to preserve or enhance", + "entity-count": { + count: 8600, + dataset: "conservation-area", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#78AA00", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + }, + constraints: { + tpo: { + fn: "tpo", + text: "is not in a Tree Preservation Order (TPO) Zone", + value: false, + category: "Trees", + }, + listed: { + fn: "listed", + text: "is not, or is not within, a Listed Building", + value: false, + category: "Heritage and conservation", + }, + article4: { + fn: "article4", + text: "is not subject to local permitted development restrictions (known as Article 4 directions)", + value: false, + category: "General policy", + }, + monument: { + fn: "monument", + text: "is not the site of a Scheduled Monument", + value: false, + category: "Heritage and conservation", + }, + designated: { + value: false, + }, + "nature.SAC": { + fn: "nature.SAC", + text: "is not in a Special Area of Conservation (SAC)", + value: false, + category: "Ecology", + }, + "nature.ASNW": { + fn: "nature.ASNW", + text: "is not in an Ancient Semi-Natural Woodland (ASNW)", + value: false, + category: "Ecology", + }, + "nature.SSSI": { + fn: "nature.SSSI", + text: "is not a Site of Special Scientific Interest (SSSI)", + value: false, + category: "Ecology", + }, + locallyListed: { + fn: "locallyListed", + text: "is not, or is not within, a Locally Listed Building", + value: false, + category: "Heritage and conservation", + }, + "designated.SPA": { + fn: "designated.SPA", + text: "is not in a Special Protection Area (SPA)", + value: false, + category: "Heritage and conservation", + }, + "designated.WHS": { + fn: "designated.WHS", + text: "is not an UNESCO World Heritage Site", + value: false, + category: "Heritage and conservation", + }, + registeredPark: { + fn: "registeredPark", + text: "is not in a Historic Park or Garden", + value: false, + category: "Heritage and conservation", + }, + "designated.AONB": { + fn: "designated.AONB", + text: "is not in an Area of Outstanding Natural Beauty", + value: false, + category: "Heritage and conservation", + }, + "article4.lambeth.caz": { + fn: "article4.caz", + text: "is not in the Central Activities Zone", + value: false, + category: "General policy", + }, + "designated.nationalPark": { + fn: "designated.nationalPark", + text: "is not in a National Park", + value: false, + category: "Heritage and conservation", + }, + "designated.conservationArea": { + fn: "designated.conservationArea", + text: "is not in a Conservation Area", + value: false, + category: "Heritage and conservation", + }, + "designated.nationalPark.broads": { + fn: "designated.nationalPark.broads", + value: false, + }, + }, + planxRequest: + "https://api.editor.planx.dev/gis/lambeth?geom=POLYGON+%28%28-0.1186569035053321+51.465703531871384%2C+-0.1185938715934822+51.465724418998775%2C+-0.1184195280075143+51.46552473766957%2C+-0.11848390102387167+51.4655038504508%2C+-0.1186569035053321+51.465703531871384%29%29&analytics=false&sessionId=81bcaa0f-baf5-4573-ba0a-ea868c573faf", + sourceRequest: + "https://www.planning.data.gov.uk/entity.json?entries=current&geometry=POLYGON+%28%28-0.1186569035053321+51.465703531871384%2C+-0.1185938715934822+51.465724418998775%2C+-0.1184195280075143+51.46552473766957%2C+-0.11848390102387167+51.4655038504508%2C+-0.1186569035053321+51.465703531871384%29%29&geometry_relation=intersects&limit=100&dataset=article-4-direction-area&dataset=central-activities-zone&dataset=listed-building&dataset=listed-building-outline&dataset=locally-listed-building&dataset=park-and-garden&dataset=conservation-area&dataset=area-of-outstanding-natural-beauty&dataset=national-park&dataset=world-heritage-site&dataset=world-heritage-site-buffer-zone&dataset=special-protection-area&dataset=scheduled-monument&dataset=tree&dataset=tree-preservation-order&dataset=tree-preservation-zone&dataset=site-of-special-scientific-interest&dataset=special-area-of-conservation&dataset=ancient-woodland", + }, + { + metadata: { + "road.classified": { + name: "Classified road", + text: "This will effect your project if you are looking to add a dropped kerb. It may also impact some agricultural or forestry projects within 25 metres of a classified road.", + plural: "Classified roads", + }, + }, + constraints: { + "road.classified": { + fn: "road.classified", + text: "is not on a Classified Road", + value: false, + category: "General policy", + }, + }, + planxRequest: "https://api.editor.planx.dev/roads?usrn=21901294", + sourceRequest: + "https://api.os.uk/features/v1/wfs?service=WFS&request=GetFeature&version=2.0.0&typeNames=Highways_RoadLink&outputFormat=GEOJSON&srsName=urn%3Aogc%3Adef%3Acrs%3AEPSG%3A%3A4326&count=1&filter=%0A++++%3Cogc%3AFilter%3E%0A++++++%3Cogc%3APropertyIsLike+wildCard%3D%22%25%22+singleChar%3D%22%23%22+escapeChar%3D%22%21%22%3E%0A++++++++%3Cogc%3APropertyName%3EFormsPartOf%3C%2Fogc%3APropertyName%3E%0A++++++++%3Cogc%3ALiteral%3E%25Street%23usrn21901294%25%3C%2Fogc%3ALiteral%3E%0A++++++%3C%2Fogc%3APropertyIsLike%3E%0A++++%3C%2Fogc%3AFilter%3E%0A++&", + }, + ], + "property.EPC": ["false"], + "property.type": ["residential.dwelling.house.terrace"], + "applicant.type": ["individual"], + "applicant.title": "Mr", + "property.region": ["London"], + "application.type": ["pp.full.householder"], + "proposal.started": ["false"], + "applicant.interest": ["owner.sole"], + "applicant.resident": ["true"], + "applicant.name.last": "Bowie", + "proposal.start.date": "2024-05-01", + "applicant.agent.form": ["Yes"], + "applicant.name.first": "David", + "property.titleNumber": ["unknown"], + "proposal.description": + "Roof extension to the rear of the property, incorporating starship launchpad.", + "proposal.extend.area": 45, + "proposal.projectType": ["extend.roof.dormer"], + "applicant.agent.email": "ziggy@example.com", + "applicant.agent.title": "Mx", + "applicant.siteContact": ["proxy"], + "property.EPCKnown.form": ["The property does not have one"], + "property.boundary.area": 125.92, + "property.boundary.site": { + type: "Feature", + geometry: { + type: "Polygon", + coordinates: [ + [ + [-0.1186569035053321, 51.465703531871384], + [-0.1185938715934822, 51.465724418998775], + [-0.1184195280075143, 51.46552473766957], + [-0.11848390102387167, 51.4655038504508], + [-0.1186569035053321, 51.465703531871384], + ], + ], + }, + properties: null, + }, + "proposal.floorArea.new": ["lessThan100"], + "proposal.treeWorksOnly": ["false"], + "applicant.agent.address": { + town: "London", + line1: "40 Stansfield Road", + line2: "Brixton", + county: "Greater London", + country: "UK", + postcode: "SW9 9RZ", + }, + "applicant.interest.form": ["Sole owner"], + "application.fee.payable": 206, + "proposal.vehicleParking": [ + "cars.offStreet.residents", + "bicycles.offStreet", + ], + "_contact.applicant.agent": { + "applicant.agent": { + email: "ziggy@example.com", + phone: "01100 0110 0011", + title: "Mx", + lastName: "Stardust", + firstName: "Ziggy", + organisation: "", + }, + }, + "application.preAppAdvice": ["false"], + "application.resubmission": ["false"], + "heritageStatement.needed": ["no"], + "proposal.completion.date": "2024-05-02", + "proposal.droppedKerbOnly": ["false"], + "applicant.agent.name.last": "Stardust", + "property.drawing.roofPlan": [ + { + url: "https://api.editor.planx.dev/file/private/vg0av01p/RoofPlan.pdf", + rule: { + fn: "proposal.projectType", + val: "extend.roof", + operator: "Equals", + condition: "RequiredIf", + }, + filename: "RoofPlan.pdf", + cachedSlot: { + id: "PuYGWU1IgUhlnUTwKaenu", + url: "https://api.editor.planx.dev/file/private/vg0av01p/RoofPlan.pdf", + file: { + path: "RoofPlan.pdf", + size: 79416, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "property.drawing.sitePlan": [ + { + url: "https://api.editor.planx.dev/file/private/ka97yl2c/Site%20plan.pdf", + rule: { + fn: "application.sitePlan.recommended", + val: "true", + operator: "Equals", + condition: "RequiredIf", + }, + filename: "Site plan.pdf", + cachedSlot: { + id: "ECplQji8z7HJFdHdZNsZU", + url: "https://api.editor.planx.dev/file/private/ka97yl2c/Site%20plan.pdf", + file: { + path: "Site plan.pdf", + size: 1041815, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "proposal.drawing.roofPlan": [ + { + url: "https://api.editor.planx.dev/file/private/vg0av01p/RoofPlan.pdf", + rule: { + fn: "proposal.projectType", + val: "extend.roof", + operator: "Equals", + condition: "RequiredIf", + }, + filename: "RoofPlan.pdf", + cachedSlot: { + id: "PuYGWU1IgUhlnUTwKaenu", + url: "https://api.editor.planx.dev/file/private/vg0av01p/RoofPlan.pdf", + file: { + path: "RoofPlan.pdf", + size: 79416, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "proposal.drawing.sitePlan": [ + { + url: "https://api.editor.planx.dev/file/private/ka97yl2c/Site%20plan.pdf", + rule: { + fn: "application.sitePlan.recommended", + val: "true", + operator: "Equals", + condition: "RequiredIf", + }, + filename: "Site plan.pdf", + cachedSlot: { + id: "ECplQji8z7HJFdHdZNsZU", + url: "https://api.editor.planx.dev/file/private/ka97yl2c/Site%20plan.pdf", + file: { + path: "Site plan.pdf", + size: 1041815, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "applicant.agent.name.first": "Ziggy", + "applicant.sameAddress.form": ["Yes"], + "application.fee.calculated": 206, + "property.drawing.elevation": [ + { + url: "https://api.editor.planx.dev/file/private/osprppqo/Elevations.pdf", + rule: { + fn: "application.elevations.recommended", + val: "true", + operator: "Equals", + condition: "RequiredIf", + }, + filename: "Elevations.pdf", + cachedSlot: { + id: "hREAKPzyrCX0PeFTk0KQP", + url: "https://api.editor.planx.dev/file/private/osprppqo/Elevations.pdf", + file: { + path: "Elevations.pdf", + size: 116018, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "property.drawing.floorPlan": [ + { + url: "https://api.editor.planx.dev/file/private/cri3ziaj/Plan.pdf", + rule: { + fn: "application.floorPlan.recommended", + val: "true", + operator: "Equals", + condition: "RequiredIf", + }, + filename: "Plan.pdf", + cachedSlot: { + id: "wFnggIhAk85UsfDY2Cx8C", + url: "https://api.editor.planx.dev/file/private/cri3ziaj/Plan.pdf", + file: { + path: "Plan.pdf", + size: 85548, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "proposal.drawing.elevation": [ + { + url: "https://api.editor.planx.dev/file/private/osprppqo/Elevations.pdf", + rule: { + fn: "application.elevations.recommended", + val: "true", + operator: "Equals", + condition: "RequiredIf", + }, + filename: "Elevations.pdf", + cachedSlot: { + id: "hREAKPzyrCX0PeFTk0KQP", + url: "https://api.editor.planx.dev/file/private/osprppqo/Elevations.pdf", + file: { + path: "Elevations.pdf", + size: 116018, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "proposal.drawing.floorPlan": [ + { + url: "https://api.editor.planx.dev/file/private/cri3ziaj/Plan.pdf", + rule: { + fn: "application.floorPlan.recommended", + val: "true", + operator: "Equals", + condition: "RequiredIf", + }, + filename: "Plan.pdf", + cachedSlot: { + id: "wFnggIhAk85UsfDY2Cx8C", + url: "https://api.editor.planx.dev/file/private/cri3ziaj/Plan.pdf", + file: { + path: "Plan.pdf", + size: 85548, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "applicant.agent.phone.primary": "01100 0110 0011", + "application.preAppAdvice.form": ["No"], + "proposal.cars.number.existing": 1, + "proposal.cars.number.proposed": 1, + "property.titleNumberKnown.form": ["No"], + "applicant.ownership.certificate": ["a"], + "property.boundary.area.hectares": 0.012592, + "property.boundary.site.buffered": { + type: "Feature", + geometry: { + type: "Polygon", + coordinates: [ + [ + [-0.11960965083371834, 51.46538315936233], + [-0.11943664539774211, 51.465183479343686], + [-0.11931928543457863, 51.4650747997052], + [-0.1191704216742312, 51.46498230072536], + [-0.11899566818313785, 51.464909470690905], + [-0.11880161527066553, 51.46485905612597], + [-0.1185955809698827, 51.464832958227824], + [-0.11838533509046834, 51.46483216117893], + [-0.11817880624506308, 51.46485669503692], + [-0.11798378289081246, 51.46490563460123], + [-0.11791941048943819, 51.464926521546175], + [-0.11773979059125952, 51.46499975082598], + [-0.11758689174978668, 51.465093618329306], + [-0.11746672474803242, 51.465204434033396], + [-0.11738401375124456, 51.46532784163636], + [-0.11734201056826696, 51.465458989796396], + [-0.11734236677558456, 51.46559272283597], + [-0.11738506873739776, 51.46572378341594], + [-0.1174684380844562, 51.465847019213165], + [-0.11764277873977036, 51.46604670195268], + [-0.11776117132495001, 51.46615549898301], + [-0.11791118748934425, 51.46624792524081], + [-0.11808713020281, 51.46632047063018], + [-0.11828231771386549, 51.46637038006127], + [-0.11848933731696491, 51.46639575809297], + [-0.11870032689540404, 51.46639564092588], + [-0.11890727354233499, 51.4663700330097], + [-0.11910231791211683, 51.466319906874375], + [-0.11916535041380635, 51.466299019474384], + [-0.11934270010976643, 51.466225456700705], + [-0.11949349013034068, 51.46613168124391], + [-0.11961188084501818, 51.46602132484859], + [-0.11969328748603446, 51.46589866137915], + [-0.11973455768111596, 51.465768441290464], + [-0.11973409349603951, 51.465635707645276], + [-0.11969191326666717, 51.46550560080558], + [-0.11960965083371834, 51.46538315936233], + ], + ], + }, + properties: {}, + }, + "property.localAuthorityDistrict": ["Lambeth"], + "proposal.visibleFromPublicRealm": ["Information not provided"], + "applicant.provideApplicantsEmail": ["false"], + "applicant.provideApplicantsPhone": ["false"], + "application.declaration.accurate": ["true"], + "application.fee.reduction.sports": ["false"], + "application.fee.reference.govPay": { + moto: false, + state: { + status: "created", + finished: false, + }, + _links: { + self: { + href: "https://publicapi.payments.service.gov.uk/v1/payments/5673suh81flgoh8idng0jjhq8g", + method: "GET", + }, + cancel: { + href: "https://publicapi.payments.service.gov.uk/v1/payments/5673suh81flgoh8idng0jjhq8g/cancel", + method: "POST", + }, + events: { + href: "https://publicapi.payments.service.gov.uk/v1/payments/5673suh81flgoh8idng0jjhq8g/events", + method: "GET", + }, + refunds: { + href: "https://publicapi.payments.service.gov.uk/v1/payments/5673suh81flgoh8idng0jjhq8g/refunds", + method: "GET", + }, + next_url: { + href: "https://card.payments.service.gov.uk/secure/a9bd4cd2-ca11-447e-a26a-886d362a4c4f", + method: "GET", + }, + next_url_post: { + href: "https://card.payments.service.gov.uk/secure", + type: "application/x-www-form-urlencoded", + method: "POST", + params: { + chargeTokenId: "a9bd4cd2-ca11-447e-a26a-886d362a4c4f", + }, + }, + }, + amount: 206, + language: "en", + reference: "81bcaa0f-baf5-4573-ba0a-ea868c573faf", + payment_id: "5673suh81flgoh8idng0jjhq8g", + return_url: + "https://editor.planx.dev/lambeth/apply-for-planning-permission/preview?sessionId=81bcaa0f-baf5-4573-ba0a-ea868c573faf&email=example%40example.com", + description: "New application", + created_date: "2023-08-31T17:50:43.647Z", + refund_summary: { + status: "pending", + amount_available: 20600, + amount_submitted: 0, + }, + delayed_capture: false, + payment_provider: "sandbox", + authorisation_mode: "web", + settlement_summary: {}, + }, + "application.sitePlan.recommended": ["true"], + "application.floorPlan.recommended": ["true"], + "proposal.bicycles.number.existing": 2, + "proposal.bicycles.number.proposed": 2, + "application.declaration.connection": ["none"], + "application.elevations.recommended": ["true"], + "proposal.cars.club.number.existing": 0, + "proposal.cars.club.number.proposed": 0, + "application.fee.exemption.disability": ["false"], + "application.declaration.accurate.form": ["Yes"], + "application.fee.reduction.alternative": ["false"], + "application.fee.exemption.resubmission": ["false"], + "proposal.cars.disabled.number.existing": 0, + "proposal.cars.disabled.number.proposed": 0, + "application.declaration.connection.form": ["No connections"], + "application.fee.reduction.parishCouncil": ["false"], + "application.floorPlanProposed.recommended": ["true"], + "application.elevationsProposed.recommended": ["true"], + "proposal.bicycles.offStreet.number.existing": 2, + "proposal.bicycles.offStreet.number.proposed": 2, + "proposal.cars.offStreet.residents.number.existing": 1, + "proposal.cars.offStreet.residents.number.proposed": 1, + }, + breadcrumbs: { + "0Dyfs4S5jG": { + auto: false, + data: { + "0Dyfs4S5jG": "Metallic cladding, reflective. Multiple colours.", + }, + }, + "0UTLAZwv5M": { + auto: false, + }, + "0qk0juZgvT": { + auto: true, + answers: ["6cLJGhc43X"], + }, + "2BTvCEtHSg": { + auto: false, + answers: ["w0zJ4Jkv6E"], + }, + "2fPL5miNqx": { + auto: true, + answers: ["ywnW81Ru65"], + }, + "34Qx5DNCwn": { + auto: true, + answers: ["kKl0G7oPno"], + }, + "3bWKJZwv5M": { + auto: true, + answers: ["igwGPZwv5M"], + }, + "3nucvbEiod": { + auto: false, + answers: ["XgfkAdHqJE"], + }, + "4SS9lfFTTq": { + auto: false, + data: { + "proposal.start.date": "2024-05-01", + }, + }, + "5BvOSdcGqe": { + auto: false, + answers: ["phNHyuVqvs"], + }, + "6AiepfFTTq": { + auto: true, + answers: ["iM0mLjWFVD"], + }, + "74H8rZwv5M": { + auto: false, + data: { + _nots: { + "property.constraints.planning": [ + "article4", + "listed", + "locallyListed", + "registeredPark", + "designated.conservationArea", + "designated.AONB", + "designated.nationalPark", + "designated.nationalPark.broads", + "designated.WHS", + "designated.SPA", + "monument", + "tpo", + "nature.SSSI", + "nature.SAC", + "nature.ASNW", + "designated", + "article4.lambeth.caz", + "road.classified", + ], + }, + _constraints: [ + { + metadata: { + tpo: { + name: "Tree preservation zone", + text: "A Tree Preservation Order (TPO) can be placed on single trees, groups of trees and even whole woodlands. Tree Preservation Orders are made by local planning authorities following [guidance](https://www.gov.uk/guidance/tree-preservation-orders-and-trees-in-conservation-areas) provided by the [Department for Levelling Up, Housing and Communities](https://www.gov.uk/government/organisations/department-for-levelling-up-housing-and-communities).\n\nEach [tree preservation order](/dataset/tree-preservation-order) may apply to a number of tree preservation order zones, and a number of individual [trees](/dataset/tree).\n\nThis dataset contains data from [a small group of local planning authorities](/about/) who we are working with to develop a [data specification for tree preservation orders](https://www.digital-land.info/guidance/specifications/tree-preservation-order).", + plural: "Trees preservation zones", + prefix: "", + themes: ["environment"], + dataset: "tree-preservation-zone", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q10884", + wikipedia: "Tree", + collection: "tree-preservation-order", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "An area covered by a tree preservation order", + "entity-count": { + count: 13161, + dataset: "tree-preservation-zone", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": + "© Crown copyright and database right 2023", + }, + listed: { + name: "Listed building outline", + text: "The geospatial boundary for [listed buildings](https://historicengland.org.uk/listing/what-is-designation/listed-buildings) as designated by [Historic England](https://historicengland.org.uk/) as collected from local planning authorities.\n\nWe are [working with a group of local planning authorities](/about/) to help them publish their data to inform planning decisions, and to develop a [data specification for listed building outlines](https://www.digital-land.info/guidance/specifications/listed-building).\n\nWe expect to eventually merge this dataset with the [listed building](/dataset/listed-building) dataset.", + plural: "Listed building outlines", + prefix: "", + themes: ["heritage"], + dataset: "listed-building-outline", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q570600", + wikipedia: "Listed_building", + collection: "listed-building", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "boundary of a listed building", + "entity-count": { + count: 12237, + dataset: "listed-building-outline", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#F9C744", + }, + "attribution-text": + "© Crown copyright and database right 2023", + }, + article4: { + name: "Article 4 direction area", + text: "A local planning authority may create an [article 4 direction](https://www.gov.uk/guidance/when-is-permission-required#article-4-direction) to alter or remove [permitted development rights](https://www.gov.uk/government/publications/permitted-development-rights-for-householders-technical-guidance) from a building or area.\n\nEach [article 4 direction](/dataset/article-4-direction) may apply to one or more article 4 direction areas, each with one or more [article 4 direction rules](/dataset/article-4-direction-rule).\n\nThis dataset contains data from [a small group of local planning authorities](/about/) who we are working with to develop a [data specification for article 4 directions](https://www.digital-land.info/guidance/specifications/article-4-direction).", + plural: "Article 4 direction areas", + prefix: "", + themes: ["heritage"], + dataset: "article-4-direction-area", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "", + wikipedia: "", + collection: "article-4-direction", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: + "Orders made by the local planning authority to remove all or some of the permitted development rights on a site in order to protect it", + "entity-count": { + count: 1369, + dataset: "article-4-direction-area", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": + "© Crown copyright and database right 2023", + }, + monument: { + name: "Scheduled monument", + text: "Historic buildings or sites such as Roman remains, burial mounds, castles, bridges, earthworks, the remains of deserted villages and industrial sites can be designated scheduled monuments by the Secretary of State for [Digital, Culture, Media and Sport](https://www.gov.uk/government/organisations/department-for-digital-culture-media-sport). \n\nThis list of scheduled monuments is kept and maintained by [Historic England](https://historicengland.org.uk/).", + plural: "Scheduled monuments", + prefix: "", + themes: ["heritage"], + dataset: "scheduled-monument", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q219538", + wikipedia: "Scheduled_monument", + collection: "historic-england", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: "", + "entity-count": { + count: 19935, + dataset: "scheduled-monument", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#0F9CDA", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + "nature.SAC": { + name: "Special area of conservation", + text: "Special areas of conservation (SACs) are area of land which have been designated by\n[DEFRA](https://www.gov.uk/government/organisations/department-for-environment-food-rural-affairs),\nwith advice from the [Joint Nature Conservation Committee](https://jncc.gov.uk/),\nto protect specific habitats and species.\n\nDEFRA and [Natural England](https://www.gov.uk/government/organisations/natural-england) publish\n[guidance](https://www.gov.uk/guidance/protected-sites-and-areas-how-to-review-planning-applications)\non how to review planning applications in protected sites and areas.", + plural: "Special areas of conservation", + prefix: "", + themes: ["environment"], + dataset: "special-area-of-conservation", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q1191622", + wikipedia: "Special_Area_of_Conservation", + collection: "special-area-of-conservation", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: "", + "entity-count": { + count: 256, + dataset: "special-area-of-conservation", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#7A8705", + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "nature.ASNW": { + name: "Ancient woodland", + text: "An area designated as ancient woodland by Natural England.\n\nNatural England and Forestry Commission [Guidance](https://www.gov.uk/guidance/ancient-woodland-and-veteran-trees-protection-surveys-licences) is used in planning decisions.", + plural: "Ancient woodlands", + prefix: "", + themes: ["environment"], + dataset: "ancient-woodland", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q3078732", + wikipedia: "Ancient_woodland", + collection: "ancient-woodland", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: + "An area that’s been wooded continuously since at least 1600 AD", + "entity-count": { + count: 44355, + dataset: "ancient-woodland", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#00703c", + opacity: 0.2, + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "nature.SSSI": { + name: "Site of special scientific interest", + text: "Sites of special scientific interest (SSSI) are nationally protected sites that have features such as wildlife or geology. \n\nSSSIs are designated by [Natural England](https://www.gov.uk/government/organisations/natural-england).\nThere is [guidance](https://www.gov.uk/guidance/protected-areas-sites-of-special-scientific-interest) to help local authorities decide on planning applications in protected SSSIs.", + plural: "Sites of special scientific interest", + prefix: "", + themes: ["environment"], + dataset: "site-of-special-scientific-interest", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q422211", + wikipedia: "Site_of_Special_Scientific_Interest", + collection: "site-of-special-scientific-interest", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: "", + "entity-count": { + count: 4128, + dataset: "site-of-special-scientific-interest", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#308fac", + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "article4.caz": { + name: "Central activities zone", + text: "The [Greater London Authority](https://www.london.gov.uk/) (GLA) designates a central area of London with [implications for planning](https://www.london.gov.uk/what-we-do/planning/implementing-london-plan/london-plan-guidance-and-spgs/central-activities-zone)\nThis dataset combines data provided by the GLA with the boundary from the individual London boroughs.", + plural: "Central activities zones", + prefix: "", + themes: ["development"], + dataset: "central-activities-zone", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "", + wikipedia: "", + collection: "central-activities-zone", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "", + "entity-count": { + count: 10, + dataset: "central-activities-zone", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": + "© Crown copyright and database right 2023", + }, + locallyListed: { + name: "Locally listed building", + text: "A building or site in a local planning authority’s area that make a positive contribution to its local character and sense of place because of their heritage value. Although such heritage assets may not be nationally designated or even located within the boundaries of a conservation area, they may be offered some level of protection by the local planning authority identifying them on a formally adopted list of local heritage assets.\n\nThis is an experimental dataset of locally listed buildings found on [data.gov.uk](https://www.data.gov.uk/search?q=locally+listed+buildings).\nWe are [working with a group of local planning authorities](/about/) to help them publish their locally listed buildings, and to develop a data specification for locally listed buildings.", + plural: "Locally listed buildings", + prefix: "", + themes: ["heritage"], + dataset: "locally-listed-building", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q570600", + wikipedia: "Listed_building#Locally_listed_buildings", + collection: "listed-building", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: + "locally listed heritage assets, including buildings", + "entity-count": { + count: 448, + dataset: "locally-listed-building", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#F9C744", + }, + "attribution-text": + "© Crown copyright and database right 2023", + }, + "designated.SPA": { + name: "Special protection area", + text: "[Special protection areas](https://naturalengland-defra.opendata.arcgis.com/maps/Defra::special-protection-areas-england/about) is an area designated \nfor the protection of birds and wildlife. This dataset is provided by [Natural England](https://www.gov.uk/government/organisations/natural-england).", + plural: "Special protection areas", + prefix: "", + themes: ["environment"], + dataset: "special-protection-area", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "", + wikipedia: "", + collection: "special-protection-area", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: "", + "entity-count": { + count: 88, + dataset: "special-protection-area", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "designated.WHS": { + name: "World heritage site buffer zone", + text: "A [World Heritage Site](/dataset/world-heritage-site) may have a [buffer zone](https://whc.unesco.org/en/series/25/) with implications for planning.", + plural: "World heritage site buffer zones", + prefix: "", + themes: ["heritage"], + dataset: "world-heritage-site-buffer-zone", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q9259", + wikipedia: "World_Heritage_Site", + collection: "historic-england", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: "", + "entity-count": { + count: 8, + dataset: "world-heritage-site-buffer-zone", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#EB1EE5", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + registeredPark: { + name: "Historic parks and gardens", + text: "Historic parks and gardens as listed by [Historic England](https://historicengland.org.uk/) in the [Register of Parks and Gardens of Special Historic Interest](https://historicengland.org.uk/listing/what-is-designation/registered-parks-and-gardens/).", + plural: "Parks and gardens", + prefix: "", + themes: ["environment", "heritage"], + dataset: "park-and-garden", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q6975250", + wikipedia: + "Register_of_Historic_Parks_and_Gardens_of_Special_Historic_Interest_in_England", + collection: "historic-england", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: "", + "entity-count": { + count: 1699, + dataset: "park-and-garden", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#0EB951", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + "designated.AONB": { + name: "Area of outstanding natural beauty", + text: "An area of outstanding natural beauty (AONB) as designated by [Natural England](https://www.gov.uk/government/organisations/natural-england).\n\nNatural England provides [guidance](https://www.gov.uk/guidance/protected-sites-and-areas-how-to-review-planning-applications) to help local authorities decide on planning applications in protected sites and areas.", + plural: "Areas of outstanding natural beauty", + prefix: "", + themes: ["environment"], + dataset: "area-of-outstanding-natural-beauty", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q174945", + wikipedia: "Area_of_Outstanding_Natural_Beauty", + collection: "area-of-outstanding-natural-beauty", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: + "Land protected by law to conserve and enhance its natural beauty", + "entity-count": { + count: 34, + dataset: "area-of-outstanding-natural-beauty", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#d53880", + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "designated.nationalPark": { + name: "National park", + text: "The administrative boundaries of [national park authorities](/dataset/national-park-authority) in England as provided by the ONS for the purposes of producing statistics.", + plural: "National parks", + prefix: "statistical-geography", + themes: ["heritage"], + dataset: "national-park", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q60256727", + wikipedia: "National_park", + collection: "national-park", + "entry-date": "", + "start-date": "", + attribution: "ons-boundary", + description: "", + "entity-count": { + count: 10, + dataset: "national-park", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#3DA52C", + }, + "attribution-text": + "Source: Office for National Statistics licensed under the Open Government Licence v.3.0\nContains OS data © Crown copyright and database right 2023", + }, + "designated.conservationArea": { + name: "Conservation area", + text: "Local planning authorities are responsible for designating conservation areas, though [Historic England](https://historicengland.org.uk/) and the Secretary of State also have powers to create them.\n\nThis dataset also contains the boundaries of conservation areas from Historic England, as well as other data found on [data.gov.uk](https://www.data.gov.uk/search?q=conservation+area) and currently contains a number of duplicate areas we are working to remove.\n\nWe are also [working with a group of local planning authorities](/about/) to help them publish their conservation areas, and to develop a [data specification for conservation areas](https://www.digital-land.info/guidance/specifications/conservation-area).\n\nHistoric England provide [guidance](https://historicengland.org.uk/advice/your-home/owning-historic-property/conservation-area/) to help householders understand the implications of living in a conservation area for planning applications.", + plural: "Conservation areas", + prefix: "", + themes: ["heritage"], + dataset: "conservation-area", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q5162904", + wikipedia: "Conservation_area_(United_Kingdom)", + collection: "conservation-area", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: + "Special architectural or historic interest, the character or appearance of which it is desirable to preserve or enhance", + "entity-count": { + count: 8600, + dataset: "conservation-area", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#78AA00", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + }, + constraints: { + tpo: { + fn: "tpo", + text: "is not in a Tree Preservation Order (TPO) Zone", + value: false, + category: "Trees", + }, + listed: { + fn: "listed", + text: "is not, or is not within, a Listed Building", + value: false, + category: "Heritage and conservation", + }, + article4: { + fn: "article4", + text: "is not subject to local permitted development restrictions (known as Article 4 directions)", + value: false, + category: "General policy", + }, + monument: { + fn: "monument", + text: "is not the site of a Scheduled Monument", + value: false, + category: "Heritage and conservation", + }, + designated: { + value: false, + }, + "nature.SAC": { + fn: "nature.SAC", + text: "is not in a Special Area of Conservation (SAC)", + value: false, + category: "Ecology", + }, + "nature.ASNW": { + fn: "nature.ASNW", + text: "is not in an Ancient Semi-Natural Woodland (ASNW)", + value: false, + category: "Ecology", + }, + "nature.SSSI": { + fn: "nature.SSSI", + text: "is not a Site of Special Scientific Interest (SSSI)", + value: false, + category: "Ecology", + }, + locallyListed: { + fn: "locallyListed", + text: "is not, or is not within, a Locally Listed Building", + value: false, + category: "Heritage and conservation", + }, + "designated.SPA": { + fn: "designated.SPA", + text: "is not in a Special Protection Area (SPA)", + value: false, + category: "Heritage and conservation", + }, + "designated.WHS": { + fn: "designated.WHS", + text: "is not an UNESCO World Heritage Site", + value: false, + category: "Heritage and conservation", + }, + registeredPark: { + fn: "registeredPark", + text: "is not in a Historic Park or Garden", + value: false, + category: "Heritage and conservation", + }, + "designated.AONB": { + fn: "designated.AONB", + text: "is not in an Area of Outstanding Natural Beauty", + value: false, + category: "Heritage and conservation", + }, + "article4.lambeth.caz": { + fn: "article4.caz", + text: "is not in the Central Activities Zone", + value: false, + category: "General policy", + }, + "designated.nationalPark": { + fn: "designated.nationalPark", + text: "is not in a National Park", + value: false, + category: "Heritage and conservation", + }, + "designated.conservationArea": { + fn: "designated.conservationArea", + text: "is not in a Conservation Area", + value: false, + category: "Heritage and conservation", + }, + "designated.nationalPark.broads": { + fn: "designated.nationalPark.broads", + value: false, + }, + }, + planxRequest: + "https://api.editor.planx.dev/gis/lambeth?geom=POLYGON+%28%28-0.1186569035053321+51.465703531871384%2C+-0.1185938715934822+51.465724418998775%2C+-0.1184195280075143+51.46552473766957%2C+-0.11848390102387167+51.4655038504508%2C+-0.1186569035053321+51.465703531871384%29%29&analytics=false&sessionId=81bcaa0f-baf5-4573-ba0a-ea868c573faf", + sourceRequest: + "https://www.planning.data.gov.uk/entity.json?entries=current&geometry=POLYGON+%28%28-0.1186569035053321+51.465703531871384%2C+-0.1185938715934822+51.465724418998775%2C+-0.1184195280075143+51.46552473766957%2C+-0.11848390102387167+51.4655038504508%2C+-0.1186569035053321+51.465703531871384%29%29&geometry_relation=intersects&limit=100&dataset=article-4-direction-area&dataset=central-activities-zone&dataset=listed-building&dataset=listed-building-outline&dataset=locally-listed-building&dataset=park-and-garden&dataset=conservation-area&dataset=area-of-outstanding-natural-beauty&dataset=national-park&dataset=world-heritage-site&dataset=world-heritage-site-buffer-zone&dataset=special-protection-area&dataset=scheduled-monument&dataset=tree&dataset=tree-preservation-order&dataset=tree-preservation-zone&dataset=site-of-special-scientific-interest&dataset=special-area-of-conservation&dataset=ancient-woodland", + }, + { + metadata: { + "road.classified": { + name: "Classified road", + text: "This will effect your project if you are looking to add a dropped kerb. It may also impact some agricultural or forestry projects within 25 metres of a classified road.", + plural: "Classified roads", + }, + }, + constraints: { + "road.classified": { + fn: "road.classified", + text: "is not on a Classified Road", + value: false, + category: "General policy", + }, + }, + planxRequest: "https://api.editor.planx.dev/roads?usrn=21901294", + sourceRequest: + "https://api.os.uk/features/v1/wfs?service=WFS&request=GetFeature&version=2.0.0&typeNames=Highways_RoadLink&outputFormat=GEOJSON&srsName=urn%3Aogc%3Adef%3Acrs%3AEPSG%3A%3A4326&count=1&filter=%0A++++%3Cogc%3AFilter%3E%0A++++++%3Cogc%3APropertyIsLike+wildCard%3D%22%25%22+singleChar%3D%22%23%22+escapeChar%3D%22%21%22%3E%0A++++++++%3Cogc%3APropertyName%3EFormsPartOf%3C%2Fogc%3APropertyName%3E%0A++++++++%3Cogc%3ALiteral%3E%25Street%23usrn21901294%25%3C%2Fogc%3ALiteral%3E%0A++++++%3C%2Fogc%3APropertyIsLike%3E%0A++++%3C%2Fogc%3AFilter%3E%0A++&", + }, + ], + }, + }, + "7R9gJrBQoE": { + auto: true, + data: { + "application.sitePlan.recommended": ["true"], + }, + }, + "7dcr1Je2K0": { + auto: false, + answers: ["iPCoroMMoS"], + }, + "7uJKQQSUh3": { + auto: true, + data: { + "application.fee.payable": 206, + }, + }, + "7uoJwZwv5M": { + auto: false, + }, + "8OipifFTTq": { + auto: true, + data: { + "proposal.bicycles.number.proposed": 2, + }, + }, + "8Wz7TKJbeD": { + auto: false, + answers: ["8qqEbCGj97"], + }, + "8kaCyhvpH7": { + auto: false, + answers: ["FuyhClwlwt"], + }, + "8wv6JfFTTq": { + auto: true, + data: { + "property.EPCKnown.form": ["The property does not have one"], + }, + }, + "9jgV3fFTTq": { + auto: true, + data: { + "property.titleNumber": ["unknown"], + }, + }, + A6UR0s9Jpd: { + auto: false, + data: { + "applicant.title": "Mr", + }, + }, + BDulPzfy0y: { + auto: true, + answers: ["pUpoxdQoL7"], + }, + BpAMJoP25E: { + auto: false, + data: { + BpAMJoP25E: "Zinc panels", + }, + }, + CeTm3SnDk8: { + auto: true, + answers: ["d5CGylG8Nr"], + }, + D5kgv5wDtQ: { + auto: true, + answers: ["HY4F4Okno7"], + }, + DRDCupIVGF: { + auto: false, + answers: ["qJOuaBYmPV"], + }, + DxkPbC5fU8: { + auto: false, + answers: ["nucUNAlrcH"], + }, + EDvPrvWQsB: { + auto: true, + answers: ["mZXSevhAi0"], + }, + Ee6KoNMnoz: { + auto: false, + answers: ["dXedv9G09U"], + }, + EpQ6MqN0bc: { + auto: false, + data: { + "applicant.name.first": "David", + }, + }, + FMTSaAgSJU: { + auto: false, + data: { + "applicant.agent.email": "ziggy@example.com", + "applicant.agent.title": "Mx", + "_contact.applicant.agent": { + "applicant.agent": { + email: "ziggy@example.com", + phone: "01100 0110 0011", + title: "Mx", + lastName: "Stardust", + firstName: "Ziggy", + organisation: "", + }, + }, + "applicant.agent.name.last": "Stardust", + "applicant.agent.name.first": "Ziggy", + "applicant.agent.phone.primary": "01100 0110 0011", + }, + }, + Ft7nQ96FWN: { + auto: true, + answers: ["HpbTYicfdV"], + }, + G8r7PDapxD: { + auto: false, + data: { + "applicant.name.last": "Bowie", + }, + }, + H149aYxMJs: { + auto: true, + data: { + "application.fee.reduction.alternative": ["false"], + }, + }, + H5vt0Zwv5M: { + auto: false, + data: { + "property.boundary.area": 125.92, + "property.boundary.site": { + type: "Feature", + geometry: { + type: "Polygon", + coordinates: [ + [ + [-0.1186569035053321, 51.465703531871384], + [-0.1185938715934822, 51.465724418998775], + [-0.1184195280075143, 51.46552473766957], + [-0.11848390102387167, 51.4655038504508], + [-0.1186569035053321, 51.465703531871384], + ], + ], + }, + properties: null, + }, + "property.boundary.area.hectares": 0.012592, + "property.boundary.site.buffered": { + type: "Feature", + geometry: { + type: "Polygon", + coordinates: [ + [ + [-0.11960965083371834, 51.46538315936233], + [-0.11943664539774211, 51.465183479343686], + [-0.11931928543457863, 51.4650747997052], + [-0.1191704216742312, 51.46498230072536], + [-0.11899566818313785, 51.464909470690905], + [-0.11880161527066553, 51.46485905612597], + [-0.1185955809698827, 51.464832958227824], + [-0.11838533509046834, 51.46483216117893], + [-0.11817880624506308, 51.46485669503692], + [-0.11798378289081246, 51.46490563460123], + [-0.11791941048943819, 51.464926521546175], + [-0.11773979059125952, 51.46499975082598], + [-0.11758689174978668, 51.465093618329306], + [-0.11746672474803242, 51.465204434033396], + [-0.11738401375124456, 51.46532784163636], + [-0.11734201056826696, 51.465458989796396], + [-0.11734236677558456, 51.46559272283597], + [-0.11738506873739776, 51.46572378341594], + [-0.1174684380844562, 51.465847019213165], + [-0.11764277873977036, 51.46604670195268], + [-0.11776117132495001, 51.46615549898301], + [-0.11791118748934425, 51.46624792524081], + [-0.11808713020281, 51.46632047063018], + [-0.11828231771386549, 51.46637038006127], + [-0.11848933731696491, 51.46639575809297], + [-0.11870032689540404, 51.46639564092588], + [-0.11890727354233499, 51.4663700330097], + [-0.11910231791211683, 51.466319906874375], + [-0.11916535041380635, 51.466299019474384], + [-0.11934270010976643, 51.466225456700705], + [-0.11949349013034068, 51.46613168124391], + [-0.11961188084501818, 51.46602132484859], + [-0.11969328748603446, 51.46589866137915], + [-0.11973455768111596, 51.465768441290464], + [-0.11973409349603951, 51.465635707645276], + [-0.11969191326666717, 51.46550560080558], + [-0.11960965083371834, 51.46538315936233], + ], + ], + }, + properties: {}, + }, + }, + }, + HDSr8Rwp6W: { + auto: true, + answers: ["xN61YyRRc8"], + }, + HeC2dqzhhB: { + auto: true, + answers: ["YEkrICi69x"], + }, + I03hRPF3ck: { + auto: true, + answers: ["87KjOi5c82"], + }, + JR13ec91W3: { + auto: false, + data: { + "applicant.agent.address": { + town: "London", + line1: "40 Stansfield Road", + line2: "Brixton", + county: "Greater London", + country: "UK", + postcode: "SW9 9RZ", + }, + }, + }, + Ju4DgE4qY6: { + auto: true, + answers: ["5bdLPFNuCS"], + }, + KdV4SfFTTq: { + auto: false, + answers: ["xM888fFTTq"], + }, + L5N8dfFTTq: { + auto: false, + data: { + "proposal.cars.offStreet.residents.number.proposed": 1, + }, + }, + LKIH1WsOMk: { + auto: true, + answers: ["uZS1uVe6H0"], + }, + LmVLqJ2KsL: { + auto: true, + answers: ["QGyTbhkVTw"], + }, + MJXLDfFTTq: { + auto: false, + answers: ["607jgfFTTq", "ld8wffFTTq"], + }, + MekHg7Dd9n: { + auto: false, + data: { + "property.drawing.roofPlan": [ + { + url: "https://api.editor.planx.dev/file/private/vg0av01p/RoofPlan.pdf", + rule: { + fn: "proposal.projectType", + val: "extend.roof", + operator: "Equals", + condition: "RequiredIf", + }, + filename: "RoofPlan.pdf", + cachedSlot: { + id: "PuYGWU1IgUhlnUTwKaenu", + url: "https://api.editor.planx.dev/file/private/vg0av01p/RoofPlan.pdf", + file: { + path: "RoofPlan.pdf", + size: 79416, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "property.drawing.sitePlan": [ + { + url: "https://api.editor.planx.dev/file/private/ka97yl2c/Site%20plan.pdf", + rule: { + fn: "application.sitePlan.recommended", + val: "true", + operator: "Equals", + condition: "RequiredIf", + }, + filename: "Site plan.pdf", + cachedSlot: { + id: "ECplQji8z7HJFdHdZNsZU", + url: "https://api.editor.planx.dev/file/private/ka97yl2c/Site%20plan.pdf", + file: { + path: "Site plan.pdf", + size: 1041815, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "proposal.drawing.roofPlan": [ + { + url: "https://api.editor.planx.dev/file/private/vg0av01p/RoofPlan.pdf", + rule: { + fn: "proposal.projectType", + val: "extend.roof", + operator: "Equals", + condition: "RequiredIf", + }, + filename: "RoofPlan.pdf", + cachedSlot: { + id: "PuYGWU1IgUhlnUTwKaenu", + url: "https://api.editor.planx.dev/file/private/vg0av01p/RoofPlan.pdf", + file: { + path: "RoofPlan.pdf", + size: 79416, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "proposal.drawing.sitePlan": [ + { + url: "https://api.editor.planx.dev/file/private/ka97yl2c/Site%20plan.pdf", + rule: { + fn: "application.sitePlan.recommended", + val: "true", + operator: "Equals", + condition: "RequiredIf", + }, + filename: "Site plan.pdf", + cachedSlot: { + id: "ECplQji8z7HJFdHdZNsZU", + url: "https://api.editor.planx.dev/file/private/ka97yl2c/Site%20plan.pdf", + file: { + path: "Site plan.pdf", + size: 1041815, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "property.drawing.elevation": [ + { + url: "https://api.editor.planx.dev/file/private/osprppqo/Elevations.pdf", + rule: { + fn: "application.elevations.recommended", + val: "true", + operator: "Equals", + condition: "RequiredIf", + }, + filename: "Elevations.pdf", + cachedSlot: { + id: "hREAKPzyrCX0PeFTk0KQP", + url: "https://api.editor.planx.dev/file/private/osprppqo/Elevations.pdf", + file: { + path: "Elevations.pdf", + size: 116018, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "property.drawing.floorPlan": [ + { + url: "https://api.editor.planx.dev/file/private/cri3ziaj/Plan.pdf", + rule: { + fn: "application.floorPlan.recommended", + val: "true", + operator: "Equals", + condition: "RequiredIf", + }, + filename: "Plan.pdf", + cachedSlot: { + id: "wFnggIhAk85UsfDY2Cx8C", + url: "https://api.editor.planx.dev/file/private/cri3ziaj/Plan.pdf", + file: { + path: "Plan.pdf", + size: 85548, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "proposal.drawing.elevation": [ + { + url: "https://api.editor.planx.dev/file/private/osprppqo/Elevations.pdf", + rule: { + fn: "application.elevations.recommended", + val: "true", + operator: "Equals", + condition: "RequiredIf", + }, + filename: "Elevations.pdf", + cachedSlot: { + id: "hREAKPzyrCX0PeFTk0KQP", + url: "https://api.editor.planx.dev/file/private/osprppqo/Elevations.pdf", + file: { + path: "Elevations.pdf", + size: 116018, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "proposal.drawing.floorPlan": [ + { + url: "https://api.editor.planx.dev/file/private/cri3ziaj/Plan.pdf", + rule: { + fn: "application.floorPlan.recommended", + val: "true", + operator: "Equals", + condition: "RequiredIf", + }, + filename: "Plan.pdf", + cachedSlot: { + id: "wFnggIhAk85UsfDY2Cx8C", + url: "https://api.editor.planx.dev/file/private/cri3ziaj/Plan.pdf", + file: { + path: "Plan.pdf", + size: 85548, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + }, + }, + Mil8JC1tFe: { + auto: true, + answers: ["2IIzeyrgQf"], + }, + NgCP1Zwv5M: { + auto: false, + }, + O5NfimNPJ8: { + auto: true, + answers: ["ZmN073xKA9"], + }, + O9Uej0Dk9H: { + auto: false, + data: { + O9Uej0Dk9H: "Wood, painted.", + }, + }, + OOiDEfFTTq: { + auto: false, + answers: ["P7W34fFTTq"], + }, + OPdu2dxcS9: { + auto: true, + data: { + "applicant.ownership.certificate": ["a"], + }, + }, + PLZZznpzgq: { + auto: false, + answers: ["KWpbQlgGMx"], + }, + PuMmafFTTq: { + auto: true, + data: { + "proposal.bicycles.number.existing": 2, + }, + }, + QAZWTVrm3T: { + auto: true, + data: { + "application.fee.reduction.parishCouncil": ["false"], + }, + }, + QEw7EiwKAH: { + auto: true, + data: { + "application.declaration.connection.form": ["No connections"], + }, + }, + QgI87UIDEx: { + auto: true, + answers: ["C8JdGplv5s"], + }, + QvbjAiD1xp: { + auto: true, + answers: ["abygwkOpZp"], + }, + R3zAy6ez8n: { + auto: false, + data: { + R3zAy6ez8n: "Wooden sash windows, painted white", + }, + }, + RGLWyfFTTq: { + auto: false, + data: { + "proposal.bicycles.offStreet.number.existing": 2, + }, + }, + RHp8fZwv5M: { + auto: false, + answers: ["0L3nNZwv5M"], + }, + RLbpPn36il: { + auto: true, + data: { + "application.floorPlanProposed.recommended": ["true"], + }, + }, + RQsUof5f4e: { + auto: true, + answers: ["eISlfQWz8J"], + }, + RxPc5fFTTq: { + auto: false, + answers: ["XE2ySfFTTq"], + }, + SJRiZ1gkrY: { + auto: true, + data: { + "applicant.sameAddress.form": ["Yes"], + }, + }, + SoLrKSKj7H: { + auto: true, + answers: ["QUedStxP6e"], + }, + T2mIeZwv5M: { + auto: true, + answers: ["3AheTZwv5M"], + }, + T3RoEZwv5M: { + auto: false, + data: { + _address: { + x: 530787, + y: 175754, + pao: "40", + town: "LONDON", + uprn: "100021892955", + usrn: "21901294", + title: "40, STANSFIELD ROAD, LONDON", + source: "os", + street: "STANSFIELD ROAD", + latitude: 51.4656522, + postcode: "SW9 9RZ", + blpu_code: "2", + longitude: -0.1185926, + planx_value: "residential.dwelling.house.terrace", + organisation: null, + planx_description: "Terrace", + single_line_address: "40, STANSFIELD ROAD, LONDON, LAMBETH, SW9 9RZ", + }, + "property.type": ["residential.dwelling.house.terrace"], + "property.region": ["London"], + "property.localAuthorityDistrict": ["Lambeth"], + }, + }, + ToPelZwv5M: { + auto: false, + data: { + "application.fee.reference.govPay": { + moto: false, + state: { + status: "created", + finished: false, + }, + _links: { + self: { + href: "https://publicapi.payments.service.gov.uk/v1/payments/5673suh81flgoh8idng0jjhq8g", + method: "GET", + }, + cancel: { + href: "https://publicapi.payments.service.gov.uk/v1/payments/5673suh81flgoh8idng0jjhq8g/cancel", + method: "POST", + }, + events: { + href: "https://publicapi.payments.service.gov.uk/v1/payments/5673suh81flgoh8idng0jjhq8g/events", + method: "GET", + }, + refunds: { + href: "https://publicapi.payments.service.gov.uk/v1/payments/5673suh81flgoh8idng0jjhq8g/refunds", + method: "GET", + }, + next_url: { + href: "https://card.payments.service.gov.uk/secure/a9bd4cd2-ca11-447e-a26a-886d362a4c4f", + method: "GET", + }, + next_url_post: { + href: "https://card.payments.service.gov.uk/secure", + type: "application/x-www-form-urlencoded", + method: "POST", + params: { + chargeTokenId: "a9bd4cd2-ca11-447e-a26a-886d362a4c4f", + }, + }, + }, + amount: 206, + language: "en", + reference: "81bcaa0f-baf5-4573-ba0a-ea868c573faf", + payment_id: "5673suh81flgoh8idng0jjhq8g", + return_url: + "https://editor.planx.dev/lambeth/apply-for-planning-permission/preview?sessionId=81bcaa0f-baf5-4573-ba0a-ea868c573faf&email=example%40example.com", + description: "New application", + created_date: "2023-08-31T17:50:43.647Z", + refund_summary: { + status: "pending", + amount_available: 20600, + amount_submitted: 0, + }, + delayed_capture: false, + payment_provider: "sandbox", + authorisation_mode: "web", + settlement_summary: {}, + }, + }, + }, + UgIznfFTTq: { + auto: true, + data: { + "proposal.cars.club.number.proposed": 0, + }, + }, + UpEO0beCvB: { + auto: false, + answers: ["Yq3RbeuQhZ"], + }, + VAiZjeFPOz: { + auto: false, + answers: ["fuyWwkmK1U"], + }, + WBkwbvfPBi: { + auto: true, + answers: ["Zuv7Q2EMh7"], + }, + WJWP8eaQR3: { + auto: true, + data: { + "applicant.agent.form": ["Yes"], + }, + }, + XDz4UfFTTq: { + auto: false, + data: { + "proposal.cars.offStreet.residents.number.existing": 1, + }, + }, + XZ8ZKy8z6U: { + auto: true, + data: { + "application.type": ["pp.full.householder"], + }, + }, + XweXpZwv5M: { + auto: false, + }, + YLoPjfFTTq: { + auto: false, + data: { + "proposal.cars.number.proposed": 1, + }, + }, + YM6FlfFTTq: { + auto: true, + data: { + "proposal.cars.disabled.number.proposed": 0, + }, + }, + ZPGfXZwv5M: { + auto: true, + answers: ["ePbHoZwv5M"], + }, + ZVPE5MjeNd: { + auto: true, + answers: ["FJCgycNn2P"], + }, + aUOcKZwv5M: { + auto: false, + }, + dknMGLlZaS: { + auto: true, + answers: ["hz5h3omgeQ"], + }, + dyszZMv887: { + auto: true, + answers: ["LIQFcAVcsb"], + }, + e9KichJuaa: { + auto: true, + data: { + "proposal.treeWorksOnly": ["false"], + }, + }, + eUMKffFTTq: { + auto: false, + data: { + "proposal.completion.date": "2024-05-02", + }, + }, + eY70ifFTTq: { + auto: true, + data: { + "property.titleNumberKnown.form": ["No"], + }, + }, + eiN5ChJuaa: { + auto: false, + answers: ["vraivhJuaa"], + }, + frGuJV6OZa: { + auto: false, + data: { + frGuJV6OZa: "London stock brick", + }, + }, + fyFd2QfcsN: { + auto: true, + data: { + "heritageStatement.needed": ["no"], + }, + }, + g01FztvfL0: { + auto: true, + data: { + "application.fee.reduction.sports": ["false"], + }, + }, + g0b2irgCi5: { + auto: true, + data: { + "application.fee.calculated": 206, + }, + }, + gWdARfFTTq: { + auto: false, + answers: ["fADA2fFTTq"], + }, + gpAVtazVRi: { + auto: false, + data: { + "proposal.extend.area": 45, + }, + }, + hYuHtyQ82u: { + auto: true, + answers: ["3HkLByRLqu"], + }, + hlmRDZwv5M: { + auto: false, + }, + hy4BpkgxiS: { + auto: true, + data: { + "application.preAppAdvice.form": ["No"], + }, + }, + iDkX13SHKZ: { + auto: true, + answers: ["eYdn7Fa7nb"], + }, + ifKSiqpfjA: { + auto: true, + data: { + "application.fee.exemption.resubmission": ["false"], + }, + }, + io2FnnF5ww: { + auto: true, + answers: ["lLnkzcvhoF"], + }, + jEyOXZwv5M: { + auto: false, + }, + jhW9joqZF3: { + auto: true, + answers: ["jqor9SqKdC"], + }, + jkGS7LGAID: { + auto: true, + answers: ["pDbALmkBdg"], + }, + k9c3xtUhBN: { + auto: false, + data: { + k9c3xtUhBN: "Grey slate", + }, + }, + kH8LltzXsC: { + auto: true, + answers: ["bKvEooIOQF"], + }, + kP6WjnFuTL: { + auto: false, + answers: ["SXCfHPrkEA"], + }, + kReKi25IZv: { + auto: false, + answers: ["nz3Mlx9E74"], + }, + l4PhqfFTTq: { + auto: false, + data: { + "proposal.cars.number.existing": 1, + }, + }, + lElZ7ZYdvV: { + auto: false, + answers: ["FBp0thf3DI"], + }, + lKNmit5gHr: { + auto: false, + answers: ["VC2gYOorLJ"], + }, + lMy9g3WJeI: { + auto: false, + answers: ["9ciucqOCIv"], + }, + lxsulYnqy2: { + auto: true, + answers: ["3ud0kEJ8ex"], + }, + m1ywRbgU2j: { + auto: true, + data: { + "application.declaration.accurate.form": ["Yes"], + }, + }, + mBU5HhNOpA: { + auto: true, + data: { + "application.type": ["pp.full.householder"], + }, + }, + meQ89VyNZa: { + auto: false, + answers: ["Dgem0iHNYF"], + }, + mi10SfFTTq: { + auto: false, + data: { + "proposal.bicycles.offStreet.number.proposed": 2, + }, + }, + mpDYAZBWJO: { + auto: true, + answers: ["R34ldvRJHr"], + }, + oBiYaZwv5M: { + auto: false, + }, + p6pcH5H3r9: { + auto: false, + answers: ["9U2ADk9SOu"], + }, + pTjrwfFTTq: { + auto: false, + answers: ["wxMPYfFTTq"], + }, + pZnDl2vCR1: { + auto: true, + data: { + "applicant.interest.form": ["Sole owner"], + }, + }, + pbeW9Bgw5q: { + auto: true, + answers: ["IAlWEBgw5q"], + }, + qvEsuZwv5M: { + auto: false, + }, + rH87NM67xt: { + auto: false, + data: { + rH87NM67xt: "No door present", + }, + }, + rO9gYU7xDr: { + auto: true, + data: { + "application.elevations.recommended": ["true"], + }, + }, + s0Nu0py0Qo: { + auto: true, + answers: ["GAQS1I0a8x"], + }, + s2aMN1hmj5: { + auto: true, + data: { + "application.elevationsProposed.recommended": ["true"], + }, + }, + sea3PGmxCZ: { + auto: false, + answers: ["VrrESbMyxA"], + }, + tKaJ7G9edw: { + auto: true, + answers: ["570pkUh6cC"], + }, + tgz5GZwv5M: { + auto: false, + data: { + "proposal.description": + "Roof extension to the rear of the property, incorporating starship launchpad.", + }, + }, + v7ExifFTTq: { + auto: true, + data: { + "proposal.cars.disabled.number.existing": 0, + }, + }, + v9fPz73Nuh: { + auto: false, + data: { + v9fPz73Nuh: "Brushed steel.", + }, + }, + vBZ6E8sPSF: { + auto: false, + answers: ["GtDg9j4eo9"], + }, + wCqwaiL60E: { + auto: true, + answers: ["lQrLoTZ4Hi"], + }, + wnfLShJuaa: { + auto: true, + data: { + "proposal.droppedKerbOnly": ["false"], + }, + }, + x3YXiotP6I: { + auto: true, + data: { + "application.floorPlan.recommended": ["true"], + }, + }, + xPCDRfFTTq: { + auto: true, + data: { + "proposal.cars.club.number.existing": 0, + }, + }, + yFkrjZwv5M: { + auto: false, + }, + yPJSNETmd7: { + auto: true, + data: { + "proposal.visibleFromPublicRealm": ["Information not provided"], + }, + }, + yxnZzbqZfy: { + auto: true, + answers: ["YJpOvJROoD"], + }, + }, + payments: [], + invitations_to_pay: [], +}; diff --git a/src/export/digitalPlanning/mocks/priorApproval.ts b/src/export/digitalPlanning/mocks/priorApproval.ts new file mode 100644 index 00000000..f9e01c4a --- /dev/null +++ b/src/export/digitalPlanning/mocks/priorApproval.ts @@ -0,0 +1,2255 @@ +// https://api.editor.planx.dev/admin/session/b18c301b-9d44-4c6c-8d27-5b5bf33c570b/summary +export const mockPriorApprovalSession = { + flow: { + id: "c6628103-c648-4663-81e1-bfa0a1a18340", + slug: "apply-for-prior-approval", + team: { + slug: "southwark", + }, + }, + created_at: "2023-09-02T13:36:24.49483+00:00", + updated_at: "2023-09-02T14:57:37.269726+00:00", + submitted_at: null, + locked_at: null, + sanitised_at: null, + email: "example@example.com", + passport: { + _nots: { + "property.constraints.planning": [ + "listed", + "locallyListed", + "registeredPark", + "designated.conservationArea", + "designated.AONB", + "designated.nationalPark", + "designated.nationalPark.broads", + "designated.WHS", + "designated.SPA", + "monument", + "tpo", + "nature.SSSI", + "nature.SAC", + "nature.ASNW", + "designated", + "article4.southwark.sunray", + "article4.southwark.publichouse", + "article4.southwark.hmo", + "article4.southwark.railway", + "article4.southwark.southernrail", + "road.classified", + ], + }, + _address: { + x: 532192, + y: 180515, + pao: "21", + town: "LONDON", + uprn: "200003377200", + usrn: "22503078", + title: + "INTERNATIONAL SHAKESPEARE GLOBE CENTRE LTD, SHAKESPEARE GLOBE THEATRE, 21, NEW GLOBE WALK, LONDON", + source: "os", + street: "NEW GLOBE WALK", + latitude: 51.5081109, + postcode: "SE1 9DT", + blpu_code: "2", + longitude: -0.0965974, + planx_value: "commercial.leisure.entertainment", + organisation: "INTERNATIONAL SHAKESPEARE GLOBE CENTRE LTD", + planx_description: + "Bingo Hall / Cinema / Conference / Exhibition Centre / Theatre / Concert Hall", + single_line_address: + "INTERNATIONAL SHAKESPEARE GLOBE CENTRE LTD, SHAKESPEARE GLOBE THEATRE, 21, NEW GLOBE WALK, LONDON, SOUTHWARK, SE1 9DT", + }, + "user.role": ["applicant"], + VmawcRRmIc: + "Addition of solar panels in order to power the globe with green energy.", + _constraints: [ + { + metadata: { + tpo: { + name: "Tree preservation zone", + text: "A Tree Preservation Order (TPO) can be placed on single trees, groups of trees and even whole woodlands. Tree Preservation Orders are made by local planning authorities following [guidance](https://www.gov.uk/guidance/tree-preservation-orders-and-trees-in-conservation-areas) provided by the [Department for Levelling Up, Housing and Communities](https://www.gov.uk/government/organisations/department-for-levelling-up-housing-and-communities).\n\nEach [tree preservation order](/dataset/tree-preservation-order) may apply to a number of tree preservation order zones, and a number of individual [trees](/dataset/tree).\n\nThis dataset contains data from [a small group of local planning authorities](/about/) who we are working with to develop a [data specification for tree preservation orders](https://www.digital-land.info/guidance/specifications/tree-preservation-order).", + plural: "Trees preservation zones", + prefix: "", + themes: ["environment"], + dataset: "tree-preservation-zone", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q10884", + wikipedia: "Tree", + collection: "tree-preservation-order", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "An area covered by a tree preservation order", + "entity-count": { + count: 13161, + dataset: "tree-preservation-zone", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": "© Crown copyright and database right 2023", + }, + listed: { + name: "Listed building outline", + text: "The geospatial boundary for [listed buildings](https://historicengland.org.uk/listing/what-is-designation/listed-buildings) as designated by [Historic England](https://historicengland.org.uk/) as collected from local planning authorities.\n\nWe are [working with a group of local planning authorities](/about/) to help them publish their data to inform planning decisions, and to develop a [data specification for listed building outlines](https://www.digital-land.info/guidance/specifications/listed-building).\n\nWe expect to eventually merge this dataset with the [listed building](/dataset/listed-building) dataset.", + plural: "Listed building outlines", + prefix: "", + themes: ["heritage"], + dataset: "listed-building-outline", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q570600", + wikipedia: "Listed_building", + collection: "listed-building", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "boundary of a listed building", + "entity-count": { + count: 12237, + dataset: "listed-building-outline", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#F9C744", + }, + "attribution-text": "© Crown copyright and database right 2023", + }, + article4: { + name: "Article 4 direction area", + text: "A local planning authority may create an [article 4 direction](https://www.gov.uk/guidance/when-is-permission-required#article-4-direction) to alter or remove [permitted development rights](https://www.gov.uk/government/publications/permitted-development-rights-for-householders-technical-guidance) from a building or area.\n\nEach [article 4 direction](/dataset/article-4-direction) may apply to one or more article 4 direction areas, each with one or more [article 4 direction rules](/dataset/article-4-direction-rule).\n\nThis dataset contains data from [a small group of local planning authorities](/about/) who we are working with to develop a [data specification for article 4 directions](https://www.digital-land.info/guidance/specifications/article-4-direction).", + plural: "Article 4 direction areas", + prefix: "", + themes: ["heritage"], + dataset: "article-4-direction-area", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "", + wikipedia: "", + collection: "article-4-direction", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: + "Orders made by the local planning authority to remove all or some of the permitted development rights on a site in order to protect it", + "entity-count": { + count: 1369, + dataset: "article-4-direction-area", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": "© Crown copyright and database right 2023", + }, + monument: { + name: "Scheduled monument", + text: "Historic buildings or sites such as Roman remains, burial mounds, castles, bridges, earthworks, the remains of deserted villages and industrial sites can be designated scheduled monuments by the Secretary of State for [Digital, Culture, Media and Sport](https://www.gov.uk/government/organisations/department-for-digital-culture-media-sport). \n\nThis list of scheduled monuments is kept and maintained by [Historic England](https://historicengland.org.uk/).", + plural: "Scheduled monuments", + prefix: "", + themes: ["heritage"], + dataset: "scheduled-monument", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q219538", + wikipedia: "Scheduled_monument", + collection: "historic-england", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: "", + "entity-count": { + count: 19935, + dataset: "scheduled-monument", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#0F9CDA", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + "nature.SAC": { + name: "Special area of conservation", + text: "Special areas of conservation (SACs) are area of land which have been designated by\n[DEFRA](https://www.gov.uk/government/organisations/department-for-environment-food-rural-affairs),\nwith advice from the [Joint Nature Conservation Committee](https://jncc.gov.uk/),\nto protect specific habitats and species.\n\nDEFRA and [Natural England](https://www.gov.uk/government/organisations/natural-england) publish\n[guidance](https://www.gov.uk/guidance/protected-sites-and-areas-how-to-review-planning-applications)\non how to review planning applications in protected sites and areas.", + plural: "Special areas of conservation", + prefix: "", + themes: ["environment"], + dataset: "special-area-of-conservation", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q1191622", + wikipedia: "Special_Area_of_Conservation", + collection: "special-area-of-conservation", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: "", + "entity-count": { + count: 256, + dataset: "special-area-of-conservation", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#7A8705", + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "nature.ASNW": { + name: "Ancient woodland", + text: "An area designated as ancient woodland by Natural England.\n\nNatural England and Forestry Commission [Guidance](https://www.gov.uk/guidance/ancient-woodland-and-veteran-trees-protection-surveys-licences) is used in planning decisions.", + plural: "Ancient woodlands", + prefix: "", + themes: ["environment"], + dataset: "ancient-woodland", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q3078732", + wikipedia: "Ancient_woodland", + collection: "ancient-woodland", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: + "An area that’s been wooded continuously since at least 1600 AD", + "entity-count": { + count: 44355, + dataset: "ancient-woodland", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#00703c", + opacity: 0.2, + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "nature.SSSI": { + name: "Site of special scientific interest", + text: "Sites of special scientific interest (SSSI) are nationally protected sites that have features such as wildlife or geology. \n\nSSSIs are designated by [Natural England](https://www.gov.uk/government/organisations/natural-england).\nThere is [guidance](https://www.gov.uk/guidance/protected-areas-sites-of-special-scientific-interest) to help local authorities decide on planning applications in protected SSSIs.", + plural: "Sites of special scientific interest", + prefix: "", + themes: ["environment"], + dataset: "site-of-special-scientific-interest", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q422211", + wikipedia: "Site_of_Special_Scientific_Interest", + collection: "site-of-special-scientific-interest", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: "", + "entity-count": { + count: 4128, + dataset: "site-of-special-scientific-interest", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#308fac", + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "article4.caz": { + name: "Central activities zone", + text: "The [Greater London Authority](https://www.london.gov.uk/) (GLA) designates a central area of London with [implications for planning](https://www.london.gov.uk/what-we-do/planning/implementing-london-plan/london-plan-guidance-and-spgs/central-activities-zone)\nThis dataset combines data provided by the GLA with the boundary from the individual London boroughs.", + plural: "Central activities zones", + prefix: "", + themes: ["development"], + dataset: "central-activities-zone", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "", + wikipedia: "", + collection: "central-activities-zone", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "", + "entity-count": { + count: 10, + dataset: "central-activities-zone", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": "© Crown copyright and database right 2023", + }, + locallyListed: { + name: "Locally listed building", + text: "A building or site in a local planning authority’s area that make a positive contribution to its local character and sense of place because of their heritage value. Although such heritage assets may not be nationally designated or even located within the boundaries of a conservation area, they may be offered some level of protection by the local planning authority identifying them on a formally adopted list of local heritage assets.\n\nThis is an experimental dataset of locally listed buildings found on [data.gov.uk](https://www.data.gov.uk/search?q=locally+listed+buildings).\nWe are [working with a group of local planning authorities](/about/) to help them publish their locally listed buildings, and to develop a data specification for locally listed buildings.", + plural: "Locally listed buildings", + prefix: "", + themes: ["heritage"], + dataset: "locally-listed-building", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q570600", + wikipedia: "Listed_building#Locally_listed_buildings", + collection: "listed-building", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "locally listed heritage assets, including buildings", + "entity-count": { + count: 448, + dataset: "locally-listed-building", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#F9C744", + }, + "attribution-text": "© Crown copyright and database right 2023", + }, + "designated.SPA": { + name: "Special protection area", + text: "[Special protection areas](https://naturalengland-defra.opendata.arcgis.com/maps/Defra::special-protection-areas-england/about) is an area designated \nfor the protection of birds and wildlife. This dataset is provided by [Natural England](https://www.gov.uk/government/organisations/natural-england).", + plural: "Special protection areas", + prefix: "", + themes: ["environment"], + dataset: "special-protection-area", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "", + wikipedia: "", + collection: "special-protection-area", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: "", + "entity-count": { + count: 88, + dataset: "special-protection-area", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "designated.WHS": { + name: "World heritage site buffer zone", + text: "A [World Heritage Site](/dataset/world-heritage-site) may have a [buffer zone](https://whc.unesco.org/en/series/25/) with implications for planning.", + plural: "World heritage site buffer zones", + prefix: "", + themes: ["heritage"], + dataset: "world-heritage-site-buffer-zone", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q9259", + wikipedia: "World_Heritage_Site", + collection: "historic-england", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: "", + "entity-count": { + count: 8, + dataset: "world-heritage-site-buffer-zone", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#EB1EE5", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + registeredPark: { + name: "Historic parks and gardens", + text: "Historic parks and gardens as listed by [Historic England](https://historicengland.org.uk/) in the [Register of Parks and Gardens of Special Historic Interest](https://historicengland.org.uk/listing/what-is-designation/registered-parks-and-gardens/).", + plural: "Parks and gardens", + prefix: "", + themes: ["environment", "heritage"], + dataset: "park-and-garden", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q6975250", + wikipedia: + "Register_of_Historic_Parks_and_Gardens_of_Special_Historic_Interest_in_England", + collection: "historic-england", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: "", + "entity-count": { + count: 1699, + dataset: "park-and-garden", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#0EB951", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + "designated.AONB": { + name: "Area of outstanding natural beauty", + text: "An area of outstanding natural beauty (AONB) as designated by [Natural England](https://www.gov.uk/government/organisations/natural-england).\n\nNatural England provides [guidance](https://www.gov.uk/guidance/protected-sites-and-areas-how-to-review-planning-applications) to help local authorities decide on planning applications in protected sites and areas.", + plural: "Areas of outstanding natural beauty", + prefix: "", + themes: ["environment"], + dataset: "area-of-outstanding-natural-beauty", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q174945", + wikipedia: "Area_of_Outstanding_Natural_Beauty", + collection: "area-of-outstanding-natural-beauty", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: + "Land protected by law to conserve and enhance its natural beauty", + "entity-count": { + count: 34, + dataset: "area-of-outstanding-natural-beauty", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#d53880", + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "designated.nationalPark": { + name: "National park", + text: "The administrative boundaries of [national park authorities](/dataset/national-park-authority) in England as provided by the ONS for the purposes of producing statistics.", + plural: "National parks", + prefix: "statistical-geography", + themes: ["heritage"], + dataset: "national-park", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q60256727", + wikipedia: "National_park", + collection: "national-park", + "entry-date": "", + "start-date": "", + attribution: "ons-boundary", + description: "", + "entity-count": { + count: 10, + dataset: "national-park", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#3DA52C", + }, + "attribution-text": + "Source: Office for National Statistics licensed under the Open Government Licence v.3.0\nContains OS data © Crown copyright and database right 2023", + }, + "designated.conservationArea": { + name: "Conservation area", + text: "Local planning authorities are responsible for designating conservation areas, though [Historic England](https://historicengland.org.uk/) and the Secretary of State also have powers to create them.\n\nThis dataset also contains the boundaries of conservation areas from Historic England, as well as other data found on [data.gov.uk](https://www.data.gov.uk/search?q=conservation+area) and currently contains a number of duplicate areas we are working to remove.\n\nWe are also [working with a group of local planning authorities](/about/) to help them publish their conservation areas, and to develop a [data specification for conservation areas](https://www.digital-land.info/guidance/specifications/conservation-area).\n\nHistoric England provide [guidance](https://historicengland.org.uk/advice/your-home/owning-historic-property/conservation-area/) to help householders understand the implications of living in a conservation area for planning applications.", + plural: "Conservation areas", + prefix: "", + themes: ["heritage"], + dataset: "conservation-area", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q5162904", + wikipedia: "Conservation_area_(United_Kingdom)", + collection: "conservation-area", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: + "Special architectural or historic interest, the character or appearance of which it is desirable to preserve or enhance", + "entity-count": { + count: 8600, + dataset: "conservation-area", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#78AA00", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + }, + constraints: { + tpo: { + fn: "tpo", + text: "is not in a Tree Preservation Order (TPO) Zone", + value: false, + category: "Trees", + }, + listed: { + fn: "listed", + text: "is not, or is not within, a Listed Building", + value: false, + category: "Heritage and conservation", + }, + article4: { + fn: "article4", + data: [ + { + name: "Central Activities Zone", + notes: + "https://www.southwark.gov.uk/planning-and-building-control/planning-policy-and-transport-policy/article-4-directions?chapter=8", + entity: 7010000942, + prefix: "article-4-direction-area", + dataset: "article-4-direction-area", + "end-date": "", + typology: "geography", + reference: "Central Activities Zone", + "entry-date": "2022-04-07", + "start-date": "", + description: + "Change of use from offices to dwelling houses is restricted", + "organisation-entity": "329", + }, + { + name: "Central Activities Zone", + notes: + "http://www.southwark.gov.uk/planning-and-building-control/planning-policy-and-transport-policy/article-4-directions", + entity: 7010000944, + prefix: "article-4-direction-area", + dataset: "article-4-direction-area", + "end-date": "", + typology: "geography", + reference: "Central Activities Zone", + "entry-date": "2022-04-07", + "start-date": "", + description: + "Demolition of commercial buildings and construction of new dwellinghouses is restricted", + "organisation-entity": "329", + }, + { + name: "Bankside and Borough District Town Centre", + notes: + "http://www.southwark.gov.uk/planning-and-building-control/planning-policy-and-transport-policy/article-4-directions", + entity: 7010001042, + prefix: "article-4-direction-area", + dataset: "article-4-direction-area", + "end-date": "", + typology: "geography", + reference: "Bankside and Borough District Town Centre", + "entry-date": "2022-04-07", + "start-date": "", + description: + "Demolition of commercial buildings and construction of new dwellinghouses is restricted", + "organisation-entity": "329", + }, + { + name: "Central Activities Zone", + notes: + "http://www.southwark.gov.uk/planning-and-building-control/planning-policy-and-transport-policy/article-4-directions", + entity: 7010001055, + prefix: "article-4-direction-area", + dataset: "article-4-direction-area", + "end-date": "", + typology: "geography", + reference: "Central Activities Zone", + "entry-date": "2022-04-07", + "start-date": "", + description: + "Change of use from Class E to residential is restricted", + "organisation-entity": "329", + }, + { + name: "Bankside and Borough District Town Centre", + notes: + "http://www.southwark.gov.uk/planning-and-building-control/planning-policy-and-transport-policy/article-4-directions", + entity: 7010001153, + prefix: "article-4-direction-area", + dataset: "article-4-direction-area", + "end-date": "", + typology: "geography", + reference: "Bankside and Borough District Town Centre", + "entry-date": "2022-04-07", + "start-date": "", + description: + "Change of use from Class E to residential is restricted", + "organisation-entity": "329", + }, + ], + text: "is subject to local permitted development restrictions (known as Article 4 directions)", + value: true, + category: "General policy", + }, + monument: { + fn: "monument", + text: "is not the site of a Scheduled Monument", + value: false, + category: "Heritage and conservation", + }, + designated: { + value: false, + }, + "nature.SAC": { + fn: "nature.SAC", + text: "is not in a Special Area of Conservation (SAC)", + value: false, + category: "Ecology", + }, + "nature.ASNW": { + fn: "nature.ASNW", + text: "is not in an Ancient Semi-Natural Woodland (ASNW)", + value: false, + category: "Ecology", + }, + "nature.SSSI": { + fn: "nature.SSSI", + text: "is not a Site of Special Scientific Interest (SSSI)", + value: false, + category: "Ecology", + }, + locallyListed: { + fn: "locallyListed", + text: "is not, or is not within, a Locally Listed Building", + value: false, + category: "Heritage and conservation", + }, + "designated.SPA": { + fn: "designated.SPA", + text: "is not in a Special Protection Area (SPA)", + value: false, + category: "Heritage and conservation", + }, + "designated.WHS": { + fn: "designated.WHS", + text: "is not an UNESCO World Heritage Site", + value: false, + category: "Heritage and conservation", + }, + registeredPark: { + fn: "registeredPark", + text: "is not in a Historic Park or Garden", + value: false, + category: "Heritage and conservation", + }, + "designated.AONB": { + fn: "designated.AONB", + text: "is not in an Area of Outstanding Natural Beauty", + value: false, + category: "Heritage and conservation", + }, + "article4.southwark.MA": { + fn: "article4.southwark.MA", + value: true, + }, + "article4.southwark.caz": { + fn: "article4.caz", + data: [ + { + name: "", + notes: + "P2 New family homes; P29 Office and business development; P30 Affordable workspace", + entity: 2200002, + prefix: "central-activities-zone", + dataset: "central-activities-zone", + "end-date": "", + typology: "geography", + reference: "CAZ00000002", + "entry-date": "2021-11-30", + "start-date": "2018-06-04", + "organisation-entity": "329", + }, + ], + text: "is in the Central Activities Zone", + value: true, + category: "General policy", + }, + "article4.southwark.hmo": { + fn: "article4.southwark.hmo", + value: false, + }, + "designated.nationalPark": { + fn: "designated.nationalPark", + text: "is not in a National Park", + value: false, + category: "Heritage and conservation", + }, + "article4.southwark.sunray": { + fn: "article4.southwark.sunray", + value: false, + }, + "article4.southwark.railway": { + fn: "article4.southwark.railway", + value: false, + }, + "designated.conservationArea": { + fn: "designated.conservationArea", + text: "is not in a Conservation Area", + value: false, + category: "Heritage and conservation", + }, + "article4.southwark.publichouse": { + fn: "article4.southwark.publichouse", + value: false, + }, + "designated.nationalPark.broads": { + fn: "designated.nationalPark.broads", + value: false, + }, + "article4.southwark.southernrail": { + fn: "article4.southwark.southernrail", + value: false, + }, + }, + planxRequest: + "https://api.editor.planx.dev/gis/southwark?geom=POLYGON+%28%28-0.0967472791671659+51.50830340605074%2C+-0.09676337242125525+51.50830507546084%2C+-0.09689748287199977+51.50831926544436%2C+-0.09693503379820824+51.50790775412855%2C+-0.09666681289671919+51.50789439872946%2C+-0.09645719784644384+51.507889747624404%2C+-0.09639290535660058+51.50828278342658%2C+-0.0967472791671659+51.50830340605074%29%29&analytics=false&sessionId=b18c301b-9d44-4c6c-8d27-5b5bf33c570b", + sourceRequest: + "https://www.planning.data.gov.uk/entity.json?entries=current&geometry=POLYGON+%28%28-0.0967472791671659+51.50830340605074%2C+-0.09676337242125525+51.50830507546084%2C+-0.09689748287199977+51.50831926544436%2C+-0.09693503379820824+51.50790775412855%2C+-0.09666681289671919+51.50789439872946%2C+-0.09645719784644384+51.507889747624404%2C+-0.09639290535660058+51.50828278342658%2C+-0.0967472791671659+51.50830340605074%29%29&geometry_relation=intersects&limit=100&dataset=article-4-direction-area&dataset=central-activities-zone&dataset=listed-building&dataset=listed-building-outline&dataset=locally-listed-building&dataset=park-and-garden&dataset=conservation-area&dataset=area-of-outstanding-natural-beauty&dataset=national-park&dataset=world-heritage-site&dataset=world-heritage-site-buffer-zone&dataset=special-protection-area&dataset=scheduled-monument&dataset=tree&dataset=tree-preservation-order&dataset=tree-preservation-zone&dataset=site-of-special-scientific-interest&dataset=special-area-of-conservation&dataset=ancient-woodland", + }, + { + metadata: { + "road.classified": { + name: "Classified road", + text: "This will effect your project if you are looking to add a dropped kerb. It may also impact some agricultural or forestry projects within 25 metres of a classified road.", + plural: "Classified roads", + }, + }, + constraints: { + "road.classified": { + fn: "road.classified", + text: "is not on a Classified Road", + value: false, + category: "General policy", + }, + }, + planxRequest: "https://api.editor.planx.dev/roads?usrn=22503078", + sourceRequest: + "https://api.os.uk/features/v1/wfs?service=WFS&request=GetFeature&version=2.0.0&typeNames=Highways_RoadLink&outputFormat=GEOJSON&srsName=urn%3Aogc%3Adef%3Acrs%3AEPSG%3A%3A4326&count=1&filter=%0A++++%3Cogc%3AFilter%3E%0A++++++%3Cogc%3APropertyIsLike+wildCard%3D%22%25%22+singleChar%3D%22%23%22+escapeChar%3D%22%21%22%3E%0A++++++++%3Cogc%3APropertyName%3EFormsPartOf%3C%2Fogc%3APropertyName%3E%0A++++++++%3Cogc%3ALiteral%3E%25Street%23usrn22503078%25%3C%2Fogc%3ALiteral%3E%0A++++++%3C%2Fogc%3APropertyIsLike%3E%0A++++%3C%2Fogc%3AFilter%3E%0A++&", + }, + ], + "project.type": ["alter.equipment.solar.pv"], + "property.type": [ + "commercial.leisure.entertainment", + "alter.equipment.solar.pv", + "other", + ], + "applicant.type": ["company"], + "applicant.email": "thebard@example.com", + "applicant.title": "Mr", + "property.region": ["London"], + "application.type": ["pa.part14.classJ"], + "_contact.applicant": { + applicant: { + email: "thebard@example.com", + phone: "2830407283", + title: "Mr", + lastName: "Shakespeare", + firstName: "William", + organisation: "Lord Chamberlain's Men", + }, + }, + "applicant.resident": ["true"], + "applicant.name.last": "Shakespeare", + "applicant.agent.form": ["No"], + "applicant.name.first": "William", + "proposal.projectType": ["alter.equipment.solar"], + "applicant.siteContact": ["applicant"], + "applicant.company.name": "Lord Chamberlain's Men", + "property.boundary.area": 1527.57, + "property.boundary.site": { + type: "Feature", + geometry: { + type: "Polygon", + coordinates: [ + [ + [-0.0967472791671659, 51.50830340605074], + [-0.09676337242125525, 51.50830507546084], + [-0.09689748287199977, 51.50831926544436], + [-0.09693503379820824, 51.50790775412855], + [-0.09666681289671919, 51.50789439872946], + [-0.09645719784644384, 51.507889747624404], + [-0.09639290535660058, 51.50828278342658], + [-0.0967472791671659, 51.50830340605074], + ], + ], + }, + properties: null, + }, + "proposal.drawing.other": [ + { + url: "https://api.editor.planx.dev/file/private/vab4d0k6/Test%20document.pdf", + filename: "Test document.pdf", + cachedSlot: { + id: "xYleBJBZwX44xPCYFFI9N", + url: "https://api.editor.planx.dev/file/private/vab4d0k6/Test%20document.pdf", + file: { + path: "Test document.pdf", + size: 7948, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "applicant.phone.primary": "2830407283", + "application.fee.payable": 96, + "proposal.drawing.sitePlan": [ + { + url: "https://api.editor.planx.dev/file/private/es3w6dgi/Elevations.pdf", + filename: "Elevations.pdf", + cachedSlot: { + id: "_0AUWL7u7t2mgg8J0SDkb", + url: "https://api.editor.planx.dev/file/private/es3w6dgi/Elevations.pdf", + file: { + path: "Elevations.pdf", + size: 116018, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + "applicant.sameAddress.form": ["Yes"], + "application.fee.calculated": 96, + "property.constraints.planning": [ + "article4.southwark.MA", + "article4.southwark.caz", + ], + "proposal.solarPanels.location": ["roofs"], + "property.boundary.area.hectares": 0.152757, + "property.boundary.site.buffered": { + type: "Feature", + geometry: { + type: "Polygon", + coordinates: [ + [ + [-0.09660652616156785, 51.5089726472323], + [-0.09671585949436275, 51.5089842155866], + [-0.09691758423633867, 51.5089936396747], + [-0.09711860852470136, 51.50897956515562], + [-0.0973119274594448, 51.50894248247085], + [-0.09749080467584557, 51.508883683803624], + [-0.0976490071052, 51.50880521804582], + [-0.09778102218725782, 51.50870981939448], + [-0.0978822499623691, 51.50860081206687], + [-0.09794916334866825, 51.50848199445667], + [-0.09797943102038302, 51.50835750676918], + [-0.09801697220606516, 51.507945995108024], + [-0.09800859889096732, 51.50781581403568], + [-0.09796016976084661, 51.5076890635356], + [-0.09787349207147573, 51.507570472779456], + [-0.09775180009972265, 51.50746446645652], + [-0.09759963443552218, 51.507374999694726], + [-0.09742267255046297, 51.50730541050478], + [-0.09722751696710145, 51.507258295250416], + [-0.0970214489322449, 51.507235411789125], + [-0.09675323196338007, 51.507222056587125], + [-0.09670541944993333, 51.50722033661986], + [-0.09649580749677537, 51.507215685583596], + [-0.09629259487533015, 51.507223083564995], + [-0.09609519007931179, 51.507254004699774], + [-0.09591055833429296, 51.507307357970404], + [-0.09574521423788392, 51.507381260861365], + [-0.09560499191805369, 51.507473105774075], + [-0.09549483918777397, 51.50757965202401], + [-0.09541864295735279, 51.50769714017578], + [-0.09537909206516129, 51.50782142468384], + [-0.09531479037153398, 51.50821445989662], + [-0.09531419484799053, 51.508347373269636], + [-0.09535548794775563, 51.508477778677054], + [-0.09543706651337647, 51.50860061217808], + [-0.09555576294511947, 51.50871110382716], + [-0.0957069681656805, 51.508804962912514], + [-0.0958848105784407, 51.50887854458898], + [-0.09608238407323962, 51.508928991431745], + [-0.09629201622573198, 51.508954344411755], + [-0.09660652616156785, 51.5089726472323], + ], + ], + }, + properties: {}, + }, + "property.localAuthorityDistrict": ["Southwark"], + "proposal.visibleFromPublicRealm": ["Information not provided"], + "application.declaration.accurate": ["true"], + "application.fee.reference.govPay": { + moto: false, + state: { + status: "created", + finished: false, + }, + _links: { + self: { + href: "https://publicapi.payments.service.gov.uk/v1/payments/vl3stqff6n6k6o1pq4c8p4ffa9", + method: "GET", + }, + cancel: { + href: "https://publicapi.payments.service.gov.uk/v1/payments/vl3stqff6n6k6o1pq4c8p4ffa9/cancel", + method: "POST", + }, + events: { + href: "https://publicapi.payments.service.gov.uk/v1/payments/vl3stqff6n6k6o1pq4c8p4ffa9/events", + method: "GET", + }, + refunds: { + href: "https://publicapi.payments.service.gov.uk/v1/payments/vl3stqff6n6k6o1pq4c8p4ffa9/refunds", + method: "GET", + }, + next_url: { + href: "https://card.payments.service.gov.uk/secure/340cbb34-72c5-4222-8678-cebf18dd9deb", + method: "GET", + }, + next_url_post: { + href: "https://card.payments.service.gov.uk/secure", + type: "application/x-www-form-urlencoded", + method: "POST", + params: { + chargeTokenId: "340cbb34-72c5-4222-8678-cebf18dd9deb", + }, + }, + }, + amount: 96, + language: "en", + reference: "b18c301b-9d44-4c6c-8d27-5b5bf33c570b", + payment_id: "vl3stqff6n6k6o1pq4c8p4ffa9", + return_url: + "https://editor.planx.dev/southwark/apply-for-prior-approval/preview?sessionId=b18c301b-9d44-4c6c-8d27-5b5bf33c570b&email=example%40example.com", + description: "New application", + created_date: "2023-09-02T14:55:26.281Z", + refund_summary: { + status: "pending", + amount_available: 9600, + amount_submitted: 0, + }, + delayed_capture: false, + payment_provider: "sandbox", + authorisation_mode: "web", + settlement_summary: {}, + }, + "application.declaration.connection": ["relation.electedMember"], + "application.fee.exemption.disability": ["false"], + "application.declaration.accurate.form": ["Yes"], + "application.fee.exemption.resubmission": ["false"], + "application.declaration.connection.form": [ + "I am related to, or partnered with, an elected member for Southwark Council", + ], + "application.fee.exemption.planningApplication": ["false"], + "application.declaration.connection.description": + "I think the King is but a man, as I am. The violet smells to him as it doth to me. The element shows to him as it doth to me. All his senses have but human conditions. His ceremonies laid by, in his nakedness he appears but a man.", + }, + breadcrumbs: { + "0zImGdJp1E": { + auto: false, + answers: ["8DYYedJp1E"], + }, + "1aFqqQWujU": { + auto: false, + data: { + "proposal.drawing.sitePlan": [ + { + url: "https://api.editor.planx.dev/file/private/es3w6dgi/Elevations.pdf", + filename: "Elevations.pdf", + cachedSlot: { + id: "_0AUWL7u7t2mgg8J0SDkb", + url: "https://api.editor.planx.dev/file/private/es3w6dgi/Elevations.pdf", + file: { + path: "Elevations.pdf", + size: 116018, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + }, + }, + "3TqWaRRmIc": { + auto: false, + }, + "4FOMERRmIc": { + auto: false, + }, + "5idRwdJp1E": { + auto: true, + answers: ["3YIVZdJp1E"], + }, + "8kaCyhvpH7": { + auto: false, + answers: ["PsRnXEO2x7"], + }, + AsjvlXzwZY: { + auto: true, + answers: ["qeT8jEpTcF"], + }, + B3QUuAVodh: { + auto: false, + answers: ["g3GoOjJodh"], + }, + BWqBgdJp1E: { + auto: false, + answers: ["aImPfdJp1E"], + }, + Bbu19dJp1E: { + auto: false, + answers: ["853lfdJp1E"], + }, + Cx95aRRmIc: { + auto: false, + data: { + "property.boundary.area": 1527.57, + "property.boundary.site": { + type: "Feature", + geometry: { + type: "Polygon", + coordinates: [ + [ + [-0.0967472791671659, 51.50830340605074], + [-0.09676337242125525, 51.50830507546084], + [-0.09689748287199977, 51.50831926544436], + [-0.09693503379820824, 51.50790775412855], + [-0.09666681289671919, 51.50789439872946], + [-0.09645719784644384, 51.507889747624404], + [-0.09639290535660058, 51.50828278342658], + [-0.0967472791671659, 51.50830340605074], + ], + ], + }, + properties: null, + }, + "property.boundary.area.hectares": 0.152757, + "property.boundary.site.buffered": { + type: "Feature", + geometry: { + type: "Polygon", + coordinates: [ + [ + [-0.09660652616156785, 51.5089726472323], + [-0.09671585949436275, 51.5089842155866], + [-0.09691758423633867, 51.5089936396747], + [-0.09711860852470136, 51.50897956515562], + [-0.0973119274594448, 51.50894248247085], + [-0.09749080467584557, 51.508883683803624], + [-0.0976490071052, 51.50880521804582], + [-0.09778102218725782, 51.50870981939448], + [-0.0978822499623691, 51.50860081206687], + [-0.09794916334866825, 51.50848199445667], + [-0.09797943102038302, 51.50835750676918], + [-0.09801697220606516, 51.507945995108024], + [-0.09800859889096732, 51.50781581403568], + [-0.09796016976084661, 51.5076890635356], + [-0.09787349207147573, 51.507570472779456], + [-0.09775180009972265, 51.50746446645652], + [-0.09759963443552218, 51.507374999694726], + [-0.09742267255046297, 51.50730541050478], + [-0.09722751696710145, 51.507258295250416], + [-0.0970214489322449, 51.507235411789125], + [-0.09675323196338007, 51.507222056587125], + [-0.09670541944993333, 51.50722033661986], + [-0.09649580749677537, 51.507215685583596], + [-0.09629259487533015, 51.507223083564995], + [-0.09609519007931179, 51.507254004699774], + [-0.09591055833429296, 51.507307357970404], + [-0.09574521423788392, 51.507381260861365], + [-0.09560499191805369, 51.507473105774075], + [-0.09549483918777397, 51.50757965202401], + [-0.09541864295735279, 51.50769714017578], + [-0.09537909206516129, 51.50782142468384], + [-0.09531479037153398, 51.50821445989662], + [-0.09531419484799053, 51.508347373269636], + [-0.09535548794775563, 51.508477778677054], + [-0.09543706651337647, 51.50860061217808], + [-0.09555576294511947, 51.50871110382716], + [-0.0957069681656805, 51.508804962912514], + [-0.0958848105784407, 51.50887854458898], + [-0.09608238407323962, 51.508928991431745], + [-0.09629201622573198, 51.508954344411755], + [-0.09660652616156785, 51.5089726472323], + ], + ], + }, + properties: {}, + }, + }, + }, + DXsMmdJp1E: { + auto: true, + answers: ["zib8JdJp1E"], + }, + DZ0IgdJp1E: { + auto: false, + answers: ["prE5GdJp1E"], + }, + E63e1zXlP8: { + auto: false, + answers: ["Ldu681Wb3o"], + }, + ESWiV3ERRm: { + auto: false, + answers: ["XyxjP734lB"], + }, + EoXjORRmIc: { + auto: false, + }, + Et2nURRmIc: { + auto: false, + }, + FDjdC8jGvG: { + auto: false, + answers: ["VVrq4wiBOU"], + }, + Fm8hkRRmIc: { + auto: true, + answers: ["86D23RRmIc"], + }, + Fv6lXlscLG: { + auto: true, + answers: ["knVkdvBlt4"], + }, + HrO6mdpHVd: { + auto: true, + answers: ["KXGtu8ib2b"], + }, + I03hRPF3ck: { + auto: true, + answers: ["hrVQ3UrdMQ"], + }, + IBf5oMw8cZ: { + auto: true, + answers: ["tBRukziMl9"], + }, + InAdSdJp1E: { + auto: true, + answers: ["4VYPMdJp1E"], + }, + JXt0WnAhMF: { + auto: true, + answers: ["F5i4Q8cCq8"], + }, + JoI0DRRmIc: { + auto: false, + answers: ["j54g0RRmIc"], + }, + KSHxStR5wh: { + auto: true, + answers: ["FOsiIgiUBd"], + }, + Kty9YQhrI0: { + auto: true, + answers: ["WMxzE9Qhgt"], + }, + L6RlHOAodh: { + auto: false, + answers: ["JpD8CZ5odh"], + }, + LU5xin8PHs: { + auto: true, + answers: ["xuFhs3Hqr9"], + }, + LdxouRRmIc: { + auto: false, + }, + M7Y93oTya3: { + auto: true, + answers: ["nNw3oBYWf9"], + }, + MwguZtYfgo: { + auto: false, + answers: ["oXW70yo9YS"], + }, + OT7qwRRmIc: { + auto: false, + data: { + "application.fee.reference.govPay": { + moto: false, + state: { + status: "created", + finished: false, + }, + _links: { + self: { + href: "https://publicapi.payments.service.gov.uk/v1/payments/vl3stqff6n6k6o1pq4c8p4ffa9", + method: "GET", + }, + cancel: { + href: "https://publicapi.payments.service.gov.uk/v1/payments/vl3stqff6n6k6o1pq4c8p4ffa9/cancel", + method: "POST", + }, + events: { + href: "https://publicapi.payments.service.gov.uk/v1/payments/vl3stqff6n6k6o1pq4c8p4ffa9/events", + method: "GET", + }, + refunds: { + href: "https://publicapi.payments.service.gov.uk/v1/payments/vl3stqff6n6k6o1pq4c8p4ffa9/refunds", + method: "GET", + }, + next_url: { + href: "https://card.payments.service.gov.uk/secure/340cbb34-72c5-4222-8678-cebf18dd9deb", + method: "GET", + }, + next_url_post: { + href: "https://card.payments.service.gov.uk/secure", + type: "application/x-www-form-urlencoded", + method: "POST", + params: { + chargeTokenId: "340cbb34-72c5-4222-8678-cebf18dd9deb", + }, + }, + }, + amount: 96, + language: "en", + reference: "b18c301b-9d44-4c6c-8d27-5b5bf33c570b", + payment_id: "vl3stqff6n6k6o1pq4c8p4ffa9", + return_url: + "https://editor.planx.dev/southwark/apply-for-prior-approval/preview?sessionId=b18c301b-9d44-4c6c-8d27-5b5bf33c570b&email=example%40example.com", + description: "New application", + created_date: "2023-09-02T14:55:26.281Z", + refund_summary: { + status: "pending", + amount_available: 9600, + amount_submitted: 0, + }, + delayed_capture: false, + payment_provider: "sandbox", + authorisation_mode: "web", + settlement_summary: {}, + }, + }, + }, + Q1N3zdJp1E: { + auto: false, + answers: ["uAeSAdJp1E"], + }, + SJRiZ1gkrY: { + auto: true, + data: { + "applicant.sameAddress.form": ["Yes"], + }, + }, + SaYeGdJp1E: { + auto: true, + answers: ["OcSE6dJp1E"], + }, + T1zEiRRmIc: { + auto: false, + data: { + _address: { + x: 532192, + y: 180515, + pao: "21", + town: "LONDON", + uprn: "200003377200", + usrn: "22503078", + title: + "INTERNATIONAL SHAKESPEARE GLOBE CENTRE LTD, SHAKESPEARE GLOBE THEATRE, 21, NEW GLOBE WALK, LONDON", + source: "os", + street: "NEW GLOBE WALK", + latitude: 51.5081109, + postcode: "SE1 9DT", + blpu_code: "2", + longitude: -0.0965974, + planx_value: "commercial.leisure.entertainment", + organisation: "INTERNATIONAL SHAKESPEARE GLOBE CENTRE LTD", + planx_description: + "Bingo Hall / Cinema / Conference / Exhibition Centre / Theatre / Concert Hall", + single_line_address: + "INTERNATIONAL SHAKESPEARE GLOBE CENTRE LTD, SHAKESPEARE GLOBE THEATRE, 21, NEW GLOBE WALK, LONDON, SOUTHWARK, SE1 9DT", + }, + "property.type": ["commercial.leisure.entertainment"], + "property.region": ["London"], + "property.localAuthorityDistrict": ["Southwark"], + }, + }, + T2QtM64BpR: { + auto: true, + data: { + "applicant.agent.form": ["No"], + }, + }, + Tz7ro9rZ8T: { + auto: true, + answers: ["eb6s0VyD6R"], + }, + UDka9dJp1E: { + auto: false, + answers: ["h5lL0dJp1E"], + }, + UHzoCGgTZ2: { + auto: true, + data: { + "application.fee.payable": 96, + }, + }, + VmawcRRmIc: { + auto: false, + data: { + VmawcRRmIc: + "Addition of solar panels in order to power the globe with green energy.", + }, + }, + Vy1mlRRmIc: { + auto: true, + answers: ["LL55HRRmIc"], + }, + WBkwbvfPBi: { + auto: true, + answers: ["6sU5miOgEn"], + }, + Y3ZeNI4KQ4: { + auto: false, + data: { + "proposal.drawing.other": [ + { + url: "https://api.editor.planx.dev/file/private/vab4d0k6/Test%20document.pdf", + filename: "Test document.pdf", + cachedSlot: { + id: "xYleBJBZwX44xPCYFFI9N", + url: "https://api.editor.planx.dev/file/private/vab4d0k6/Test%20document.pdf", + file: { + path: "Test document.pdf", + size: 7948, + type: "application/pdf", + }, + status: "success", + progress: 1, + }, + }, + ], + }, + }, + YwWoUdJp1E: { + auto: false, + answers: ["vRTzLdJp1E"], + }, + cOSGytdsMa: { + auto: true, + data: { + "application.fee.exemption.planningApplication": ["false"], + }, + }, + dGxza10gVg: { + auto: true, + answers: ["YMbKtxdT6G"], + }, + dgCzHRRmIc: { + auto: false, + data: { + _nots: { + "property.constraints.planning": [ + "listed", + "locallyListed", + "registeredPark", + "designated.conservationArea", + "designated.AONB", + "designated.nationalPark", + "designated.nationalPark.broads", + "designated.WHS", + "designated.SPA", + "monument", + "tpo", + "nature.SSSI", + "nature.SAC", + "nature.ASNW", + "designated", + "article4.southwark.sunray", + "article4.southwark.publichouse", + "article4.southwark.hmo", + "article4.southwark.railway", + "article4.southwark.southernrail", + "road.classified", + ], + }, + _constraints: [ + { + metadata: { + tpo: { + name: "Tree preservation zone", + text: "A Tree Preservation Order (TPO) can be placed on single trees, groups of trees and even whole woodlands. Tree Preservation Orders are made by local planning authorities following [guidance](https://www.gov.uk/guidance/tree-preservation-orders-and-trees-in-conservation-areas) provided by the [Department for Levelling Up, Housing and Communities](https://www.gov.uk/government/organisations/department-for-levelling-up-housing-and-communities).\n\nEach [tree preservation order](/dataset/tree-preservation-order) may apply to a number of tree preservation order zones, and a number of individual [trees](/dataset/tree).\n\nThis dataset contains data from [a small group of local planning authorities](/about/) who we are working with to develop a [data specification for tree preservation orders](https://www.digital-land.info/guidance/specifications/tree-preservation-order).", + plural: "Trees preservation zones", + prefix: "", + themes: ["environment"], + dataset: "tree-preservation-zone", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q10884", + wikipedia: "Tree", + collection: "tree-preservation-order", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "An area covered by a tree preservation order", + "entity-count": { + count: 13161, + dataset: "tree-preservation-zone", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": + "© Crown copyright and database right 2023", + }, + listed: { + name: "Listed building outline", + text: "The geospatial boundary for [listed buildings](https://historicengland.org.uk/listing/what-is-designation/listed-buildings) as designated by [Historic England](https://historicengland.org.uk/) as collected from local planning authorities.\n\nWe are [working with a group of local planning authorities](/about/) to help them publish their data to inform planning decisions, and to develop a [data specification for listed building outlines](https://www.digital-land.info/guidance/specifications/listed-building).\n\nWe expect to eventually merge this dataset with the [listed building](/dataset/listed-building) dataset.", + plural: "Listed building outlines", + prefix: "", + themes: ["heritage"], + dataset: "listed-building-outline", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q570600", + wikipedia: "Listed_building", + collection: "listed-building", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "boundary of a listed building", + "entity-count": { + count: 12237, + dataset: "listed-building-outline", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#F9C744", + }, + "attribution-text": + "© Crown copyright and database right 2023", + }, + article4: { + name: "Article 4 direction area", + text: "A local planning authority may create an [article 4 direction](https://www.gov.uk/guidance/when-is-permission-required#article-4-direction) to alter or remove [permitted development rights](https://www.gov.uk/government/publications/permitted-development-rights-for-householders-technical-guidance) from a building or area.\n\nEach [article 4 direction](/dataset/article-4-direction) may apply to one or more article 4 direction areas, each with one or more [article 4 direction rules](/dataset/article-4-direction-rule).\n\nThis dataset contains data from [a small group of local planning authorities](/about/) who we are working with to develop a [data specification for article 4 directions](https://www.digital-land.info/guidance/specifications/article-4-direction).", + plural: "Article 4 direction areas", + prefix: "", + themes: ["heritage"], + dataset: "article-4-direction-area", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "", + wikipedia: "", + collection: "article-4-direction", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: + "Orders made by the local planning authority to remove all or some of the permitted development rights on a site in order to protect it", + "entity-count": { + count: 1369, + dataset: "article-4-direction-area", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": + "© Crown copyright and database right 2023", + }, + monument: { + name: "Scheduled monument", + text: "Historic buildings or sites such as Roman remains, burial mounds, castles, bridges, earthworks, the remains of deserted villages and industrial sites can be designated scheduled monuments by the Secretary of State for [Digital, Culture, Media and Sport](https://www.gov.uk/government/organisations/department-for-digital-culture-media-sport). \n\nThis list of scheduled monuments is kept and maintained by [Historic England](https://historicengland.org.uk/).", + plural: "Scheduled monuments", + prefix: "", + themes: ["heritage"], + dataset: "scheduled-monument", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q219538", + wikipedia: "Scheduled_monument", + collection: "historic-england", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: "", + "entity-count": { + count: 19935, + dataset: "scheduled-monument", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#0F9CDA", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + "nature.SAC": { + name: "Special area of conservation", + text: "Special areas of conservation (SACs) are area of land which have been designated by\n[DEFRA](https://www.gov.uk/government/organisations/department-for-environment-food-rural-affairs),\nwith advice from the [Joint Nature Conservation Committee](https://jncc.gov.uk/),\nto protect specific habitats and species.\n\nDEFRA and [Natural England](https://www.gov.uk/government/organisations/natural-england) publish\n[guidance](https://www.gov.uk/guidance/protected-sites-and-areas-how-to-review-planning-applications)\non how to review planning applications in protected sites and areas.", + plural: "Special areas of conservation", + prefix: "", + themes: ["environment"], + dataset: "special-area-of-conservation", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q1191622", + wikipedia: "Special_Area_of_Conservation", + collection: "special-area-of-conservation", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: "", + "entity-count": { + count: 256, + dataset: "special-area-of-conservation", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#7A8705", + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "nature.ASNW": { + name: "Ancient woodland", + text: "An area designated as ancient woodland by Natural England.\n\nNatural England and Forestry Commission [Guidance](https://www.gov.uk/guidance/ancient-woodland-and-veteran-trees-protection-surveys-licences) is used in planning decisions.", + plural: "Ancient woodlands", + prefix: "", + themes: ["environment"], + dataset: "ancient-woodland", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q3078732", + wikipedia: "Ancient_woodland", + collection: "ancient-woodland", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: + "An area that’s been wooded continuously since at least 1600 AD", + "entity-count": { + count: 44355, + dataset: "ancient-woodland", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#00703c", + opacity: 0.2, + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "nature.SSSI": { + name: "Site of special scientific interest", + text: "Sites of special scientific interest (SSSI) are nationally protected sites that have features such as wildlife or geology. \n\nSSSIs are designated by [Natural England](https://www.gov.uk/government/organisations/natural-england).\nThere is [guidance](https://www.gov.uk/guidance/protected-areas-sites-of-special-scientific-interest) to help local authorities decide on planning applications in protected SSSIs.", + plural: "Sites of special scientific interest", + prefix: "", + themes: ["environment"], + dataset: "site-of-special-scientific-interest", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q422211", + wikipedia: "Site_of_Special_Scientific_Interest", + collection: "site-of-special-scientific-interest", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: "", + "entity-count": { + count: 4128, + dataset: "site-of-special-scientific-interest", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#308fac", + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "article4.caz": { + name: "Central activities zone", + text: "The [Greater London Authority](https://www.london.gov.uk/) (GLA) designates a central area of London with [implications for planning](https://www.london.gov.uk/what-we-do/planning/implementing-london-plan/london-plan-guidance-and-spgs/central-activities-zone)\nThis dataset combines data provided by the GLA with the boundary from the individual London boroughs.", + plural: "Central activities zones", + prefix: "", + themes: ["development"], + dataset: "central-activities-zone", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "", + wikipedia: "", + collection: "central-activities-zone", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: "", + "entity-count": { + count: 10, + dataset: "central-activities-zone", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": + "© Crown copyright and database right 2023", + }, + locallyListed: { + name: "Locally listed building", + text: "A building or site in a local planning authority’s area that make a positive contribution to its local character and sense of place because of their heritage value. Although such heritage assets may not be nationally designated or even located within the boundaries of a conservation area, they may be offered some level of protection by the local planning authority identifying them on a formally adopted list of local heritage assets.\n\nThis is an experimental dataset of locally listed buildings found on [data.gov.uk](https://www.data.gov.uk/search?q=locally+listed+buildings).\nWe are [working with a group of local planning authorities](/about/) to help them publish their locally listed buildings, and to develop a data specification for locally listed buildings.", + plural: "Locally listed buildings", + prefix: "", + themes: ["heritage"], + dataset: "locally-listed-building", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q570600", + wikipedia: "Listed_building#Locally_listed_buildings", + collection: "listed-building", + "entry-date": "", + "start-date": "", + attribution: "crown-copyright", + description: + "locally listed heritage assets, including buildings", + "entity-count": { + count: 448, + dataset: "locally-listed-building", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#F9C744", + }, + "attribution-text": + "© Crown copyright and database right 2023", + }, + "designated.SPA": { + name: "Special protection area", + text: "[Special protection areas](https://naturalengland-defra.opendata.arcgis.com/maps/Defra::special-protection-areas-england/about) is an area designated \nfor the protection of birds and wildlife. This dataset is provided by [Natural England](https://www.gov.uk/government/organisations/natural-england).", + plural: "Special protection areas", + prefix: "", + themes: ["environment"], + dataset: "special-protection-area", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "", + wikipedia: "", + collection: "special-protection-area", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: "", + "entity-count": { + count: 88, + dataset: "special-protection-area", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": "", + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "designated.WHS": { + name: "World heritage site buffer zone", + text: "A [World Heritage Site](/dataset/world-heritage-site) may have a [buffer zone](https://whc.unesco.org/en/series/25/) with implications for planning.", + plural: "World heritage site buffer zones", + prefix: "", + themes: ["heritage"], + dataset: "world-heritage-site-buffer-zone", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q9259", + wikipedia: "World_Heritage_Site", + collection: "historic-england", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: "", + "entity-count": { + count: 8, + dataset: "world-heritage-site-buffer-zone", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#EB1EE5", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + registeredPark: { + name: "Historic parks and gardens", + text: "Historic parks and gardens as listed by [Historic England](https://historicengland.org.uk/) in the [Register of Parks and Gardens of Special Historic Interest](https://historicengland.org.uk/listing/what-is-designation/registered-parks-and-gardens/).", + plural: "Parks and gardens", + prefix: "", + themes: ["environment", "heritage"], + dataset: "park-and-garden", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q6975250", + wikipedia: + "Register_of_Historic_Parks_and_Gardens_of_Special_Historic_Interest_in_England", + collection: "historic-england", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: "", + "entity-count": { + count: 1699, + dataset: "park-and-garden", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#0EB951", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + "designated.AONB": { + name: "Area of outstanding natural beauty", + text: "An area of outstanding natural beauty (AONB) as designated by [Natural England](https://www.gov.uk/government/organisations/natural-england).\n\nNatural England provides [guidance](https://www.gov.uk/guidance/protected-sites-and-areas-how-to-review-planning-applications) to help local authorities decide on planning applications in protected sites and areas.", + plural: "Areas of outstanding natural beauty", + prefix: "", + themes: ["environment"], + dataset: "area-of-outstanding-natural-beauty", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q174945", + wikipedia: "Area_of_Outstanding_Natural_Beauty", + collection: "area-of-outstanding-natural-beauty", + "entry-date": "", + "start-date": "", + attribution: "natural-england", + description: + "Land protected by law to conserve and enhance its natural beauty", + "entity-count": { + count: 34, + dataset: "area-of-outstanding-natural-beauty", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#d53880", + }, + "attribution-text": + "© Natural England copyright. Contains Ordnance Survey data © Crown copyright and database right 2023.", + }, + "designated.nationalPark": { + name: "National park", + text: "The administrative boundaries of [national park authorities](/dataset/national-park-authority) in England as provided by the ONS for the purposes of producing statistics.", + plural: "National parks", + prefix: "statistical-geography", + themes: ["heritage"], + dataset: "national-park", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q60256727", + wikipedia: "National_park", + collection: "national-park", + "entry-date": "", + "start-date": "", + attribution: "ons-boundary", + description: "", + "entity-count": { + count: 10, + dataset: "national-park", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#3DA52C", + }, + "attribution-text": + "Source: Office for National Statistics licensed under the Open Government Licence v.3.0\nContains OS data © Crown copyright and database right 2023", + }, + "designated.conservationArea": { + name: "Conservation area", + text: "Local planning authorities are responsible for designating conservation areas, though [Historic England](https://historicengland.org.uk/) and the Secretary of State also have powers to create them.\n\nThis dataset also contains the boundaries of conservation areas from Historic England, as well as other data found on [data.gov.uk](https://www.data.gov.uk/search?q=conservation+area) and currently contains a number of duplicate areas we are working to remove.\n\nWe are also [working with a group of local planning authorities](/about/) to help them publish their conservation areas, and to develop a [data specification for conservation areas](https://www.digital-land.info/guidance/specifications/conservation-area).\n\nHistoric England provide [guidance](https://historicengland.org.uk/advice/your-home/owning-historic-property/conservation-area/) to help householders understand the implications of living in a conservation area for planning applications.", + plural: "Conservation areas", + prefix: "", + themes: ["heritage"], + dataset: "conservation-area", + licence: "ogl3", + "end-date": "", + entities: "", + typology: "geography", + wikidata: "Q5162904", + wikipedia: "Conservation_area_(United_Kingdom)", + collection: "conservation-area", + "entry-date": "", + "start-date": "", + attribution: "historic-england", + description: + "Special architectural or historic interest, the character or appearance of which it is desirable to preserve or enhance", + "entity-count": { + count: 8600, + dataset: "conservation-area", + }, + "licence-text": + "Licensed under the [Open Government Licence v.3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).", + "paint-options": { + colour: "#78AA00", + }, + "attribution-text": + "© Historic England 2023. Contains Ordnance Survey data © Crown copyright and database right 2023.\nThe Historic England GIS Data contained in this material was obtained on [date].\nThe most publicly available up to date Historic England GIS Data can be obtained from [HistoricEngland.org.uk](https://historicengland.org.uk).", + }, + }, + constraints: { + tpo: { + fn: "tpo", + text: "is not in a Tree Preservation Order (TPO) Zone", + value: false, + category: "Trees", + }, + listed: { + fn: "listed", + text: "is not, or is not within, a Listed Building", + value: false, + category: "Heritage and conservation", + }, + article4: { + fn: "article4", + data: [ + { + name: "Central Activities Zone", + notes: + "https://www.southwark.gov.uk/planning-and-building-control/planning-policy-and-transport-policy/article-4-directions?chapter=8", + entity: 7010000942, + prefix: "article-4-direction-area", + dataset: "article-4-direction-area", + "end-date": "", + typology: "geography", + reference: "Central Activities Zone", + "entry-date": "2022-04-07", + "start-date": "", + description: + "Change of use from offices to dwelling houses is restricted", + "organisation-entity": "329", + }, + { + name: "Central Activities Zone", + notes: + "http://www.southwark.gov.uk/planning-and-building-control/planning-policy-and-transport-policy/article-4-directions", + entity: 7010000944, + prefix: "article-4-direction-area", + dataset: "article-4-direction-area", + "end-date": "", + typology: "geography", + reference: "Central Activities Zone", + "entry-date": "2022-04-07", + "start-date": "", + description: + "Demolition of commercial buildings and construction of new dwellinghouses is restricted", + "organisation-entity": "329", + }, + { + name: "Bankside and Borough District Town Centre", + notes: + "http://www.southwark.gov.uk/planning-and-building-control/planning-policy-and-transport-policy/article-4-directions", + entity: 7010001042, + prefix: "article-4-direction-area", + dataset: "article-4-direction-area", + "end-date": "", + typology: "geography", + reference: "Bankside and Borough District Town Centre", + "entry-date": "2022-04-07", + "start-date": "", + description: + "Demolition of commercial buildings and construction of new dwellinghouses is restricted", + "organisation-entity": "329", + }, + { + name: "Central Activities Zone", + notes: + "http://www.southwark.gov.uk/planning-and-building-control/planning-policy-and-transport-policy/article-4-directions", + entity: 7010001055, + prefix: "article-4-direction-area", + dataset: "article-4-direction-area", + "end-date": "", + typology: "geography", + reference: "Central Activities Zone", + "entry-date": "2022-04-07", + "start-date": "", + description: + "Change of use from Class E to residential is restricted", + "organisation-entity": "329", + }, + { + name: "Bankside and Borough District Town Centre", + notes: + "http://www.southwark.gov.uk/planning-and-building-control/planning-policy-and-transport-policy/article-4-directions", + entity: 7010001153, + prefix: "article-4-direction-area", + dataset: "article-4-direction-area", + "end-date": "", + typology: "geography", + reference: "Bankside and Borough District Town Centre", + "entry-date": "2022-04-07", + "start-date": "", + description: + "Change of use from Class E to residential is restricted", + "organisation-entity": "329", + }, + ], + text: "is subject to local permitted development restrictions (known as Article 4 directions)", + value: true, + category: "General policy", + }, + monument: { + fn: "monument", + text: "is not the site of a Scheduled Monument", + value: false, + category: "Heritage and conservation", + }, + designated: { + value: false, + }, + "nature.SAC": { + fn: "nature.SAC", + text: "is not in a Special Area of Conservation (SAC)", + value: false, + category: "Ecology", + }, + "nature.ASNW": { + fn: "nature.ASNW", + text: "is not in an Ancient Semi-Natural Woodland (ASNW)", + value: false, + category: "Ecology", + }, + "nature.SSSI": { + fn: "nature.SSSI", + text: "is not a Site of Special Scientific Interest (SSSI)", + value: false, + category: "Ecology", + }, + locallyListed: { + fn: "locallyListed", + text: "is not, or is not within, a Locally Listed Building", + value: false, + category: "Heritage and conservation", + }, + "designated.SPA": { + fn: "designated.SPA", + text: "is not in a Special Protection Area (SPA)", + value: false, + category: "Heritage and conservation", + }, + "designated.WHS": { + fn: "designated.WHS", + text: "is not an UNESCO World Heritage Site", + value: false, + category: "Heritage and conservation", + }, + registeredPark: { + fn: "registeredPark", + text: "is not in a Historic Park or Garden", + value: false, + category: "Heritage and conservation", + }, + "designated.AONB": { + fn: "designated.AONB", + text: "is not in an Area of Outstanding Natural Beauty", + value: false, + category: "Heritage and conservation", + }, + "article4.southwark.MA": { + fn: "article4.southwark.MA", + value: true, + }, + "article4.southwark.caz": { + fn: "article4.caz", + data: [ + { + name: "", + notes: + "P2 New family homes; P29 Office and business development; P30 Affordable workspace", + entity: 2200002, + prefix: "central-activities-zone", + dataset: "central-activities-zone", + "end-date": "", + typology: "geography", + reference: "CAZ00000002", + "entry-date": "2021-11-30", + "start-date": "2018-06-04", + "organisation-entity": "329", + }, + ], + text: "is in the Central Activities Zone", + value: true, + category: "General policy", + }, + "article4.southwark.hmo": { + fn: "article4.southwark.hmo", + value: false, + }, + "designated.nationalPark": { + fn: "designated.nationalPark", + text: "is not in a National Park", + value: false, + category: "Heritage and conservation", + }, + "article4.southwark.sunray": { + fn: "article4.southwark.sunray", + value: false, + }, + "article4.southwark.railway": { + fn: "article4.southwark.railway", + value: false, + }, + "designated.conservationArea": { + fn: "designated.conservationArea", + text: "is not in a Conservation Area", + value: false, + category: "Heritage and conservation", + }, + "article4.southwark.publichouse": { + fn: "article4.southwark.publichouse", + value: false, + }, + "designated.nationalPark.broads": { + fn: "designated.nationalPark.broads", + value: false, + }, + "article4.southwark.southernrail": { + fn: "article4.southwark.southernrail", + value: false, + }, + }, + planxRequest: + "https://api.editor.planx.dev/gis/southwark?geom=POLYGON+%28%28-0.0967472791671659+51.50830340605074%2C+-0.09676337242125525+51.50830507546084%2C+-0.09689748287199977+51.50831926544436%2C+-0.09693503379820824+51.50790775412855%2C+-0.09666681289671919+51.50789439872946%2C+-0.09645719784644384+51.507889747624404%2C+-0.09639290535660058+51.50828278342658%2C+-0.0967472791671659+51.50830340605074%29%29&analytics=false&sessionId=b18c301b-9d44-4c6c-8d27-5b5bf33c570b", + sourceRequest: + "https://www.planning.data.gov.uk/entity.json?entries=current&geometry=POLYGON+%28%28-0.0967472791671659+51.50830340605074%2C+-0.09676337242125525+51.50830507546084%2C+-0.09689748287199977+51.50831926544436%2C+-0.09693503379820824+51.50790775412855%2C+-0.09666681289671919+51.50789439872946%2C+-0.09645719784644384+51.507889747624404%2C+-0.09639290535660058+51.50828278342658%2C+-0.0967472791671659+51.50830340605074%29%29&geometry_relation=intersects&limit=100&dataset=article-4-direction-area&dataset=central-activities-zone&dataset=listed-building&dataset=listed-building-outline&dataset=locally-listed-building&dataset=park-and-garden&dataset=conservation-area&dataset=area-of-outstanding-natural-beauty&dataset=national-park&dataset=world-heritage-site&dataset=world-heritage-site-buffer-zone&dataset=special-protection-area&dataset=scheduled-monument&dataset=tree&dataset=tree-preservation-order&dataset=tree-preservation-zone&dataset=site-of-special-scientific-interest&dataset=special-area-of-conservation&dataset=ancient-woodland", + }, + { + metadata: { + "road.classified": { + name: "Classified road", + text: "This will effect your project if you are looking to add a dropped kerb. It may also impact some agricultural or forestry projects within 25 metres of a classified road.", + plural: "Classified roads", + }, + }, + constraints: { + "road.classified": { + fn: "road.classified", + text: "is not on a Classified Road", + value: false, + category: "General policy", + }, + }, + planxRequest: "https://api.editor.planx.dev/roads?usrn=22503078", + sourceRequest: + "https://api.os.uk/features/v1/wfs?service=WFS&request=GetFeature&version=2.0.0&typeNames=Highways_RoadLink&outputFormat=GEOJSON&srsName=urn%3Aogc%3Adef%3Acrs%3AEPSG%3A%3A4326&count=1&filter=%0A++++%3Cogc%3AFilter%3E%0A++++++%3Cogc%3APropertyIsLike+wildCard%3D%22%25%22+singleChar%3D%22%23%22+escapeChar%3D%22%21%22%3E%0A++++++++%3Cogc%3APropertyName%3EFormsPartOf%3C%2Fogc%3APropertyName%3E%0A++++++++%3Cogc%3ALiteral%3E%25Street%23usrn22503078%25%3C%2Fogc%3ALiteral%3E%0A++++++%3C%2Fogc%3APropertyIsLike%3E%0A++++%3C%2Fogc%3AFilter%3E%0A++&", + }, + ], + "property.constraints.planning": [ + "article4", + "article4.southwark.MA", + "article4.southwark.caz", + ], + }, + }, + dknMGLlZaS: { + auto: true, + answers: ["OXqMm5p4XJ"], + }, + eSzQP8zEPl: { + auto: true, + data: { + "application.declaration.connection.form": [ + "I am related to, or partnered with, an elected member for Southwark Council", + ], + }, + }, + etzlYRRmIc: { + auto: false, + }, + f9HnFRRmIc: { + auto: false, + }, + fLVlIcYbXD: { + auto: false, + answers: ["06bA9iXPTC"], + }, + gJdVz9Rodh: { + auto: true, + answers: ["HHRai2Sodh"], + }, + i2mbsEGlef: { + auto: true, + answers: ["JT76xvKBri"], + }, + jgqSa6B2hy: { + auto: true, + answers: ["Veh7isCXFB"], + }, + l631atlXol: { + auto: true, + answers: ["viyyTlAt0h"], + }, + lCfRyXcbqm: { + auto: false, + answers: ["k7Cz4QLtWN"], + }, + lMy9g3WJeI: { + auto: false, + answers: ["9ciucqOCIv"], + }, + m1ywRbgU2j: { + auto: true, + data: { + "application.declaration.accurate.form": ["Yes"], + }, + }, + n3r2fRRmIc: { + auto: false, + }, + nS2NjSx6Q4: { + auto: true, + answers: ["wvvI2flTdu"], + }, + o0HHHdJp1E: { + auto: false, + answers: ["eAJWMdJp1E"], + }, + o30WVjhbsQ: { + auto: true, + data: { + "application.fee.calculated": 96, + }, + }, + p11Ci13HQ3: { + auto: false, + data: { + "applicant.email": "thebard@example.com", + "applicant.title": "Mr", + "_contact.applicant": { + applicant: { + email: "thebard@example.com", + phone: "2830407283", + title: "Mr", + lastName: "Shakespeare", + firstName: "William", + organisation: "Lord Chamberlain's Men", + }, + }, + "applicant.name.last": "Shakespeare", + "applicant.name.first": "William", + "applicant.company.name": "Lord Chamberlain's Men", + "applicant.phone.primary": "2830407283", + }, + }, + pbeW9nvYaw: { + auto: true, + answers: ["6bdKlmu2Jt"], + }, + qA052dJp1E: { + auto: true, + answers: ["bpWChdJp1E"], + }, + qCOFVQIn1U: { + auto: false, + answers: ["wFKXSfVjY9"], + }, + sfReldJp1E: { + auto: false, + answers: ["TudaXdJp1E"], + }, + u74UC5RW4M: { + auto: false, + data: { + "application.declaration.connection.description": + "I think the King is but a man, as I am. The violet smells to him as it doth to me. The element shows to him as it doth to me. All his senses have but human conditions. His ceremonies laid by, in his nakedness he appears but a man.", + }, + }, + uwymCdJp1E: { + auto: false, + answers: ["FgJr7dJp1E"], + }, + vL2FbY5B3V: { + auto: false, + answers: ["0GZkJSEJpx"], + }, + wWmFvdJp1E: { + auto: false, + answers: ["QwRutdJp1E"], + }, + wkoUeRRmIc: { + auto: false, + }, + wzMyVVXsYb: { + auto: true, + data: { + "application.fee.exemption.resubmission": ["false"], + }, + }, + x5F9zyzYQF: { + auto: true, + data: { + "application.type": ["pa.part14.classJ"], + }, + }, + yPJSNETmd7: { + auto: true, + data: { + "proposal.visibleFromPublicRealm": ["Information not provided"], + }, + }, + zwGEpeYYp8: { + auto: false, + answers: ["dk51cPSatI"], + }, + }, + payments: [], + invitations_to_pay: [], +}; diff --git a/src/export/digitalPlanning/model.test.ts b/src/export/digitalPlanning/model.test.ts index aa4b9623..8d5fc660 100644 --- a/src/export/digitalPlanning/model.test.ts +++ b/src/export/digitalPlanning/model.test.ts @@ -1,10 +1,10 @@ import { Passport } from "../../models/passport"; -import { mockProposedLDCPassportData } from "../oneApp/mocks/passport"; +import { mockLDCPSession } from "./mocks/lawfulDevelopmentCertificate"; import { DigitalPlanning } from "./model"; const mockPassport = new Passport({ data: { - ...mockProposedLDCPassportData, + ...mockLDCPSession.passport, }, }); diff --git a/src/export/digitalPlanning/model.ts b/src/export/digitalPlanning/model.ts index 10ccbe35..25571f9d 100644 --- a/src/export/digitalPlanning/model.ts +++ b/src/export/digitalPlanning/model.ts @@ -1,5 +1,6 @@ import Ajv from "ajv"; import addFormats from "ajv-formats"; +import { PartialDeep } from "type-fest"; import { Passport } from "../../types"; import jsonSchema from "./schema/schema.json"; @@ -41,12 +42,13 @@ export class DigitalPlanning { return { data: { user: { - role: this.passport.data?.["user.role"], + role: this.passport.data?.["user.role"][0], }, applicant: { - type: this.passport.data?.["applicant.type"], + type: this.passport.data?.["applicant.type"][0], contact: { name: { + title: this.passport.data?.["applicant.name.title"], first: this.passport.data?.["applicant.name.first"], last: this.passport.data?.["applicant.name.last"], }, @@ -59,7 +61,7 @@ export class DigitalPlanning { sameAsSiteAddress: true, }, siteContact: { - role: "applicant", + role: this.passport.data?.["applicant.siteContact"][0], }, }, property: { @@ -72,10 +74,10 @@ export class DigitalPlanning { title: this.passport.data?.["_address.title"], localAuthorityDistrict: this.passport.data?.["property.localAuthorityDistrict"], - region: this.passport.data?.["property.region"], + region: this.passport.data?.["property.region"][0], }, type: { - value: this.passport.data?.["property.type"], + value: this.passport.data?.["_address.planx_value"], description: this.passport.data?.["_address.planx_description"], }, boundary: { @@ -91,30 +93,42 @@ export class DigitalPlanning { }, application: { type: { - value: this.passport.data?.["application.type"], - description: "Planning Permission", + value: "ldc.proposed", // this.passport.data?.["application.type"] + description: "Lawful Development Certificate - Proposed", }, fee: { calculated: this.passport.data?.["application.fee.calculated"], payable: this.passport.data?.["application.fee.payable"], exemption: { - disability: - this.passport.data?.["application.fee.exemption.disability"], - resubmission: - this.passport.data?.["application.fee.exemption.resubmission"], + disability: Boolean( + this.passport.data?.["application.fee.exemption.disability"][0], + ), + resubmission: Boolean( + this.passport.data?.[ + "application.fee.exemption.resubmission" + ][0], + ), }, reduction: { - sports: this.passport.data?.["application.fee.reduction.sports"], - parishCouncil: - this.passport.data?.["application.fee.reduction.parishCouncil"], - alternative: - this.passport.data?.["application.fee.reduction.alternative"], + sports: Boolean( + this.passport.data?.["application.fee.reduction.sports"]?.[0], + ), + parishCouncil: Boolean( + this.passport.data?.[ + "application.fee.reduction.parishCouncil" + ]?.[0], + ), + alternative: Boolean( + this.passport.data?.[ + "application.fee.reduction.alternative" + ]?.[0], + ), }, }, declaration: { - accurate: this.passport.data?.["application.declaration.accurate"], + accurate: true, // Boolean(this.passport.data?.["application.declaration.accurate"][0]) connection: - this.passport.data?.["application.declaration.connection"], + this.passport.data?.["application.declaration.connection"][0], }, }, proposal: { @@ -148,6 +162,7 @@ export class DigitalPlanning { const isValid = validate(this.payload); if (!isValid) { + console.log(validate.errors); throw Error( `Invalid DigitalPlanning payload. Errors: ${validate.errors}`, ); From 176f0d0a544f593411c6afdf5f7276e6d83eb7af Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Thu, 28 Sep 2023 21:28:19 +0200 Subject: [PATCH 12/13] minimum mapping is passing validation across all 4 app types --- src/export/digitalPlanning/model.test.ts | 62 ++++++---- src/export/digitalPlanning/model.ts | 146 +++++++++++++++++------ 2 files changed, 149 insertions(+), 59 deletions(-) diff --git a/src/export/digitalPlanning/model.test.ts b/src/export/digitalPlanning/model.test.ts index 8d5fc660..14cb4b49 100644 --- a/src/export/digitalPlanning/model.test.ts +++ b/src/export/digitalPlanning/model.test.ts @@ -1,31 +1,51 @@ import { Passport } from "../../models/passport"; -import { mockLDCPSession } from "./mocks/lawfulDevelopmentCertificate"; +import { + mockLDCESession, + mockLDCPSession, +} from "./mocks/lawfulDevelopmentCertificate"; +import { mockPlanningPermissionSession } from "./mocks/planningPermission"; +import { mockPriorApprovalSession } from "./mocks/priorApproval"; import { DigitalPlanning } from "./model"; -const mockPassport = new Passport({ - data: { - ...mockLDCPSession.passport, +const mockPassports = [ + { + name: "LDC - Proposed", + data: new Passport({ data: { ...mockLDCPSession.passport } }), }, -}); + { + name: "LDC - Existing", + data: new Passport({ data: { ...mockLDCESession.passport } }), + }, + { + name: "Prior Approval", + data: new Passport({ data: { ...mockPriorApprovalSession.passport } }), + }, + { + name: "Planning Permission", + data: new Passport({ data: { ...mockPlanningPermissionSession.passport } }), + }, +]; describe("DigitalPlanning", () => { describe("getPayload", () => { - it.skip("should return valid payload", () => { - const instance = new DigitalPlanning({ - sessionId: "session123", - passport: mockPassport, - }); + mockPassports.forEach((mock) => { + it(`should return valid payload (${mock.name})`, () => { + const instance = new DigitalPlanning({ + sessionId: "session123", + passport: mock.data, + }); - const payload = instance.getPayload(); + const payload = instance.getPayload(); - expect(payload).toEqual(instance.payload); + expect(payload).toEqual(instance.payload); + }); }); describe("invalid payloads", () => { test("missing values", () => { const instance = new DigitalPlanning({ sessionId: "session123", - passport: mockPassport, + passport: mockPassports[0].data, }); // @ts-expect-error - The operand of a 'delete' operator must be optional @@ -39,7 +59,7 @@ describe("DigitalPlanning", () => { test("undefined values", () => { const instance = new DigitalPlanning({ sessionId: "session123", - passport: mockPassport, + passport: mockPassports[0].data, }); // @ts-expect-error - Type 'undefined' is not assignable to type 'Applicant' @@ -53,7 +73,7 @@ describe("DigitalPlanning", () => { test("incorrect types", () => { const instance = new DigitalPlanning({ sessionId: "session123", - passport: mockPassport, + passport: mockPassports[0].data, }); // @ts-expect-error - Type 'number' is not assignable to type 'string' @@ -67,7 +87,7 @@ describe("DigitalPlanning", () => { test("incorrect string format", () => { const instance = new DigitalPlanning({ sessionId: "session123", - passport: mockPassport, + passport: mockPassports[0].data, }); instance.payload.metadata.service.url = @@ -81,7 +101,7 @@ describe("DigitalPlanning", () => { test("incorrect datetime format", () => { const instance = new DigitalPlanning({ sessionId: "session123", - passport: mockPassport, + passport: mockPassports[0].data, }); instance.payload.metadata.session.submittedAt = @@ -92,14 +112,14 @@ describe("DigitalPlanning", () => { ); }); - test.skip("incorrect enum value", () => { + test("incorrect enum value", () => { const instance = new DigitalPlanning({ sessionId: "session123", - passport: mockPassport, + passport: mockPassports[0].data, }); - // @ts-expect-error Type '"invalid enum"' is not assignable to type '"bar" | "baz" | "boo"' - instance.payload.files[0].foo = "invalid enum"; + // @ts-expect-error Type '"invalid enum"' is not assignable to type '"applicant" | "agent" | "proxy"' + instance.payload.data.user.role = "tester"; expect(() => instance.getPayload()).toThrowError( /Invalid DigitalPlanning payload/, diff --git a/src/export/digitalPlanning/model.ts b/src/export/digitalPlanning/model.ts index 25571f9d..698df545 100644 --- a/src/export/digitalPlanning/model.ts +++ b/src/export/digitalPlanning/model.ts @@ -1,6 +1,5 @@ import Ajv from "ajv"; import addFormats from "ajv-formats"; -import { PartialDeep } from "type-fest"; import { Passport } from "../../types"; import jsonSchema from "./schema/schema.json"; @@ -44,47 +43,35 @@ export class DigitalPlanning { user: { role: this.passport.data?.["user.role"][0], }, - applicant: { - type: this.passport.data?.["applicant.type"][0], - contact: { - name: { - title: this.passport.data?.["applicant.name.title"], - first: this.passport.data?.["applicant.name.first"], - last: this.passport.data?.["applicant.name.last"], - }, - email: this.passport.data?.["applicant.email"], - phone: { - primary: this.passport.data?.["applicant.phone.primary"], - }, - }, - address: { - sameAsSiteAddress: true, - }, - siteContact: { - role: this.passport.data?.["applicant.siteContact"][0], - }, - }, + applicant: + this.passport.data?.["user.role"][0] === "applicant" + ? this.getApplicant() + : this.getApplicantWithAgent(), property: { address: { source: "Proposed by applicant", - latitude: this.passport.data?.["_address.latitude"], - longitude: this.passport.data?.["_address.longitude"], - x: this.passport.data?.["_address.x"], - y: this.passport.data?.["_address.y"], - title: this.passport.data?.["_address.title"], + latitude: this.passport.data?._address?.["latitude"], + longitude: this.passport.data?._address?.["longitude"], + x: this.passport.data?._address?.["x"], + y: this.passport.data?._address?.["y"], + title: this.passport.data?._address?.["title"], localAuthorityDistrict: this.passport.data?.["property.localAuthorityDistrict"], region: this.passport.data?.["property.region"][0], }, type: { - value: this.passport.data?.["_address.planx_value"], - description: this.passport.data?.["_address.planx_description"], + value: this.passport.data?._address?.["planx_value"], + description: this.passport.data?._address?.["planx_description"], }, boundary: { - site: this.passport.data?.["property.boundary.site"], + site: "geojson", // this.passport.data?.["property.boundary.site"], area: { - hectares: this.passport.data?.["property.boundary.area.hectares"], - squareMeters: this.passport.data?.["property.boundary.area"], + hectares: + this.passport.data?.["proposal.siteArea.hectares"] || + this.passport.data?.["property.boundary.area.hectares"], + squareMeters: + this.passport.data?.["proposal.siteArea"] || + this.passport.data?.["property.boundary.area"], }, }, constraints: { @@ -92,10 +79,7 @@ export class DigitalPlanning { }, }, application: { - type: { - value: "ldc.proposed", // this.passport.data?.["application.type"] - description: "Lawful Development Certificate - Proposed", - }, + type: this.getApplicationType(), fee: { calculated: this.passport.data?.["application.fee.calculated"], payable: this.passport.data?.["application.fee.payable"], @@ -126,14 +110,16 @@ export class DigitalPlanning { }, }, declaration: { - accurate: true, // Boolean(this.passport.data?.["application.declaration.accurate"][0]) + accurate: true, // Boolean(this.passport.data?.["application.declaration.accurate"][0]), connection: this.passport.data?.["application.declaration.connection"][0], }, }, proposal: { projectType: [], - description: this.passport.data?.["proposal.description"], + description: + this.passport.data?.["proposal.description"] || + "Not provided in Prior Approval?", }, }, result: [], @@ -162,11 +148,95 @@ export class DigitalPlanning { const isValid = validate(this.payload); if (!isValid) { - console.log(validate.errors); throw Error( `Invalid DigitalPlanning payload. Errors: ${validate.errors}`, ); } return true; } + + private getApplicant(): Payload["data"]["applicant"] { + return { + type: this.passport.data?.["applicant.type"][0], + contact: { + name: { + title: this.passport.data?.["applicant.name.title"], + first: this.passport.data?.["applicant.name.first"], + last: this.passport.data?.["applicant.name.last"], + }, + email: + this.passport.data?.["applicant.email"] || + this.passport.data?.["applicant.agent.email"], + phone: { + primary: + this.passport.data?.["applicant.phone.primary"] || + "Not provided by agent", + }, + }, + address: { + sameAsSiteAddress: true, + }, + siteContact: this.getSiteContact(), + }; + } + + private getApplicantWithAgent(): Payload["data"]["applicant"] { + return { + ...this.getApplicant(), + agent: { + contact: { + name: { + title: this.passport.data?.["applicant.agent.name.title"], + first: this.passport.data?.["applicant.agent.name.first"], + last: this.passport.data?.["applicant.agent.name.last"], + }, + email: this.passport.data?.["applicant.agent.email"], + phone: { + primary: this.passport.data?.["applicant.agent.phone.primary"], + }, + }, + address: { + sameAsSiteAddress: false, + line1: this.passport.data?.["applicant.agent.address"]?.["line1"], + line2: this.passport.data?.["applicant.agent.address"]?.["line2"], + town: this.passport.data?.["applicant.agent.address"]?.["town"], + county: this.passport.data?.["applicant.agent.address"]?.["county"], + postcode: + this.passport.data?.["applicant.agent.address"]?.["postcode"], + country: this.passport.data?.["applicant.agent.address"]?.["country"], + }, + }, + }; + } + + private getSiteContact(): Payload["data"]["applicant"]["siteContact"] { + if (this.passport.data?.["applicant.siteContact"][0] === "other") { + return { + role: "other", + name: this.passport.data?.["applicant.siteContact.name"][0], + email: this.passport.data?.["applicant.siteContact.email"], + phone: this.passport.data?.["applicant.siteContact.telephone"], + }; + } else { + return { + role: this.passport.data?.["applicant.siteContact"][0], + }; + } + } + + private getApplicationType(): Payload["data"]["application"]["type"] { + // @todo figure out how to lookup via exported type or schema.json ?? + // this satisfies test examples in interim + const schemaRef = { + "ldc.existing": "Lawful Development Certificate - Existing", + "ldc.proposed": "Lawful Development Certificate - Proposed", + "pa.part14.classJ": "Prior Approval - Install or change solar panels", + "pp.full.householder": "Planning Permission", + }; + + return { + value: this.passport.data?.["application.type"][0], + description: schemaRef[this.passport.data?.["application.type"][0]], + }; + } } From 7d9090b97d157616f7b3b2a56fa4818f4ec0ff0c Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Fri, 29 Sep 2023 09:01:24 +0200 Subject: [PATCH 13/13] tidy up --- src/export/digitalPlanning/index.ts | 18 ---- src/export/digitalPlanning/model.ts | 136 ++++++++++++++++------------ src/requests/export.ts | 15 +-- 3 files changed, 77 insertions(+), 92 deletions(-) diff --git a/src/export/digitalPlanning/index.ts b/src/export/digitalPlanning/index.ts index 64e2bbe7..86daedd6 100644 --- a/src/export/digitalPlanning/index.ts +++ b/src/export/digitalPlanning/index.ts @@ -22,21 +22,3 @@ export async function generateDigitalPlanningPayload( passport, }).getPayload(); } - -export async function generateDigitalPlanningPayloadWithoutValidation( - client: GraphQLClient, - sessionId: string, -): Promise { - const session = await getSessionById(client, sessionId); - if (!session) throw Error(`No session found matching ID ${sessionId}`); - - if (!session.data.passport?.data) - throw Error(`Data missing from passport for session ${sessionId}`); - - const passport = new Passport(session.data.passport); - - return new DigitalPlanning({ - sessionId, - passport, - }).getPayloadWithoutValidation(); -} diff --git a/src/export/digitalPlanning/model.ts b/src/export/digitalPlanning/model.ts index 698df545..449773c9 100644 --- a/src/export/digitalPlanning/model.ts +++ b/src/export/digitalPlanning/model.ts @@ -28,14 +28,7 @@ export class DigitalPlanning { } /** - * WIP - temporary method as we debug typescript / validation errors - */ - getPayloadWithoutValidation(): Payload { - return this.payload; - } - - /** - * WIP - lacking conditionals/optional properties; just a quick first go for e2e testing! + * WIP */ mapPassportToPayload(): Payload { return { @@ -48,67 +41,19 @@ export class DigitalPlanning { ? this.getApplicant() : this.getApplicantWithAgent(), property: { - address: { - source: "Proposed by applicant", - latitude: this.passport.data?._address?.["latitude"], - longitude: this.passport.data?._address?.["longitude"], - x: this.passport.data?._address?.["x"], - y: this.passport.data?._address?.["y"], - title: this.passport.data?._address?.["title"], - localAuthorityDistrict: - this.passport.data?.["property.localAuthorityDistrict"], - region: this.passport.data?.["property.region"][0], - }, + address: this.getPropertyAddress(), type: { value: this.passport.data?._address?.["planx_value"], description: this.passport.data?._address?.["planx_description"], }, - boundary: { - site: "geojson", // this.passport.data?.["property.boundary.site"], - area: { - hectares: - this.passport.data?.["proposal.siteArea.hectares"] || - this.passport.data?.["property.boundary.area.hectares"], - squareMeters: - this.passport.data?.["proposal.siteArea"] || - this.passport.data?.["property.boundary.area"], - }, - }, + boundary: this.getBoundary(), constraints: { planning: [], }, }, application: { type: this.getApplicationType(), - fee: { - calculated: this.passport.data?.["application.fee.calculated"], - payable: this.passport.data?.["application.fee.payable"], - exemption: { - disability: Boolean( - this.passport.data?.["application.fee.exemption.disability"][0], - ), - resubmission: Boolean( - this.passport.data?.[ - "application.fee.exemption.resubmission" - ][0], - ), - }, - reduction: { - sports: Boolean( - this.passport.data?.["application.fee.reduction.sports"]?.[0], - ), - parishCouncil: Boolean( - this.passport.data?.[ - "application.fee.reduction.parishCouncil" - ]?.[0], - ), - alternative: Boolean( - this.passport.data?.[ - "application.fee.reduction.alternative" - ]?.[0], - ), - }, - }, + fee: this.getApplicationFee(), declaration: { accurate: true, // Boolean(this.passport.data?.["application.declaration.accurate"][0]), connection: @@ -132,7 +77,7 @@ export class DigitalPlanning { }, session: { source: "PlanX", - id: "b3320abe-f5bc-4185-b61f-40e9e65f07ad", + id: "b3320abe-f5bc-4185-b61f-40e9e65f07ad", // this.sessionId throws 'must match format UUID' error createdAt: "2018-11-13T20:20:39+00:00", submittedAt: "2018-11-13T20:20:39+00:00", }, @@ -239,4 +184,75 @@ export class DigitalPlanning { description: schemaRef[this.passport.data?.["application.type"][0]], }; } + + private getPropertyAddress(): Payload["data"]["property"]["address"] { + const baseAddress = { + latitude: this.passport.data?._address?.["latitude"], + longitude: this.passport.data?._address?.["longitude"], + x: this.passport.data?._address?.["x"], + y: this.passport.data?._address?.["y"], + title: this.passport.data?._address?.["title"], + localAuthorityDistrict: + this.passport.data?.["property.localAuthorityDistrict"], + region: this.passport.data?.["property.region"][0], + }; + + if (this.passport.data?._address?.source === "os") { + return { + ...baseAddress, + source: "Ordnance Survey", + uprn: this.passport.data?._address?.["uprn"], + usrn: this.passport.data?._address?.["usrn"], + pao: this.passport.data?._address?.["pao"], + street: this.passport.data?._address?.["street"], + town: this.passport.data?._address?.["town"], + postcode: this.passport.data?._address?.["postcode"], + }; + } else { + return { + ...baseAddress, + source: "Proposed by applicant", + }; + } + } + + private getBoundary(): Payload["data"]["property"]["boundary"] { + return { + site: "geojson", // this.passport.data?.["property.boundary.site"], + area: { + hectares: + this.passport.data?.["proposal.siteArea.hectares"] || + this.passport.data?.["property.boundary.area.hectares"], + squareMeters: + this.passport.data?.["proposal.siteArea"] || + this.passport.data?.["property.boundary.area"], + }, + }; + } + + private getApplicationFee(): Payload["data"]["application"]["fee"] { + return { + calculated: this.passport.data?.["application.fee.calculated"], + payable: this.passport.data?.["application.fee.payable"], + exemption: { + disability: Boolean( + this.passport.data?.["application.fee.exemption.disability"][0], + ), + resubmission: Boolean( + this.passport.data?.["application.fee.exemption.resubmission"][0], + ), + }, + reduction: { + sports: Boolean( + this.passport.data?.["application.fee.reduction.sports"]?.[0], + ), + parishCouncil: Boolean( + this.passport.data?.["application.fee.reduction.parishCouncil"]?.[0], + ), + alternative: Boolean( + this.passport.data?.["application.fee.reduction.alternative"]?.[0], + ), + }, + }; + } } diff --git a/src/requests/export.ts b/src/requests/export.ts index 93051dc9..abd08688 100644 --- a/src/requests/export.ts +++ b/src/requests/export.ts @@ -2,10 +2,7 @@ import { GraphQLClient } from "graphql-request"; import { computeBOPSParams } from "../export/bops"; import { computeCSVData } from "../export/csv"; -import { - generateDigitalPlanningPayload, - generateDigitalPlanningPayloadWithoutValidation, -} from "../export/digitalPlanning"; +import { generateDigitalPlanningPayload } from "../export/digitalPlanning"; import { DigitalPlanningDataSchema } from "../export/digitalPlanning/schema/types"; import type { BOPSExportData, ExportData } from "../types"; import { findPublishedFlowBySessionId, getFlowName } from "./flow"; @@ -31,16 +28,6 @@ export class ExportClient { ): Promise { return generateDigitalPlanningPayload(this.client, sessionId); } - - /** Temp export for testing */ - digitalPlanningDataPayloadWithoutValidation( - sessionId: string, - ): Promise { - return generateDigitalPlanningPayloadWithoutValidation( - this.client, - sessionId, - ); - } } export async function generateCSVData(