diff --git a/examples/prototypeApplication/data/landDrainageConsent.ts b/examples/prototypeApplication/data/landDrainageConsent.ts index e69de29b..62255aa4 100644 --- a/examples/prototypeApplication/data/landDrainageConsent.ts +++ b/examples/prototypeApplication/data/landDrainageConsent.ts @@ -0,0 +1,672 @@ +import {PrototypeApplication} from '../../../types/schemas/prototypeApplication'; + +const version = process.env['VERSION'] || '@next'; + +export const landDrainageConsentPrototype: PrototypeApplication = { + applicationType: 'landDrainageConsent', + data: { + user: { + role: 'applicant', + }, + applicant: { + type: 'company', + name: { + title: 'Bishop', + first: 'Gundulf', + last: 'of Rochester', + }, + email: 'Gundulf1066@email.org', + phone: { + primary: '012345678900', + }, + company: { + name: 'The Normans', + }, + address: { + sameAsSiteAddress: true, + }, + siteContact: { + role: 'applicant', + }, + // ownership: { + // interest: 'other', + // }, + // maintenanceContact: [ + // { + // when: 'duringConstruction', + // address: { + // line1: 'Pevensey Castle', + // town: 'Pevensey', + // postcode: 'PE737SY', + // }, + // contact: { + // name: { + // title: 'Count', + // first: 'Robert', + // last: 'of Mortain', + // }, + // email: 'countbobby@email.org', + // phone: '012345678901', + // }, + // }, + // { + // when: 'afterConstruction', + // address: { + // line1: 'Dover Castle', + // town: 'Dover', + // postcode: 'DO737CA', + // }, + // contact: { + // name: { + // title: 'Baron', + // first: 'Roger', + // last: 'De Leybourne', + // }, + // email: 'baronsarerevolting@email.org', + // phone: '098765432109', + // company: { + // name: "The Barons' Revolt", + // }, + // }, + // }, + // ], + }, + property: { + address: { + latitude: 51.3893641, + longitude: 0.5014056, + x: 574136.97, + y: 168560.23, + title: 'ROCHESTER CASTLE, CASTLE HILL, ROCHESTER', + source: 'Ordnance Survey', + uprn: '000044026089', + usrn: '32100321', + pao: 'ROCHESTER CASTLE', + street: 'CASTLE HILL', + town: 'ROCHESTER', + postcode: 'ME1 1SW', + singleLine: 'ROCHESTER CASTLE, CASTLE HILL, ROCHESTER, MEDWAY, ME1 1SW', + }, + localAuthorityDistrict: ['Medway'], + region: 'South East', + type: 'object.monument.ruin', + planning: { + sources: [ + 'https://api.editor.planx.dev/gis/medway?geom=MULTIPOLYGON+%28%28%280.501333+51.389204%2C+0.501327+51.389199%2C+0.501346+51.38919%2C+0.501352+51.389196%2C+0.5014+51.389172%2C+0.501397+51.389144%2C+0.501411+51.389132%2C+0.501444+51.389121%2C+0.501496+51.389119%2C+0.501434+51.389032%2C+0.501347+51.388881%2C+0.501359+51.388874%2C+0.501334+51.388851%2C+0.501338+51.388839%2C+0.501489+51.388798%2C+0.501726+51.388796%2C+0.502053+51.389053%2C+0.50167+51.389267%2C+0.501967+51.38942%2C+0.501988+51.389411%2C+0.50202+51.389429%2C+0.502181+51.389535%2C+0.502302+51.389655%2C+0.502374+51.38964%2C+0.502416+51.389716%2C+0.502369+51.389725%2C+0.502368+51.389734%2C+0.502346+51.389744%2C+0.502395+51.389854%2C+0.502762+51.389814%2C+0.502818+51.389814%2C+0.50282+51.389997%2C+0.5028+51.390009%2C+0.502456+51.390001%2C+0.502391+51.390006%2C+0.502379+51.390081%2C+0.502361+51.390118%2C+0.50232+51.390174%2C+0.502262+51.390227%2C+0.502188+51.390267%2C+0.502061+51.390275%2C+0.502009+51.390294%2C+0.501308+51.390767%2C+0.501288+51.390844%2C+0.501277+51.390848%2C+0.501089+51.390825%2C+0.501085+51.390821%2C+0.501112+51.390769%2C+0.501038+51.390767%2C+0.501053+51.390696%2C+0.501025+51.390664%2C+0.501099+51.390638%2C+0.501106+51.390622%2C+0.501062+51.390559%2C+0.501022+51.390527%2C+0.50097+51.390464%2C+0.50088+51.390319%2C+0.500776+51.390202%2C+0.500592+51.389857%2C+0.500495+51.389655%2C+0.500548+51.38964%2C+0.500614+51.389683%2C+0.500618+51.389621%2C+0.500633+51.38958%2C+0.500721+51.389489%2C+0.500771+51.389459%2C+0.501262+51.389242%2C+0.501258+51.389238%2C+0.501285+51.389225%2C+0.501279+51.389219%2C+0.501296+51.389212%2C+0.501302+51.389218%2C+0.501333+51.389204%29%29%29&analytics=false&sessionId=8e372199-30e8-4b01-aef0-0745195b0e14', + 'https://api.editor.planx.dev/roads?usrn=32100321', + ], + designations: [ + { + value: 'tpo', + intersects: false, + }, + { + value: 'flood', + intersects: true, + entities: [ + { + name: 'Tidal Models - Risk level 3', + source: { + text: 'Planning Data', + url: 'https://www.planning.data.gov.uk/entity/65104983', + }, + }, + { + name: 'Tidal Models - Risk level 2', + source: { + text: 'Planning Data', + url: 'https://www.planning.data.gov.uk/entity/65230121', + }, + }, + ], + }, + { + value: 'listed', + intersects: true, + entities: [ + { + name: 'ROCHESTER CASTLE', + source: { + text: 'Planning Data', + url: 'https://www.planning.data.gov.uk/entity/31792007', + }, + }, + { + name: 'Rochester Castle', + source: { + text: 'Planning Data', + url: 'https://www.planning.data.gov.uk/entity/42127185', + }, + }, + ], + }, + { + value: 'article4', + intersects: false, + }, + { + value: 'monument', + intersects: true, + entities: [ + { + name: 'Rochester Castle', + source: { + text: 'Planning Data', + url: 'https://www.planning.data.gov.uk/entity/13909855', + }, + }, + ], + }, + { + value: 'greenBelt', + intersects: false, + }, + { + value: 'designated', + intersects: true, + }, + { + value: 'nature.SAC', + intersects: false, + }, + { + value: 'nature.SPA', + intersects: false, + }, + { + value: 'nature.ASNW', + intersects: false, + }, + { + value: 'nature.SSSI', + intersects: false, + }, + { + value: 'flood.zone.1', + intersects: false, + }, + { + value: 'flood.zone.2', + intersects: true, + }, + { + value: 'flood.zone.3', + intersects: true, + }, + { + value: 'brownfieldSite', + intersects: false, + }, + { + value: 'designated.WHS', + intersects: false, + }, + { + value: 'listed.grade.I', + intersects: true, + }, + { + value: 'registeredPark', + intersects: false, + }, + { + value: 'designated.AONB', + intersects: false, + }, + { + value: 'listed.grade.II', + intersects: false, + }, + { + value: 'listed.grade.II*', + intersects: false, + }, + { + value: 'nature.ramsarSite', + intersects: false, + }, + { + value: 'designated.nationalPark', + intersects: false, + }, + { + value: 'designated.conservationArea', + intersects: true, + entities: [ + { + name: 'Polygon', + source: { + text: 'Planning Data', + url: 'https://www.planning.data.gov.uk/entity/44009809', + }, + }, + ], + }, + { + value: 'designated.nationalPark.broads', + intersects: false, + }, + { + value: 'road.classified', + intersects: false, + }, + ], + }, + boundary: { + site: { + type: 'Feature', + geometry: { + type: 'MultiPolygon', + coordinates: [ + [ + [ + [0.501333, 51.389204], + [0.501327, 51.389199], + [0.501346, 51.38919], + [0.501352, 51.389196], + [0.5014, 51.389172], + [0.501397, 51.389144], + [0.501411, 51.389132], + [0.501444, 51.389121], + [0.501496, 51.389119], + [0.501434, 51.389032], + [0.501347, 51.388881], + [0.501359, 51.388874], + [0.501334, 51.388851], + [0.501338, 51.388839], + [0.501489, 51.388798], + [0.501726, 51.388796], + [0.502053, 51.389053], + [0.50167, 51.389267], + [0.501967, 51.38942], + [0.501988, 51.389411], + [0.50202, 51.389429], + [0.502181, 51.389535], + [0.502302, 51.389655], + [0.502374, 51.38964], + [0.502416, 51.389716], + [0.502369, 51.389725], + [0.502368, 51.389734], + [0.502346, 51.389744], + [0.502395, 51.389854], + [0.502762, 51.389814], + [0.502818, 51.389814], + [0.50282, 51.389997], + [0.5028, 51.390009], + [0.502456, 51.390001], + [0.502391, 51.390006], + [0.502379, 51.390081], + [0.502361, 51.390118], + [0.50232, 51.390174], + [0.502262, 51.390227], + [0.502188, 51.390267], + [0.502061, 51.390275], + [0.502009, 51.390294], + [0.501308, 51.390767], + [0.501288, 51.390844], + [0.501277, 51.390848], + [0.501089, 51.390825], + [0.501085, 51.390821], + [0.501112, 51.390769], + [0.501038, 51.390767], + [0.501053, 51.390696], + [0.501025, 51.390664], + [0.501099, 51.390638], + [0.501106, 51.390622], + [0.501062, 51.390559], + [0.501022, 51.390527], + [0.50097, 51.390464], + [0.50088, 51.390319], + [0.500776, 51.390202], + [0.500592, 51.389857], + [0.500495, 51.389655], + [0.500548, 51.38964], + [0.500614, 51.389683], + [0.500618, 51.389621], + [0.500633, 51.38958], + [0.500721, 51.389489], + [0.500771, 51.389459], + [0.501262, 51.389242], + [0.501258, 51.389238], + [0.501285, 51.389225], + [0.501279, 51.389219], + [0.501296, 51.389212], + [0.501302, 51.389218], + [0.501333, 51.389204], + ], + ], + ], + }, + properties: { + name: '', + entity: 12000665421, + prefix: 'title-boundary', + dataset: 'title-boundary', + 'end-date': '', + typology: 'geography', + reference: '45856207', + 'entry-date': '2024-05-06', + 'start-date': '2010-06-08', + 'organisation-entity': '13', + }, + }, + area: { + hectares: 1.684864, + squareMetres: 16848.64, + }, + }, + }, + application: { + fee: { + calculated: 200, + payable: 200, + exemption: { + disability: false, + resubmission: false, + }, + reduction: { + sports: false, + parishCouncil: false, + alternative: false, + }, + reference: { + govPay: 'sandbox-456', + }, + }, + declaration: { + accurate: true, + connection: { + value: 'none', + }, + }, + preApp: { + reference: '24/12345/PRE', + date: '2024-06-08', + officer: 'Unknown', + summary: 'Not provided', + }, + planningApp: { + reference: '24/12345/FUL', + date: '2024-06-28', + localPlanningAuthority: 'Medway', + }, + }, + proposal: { + projectType: ['alter'], + description: + 'Upgrading of our drawbridge as it needs a bit of work - retarring, sharpen the spikes, derust the chains etc. We will need to access the lifting gear which is situated in the moat so will need to temporarily divert the water ', + date: { + start: '2024-07-08', + completion: '2024-08-08', + }, + boundary: { + site: { + type: 'Feature', + geometry: { + type: 'MultiPolygon', + coordinates: [ + [ + [ + [0.501333, 51.389204], + [0.501327, 51.389199], + [0.501346, 51.38919], + [0.501352, 51.389196], + [0.5014, 51.389172], + [0.501397, 51.389144], + [0.501411, 51.389132], + [0.501444, 51.389121], + [0.501496, 51.389119], + [0.501434, 51.389032], + [0.501347, 51.388881], + [0.501359, 51.388874], + [0.501334, 51.388851], + [0.501338, 51.388839], + [0.501489, 51.388798], + [0.501726, 51.388796], + [0.502053, 51.389053], + [0.50167, 51.389267], + [0.501967, 51.38942], + [0.501988, 51.389411], + [0.50202, 51.389429], + [0.502181, 51.389535], + [0.502302, 51.389655], + [0.502374, 51.38964], + [0.502416, 51.389716], + [0.502369, 51.389725], + [0.502368, 51.389734], + [0.502346, 51.389744], + [0.502395, 51.389854], + [0.502762, 51.389814], + [0.502818, 51.389814], + [0.50282, 51.389997], + [0.5028, 51.390009], + [0.502456, 51.390001], + [0.502391, 51.390006], + [0.502379, 51.390081], + [0.502361, 51.390118], + [0.50232, 51.390174], + [0.502262, 51.390227], + [0.502188, 51.390267], + [0.502061, 51.390275], + [0.502009, 51.390294], + [0.501308, 51.390767], + [0.501288, 51.390844], + [0.501277, 51.390848], + [0.501089, 51.390825], + [0.501085, 51.390821], + [0.501112, 51.390769], + [0.501038, 51.390767], + [0.501053, 51.390696], + [0.501025, 51.390664], + [0.501099, 51.390638], + [0.501106, 51.390622], + [0.501062, 51.390559], + [0.501022, 51.390527], + [0.50097, 51.390464], + [0.50088, 51.390319], + [0.500776, 51.390202], + [0.500592, 51.389857], + [0.500495, 51.389655], + [0.500548, 51.38964], + [0.500614, 51.389683], + [0.500618, 51.389621], + [0.500633, 51.38958], + [0.500721, 51.389489], + [0.500771, 51.389459], + [0.501262, 51.389242], + [0.501258, 51.389238], + [0.501285, 51.389225], + [0.501279, 51.389219], + [0.501296, 51.389212], + [0.501302, 51.389218], + [0.501333, 51.389204], + ], + ], + ], + }, + properties: { + name: '', + entity: 12000665421, + prefix: 'title-boundary', + dataset: 'title-boundary', + 'end-date': '', + typology: 'geography', + reference: '45856207', + 'entry-date': '2024-05-06', + 'start-date': '2010-06-08', + 'organisation-entity': '13', + planx_user_action: 'Accepted the title boundary', + }, + }, + area: { + hectares: 1.684864, + squareMetres: 16848.64, + }, + }, + watercourse: { + name: 'Rochester Castle Moat', + type: 'ditch', + }, + structures: { + type: 'bridge', + total: 4, + permanent: { + count: 1, + }, + temporary: { + count: 3, + }, + }, + environmentalImpactDescription: + 'These are the environmental impact of the works to be undertaken: A, B, C. And this is how we are mitigating them: 1, 2, 3', + }, + }, + responses: [ + { + question: 'What type of property is it?', + responses: [ + { + value: 'Something else', + }, + ], + metadata: { + autoAnswered: true, + }, + }, + { + question: 'Which of these best describes the use of the property?', + responses: [ + { + value: 'Other', + }, + ], + metadata: { + autoAnswered: true, + }, + }, + { + question: 'What type of property is it?', + responses: [ + { + value: 'Historic site', + }, + ], + metadata: {}, + }, + { + question: + 'Did you get any pre-application advice from the council before making this application?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: {}, + }, + { + question: 'What was the name of the planning officer you spoke to?', + responses: [ + { + value: 'unknown', + }, + ], + metadata: {}, + }, + { + question: 'What was your reference?', + responses: [ + { + value: '24/12345/PRE', + }, + ], + metadata: {}, + }, + { + question: 'What date was the pre-application advice given on?', + responses: [ + { + value: '2024-06-08', + }, + ], + metadata: {}, + }, + { + question: 'What was the pre-application advice you have received?', + responses: [ + { + value: + 'this is the advice received. this is the advice received.this is the advice received.this is the advice received.this is the advice received.', + }, + ], + metadata: {}, + }, + { + question: 'Which Local Planning authority is it?', + responses: [ + { + value: 'Medway', + }, + ], + metadata: { + autoAnswered: true, + }, + }, + { + question: 'Connections with Medway Council', + responses: [ + { + value: 'None of the above apply to me', + }, + ], + metadata: {}, + }, + { + question: 'I confirm that:', + responses: [ + { + value: + 'The information contained in this application is truthful, accurate and complete, to the best of my knowledge', + }, + ], + metadata: {}, + }, + ], + files: [ + { + name: 'https://api.editor.planx.dev/file/private/40z9r39r/test%20document.pdf', + type: ['relevantInformation'], + }, + ], + metadata: { + id: '8e372199-30e8-4b01-aef0-0745195b0e14', + organisation: 'MDW', + submittedAt: '2024-07-11T08:28:22.493Z', + source: 'PlanX', + service: { + flowId: '5aab3466-8fb0-4e73-b51d-347d61ad5547', + url: 'https://editor.planx.dev/medway/apply-for-land-drainage-consent-copy/published', + files: { + required: [ + { + value: 'necessaryInformation', + description: + 'Information the authority considers necessary for the application', + }, + ], + recommended: [ + { + value: 'relevantInformation', + description: + 'Information the applicant considers relevant to the application', + }, + ], + optional: [], + }, + fee: { + calculated: [], + payable: [], + }, + }, + schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schema.json`, + }, +}; diff --git a/examples/prototypeApplication/data/listedBuildingConsent.ts b/examples/prototypeApplication/data/listedBuildingConsent.ts index e69de29b..acbbc5fd 100644 --- a/examples/prototypeApplication/data/listedBuildingConsent.ts +++ b/examples/prototypeApplication/data/listedBuildingConsent.ts @@ -0,0 +1,1116 @@ +import {PrototypeApplication} from '../../../types/schemas/prototypeApplication'; + +const version = process.env['VERSION'] || '@next'; + +export const listedBuildingConsentPrototype: PrototypeApplication = { + applicationType: 'listed', + data: { + user: { + role: 'applicant', + }, + applicant: { + type: 'company', + name: { + first: 'Jim', + last: 'Henson', + }, + email: 'jim@muppets.org', + phone: { + primary: '0123456789', + }, + company: { + name: 'The Jim Henson Company', + }, + address: { + sameAsSiteAddress: true, + }, + siteContact: { + role: 'other', + name: 'Gonzo The Great', + email: 'gonzo@muppets.org', + phone: '987654321', + }, + // ownership: { + // interest: 'owner.sole', + // certificate: 'b', + // noticeGiven: true, + // agriculturalTenants: true, + // ownersKnown: 'all', + // owners: [ + // { + // name: 'Rowlf the Dog', + // address: { + // line1: '123 Sesame Street', + // town: 'New York City', + // postcode: '10023', + // country: 'USA', + // }, + // noticeDate: '2024-04-01', + // }, + // { + // name: 'Rizzo the Rat', + // address: { + // line1: '123 Sesame Street', + // town: 'New York City', + // postcode: '10023', + // country: 'USA', + // }, + // noticeDate: '2024-04-01', + // }, + // ], + // declaration: { + // accurate: true, + // }, + // }, + }, + property: { + address: { + latitude: 51.554865, + longitude: -0.1711756, + x: 526885, + y: 185582, + title: '50, DOWNSHIRE HILL, LONDON', + source: 'Ordnance Survey', + uprn: '000005023627', + usrn: '20400184', + pao: '50', + street: 'DOWNSHIRE HILL', + town: 'LONDON', + postcode: 'NW3 1PA', + singleLine: '50, DOWNSHIRE HILL, LONDON, CAMDEN, NW3 1PA', + }, + localAuthorityDistrict: ['Camden'], + region: 'London', + type: 'residential.dwelling.flat', + planning: { + sources: [ + 'https://api.editor.planx.dev/gis/camden?geom=MULTIPOLYGON+%28%28%28-0.171042+51.554871%2C+-0.171026+51.554883%2C+-0.171194+51.554968%2C+-0.171312+51.554881%2C+-0.171287+51.554867%2C+-0.171275+51.554876%2C+-0.17114+51.554804%2C+-0.171042+51.554871%29%29%29&analytics=false&sessionId=0f2abdbd-2ec5-4918-979b-123bd856b94f', + 'https://api.editor.planx.dev/roads?usrn=20400184', + ], + designations: [ + { + value: 'tpo', + intersects: false, + }, + { + value: 'flood', + intersects: false, + }, + { + value: 'listed', + intersects: true, + }, + { + value: 'article4', + intersects: true, + entities: [ + { + name: 'Basements', + source: { + text: 'Planning Data', + url: 'https://www.planning.data.gov.uk/entity/7010002613', + }, + }, + ], + }, + { + value: 'monument', + intersects: false, + }, + { + value: 'greenBelt', + intersects: false, + }, + { + value: 'designated', + intersects: true, + }, + { + value: 'nature.SAC', + intersects: false, + }, + { + value: 'nature.SPA', + intersects: false, + }, + { + value: 'nature.ASNW', + intersects: false, + }, + { + value: 'nature.SSSI', + intersects: false, + }, + { + value: 'brownfieldSite', + intersects: false, + }, + { + value: 'designated.WHS', + intersects: false, + }, + { + value: 'listed.grade.I', + intersects: false, + }, + { + value: 'registeredPark', + intersects: false, + }, + { + value: 'designated.AONB', + intersects: false, + }, + { + value: 'listed.grade.II', + intersects: true, + entities: [ + { + name: 'NUMBERS 50 AND 51 AND ATTACHED AREA WALLS AND BALUSTRADE', + source: { + text: 'Planning Data', + url: 'https://www.planning.data.gov.uk/entity/31535771', + }, + }, + { + name: '(South side) Nos.50 AND 51 and attached area walls & balustrade', + source: { + text: 'Planning Data', + url: 'https://www.planning.data.gov.uk/entity/42115931', + }, + }, + ], + }, + { + value: 'listed.grade.II*', + intersects: false, + }, + { + value: 'nature.ramsarSite', + intersects: false, + }, + { + value: 'designated.nationalPark', + intersects: false, + }, + { + value: 'designated.conservationArea', + intersects: true, + entities: [ + { + name: 'Hampstead', + source: { + text: 'Planning Data', + url: 'https://www.planning.data.gov.uk/entity/44009659', + }, + }, + ], + }, + { + value: 'designated.nationalPark.broads', + intersects: false, + }, + { + value: 'road.classified', + intersects: false, + }, + ], + }, + boundary: { + site: { + type: 'Feature', + geometry: { + type: 'MultiPolygon', + coordinates: [ + [ + [ + [-0.171042, 51.554871], + [-0.171026, 51.554883], + [-0.171194, 51.554968], + [-0.171312, 51.554881], + [-0.171287, 51.554867], + [-0.171275, 51.554876], + [-0.17114, 51.554804], + [-0.171042, 51.554871], + ], + ], + ], + }, + properties: { + name: '', + entity: 12000495084, + prefix: 'title-boundary', + dataset: 'title-boundary', + 'end-date': '', + typology: 'geography', + reference: '48946667', + 'entry-date': '2023-12-12', + 'start-date': '2010-12-02', + 'organisation-entity': '13', + }, + }, + area: { + hectares: 0.017536000000000003, + squareMetres: 175.36, + }, + }, + }, + application: { + fee: { + notApplicable: true, + }, + declaration: { + accurate: true, + connection: { + value: 'none', + }, + }, + preApp: { + reference: '123-TEST-REF', + date: '2024-01-15', + officer: 'Miss Piggy', + summary: 'Not provided', + }, + }, + proposal: { + projectType: [ + 'internal', + 'alter.changeOfMaterials.floors', + 'alter.changeOfMaterials.internalWalls', + ], + description: 'Remove an internal wall and construct a puppet theatre', + boundary: { + site: { + type: 'Feature', + geometry: { + type: 'MultiPolygon', + coordinates: [ + [ + [ + [-0.171042, 51.554871], + [-0.171026, 51.554883], + [-0.171194, 51.554968], + [-0.171312, 51.554881], + [-0.171287, 51.554867], + [-0.171275, 51.554876], + [-0.17114, 51.554804], + [-0.171042, 51.554871], + ], + ], + ], + }, + properties: { + name: '', + entity: 12000495084, + prefix: 'title-boundary', + dataset: 'title-boundary', + 'end-date': '', + typology: 'geography', + reference: '48946667', + 'entry-date': '2023-12-12', + 'start-date': '2010-12-02', + 'organisation-entity': '13', + planx_user_action: 'Accepted the title boundary', + }, + }, + area: { + hectares: 0.017536000000000003, + squareMetres: 175.36, + }, + }, + }, + }, + responses: [ + { + question: 'Is the property in Camden?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'The property', + }, + }, + { + question: 'What type of property is it?', + responses: [ + { + value: 'Flat (or building containing flats)', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'The property', + }, + }, + { + question: 'Is it a listed building?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'The property', + }, + }, + { + question: 'What type of property is it?', + responses: [ + { + value: 'Residential', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'Select the types of changes involved in the project', + responses: [ + { + value: 'Carry out internal work', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'What does the project involve?', + responses: [ + { + value: 'Internal works', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'Do the internal works involve any of these types of changes?', + responses: [ + { + value: 'Demolishing internal walls', + }, + ], + metadata: { + policyRefs: [ + { + text: 'National Planning Policy Framework, Section 16', + url: 'https://www.gov.uk/guidance/national-planning-policy-framework/16-conserving-and-enhancing-the-historic-environment', + }, + { + text: 'Planning (Listed Buildings and Conservation Areas) Act 1990, section 8', + url: 'https://www.legislation.gov.uk/ukpga/1990/9/section/8', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Does the project introduce new materials?', + responses: [ + { + value: 'Some new materials, some to match the existing', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Select where the project introduces new materials', + responses: [ + { + value: 'Floors', + }, + { + value: 'Internal walls', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Floors: describe the existing and new materials', + responses: [ + { + value: + "The existing rooms have original wide oak floorboards, but I'm going to patch the area where the walls are coming down with narrow new oak boards.", + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Is it a repair, replacement or new flooring?', + responses: [ + { + value: 'Something else', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'Internal walls: describe the existing and new materials', + responses: [ + { + value: + "The existing walls are off-white plaster. After removing a dividing internal wall, we'll patch and paint the new merged room Kermit green.", + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Is it an ecclesiastical building?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'What grading is the building?', + responses: [ + { + value: 'Unsure', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: + 'Is the building subject to a Certificate of Immunity from Listing?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Section 6 of the Planning (Listed Buildings and Conservation Areas) Act 1990', + url: 'https://www.legislation.gov.uk/ukpga/1990/9/section/6', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Is the property in a conservation area?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'How do you want to submit this information?', + responses: [ + { + value: 'Upload a document', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'What type of application is it?', + responses: [ + { + value: 'Apply for listed building consent', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About you', + }, + }, + { + question: 'Are you applying on behalf of someone else?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Which of these best describes you?', + responses: [ + { + value: 'Company', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Your contact details', + responses: [ + { + value: 'Jim Henson The Jim Henson Company 0123456789 jim@muppets.org', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Is your contact address the same as the property address?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Can a planning officer see the works from public land?', + responses: [ + { + value: "Yes, it's visible from the road or somewhere else", + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: + 'We may need to visit the site to assess your application. If we do, who should we contact to arrange the visit?', + responses: [ + { + value: 'Someone else', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: + 'Contact details of the person we should contact about a site visit', + responses: [ + { + value: + 'Gonzo The Great The Jim Henson Company 987654321 gonzo@muppets.org', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'What type of application is this?', + responses: [ + { + value: 'LBC', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About you', + }, + }, + { + question: 'Which of these best describes you?', + responses: [ + { + value: "I'm the applicant", + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About you', + }, + }, + { + question: 'Are you the sole owner of the land?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Article 13 of the Town and Country Planning (Development Management Procedure) (England) Order 2015', + url: 'https://www.legislation.gov.uk/uksi/2015/595/article/13/made', + }, + ], + sectionName: 'About you', + }, + }, + { + question: 'Does the land have any agricultural tenants?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Article 13 of the Town and Country Planning (Development Management Procedure) (England) Order 2015', + url: 'https://www.legislation.gov.uk/uksi/2015/595/article/13/made', + }, + ], + sectionName: 'About you', + }, + }, + { + question: + 'Do you know the names and addresses of all agricultural tenants?', + responses: [ + { + value: 'Yes, all of them', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: + 'Have you given requisite notice to all the agricultural tenants?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Article 13 of the Town and Country Planning (Development Management Procedure) (England) Order 2015', + url: 'https://www.legislation.gov.uk/uksi/2015/595/article/13/made', + }, + ], + sectionName: 'About you', + }, + }, + { + question: 'How many owners or agricultural tenants have been notified?', + responses: [ + { + value: '2', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Full name of the first notified owner or agricultural tenant', + responses: [ + { + value: 'Rowlf the Dog', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Address of the first notified owner or agricultural tenant', + responses: [ + { + value: '123 Sesame Street, New York City, 10023, USA', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: + 'Date on which notice was given to the first owner or agricultural tenant', + responses: [ + { + value: '2024-04-01', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Full name of the second notified owner or agricultural tenant', + responses: [ + { + value: 'Rizzo the Rat', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Address of the second notified owner or agricultural tenant', + responses: [ + { + value: '123 Sesame Street, New York City, 10023, USA', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: + 'Date on which notice was given to the second owner or agricultural tenant', + responses: [ + { + value: '2024-04-01', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Certificate of ownership declaration - Certificate B', + responses: [ + { + value: 'I certify that the above is true', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Article 13 of the Town and Country Planning (Development Management Procedure) (England) Order 2015', + url: 'https://www.legislation.gov.uk/uksi/2015/595/article/13/made', + }, + { + text: 'Schedule 2 to the Town and Country Planning (Development Management Procedure (England) (Order) 2015', + url: 'https://www.legislation.gov.uk/uksi/2015/595/schedule/2/made', + }, + ], + sectionName: 'About you', + }, + }, + { + question: + 'Did you get any pre-application advice from the council before making this application?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'What was the name of the planning officer you spoke to?', + responses: [ + { + value: 'Miss Piggy', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'What was your reference?', + responses: [ + { + value: '123-TEST-REF', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'What date was the pre-application advice given on?', + responses: [ + { + value: '2024-01-15', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'What type of application is it?', + responses: [ + { + value: 'Listed Building Consent', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About you', + }, + }, + { + question: 'What type of application is it?', + responses: [ + { + value: 'Listed building consent', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About you', + }, + }, + { + question: 'What changes does the project involve?', + responses: [ + { + value: 'Alter', + }, + { + value: 'Internal works', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Upload application documents', + }, + }, + { + question: 'Where do you want to alter the property?', + responses: [ + { + value: 'Inside the listed building', + }, + ], + metadata: { + sectionName: 'Upload application documents', + }, + }, + { + question: 'Does the project involve any of these alterations?', + responses: [ + { + value: 'Apply plaster or paint', + }, + { + value: 'Remove internal wall', + }, + { + value: 'Replace joinery, including internal doors', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Section 7 of the Planning (Listed Buildings and Conservation Areas) Act 1990', + url: 'https://www.legislation.gov.uk/ukpga/1990/9/section/8', + }, + ], + sectionName: 'Upload application documents', + }, + }, + { + question: 'Is the wall load bearing?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'Upload application documents', + }, + }, + { + question: 'Do the internal works involve any of these?', + responses: [ + { + value: 'Demolishing internal walls', + }, + ], + metadata: { + sectionName: 'Upload application documents', + }, + }, + { + question: 'Is this for submission or information only?', + responses: [ + { + value: 'Submission', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Upload application documents', + }, + }, + { + question: 'Which Local Planning authority is it?', + responses: [ + { + value: 'Camden', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Review the application', + }, + }, + { + question: 'Connections with London Borough of Camden', + responses: [ + { + value: 'None of the above apply to me', + }, + ], + metadata: { + sectionName: 'Review the application', + }, + }, + { + question: 'I confirm that:', + responses: [ + { + value: + 'The information contained in this application is truthful, accurate and complete, to the best of my knowledge', + }, + ], + metadata: { + sectionName: 'Review the application', + }, + }, + { + question: 'Which Local Planning authority is it?', + responses: [ + { + value: 'Camden', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Submit the appliction', + }, + }, + ], + files: [ + { + name: 'https://api.editor.planx.dev/file/private/c6mo049s/other.pdf', + type: ['otherDrawing', 'visualisations'], + }, + { + name: 'https://api.editor.planx.dev/file/private/n0akv537/myPlans.pdf', + type: [ + 'joinerySections', + 'sitePlan.existing', + 'sitePlan.proposed', + 'floorPlan.existing', + 'floorPlan.proposed', + ], + }, + { + name: 'https://api.editor.planx.dev/file/private/yencabq4/heritageStatement.pdf', + type: ['heritageStatement'], + }, + { + name: 'https://api.editor.planx.dev/file/private/p2ryla48/elevations.pdf', + type: ['elevations.existing', 'elevations.proposed'], + }, + ], + metadata: { + id: '0f2abdbd-2ec5-4918-979b-123bd856b94f', + organisation: 'CMD', + submittedAt: '2024-04-30T19:13:34.288Z', + source: 'PlanX', + service: { + flowId: '2677568c-00d2-4391-98ea-f34a4e743437', + url: 'https://www.editor.planx.uk/camden/apply-for-listed-building-consent/published', + files: { + required: [ + { + value: 'sitePlan.existing', + description: 'Site plan - existing', + }, + { + value: 'sitePlan.proposed', + description: 'Site plan - proposed', + }, + { + value: 'elevations.existing', + description: 'Elevations - existing', + }, + { + value: 'elevations.proposed', + description: 'Elevations - proposed', + }, + { + value: 'floorPlan.existing', + description: 'Floor plan - existing', + }, + { + value: 'floorPlan.proposed', + description: 'Floor plan - proposed', + }, + { + value: 'joinerySections', + description: 'Joinery section report', + }, + ], + recommended: [ + { + value: 'heritageStatement', + description: 'Heritage Statement', + }, + ], + optional: [ + { + value: 'photographs.existing', + description: 'Photographs - existing', + }, + { + value: 'otherDrawing', + description: 'Other - drawing', + }, + { + value: 'otherDocument', + description: 'Other - document', + }, + { + value: 'visualisations', + description: 'Visualisations', + }, + ], + }, + fee: { + notApplicable: true, + }, + }, + schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schema.json`, + }, +}; diff --git a/examples/prototypeApplication/data/priorApproval/buildHomes.ts b/examples/prototypeApplication/data/priorApproval/buildHomes.ts index e69de29b..33fbc461 100644 --- a/examples/prototypeApplication/data/priorApproval/buildHomes.ts +++ b/examples/prototypeApplication/data/priorApproval/buildHomes.ts @@ -0,0 +1,1758 @@ +import {PrototypeApplication} from '../../../../types/schemas/prototypeApplication'; + +const version = process.env['VERSION'] || '@next'; + +export const priorApprovalBuildHomesPrototype: PrototypeApplication = { + applicationType: 'pa.part20.classAB', + data: { + user: { + role: 'applicant', + }, + applicant: { + type: 'company', + name: { + first: 'Enid', + last: 'Blyton', + }, + email: 'ennyblizzle@email.org', + phone: { + primary: '098765432109', + }, + address: { + sameAsSiteAddress: true, + }, + siteContact: { + role: 'applicant', + }, + }, + property: { + address: { + latitude: 51.6154485, + longitude: -0.6463076, + x: 493822, + y: 191603, + title: '7, BLYTON CLOSE, BEACONSFIELD', + source: 'Ordnance Survey', + uprn: '100080482163', + usrn: '35200844', + pao: '7', + street: 'BLYTON CLOSE', + town: 'BEACONSFIELD', + postcode: 'HP9 2LX', + singleLine: '7, BLYTON CLOSE, BEACONSFIELD, BUCKINGHAMSHIRE, HP9 2LX', + }, + localAuthorityDistrict: ['Buckinghamshire', 'South Bucks'], + region: 'South East', + type: 'commercial.office', + planning: { + sources: [ + 'https://api.editor.planx.dev/gis/buckinghamshire?geom=MULTIPOLYGON+%28%28%28-0.646634+51.615571%2C+-0.646629+51.615545%2C+-0.646505+51.615512%2C+-0.646452+51.61522%2C+-0.646313+51.61523%2C+-0.646304+51.615207%2C+-0.645951+51.615311%2C+-0.646049+51.615615%2C+-0.646634+51.615571%29%29%29&analytics=false&sessionId=312c81fd-7368-4f0b-92d8-91de4033312a', + 'https://api.editor.planx.dev/roads?usrn=35200844', + ], + designations: [ + { + value: 'tpo', + intersects: false, + }, + { + value: 'flood', + intersects: false, + }, + { + value: 'listed', + intersects: false, + }, + { + value: 'article4', + intersects: false, + }, + { + value: 'monument', + intersects: false, + }, + { + value: 'greenBelt', + intersects: false, + }, + { + value: 'designated', + intersects: false, + }, + { + value: 'nature.SAC', + intersects: false, + }, + { + value: 'nature.SPA', + intersects: false, + }, + { + value: 'nature.ASNW', + intersects: false, + }, + { + value: 'nature.SSSI', + intersects: false, + }, + { + value: 'brownfieldSite', + intersects: false, + }, + { + value: 'designated.WHS', + intersects: false, + }, + { + value: 'registeredPark', + intersects: false, + }, + { + value: 'designated.AONB', + intersects: false, + }, + { + value: 'nature.ramsarSite', + intersects: false, + }, + { + value: 'designated.nationalPark', + intersects: false, + }, + { + value: 'designated.conservationArea', + intersects: false, + }, + { + value: 'designated.nationalPark.broads', + intersects: false, + }, + { + value: 'road.classified', + intersects: false, + }, + ], + }, + boundary: { + site: { + type: 'Feature', + geometry: { + type: 'MultiPolygon', + coordinates: [ + [ + [ + [-0.646634, 51.615571], + [-0.646629, 51.615545], + [-0.646505, 51.615512], + [-0.646452, 51.61522], + [-0.646313, 51.61523], + [-0.646304, 51.615207], + [-0.645951, 51.615311], + [-0.646049, 51.615615], + [-0.646634, 51.615571], + ], + ], + ], + }, + properties: { + name: '', + entity: 12000048511, + prefix: 'title-boundary', + dataset: 'title-boundary', + 'end-date': '', + typology: 'geography', + reference: '44530928', + 'entry-date': '2024-05-06', + 'start-date': '2010-04-21', + 'organisation-entity': '13', + }, + }, + area: { + hectares: 0.138418, + squareMetres: 1384.18, + }, + }, + }, + application: { + fee: { + calculated: 4510, + payable: 0, + exemption: { + disability: false, + resubmission: true, + }, + reduction: { + sports: false, + parishCouncil: false, + alternative: false, + }, + }, + declaration: { + accurate: true, + connection: { + value: 'none', + }, + }, + }, + proposal: { + projectType: ['new.residential.dwelling'], + description: + 'The addition of homes as upper storeys to the existing commercial premises.', + boundary: { + site: { + type: 'Feature', + geometry: { + type: 'MultiPolygon', + coordinates: [ + [ + [ + [-0.646634, 51.615571], + [-0.646629, 51.615545], + [-0.646505, 51.615512], + [-0.646452, 51.61522], + [-0.646313, 51.61523], + [-0.646304, 51.615207], + [-0.645951, 51.615311], + [-0.646049, 51.615615], + [-0.646634, 51.615571], + ], + ], + ], + }, + properties: { + name: '', + entity: 12000048511, + prefix: 'title-boundary', + dataset: 'title-boundary', + 'end-date': '', + typology: 'geography', + reference: '44530928', + 'entry-date': '2024-05-06', + 'start-date': '2010-04-21', + 'organisation-entity': '13', + planx_user_action: 'Accepted the title boundary', + }, + }, + area: { + hectares: 0.138418, + squareMetres: 1384.18, + }, + }, + newDwellings: { + newBuild: {count: 10}, + }, + }, + }, + preAssessment: [ + { + value: 'Planning permission / Prior approval', + description: + 'It looks like the proposed changes do not require planning permission, however the applicant must apply for Prior Approval before proceeding.', + }, + ], + responses: [ + { + question: 'Is the property in Buckinghamshire?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'The property', + }, + }, + { + question: 'What type of property is it?', + responses: [ + { + value: 'Something else', + }, + ], + metadata: { + sectionName: 'The property', + }, + }, + { + question: 'Which of these best describes the use of the property?', + responses: [ + { + value: 'Commercial', + }, + ], + metadata: { + sectionName: 'The property', + }, + }, + { + question: 'What type of commercial property is it?', + responses: [ + { + value: 'Office', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'The property', + }, + }, + { + question: 'Has work already started?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Town and Country Planning Act 1990, Part III, Section 55', + url: 'https://www.legislation.gov.uk/ukpga/1990/8/section/55', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'What type of property is it?', + responses: [ + { + value: 'Commercial building', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'Is the building detached?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'How was the building was converted to a home?', + responses: [ + { + value: 'With planning permission', + metadata: { + flags: ['Planning permission / Permitted development'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AA', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Is the property on designated land?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Is the property a site of special scientific interest?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Is any part of the property listed?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Is any part of the property a scheduled monument?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB.', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Is the property in a safety hazard area?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Is the property in a military explosives storage area?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) (Amendment) (No. 2) Order 2020 Schedule 2, Part 1, Class AB.1 (p)', + url: 'https://www.legislation.gov.uk/uksi/2020/755/pdfs/uksi_20200755_en.pdf', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Is the property within 3km of the perimeter of an aerodrome?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: + 'Has the original building has already had storeys added to it?', + responses: [ + { + value: 'No', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'How many uses did the building have on 5 March 2018?', + responses: [ + { + value: '1 use', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'How was the building used on 5 March 2018?', + responses: [ + { + value: 'Offices', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB.', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'When was the building constructed?', + responses: [ + { + value: 'Between 1 July 1948 and 5 March 2018', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'How many storeys does the existing building have?', + responses: [ + { + value: '2 or more storeys', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'How many new storeys do you want to add?', + responses: [ + { + value: '1 or 2', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'After the works, how much higher is the building?', + responses: [ + { + value: '7m or less', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Are the new homes added onto the main part of the building?', + responses: [ + { + value: 'Yes', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'What is the floor to ceiling height of the new storeys?', + responses: [ + { + value: 'The same as those in the existing building', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Are the new storeys more than 3m high?', + responses: [ + { + value: 'No, 3m or less', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class A', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-a-new-dwellinghouses-on-detached-blocks-of-flats', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: + 'After the works, is the building higher than others in the row?', + responses: [ + { + value: 'Yes, higher', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: + 'After the changes, how much higher is the extended building compared to others in its row?', + responses: [ + { + value: '3.5m or less', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Is the highest part of the new roof more than 18m high?', + responses: [ + { + value: 'No, it is 18m or less', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Are the new homes flats?', + responses: [ + { + value: 'Yes', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: + 'Does the project involve any engineering works to the existing building?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'What do the engineering works involve?', + responses: [ + { + value: 'Strengthening existing walls', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + { + value: 'Strengthening existing foundations', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: + 'Do the works result in visible support structures on the outside of the building?', + responses: [ + { + value: 'No', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: + 'Are the engineering works within the curtilage of the building?', + responses: [ + { + value: 'Yes', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: + 'Do the engineering operations include other changes to the building?', + responses: [ + { + value: + 'No, the engineering operations are only to add new storeys to the building', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) (Amendment) (No. 2) Order 2020 Schedule 2, Part 20, Class AC', + url: 'https://www.legislation.gov.uk/uksi/2020/755/pdfs/uksi_20200755_en.pdf', + }, + { + text: 'The Town and Country Planning (General Permitted Development) (England) (Amendment) (No. 2) Order 2020 Schedule 2, Part 20, Class AD', + url: 'https://www.legislation.gov.uk/uksi/2020/755/pdfs/uksi_20200755_en.pdf', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Does the new storey have side-facing windows or rooflights?', + responses: [ + { + value: 'No', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Does the project include new external staircases or doors?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'Does the external staircases and doors extend beyond the curtilage of the existing building?', + responses: [ + { + value: 'No', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: + 'Does the project involve adding new storage, waste or other ancillary features?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'Are the facilities entirely within the curtilage of the building?', + responses: [ + { + value: 'Yes', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Where are the facilities located?', + responses: [ + { + value: 'To the rear of the building', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB.', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: + 'Is there any plant equipment on the roof of the existing building?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class A', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: + 'Is there any new plant equipment on the roof of the new storeys?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Do any new homes have a floor area of less than 37m²?', + responses: [ + { + value: 'No', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Section 3, paragraph 9A', + url: 'https://www.legislation.gov.uk/uksi/2015/596/article/3', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: + 'Do all new homes meet the nationally described space standards?', + responses: [ + { + value: 'Yes', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Section 3, 9A', + url: 'https://www.legislation.gov.uk/uksi/2015/596/article/3', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: + 'Does the design seek to minimise negative impacts on light, views and privacy for neighbours as far as possible?', + responses: [ + { + value: 'Yes', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB.', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'What type of property is it?', + responses: [ + { + value: 'Office space', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'What type of application is being applied for?', + responses: [ + { + value: 'Part 20 Class AB', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'What type of application is being applied for?', + responses: [ + { + value: 'Part 20 Class AB', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'Is the property subject to any Article 4 directions?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'What type of prior approval application is it?', + responses: [ + { + value: 'Build homes on an adjoining commercial or mixed use building', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'What type or prior approval application is it?', + responses: [ + { + value: 'Build homes on an adjoining commercial or mixed use building', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: + 'Describe any potential impacts on adjoining properties and how these will be mitigated', + responses: [ + { + value: + 'These are the potential impacts on the adjoining properties:\n1\n2\n3\nAnd this is how they are to be mitigated:\nA\nB\nC\n', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'Is the property located near any air traffic or defence assets?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'Describe the impact of the extended building on any protected view.', + responses: [ + { + value: + 'This is the impact of the extended building on any protected view.', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'How many new homes are being build?', + responses: [ + { + value: '10', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'Has any part of the site been identified as contaminated land?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Was the building previously used for any of these?', + responses: [ + { + value: 'None of these', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Is the building in a flood risk area?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'You need to submit a Noise Assessment', + responses: [ + { + value: 'Upload a document later', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'You need to submit a Transport Assessment', + responses: [ + { + value: 'Upload a document later', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'The project will result in an increase in the number of people living in the area. What impacts will this have on businesses and new residents, and how will this be mitigated?', + responses: [ + { + value: + 'Here are the impacts that the development will have:\n1\n2\n3\nAnd these are the mitigation measures:\nA\nB\nC', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'Describe the impact of the project on residential amenity and facilities', + responses: [ + { + value: + 'the impact of the project on residential amenity and facilities. the impact of the project on residential amenity and facilities.the impact of the project on residential amenity and facilities', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'What type of application is it?', + responses: [ + { + value: 'Apply for prior approval', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About you', + }, + }, + { + question: 'Are you applying on behalf of someone else?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Which of these best describes you?', + responses: [ + { + value: 'Company', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Your contact details', + responses: [ + { + value: 'Enid Blyton 098765432109 ennyblizzle@email.org', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Is your contact address the same as the property address?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Can a planning officer see the works from public land?', + responses: [ + { + value: "Yes, it's visible from the road or somewhere else", + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: + 'We may need to visit the site to assess your application. If we do, who should we contact to arrange the visit?', + responses: [ + { + value: 'Me, the applicant', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'What type of prior approval application is it?', + responses: [ + { + value: 'Build homes on an adjoining commercial or mixed use building', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Upload drawings', + }, + }, + { + question: + 'Do the changes involve any alterations to ground or floor levels?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + sectionName: 'Upload drawings', + }, + }, + { + question: 'Is this for submission or information only?', + responses: [ + { + value: 'Submission', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Upload drawings', + }, + }, + { + question: 'What type of application is it?', + responses: [ + { + value: 'Prior approval', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'What type of prior approval application is it?', + responses: [ + { + value: 'Build homes on an adjoining commercial or mixed use building', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Are you building fewer than 10 new homes?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Are you building fewer than 51 new homes?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Is the property a home?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'What type of changes does the project involve?', + responses: [ + { + value: 'New build', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'What type of prior approval application is it?', + responses: [ + { + value: 'Build homes on an adjoining commercial or mixed use building', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Is this application a resubmission?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14', + url: 'https://www.legislation.gov.uk/uksi/2012/2920/regulation/14', + }, + ], + sectionName: 'Check your application', + }, + }, + { + question: + 'Is this the first time you have resubmitted an application for this site?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14', + url: 'https://www.legislation.gov.uk/uksi/2012/2920/regulation/14', + }, + ], + sectionName: 'Check your application', + }, + }, + { + question: 'What was the result of the original application?', + responses: [ + { + value: 'Withdrawn', + }, + ], + metadata: { + sectionName: 'Check your application', + }, + }, + { + question: 'When did you submit the original application?', + responses: [ + { + value: 'Within the last 12 months', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14', + url: 'https://www.legislation.gov.uk/uksi/2012/2920/regulation/14', + }, + ], + sectionName: 'Check your application', + }, + }, + { + question: + 'To qualify for a fee exemption, the proposed works must be of a similar description to the original application', + responses: [ + { + value: 'I understand', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14', + url: 'https://www.legislation.gov.uk/uksi/2012/2920/regulation/14', + }, + ], + sectionName: 'Check your application', + }, + }, + { + question: 'Does the application qualify for a disability exemption?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Does the application qualify for a resubmission exemption?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Check for multiple fees?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'What type of application is it?', + responses: [ + { + value: 'Prior approval', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Connections with Buckinghamshire Council', + responses: [ + { + value: 'None of the above apply to me', + }, + ], + metadata: { + sectionName: 'Check your application', + }, + }, + { + question: 'I confirm that:', + responses: [ + { + value: + 'The information contained in this application is truthful, accurate and complete, to the best of my knowledge', + }, + ], + metadata: { + sectionName: 'Check your application', + }, + }, + { + question: 'Which Local Planning authority is it?', + responses: [ + { + value: 'Buckinghamshire', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Pay and submit', + }, + }, + { + question: + 'What type of prior approval application is it?application.type', + responses: [ + { + value: 'Build homes on an adjoining commercial or mixed use building', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Pay and submit', + }, + }, + ], + files: [ + { + name: 'https://api.editor.planx.dev/file/private/xdaaquh0/test%20document.pdf', + type: ['noiseAssessment'], + }, + { + name: 'https://api.editor.planx.dev/file/private/kk01qq8t/test%20document.pdf', + type: [ + 'roofPlan.proposed', + 'sections.existing', + 'sections.proposed', + 'floorPlan.existing', + 'floorPlan.proposed', + 'elevations.existing', + 'elevations.proposed', + ], + }, + { + name: 'https://api.editor.planx.dev/file/private/knu6huv7/test%20document.pdf', + type: ['sitePlan.proposed'], + }, + ], + metadata: { + id: '312c81fd-7368-4f0b-92d8-91de4033312a', + organisation: 'BKM', + submittedAt: '2024-06-29T12:31:34.837Z', + source: 'PlanX', + service: { + flowId: '6f76e837-7a42-40f3-80e9-a9482dce5982', + url: 'https://editor.planx.uk/buckinghamshire/apply-for-prior-approval/published', + files: { + required: [ + { + value: 'sitePlan.proposed', + description: 'Site plan - proposed', + }, + { + value: 'elevations.existing', + description: 'Elevations - existing', + }, + { + value: 'elevations.proposed', + description: 'Elevations - proposed', + }, + { + value: 'floorPlan.existing', + description: 'Floor plan - existing', + }, + { + value: 'floorPlan.proposed', + description: 'Floor plan - proposed', + }, + { + value: 'roofPlan.proposed', + description: 'Roof plan - proposed', + }, + { + value: 'sections.existing', + description: 'Sections - existing', + }, + { + value: 'sections.proposed', + description: 'Sections - proposed', + }, + { + value: 'noiseAssessment', + description: 'Noise assessment', + }, + ], + recommended: [], + optional: [ + { + value: 'photographs.existing', + description: 'Photographs - existing', + }, + { + value: 'otherDrawing', + description: 'Other - drawing', + }, + { + value: 'otherDocument', + description: 'Other - document', + }, + { + value: 'visualisations', + description: 'Visualisations', + }, + ], + }, + fee: { + calculated: [ + { + description: + '
The plannning fee for a Prior Approval application relating to creation of at least 10 but no more than 50 new homes on rooftops, or on a site created by demolishing vacant buildings is £451 per new home
', + policyRefs: [ + { + text: 'The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) (Amendment) Regulations 2023', + url: 'https://www.legislation.gov.uk/uksi/2023/1197/made', + }, + ], + }, + ], + payable: [ + { + description: + 'In the case of an application that is the first resubmission of an application on the same site that is similar in character and description, no planning fee is payable.
', + policyRefs: [ + { + text: 'The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14', + url: 'https://www.legislation.gov.uk/uksi/2012/2920/regulation/14', + }, + ], + }, + ], + }, + }, + schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schema.json`, + }, +}; diff --git a/examples/prototypeApplication/data/priorApproval/convertCommercialToHome.ts b/examples/prototypeApplication/data/priorApproval/convertCommercialToHome.ts index e69de29b..eab68744 100644 --- a/examples/prototypeApplication/data/priorApproval/convertCommercialToHome.ts +++ b/examples/prototypeApplication/data/priorApproval/convertCommercialToHome.ts @@ -0,0 +1,1531 @@ +import {PrototypeApplication} from '../../../../types/schemas/prototypeApplication'; + +const version = process.env['VERSION'] || '@next'; + +export const priorApprovalConvertCommercialToHomePrototype: PrototypeApplication = + { + applicationType: 'pa.part3.classMA', + data: { + user: { + role: 'agent', + }, + applicant: { + type: 'individual', + name: { + first: 'Vincent', + last: 'Van Gogh', + }, + email: 'ouchmyear@email.org', + phone: { + primary: '012345678901', + }, + address: { + sameAsSiteAddress: true, + }, + siteContact: { + role: 'agent', + }, + agent: { + name: { + first: 'Alan', + last: 'Agent', + }, + email: 'alanagent@email.org', + phone: { + primary: '098765432109', + }, + company: { + name: "Alan's Property & Fine Art Consultants PLC", + }, + address: { + line1: '12 Agent Avenue', + line2: '', + town: 'Plantown', + county: '', + postcode: 'PL47TN', + country: '', + }, + }, + }, + property: { + address: { + latitude: 51.4745098, + longitude: -0.1151501, + x: 530999, + y: 176745, + title: '87, HACKFORD ROAD, LONDON', + source: 'Ordnance Survey', + uprn: '100021847182', + usrn: '21900651', + pao: '87', + street: 'HACKFORD ROAD', + town: 'LONDON', + postcode: 'SW9 0RE', + singleLine: '87, HACKFORD ROAD, LONDON, LAMBETH, SW9 0RE', + }, + localAuthorityDistrict: ['Lambeth'], + region: 'London', + type: 'commercial.retail.shop', + planning: { + sources: [ + 'https://api.editor.planx.dev/gis/lambeth?geom=MULTIPOLYGON+%28%28%28-0.114876+51.474474%2C+-0.114863+51.474517%2C+-0.115261+51.474548%2C+-0.11527+51.474504%2C+-0.114876+51.474474%29%29%29&analytics=false&sessionId=86a5ba3e-1a7f-4460-bf46-826c3f982a92', + 'https://api.editor.planx.dev/roads?usrn=21900651', + ], + designations: [ + { + value: 'tpo', + intersects: false, + }, + { + value: 'flood', + intersects: false, + }, + { + value: 'listed', + intersects: true, + entities: [ + { + name: '87, HACKFORD ROAD SW9', + source: { + text: 'Planning Data', + url: 'https://www.planning.data.gov.uk/entity/31537921', + }, + }, + { + name: 'No Address Supplied', + source: { + text: 'Planning Data', + url: 'https://www.planning.data.gov.uk/entity/42103309', + }, + }, + ], + }, + { + value: 'article4', + intersects: false, + }, + { + value: 'monument', + intersects: false, + }, + { + value: 'greenBelt', + intersects: false, + }, + { + value: 'designated', + intersects: true, + }, + { + value: 'nature.SAC', + intersects: false, + }, + { + value: 'nature.SPA', + intersects: false, + }, + { + value: 'nature.ASNW', + intersects: false, + }, + { + value: 'nature.SSSI', + intersects: false, + }, + { + value: 'brownfieldSite', + intersects: false, + }, + { + value: 'designated.WHS', + intersects: false, + }, + { + value: 'listed.grade.I', + intersects: false, + }, + { + value: 'registeredPark', + intersects: false, + }, + { + value: 'designated.AONB', + intersects: false, + }, + { + value: 'listed.grade.II', + intersects: true, + }, + { + value: 'listed.grade.II*', + intersects: false, + }, + { + value: 'nature.ramsarSite', + intersects: false, + }, + { + value: 'designated.nationalPark', + intersects: false, + }, + { + value: 'designated.conservationArea', + intersects: true, + entities: [ + { + name: 'Hackford Road', + source: { + text: 'Planning Data', + url: 'https://www.planning.data.gov.uk/entity/44000877', + }, + }, + ], + }, + { + value: 'designated.nationalPark.broads', + intersects: false, + }, + { + value: 'road.classified', + intersects: false, + }, + ], + }, + boundary: { + site: { + type: 'Feature', + geometry: { + type: 'MultiPolygon', + coordinates: [ + [ + [ + [-0.114876, 51.474474], + [-0.114863, 51.474517], + [-0.115261, 51.474548], + [-0.11527, 51.474504], + [-0.114876, 51.474474], + ], + ], + ], + }, + properties: { + name: '', + entity: 12000528882, + prefix: 'title-boundary', + dataset: 'title-boundary', + 'end-date': '', + typology: 'geography', + reference: '51792928', + 'entry-date': '2024-05-06', + 'start-date': '2011-05-10', + 'organisation-entity': '13', + }, + }, + area: { + hectares: 0.013555000000000001, + squareMetres: 135.55, + }, + }, + titleNumber: { + known: 'Yes', + number: '24/12345/FUL', + }, + EPC: { + known: 'Yes', + number: '1234-1234-1234-1234', + }, + parking: { + cars: { + count: 1, + }, + vans: { + count: 0, + }, + motorcycles: { + count: 0, + }, + cycles: { + count: 0, + }, + buses: { + count: 0, + }, + disabled: { + count: 0, + }, + carClub: { + count: 0, + }, + offStreet: { + residential: { + count: 0, + }, + }, + other: { + count: 0, + }, + }, + // occupation: { + // status: 'vacant', + // }, + }, + application: { + fee: { + calculated: 258, + payable: 258, + exemption: { + disability: false, + resubmission: false, + }, + reduction: { + sports: false, + parishCouncil: false, + alternative: false, + }, + reference: { + govPay: 'sandbox-789', + }, + }, + leadDeveloper: { + type: 'overseasCompany', + company: { + name: 'Impression Developments Inc.', + registrationNumber: '12345679ABC', + }, + }, + declaration: { + accurate: true, + connection: { + value: 'none', + }, + }, + }, + proposal: { + projectType: ['changeOfUse'], + description: + 'Change of use from my sunflower and art supplies shop into a home.', + schemeName: "Vincent's New Property Venture", + date: { + start: '2024-07-28', + completion: '2035-07-28', + }, + boundary: { + site: { + type: 'Feature', + geometry: { + type: 'MultiPolygon', + coordinates: [ + [ + [ + [-0.114876, 51.474474], + [-0.114863, 51.474517], + [-0.115261, 51.474548], + [-0.11527, 51.474504], + [-0.114876, 51.474474], + ], + ], + ], + }, + properties: { + name: '', + entity: 12000528882, + prefix: 'title-boundary', + dataset: 'title-boundary', + 'end-date': '', + typology: 'geography', + reference: '51792928', + 'entry-date': '2024-05-06', + 'start-date': '2011-05-10', + 'organisation-entity': '13', + planx_user_action: 'Accepted the title boundary', + }, + }, + area: { + hectares: 0.013555000000000001, + squareMetres: 135.55, + }, + }, + parking: { + cars: { + count: 1, + difference: 0, + }, + vans: { + count: 0, + difference: 0, + }, + motorcycles: { + count: 0, + difference: 0, + }, + cycles: { + count: 2, + difference: 2, + }, + buses: { + count: 0, + difference: 0, + }, + disabled: { + count: 0, + difference: 0, + }, + carClub: { + count: 0, + difference: 0, + }, + offStreet: { + residential: { + count: 0, + difference: 0, + }, + }, + other: { + count: 0, + difference: 0, + }, + }, + units: { + residential: { + rebuilt: [ + { + development: 'changeOfUse', + type: 'terraced', + bedrooms: 3, + habitableRooms: 7, + area: {squareMetres: 300}, + tenure: 'marketForRent', + provider: 'private', + garden: false, + sheltered: false, + olderPersons: false, + compliance: ['m42', 'm432a', 'm432b'], + identicalUnits: 1, + }, + ], + }, + }, + energy: { + type: ['heatPump'], + heatPumps: { + capacity: {megawatts: 2}, + }, + }, + greenRoof: { + area: {squareMetres: 0}, + }, + urbanGreeningFactor: { + score: 4, + }, + utilities: { + gas: {connections: {count: 1}}, + water: {connections: {count: 1}}, + internet: { + residentialUnits: {count: 1}, + commercialUnits: {count: 0}, + }, + }, + waste: { + reuseRecycle: {percent: 2}, + }, + }, + }, + preAssessment: [ + { + value: 'Planning permission / Permission needed', + description: + 'It looks like the proposed changes may require planning permission.', + }, + ], + responses: [ + { + question: 'Is the property in Lambeth?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'The property', + }, + }, + { + question: 'What type of property is it?', + responses: [ + { + value: 'Something else', + }, + ], + metadata: { + sectionName: 'The property', + }, + }, + { + question: 'Which of these best describes the use of the property?', + responses: [ + { + value: 'Retail and services', + }, + ], + metadata: { + sectionName: 'The property', + }, + }, + { + question: 'What type of retail unit is it?', + responses: [ + { + value: 'Shop', + }, + ], + metadata: { + sectionName: 'The property', + }, + }, + { + question: 'Have the works already started?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'What type of property is it?', + responses: [ + { + value: 'Commercial building', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'What is the property used as?', + responses: [ + { + value: 'Shop', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (Use Classes) (Amendment) (England) Regulations 2020', + url: 'https://www.legislation.gov.uk/uksi/2020/757/made', + }, + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015', + url: 'https://www.legislation.gov.uk/uksi/2015/596/contents', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Is the shop any of these?', + responses: [ + { + value: "No, it's another kind of shop", + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 3', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/3', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'What does the shop sell?', + responses: [ + { + value: 'Other goods', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 3', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/3', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'What do you want to change its use to?', + responses: [ + { + value: 'Single house', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (Use Classes) (Amendment) (England) Regulations 2020', + url: 'https://www.legislation.gov.uk/uksi/2020/757/made', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'What part of the building will be converted?', + responses: [ + { + value: 'The entire building', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Is the site within an Area of Outstanding Natural Beauty?', + responses: [ + { + value: 'No', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + autoAnswered: true, + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 3, Class MA', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/3', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Is the site in the Broads?', + responses: [ + { + value: 'No', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + autoAnswered: true, + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 3, Class MA', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/3', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Is the site in a National Park?', + responses: [ + { + value: 'No', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + autoAnswered: true, + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 3, Class MA', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/3', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Is the site part of a World Heritage Site?', + responses: [ + { + value: 'No', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + autoAnswered: true, + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 3, Class MA', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/3', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Is the site in an area of Special Scientific Interest?', + responses: [ + { + value: 'No', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + autoAnswered: true, + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 3, Class MA', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/3', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Is the site in a safety hazard area?', + responses: [ + { + value: 'No', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + autoAnswered: true, + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 3, Class MA', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/3', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Is the site in a military explosives storage area?', + responses: [ + { + value: 'No', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + autoAnswered: true, + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 3, Class MA', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/3', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Is any part of the property a scheduled monument?', + responses: [ + { + value: 'No', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + autoAnswered: true, + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 3, Class MA', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/3', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Is any part of the property listed?', + responses: [ + { + value: 'Yes', + metadata: { + flags: ['Planning permission / Permission needed'], + }, + }, + ], + metadata: { + autoAnswered: true, + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 3, Class MA', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/3', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'What type of property is it?', + responses: [ + { + value: 'Shop', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'What type of prior approval application is it?', + responses: [ + { + value: 'Convert a commercial building into a home or homes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'What type or prior approval application is it?', + responses: [ + { + value: 'Convert a commercial building into a home or homes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'You need to submit a Sunlight and Daylight Report', + responses: [ + { + value: 'Upload a document later', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'How many new homes are being build?', + responses: [ + { + value: '1', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'Has any part of the site been identified as contaminated land?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Was the building previously used for any of these?', + responses: [ + { + value: 'None of these', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Is the building in a flood risk area?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'You need to submit a Noise Assessment', + responses: [ + { + value: 'Upload a document later', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'You need to submit a Transport Assessment', + responses: [ + { + value: 'Upload a document later', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Describe the design and external appearance of the project', + responses: [ + { + value: + 'The existing shop front will be replaced by a new wall with a large painting of some hay stacks on it. Some more information about the appearance of the building. ', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Is the building currently used as a nursery?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'Is the building currently used for healthcare?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'Is the property in a conservation area?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: + 'Does the project involve changing the use of any part of the ground floor?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'Describe the impacts that the change of use will have on the character or sustainability of the conservation area and how these will be mitigated', + responses: [ + { + value: + 'These are the impacts that the change of use will have:\n1\n2\n3\nAnd this is how it will be mitigated:\nA\nB\nC', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Will the building be 18 metres or more in height?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Fire safety guidance, 2021', + url: 'https://www.gov.uk/guidance/fire-safety-and-high-rise-residential-buildings-from-1-august-2021', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Will the building be 7 or more storeys tall?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Fire safety guidance, 2021', + url: 'https://www.gov.uk/guidance/fire-safety-and-high-rise-residential-buildings-from-1-august-2021', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: + 'Is the building in an area that is also used for heavy industry, waste management, storage or distribution?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'What type of application is it?', + responses: [ + { + value: 'Apply for prior approval', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About you', + }, + }, + { + question: 'Your contact details', + responses: [ + { + value: + "Alan Agent Alan's Property & Fine Art Consultants PLC 098765432109 alanagent@email.org", + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Are you applying on behalf of someone else?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Which of these best describes you?', + responses: [ + { + value: 'Professional agent', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Your contact address', + responses: [ + { + value: '12 Agent Avenue, Plantown, PL47TN', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Which of these best describes the applicant?', + responses: [ + { + value: 'Private individual', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: "Applicant's contact details", + responses: [ + { + value: 'Vincent Van Gogh 012345678901 ouchmyear@email.org', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: + "Is the applicant's contact address the same as the property address?", + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: "Applicant's contact address", + responses: [ + { + value: 'Haywain House, Rotterdam, 12543, The Netherlands', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Can a planning officer see the works from public land?', + responses: [ + { + value: "Yes, it's visible from the road or somewhere else", + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Which of these best describes you?', + responses: [ + { + value: 'Professional agent', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About you', + }, + }, + { + question: 'If we need to make a site visit, who should we contact?', + responses: [ + { + value: 'Me, the agent', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'What type of prior approval application is it?', + responses: [ + { + value: 'Convert a commercial building into a home or homes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Upload drawings', + }, + }, + { + question: 'Is this for submission or information only?', + responses: [ + { + value: 'Submission', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Upload drawings', + }, + }, + { + question: 'What type of application is it?', + responses: [ + { + value: 'Prior approval', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'What type of prior approval application is it?', + responses: [ + { + value: 'Convert a commercial building into a home or homes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Does the project involve any building works?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) (Amendment) Regulations 2023', + url: 'https://www.legislation.gov.uk/uksi/2023/1197/made', + }, + ], + sectionName: 'Check your application', + }, + }, + { + question: 'Is the property a home?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'What type of changes does the project involve?', + responses: [ + { + value: 'Change use', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'What type of prior approval application is it?', + responses: [ + { + value: 'Convert a commercial building into a home or homes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: + 'Are you submitting any other planning applications about the same works or changes?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14', + url: 'https://www.legislation.gov.uk/uksi/2012/2920/regulation/14', + }, + ], + sectionName: 'Check your application', + }, + }, + { + question: 'Is this application a resubmission?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14', + url: 'https://www.legislation.gov.uk/uksi/2012/2920/regulation/14', + }, + ], + sectionName: 'Check your application', + }, + }, + { + question: 'Does the application qualify for a disability exemption?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Does the application qualify for a resubmission exemption?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: + 'Does the application qualify to the same-day-planning-application exemption?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + policyRefs: [ + { + text: 'The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14', + url: 'https://www.legislation.gov.uk/uksi/2012/2920/regulation/14', + }, + ], + sectionName: 'Check your application', + }, + }, + { + question: 'Check for multiple fees?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'What type of application is it?', + responses: [ + { + value: 'Prior approval', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Which Local Planning authority is it?', + responses: [ + { + value: 'Lambeth', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Connections with London Borough of Lambeth', + responses: [ + { + value: 'None of the above apply to me', + }, + ], + metadata: { + sectionName: 'Check your application', + }, + }, + { + question: 'I confirm that:', + responses: [ + { + value: + 'The information contained in this application is truthful, accurate and complete, to the best of my knowledge', + }, + ], + metadata: { + sectionName: 'Check your application', + }, + }, + { + question: 'Connections with London Borough of Lambeth', + responses: [ + { + value: 'None of the above apply to me', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'I confirm that:', + responses: [ + { + value: + 'The information contained in this application is truthful, accurate and complete, to the best of my knowledge', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Which Local Planning authority is it?', + responses: [ + { + value: 'Lambeth', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Pay and submit', + }, + }, + { + question: + 'What type of prior approval application is it?application.type', + responses: [ + { + value: 'Convert a commercial building into a home or homes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Pay and submit', + }, + }, + ], + files: [ + { + name: 'https://api.editor.planx.dev/file/private/bpxw8ekr/test%20document.pdf', + type: ['noiseAssessment'], + }, + { + name: 'https://api.editor.planx.dev/file/private/2mrowm3t/test%20document.pdf', + type: ['usePlan.proposed', 'sitePlan.proposed'], + }, + { + name: 'https://api.editor.planx.dev/file/private/eu61v4yk/test%20document.pdf', + type: ['sitePlan.existing'], + }, + { + name: 'https://api.editor.planx.dev/file/private/fd7o1wnh/test%20document.pdf', + type: ['sunlightAndDaylightReport'], + }, + ], + metadata: { + id: '86a5ba3e-1a7f-4460-bf46-826c3f982a92', + organisation: 'LBH', + submittedAt: '2024-06-29T12:25:58.777Z', + source: 'PlanX', + service: { + flowId: 'f3cae2c8-9a64-4ce1-8cef-8e6832ad383d', + url: 'https://editor.planx.dev/lambeth/apply-for-prior-approval/published', + files: { + required: [ + { + value: 'sitePlan.proposed', + description: 'Site plan - proposed', + }, + { + value: 'usePlan.proposed', + description: 'Use plan - proposed', + }, + { + value: 'noiseAssessment', + description: 'Noise assessment', + }, + { + value: 'sunlightAndDaylightReport', + description: 'Sunlight and daylight report', + }, + ], + recommended: [ + { + value: 'sitePlan.existing', + description: 'Site plan - existing', + }, + ], + optional: [ + { + value: 'photographs.existing', + description: 'Photographs - existing', + }, + { + value: 'otherDrawing', + description: 'Other - drawing', + }, + { + value: 'otherDocument', + description: 'Other - document', + }, + { + value: 'visualisations', + description: 'Visualisations', + }, + ], + }, + fee: { + calculated: [ + { + policyRefs: [ + { + text: 'The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) (Amendment) Regulations 2023', + url: 'https://www.legislation.gov.uk/uksi/2023/1197/made', + }, + ], + }, + ], + payable: [ + { + description: + 'This application does not qualify for any exemptions or reductions
', + }, + ], + }, + }, + schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schema.json`, + }, + }; diff --git a/examples/prototypeApplication/data/priorApproval/extendUniversity.ts b/examples/prototypeApplication/data/priorApproval/extendUniversity.ts index e69de29b..50efe195 100644 --- a/examples/prototypeApplication/data/priorApproval/extendUniversity.ts +++ b/examples/prototypeApplication/data/priorApproval/extendUniversity.ts @@ -0,0 +1,1731 @@ +import {PrototypeApplication} from '../../../../types/schemas/prototypeApplication'; + +const version = process.env['VERSION'] || '@next'; + +export const priorApprovalExtendUniversityPrototype: PrototypeApplication = { + applicationType: 'pa.part7.classM', + data: { + user: { + role: 'applicant', + }, + applicant: { + type: 'company', + name: { + first: 'John', + last: 'Betjeman', + }, + email: 'johnnybthepoet@email.org', + phone: { + primary: '012345678901', + }, + address: { + sameAsSiteAddress: true, + }, + siteContact: { + role: 'applicant', + }, + }, + property: { + address: { + latitude: 51.5647555, + longitude: -0.1532914, + x: 528097, + y: 186713, + title: '31, HIGHGATE WEST HILL, LONDON', + source: 'Ordnance Survey', + uprn: '000005008312', + usrn: '20400012', + pao: '31', + street: 'HIGHGATE WEST HILL', + town: 'LONDON', + postcode: 'N6 6NP', + singleLine: '31, HIGHGATE WEST HILL, LONDON, CAMDEN, N6 6NP', + }, + localAuthorityDistrict: ['Camden'], + region: 'London', + type: 'commercial.education.university', + planning: { + sources: [ + 'https://api.editor.planx.dev/gis/camden?geom=MULTIPOLYGON+%28%28%28-0.153392+51.564734%2C+-0.153391+51.564724%2C+-0.153376+51.564725%2C+-0.153085+51.564757%2C+-0.1531+51.564806%2C+-0.15335+51.564785%2C+-0.153392+51.564734%29%29%29&analytics=false&sessionId=7e147b04-0a8b-44fc-a249-c36ef6407f84', + 'https://api.editor.planx.dev/roads?usrn=20400012', + ], + designations: [ + { + value: 'tpo', + intersects: false, + }, + { + value: 'flood', + intersects: false, + }, + { + value: 'listed', + intersects: false, + }, + { + value: 'article4', + intersects: true, + entities: [ + { + name: 'Basements', + source: { + text: 'Planning Data', + url: 'https://www.planning.data.gov.uk/entity/7010002613', + }, + }, + ], + }, + { + value: 'monument', + intersects: false, + }, + { + value: 'greenBelt', + intersects: false, + }, + { + value: 'designated', + intersects: true, + }, + { + value: 'nature.SAC', + intersects: false, + }, + { + value: 'nature.SPA', + intersects: false, + }, + { + value: 'nature.ASNW', + intersects: false, + }, + { + value: 'nature.SSSI', + intersects: false, + }, + { + value: 'brownfieldSite', + intersects: false, + }, + { + value: 'designated.WHS', + intersects: false, + }, + { + value: 'registeredPark', + intersects: false, + }, + { + value: 'designated.AONB', + intersects: false, + }, + { + value: 'nature.ramsarSite', + intersects: false, + }, + { + value: 'designated.nationalPark', + intersects: false, + }, + { + value: 'designated.conservationArea', + intersects: true, + entities: [ + { + name: 'Highgate Village', + source: { + text: 'Planning Data', + url: 'https://www.planning.data.gov.uk/entity/44009654', + }, + }, + ], + }, + { + value: 'designated.nationalPark.broads', + intersects: false, + }, + { + value: 'road.classified', + intersects: false, + }, + ], + }, + boundary: { + site: { + type: 'Feature', + geometry: { + type: 'MultiPolygon', + coordinates: [ + [ + [ + [-0.153392, 51.564734], + [-0.153391, 51.564724], + [-0.153376, 51.564725], + [-0.153085, 51.564757], + [-0.1531, 51.564806], + [-0.15335, 51.564785], + [-0.153392, 51.564734], + ], + ], + ], + }, + properties: { + name: '', + entity: 12000488653, + prefix: 'title-boundary', + dataset: 'title-boundary', + 'end-date': '', + typology: 'geography', + reference: '36535150', + 'entry-date': '2024-05-06', + 'start-date': '2008-08-14', + 'organisation-entity': '13', + }, + }, + area: { + hectares: 0.011762, + squareMetres: 117.62, + }, + }, + titleNumber: { + known: 'No', + }, + EPC: { + known: 'The property does not have one', + }, + parking: { + cars: { + count: 0, + }, + vans: { + count: 0, + }, + motorcycles: { + count: 0, + }, + cycles: { + count: 5, + }, + buses: { + count: 0, + }, + disabled: { + count: 0, + }, + carClub: { + count: 0, + }, + offStreet: { + residential: { + count: 0, + }, + }, + other: { + count: 0, + }, + }, + }, + application: { + fee: { + calculated: 120, + payable: 120, + exemption: { + disability: false, + resubmission: false, + }, + reduction: { + sports: false, + parishCouncil: false, + alternative: false, + }, + reference: { + govPay: 'sandbox-123', + }, + }, + leadDeveloper: { + type: 'ukCompany', + company: { + name: 'Fit For Cabbages Developments', + registrationNumber: '12345679ABC', + }, + }, + declaration: { + accurate: true, + connection: { + value: 'none', + }, + }, + }, + proposal: { + projectType: ['extend'], + description: + 'New extension to university building, for the purposes of teaching downbeat poetry about Slough to the masses. 6 metres to the rear and 4 metres in height.', + date: { + start: '2024-07-28', + completion: '2024-07-28', + }, + boundary: { + site: { + type: 'Feature', + geometry: { + type: 'MultiPolygon', + coordinates: [ + [ + [ + [-0.153392, 51.564734], + [-0.153391, 51.564724], + [-0.153376, 51.564725], + [-0.153085, 51.564757], + [-0.1531, 51.564806], + [-0.15335, 51.564785], + [-0.153392, 51.564734], + ], + ], + ], + }, + properties: { + name: '', + entity: 12000488653, + prefix: 'title-boundary', + dataset: 'title-boundary', + 'end-date': '', + typology: 'geography', + reference: '36535150', + 'entry-date': '2024-05-06', + 'start-date': '2008-08-14', + 'organisation-entity': '13', + planx_user_action: 'Accepted the title boundary', + }, + }, + area: { + hectares: 0.011762, + squareMetres: 117.62, + }, + }, + parking: { + cars: { + count: 0, + difference: 0, + }, + vans: { + count: 0, + difference: 0, + }, + motorcycles: { + count: 0, + difference: 0, + }, + cycles: { + count: 8, + difference: 3, + }, + buses: { + count: 0, + difference: 0, + }, + disabled: { + count: 0, + difference: 0, + }, + carClub: { + count: 0, + difference: 0, + }, + offStreet: { + residential: { + count: 0, + difference: 0, + }, + }, + other: { + count: 0, + difference: 0, + }, + }, + schemeName: "Sir John Betjeman's New Extension", + utilities: { + internet: { + commercialUnits: {count: 1}, + residentialUnits: {count: 0}, + }, + fire: { + suppression: true, + }, + }, + energy: { + type: ['solar'], + solar: { + capacity: {megawatts: 6}, + }, + }, + urbanGreeningFactor: {score: 2}, + greenRoof: { + area: {squareMetres: 12}, + }, + waste: { + reuseRecycle: {percent: 0}, + }, + charging: { + active: {count: 3}, + }, + }, + }, + preAssessment: [ + { + value: 'Planning permission / Prior approval', + description: + 'It looks like the proposed changes do not require planning permission, however the applicant must apply for Prior Approval before proceeding.', + }, + ], + responses: [ + { + question: 'Is the property in Camden?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'The property', + }, + }, + { + question: 'What type of property is it?', + responses: [ + { + value: 'Something else', + }, + ], + metadata: { + sectionName: 'The property', + }, + }, + { + question: 'Which of these best describes the use of the property?', + responses: [ + { + value: 'Education', + }, + ], + metadata: { + sectionName: 'The property', + }, + }, + { + question: 'What type of educational building is it?', + responses: [ + { + value: 'University', + }, + ], + metadata: { + sectionName: 'The property', + }, + }, + { + question: 'Have the works already started?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Town and Country Planning Act 1990, Part III, Section 55', + url: 'https://www.legislation.gov.uk/ukpga/1990/8/section/55', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'What type of property is it?', + responses: [ + { + value: 'Commercial building', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: + 'Is the site of the proposed development within the curtilage of a listed building?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: + 'Would the development prevent the ongoing use of land used as a playing field for that purpose?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'What is the footprint of the proposed development?', + responses: [ + { + value: '250 square metres or less', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'Will the footprint of the proposed development be greater than 25% of the cumulative footprint of existing buildings?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'Will any part of the proposed development be closer than 5 metres to the site boundary?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'Will any rooftop structures, such as plant or machinery, exceed 1.5 metres in height?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'What does the proposed development consist of?', + responses: [ + { + value: 'Extension of an existing building', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'Can you confirm that both of the following statements with regard to the height of the proposed development are true?', + responses: [ + { + value: 'Yes, I can confirm that both of these statements are true.', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: '[HIDDEN] proposal in scope?', + responses: [ + { + value: 'Yes', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: + 'Is the proposed development located within any of the following types of site?', + responses: [ + { + value: + 'No, the site is not located within any of the described areas', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'What type of property is it?', + responses: [ + { + value: 'Another use', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Select your project', + responses: [ + { + value: 'Erect, extend or alter a university building', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'What type of application is being applied for?', + responses: [ + { + value: 'Part 7 Class M', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'Is the property subject to any Article 4 directions?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'List all the changes involved in the project', + responses: [ + { + value: 'Add a storey', + }, + { + value: 'Convert a garage', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: + 'Is the property affected by any Article 4 directions removing this type of permitted development right?', + responses: [ + { + value: 'None of these', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: + 'Is the property affected by any Aticle 4 directions removing this type of permitted development right?', + responses: [ + { + value: 'None of these', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: + 'Is the property affected by any Aticle 4 directions removing this type of permitted development right?', + responses: [ + { + value: 'None of these', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'What type of prior approval application is it?', + responses: [ + { + value: 'Extend a university building', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'You need to submit a Transport Assessment', + responses: [ + { + value: 'Upload a document later', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Describe the proposed work', + responses: [ + { + value: + 'New extension to university building, 6 metres to the rear and 4 metres in height, clad in books of poetry.', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Is any part of the site on designated land?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'Describe the materials of the buildings', + responses: [ + { + value: + 'The facade treatment will be sympathetic with the existing building and character of the area, using namely glazed tiles, london stock brick and standing seam zinc roofing.', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015, Schedule 2, Part 7, Class', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/7/crossheading/class-m-extensions-etc-for-schools-colleges-universities-and-hospitals', + }, + { + text: 'M', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/7/crossheading/class-m-extensions-etc-for-schools-colleges-universities-and-hospitals', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: + 'Is the project within, or near, a Conservation Area, a Listed Building or a site of Archaeological interest?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'Describe any impacts on heritage areas, historic buildings or archaeological remains, and how these will be mitigated', + responses: [ + { + value: + 'These are the impacts on heritage:\nA\nB\nC\n and this is how they will be mitigated:\n1\n2\n3', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Is the proposal within the Greater London Authority?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'Does the site include more than one property?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Greater London Authority Act 1999', + url: 'https://www.legislation.gov.uk/ukpga/1999/29/section/346', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Do you know the title number of the property?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'Does the property have an Energy Performance Certificate (EPC)?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Greater London Authority Act 1999', + url: 'https://www.legislation.gov.uk/ukpga/1999/29/section/346', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'What type of application is this?', + responses: [ + { + value: 'Prior approval', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'When are the works planned to start?', + responses: [ + { + value: '2024-07-28', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Greater London Authority Act 1999', + url: 'https://www.legislation.gov.uk/ukpga/1999/29/section/346', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'When are the works planned to be completed?', + responses: [ + { + value: '2024-07-28', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Greater London Authority Act 1999', + url: 'https://www.legislation.gov.uk/ukpga/1999/29/section/346', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: + '[HIDDEN] Is the application for prior approval for an extension to a dwelling house?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'Does the project have a known intended name?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Please provide the project name', + responses: [ + { + value: "Sir John Betjeman's New Extension", + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Has a lead developer been assigned to the project?', + responses: [ + { + value: 'Yes, a registered company in the UK', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Please provide the full company name of the lead developer', + responses: [ + { + value: 'Fit For Cabbages Developments', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Please provide the UK company registration number', + responses: [ + { + value: '12345679ABC', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'Does this application replace or amend a previously granted planning permission?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: '[HIDDEN] Part 3 class MA?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'What is the existing gross internal floor area?', + responses: [ + { + value: '400', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'What existing gross internal floor area will be lost as a result of the proposed development?', + responses: [ + { + value: '10', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The London Plan', + url: 'https://www.london.gov.uk/sites/default/files/intend_to_publish_-_clean.pdf', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: + 'What gross internal floor area will be gained as a result of the proposed development?', + responses: [ + { + value: '390', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The London Plan', + url: 'https://www.london.gov.uk/sites/default/files/intend_to_publish_-_clean.pdf', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: + 'Are any vehicle charging or hydrogen refuelling points being added as part of the proposal?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'What type of vehicle charging points are being created?', + responses: [ + { + value: 'Active charging points', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'How many active charging points are being created?', + responses: [ + { + value: '3', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'What type of vehicle charging points are being created', + responses: [ + { + value: 'Fast chargers', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'Does the project involve the development of new building units?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: + 'Which if any of the following will be required as part of the proposed development?', + responses: [ + { + value: 'Full fibre internet connection', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'How many residential units will be served by a full fibre internet connection?', + responses: [ + { + value: '0', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'How many commercial units will be served by a full fibre internet connection?', + responses: [ + { + value: '1', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Is a fire suppression system proposed?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Have you consulted with mobile network operators?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Will the proposal provide any of the following?', + responses: [ + { + value: 'Solar energy', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'What is the proposed total capacity of any solar energy generation?', + responses: [ + { + value: '6', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'What is the Urban Greening Factor Score?', + responses: [ + { + value: '2', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'What area of green roof is proposed?', + responses: [ + { + value: '12', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'What percentage of material from demolition and construction will be re-used or recycled?', + responses: [ + { + value: '0', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Does the proposal constitute a major development?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + policyRefs: [ + { + text: 'https://www.legislation.gov.uk/uksi/2015/595/article/2/made', + url: 'https://www.legislation.gov.uk/uksi/2015/595/article/2/made', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: + 'Does the project involve the addition of self-contained residential units or student accommodation on the site?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The London Plan', + url: 'https://www.london.gov.uk/sites/default/files/intend_to_publish_-_clean.pdf', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: + 'Does the project involve the removal of self-contained residential units or student accommodation on the site?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The London Plan', + url: 'https://www.london.gov.uk/sites/default/files/intend_to_publish_-_clean.pdf', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: + 'Are there existing or are you proposing parking spaces for any of these on the site?', + responses: [ + { + value: 'Bicycles', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Greater London Authority Act 1999', + url: 'https://www.legislation.gov.uk/ukpga/1999/29/section/346', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'What is the number of existing bicycle parking spaces?', + responses: [ + { + value: '5', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Greater London Authority Act 1999', + url: 'https://www.legislation.gov.uk/ukpga/1999/29/section/346', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'What is the proposed total number of bicycle parking spaces?', + responses: [ + { + value: '8', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Greater London Authority Act 1999', + url: 'https://www.legislation.gov.uk/ukpga/1999/29/section/346', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'What type of application is it?', + responses: [ + { + value: 'Apply for prior approval', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About you', + }, + }, + { + question: 'Are you applying on behalf of someone else?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Which of these best describes you?', + responses: [ + { + value: 'Company', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Your contact details', + responses: [ + { + value: 'Sir John Betjeman 012345678901 johnnybthepoet@email.org', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Is your contact address the same as the property address?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Your contact address', + responses: [ + { + value: '12 Cabbage Lane, Slough, FR1 3ND', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Can a planning officer see the works from public land?', + responses: [ + { + value: "Yes, it's visible from the road or somewhere else", + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: + 'We may need to visit the site to assess your application. If we do, who should we contact to arrange the visit?', + responses: [ + { + value: 'Me, the applicant', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'What type of prior approval application is it?', + responses: [ + { + value: 'Extend a university', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Upload drawings', + }, + }, + { + question: + 'Does the proposal involve extending or altering an existing building?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + sectionName: 'Upload drawings', + }, + }, + { + question: 'Is this for submission or information only?', + responses: [ + { + value: 'Submission', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Upload drawings', + }, + }, + { + question: 'What type of application is it?', + responses: [ + { + value: 'Prior approval', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'What type of prior approval application is it?', + responses: [ + { + value: 'Extend a university', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Is the property a home?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'What type of changes does the project involve?', + responses: [ + { + value: 'Extension', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Are the public allowed to access the building?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + sectionName: 'Check your application', + }, + }, + { + question: + 'Is the sole purpose of the project to provide disabled access to (or within) the building?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14', + url: 'https://www.legislation.gov.uk/uksi/2012/2920/regulation/14', + }, + { + text: 'Regulation 4 (1)(b)', + url: 'https://www.legislation.gov.uk/uksi/2012/2920/regulation/4', + }, + ], + sectionName: 'Check your application', + }, + }, + { + question: 'What type of prior approval application is it?', + responses: [ + { + value: 'Erect, extend or alter a university', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Is this application a resubmission?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14', + url: 'https://www.legislation.gov.uk/uksi/2012/2920/regulation/14', + }, + ], + sectionName: 'Check your application', + }, + }, + { + question: 'Does the application qualify for a disability exemption?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Does the application qualify for a resubmission exemption?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: + 'Does the application qualify to the same-day-planning-application exemption?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + policyRefs: [ + { + text: 'The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14', + url: 'https://www.legislation.gov.uk/uksi/2012/2920/regulation/14', + }, + ], + sectionName: 'Check your application', + }, + }, + { + question: 'Check for multiple fees?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'What type of application is it?', + responses: [ + { + value: 'Prior approval', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Which Local Planning authority is it?', + responses: [ + { + value: 'Camden', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Connections with London Borough of Camden', + responses: [ + { + value: 'None of the above apply to me', + }, + ], + metadata: { + sectionName: 'Check your application', + }, + }, + { + question: 'I confirm that:', + responses: [ + { + value: + 'The information contained in this application is truthful, accurate and complete, to the best of my knowledge', + }, + ], + metadata: { + sectionName: 'Check your application', + }, + }, + { + question: 'Which Local Planning authority is it?', + responses: [ + { + value: 'Camden', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Pay and submit', + }, + }, + { + question: + 'What type of prior approval application is it?application.type', + responses: [ + { + value: 'Extend a school, college, university, prison or hospital', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Pay and submit', + }, + }, + ], + files: [ + { + name: 'https://api.editor.planx.dev/file/private/o9ckva99/test%20document.pdf', + type: ['otherDocument'], + }, + { + name: 'https://api.editor.planx.dev/file/private/p3e01fea/test%20document.pdf', + type: ['sitePlan.proposed', 'elevations.existing', 'elevations.proposed'], + }, + ], + metadata: { + id: '7e147b04-0a8b-44fc-a249-c36ef6407f84', + organisation: 'CMD', + submittedAt: '2024-06-29T11:11:11.143Z', + source: 'PlanX', + service: { + flowId: '3245f1f1-d044-4e73-a819-20a7ff730964', + url: 'https://editor.planx.dev/camden/apply-for-prior-approval/published', + files: { + required: [ + { + value: 'sitePlan.proposed', + description: 'Site plan - proposed', + }, + { + value: 'elevations.existing', + description: 'Elevations - existing', + }, + { + value: 'elevations.proposed', + description: 'Elevations - proposed', + }, + ], + recommended: [], + optional: [ + { + value: 'photographs.existing', + description: 'Photographs - existing', + }, + { + value: 'otherDrawing', + description: 'Other - drawing', + }, + { + value: 'otherDocument', + description: 'Other - document', + }, + { + value: 'visualisations', + description: 'Visualisations', + }, + ], + }, + fee: { + calculated: [ + { + policyRefs: [ + { + text: 'The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) (Amendment) Regulations 2023', + url: 'https://www.legislation.gov.uk/uksi/2023/1197/made', + }, + ], + }, + ], + payable: [ + { + description: + 'This application does not qualify for any exemptions or reductions
', + }, + ], + }, + }, + schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schema.json`, + }, +}; diff --git a/examples/prototypeApplication/data/priorApproval/largerExtension.ts b/examples/prototypeApplication/data/priorApproval/largerExtension.ts index e69de29b..59d4cacf 100644 --- a/examples/prototypeApplication/data/priorApproval/largerExtension.ts +++ b/examples/prototypeApplication/data/priorApproval/largerExtension.ts @@ -0,0 +1,1500 @@ +import {PrototypeApplication} from '../../../../types/schemas/prototypeApplication'; + +const version = process.env['VERSION'] || '@next'; + +export const priorApprovalLargerExtensionPrototype: PrototypeApplication = { + applicationType: 'pa.part1.classA', + data: { + user: { + role: 'applicant', + }, + applicant: { + type: 'individual', + name: { + first: 'William', + last: 'Zane', + }, + email: 'areyouon@email.org', + phone: { + primary: '01234000000', + }, + address: { + sameAsSiteAddress: true, + }, + siteContact: { + role: 'applicant', + }, + }, + property: { + address: { + latitude: 51.3304155, + longitude: -0.1043842, + x: 532161, + y: 160741, + title: '32, ST JAMES ROAD, PURLEY', + source: 'Ordnance Survey', + uprn: '100020623888', + usrn: '20502851', + pao: '32', + street: 'ST JAMES ROAD', + town: 'PURLEY', + postcode: 'CR8 2DL', + singleLine: '32 ST JAMES ROAD, PURLEY, CROYDON, CR8 2DL', + }, + localAuthorityDistrict: ['Croydon'], + region: 'London', + type: 'residential.dwelling.house.detached', + planning: { + sources: [ + 'https://api.editor.planx.dev/gis/southwark?geom=MULTIPOLYGON+%28%28%28-0.072763+51.456622%2C+-0.072749+51.456669%2C+-0.073167+51.456732%2C+-0.073195+51.456736%2C+-0.073213+51.456688%2C+-0.072763+51.456622%29%29%29&analytics=false&sessionId=80d3c3c2-0d1c-4a79-be99-912f488c2f02', + 'https://api.editor.planx.dev/roads?usrn=22500947', + ], + designations: [ + { + value: 'tpo', + intersects: false, + }, + { + value: 'flood', + intersects: false, + }, + { + value: 'listed', + intersects: false, + }, + { + value: 'article4', + intersects: false, + }, + { + value: 'monument', + intersects: false, + }, + { + value: 'greenBelt', + intersects: false, + }, + { + value: 'designated', + intersects: false, + }, + { + value: 'nature.SAC', + intersects: false, + }, + { + value: 'nature.SPA', + intersects: false, + }, + { + value: 'nature.ASNW', + intersects: false, + }, + { + value: 'nature.SSSI', + intersects: false, + }, + { + value: 'brownfieldSite', + intersects: false, + }, + { + value: 'designated.WHS', + intersects: false, + }, + { + value: 'registeredPark', + intersects: false, + }, + { + value: 'designated.AONB', + intersects: false, + }, + { + value: 'nature.ramsarSite', + intersects: false, + }, + { + value: 'designated.nationalPark', + intersects: false, + }, + { + value: 'designated.conservationArea', + intersects: false, + }, + { + value: 'designated.nationalPark.broads', + intersects: false, + }, + { + value: 'road.classified', + intersects: false, + }, + ], + }, + boundary: { + site: { + type: 'Feature', + geometry: { + type: 'MultiPolygon', + coordinates: [ + [ + [ + [-0.072763, 51.456622], + [-0.072749, 51.456669], + [-0.073167, 51.456732], + [-0.073195, 51.456736], + [-0.073213, 51.456688], + [-0.072763, 51.456622], + ], + ], + ], + }, + properties: { + name: '', + entity: 12000593377, + prefix: 'title-boundary', + dataset: 'title-boundary', + 'end-date': '', + typology: 'geography', + reference: '37786766', + 'entry-date': '2024-05-06', + 'start-date': '2002-06-26', + 'organisation-entity': '13', + }, + }, + area: { + hectares: 0.017289, + squareMetres: 172.89, + }, + }, + }, + application: { + fee: { + calculated: 120, + payable: 0, + exemption: { + disability: true, + resubmission: false, + }, + reduction: { + sports: false, + parishCouncil: false, + alternative: false, + }, + }, + declaration: { + accurate: true, + connection: { + value: 'none', + }, + }, + }, + proposal: { + projectType: ['extend.rear'], + description: + 'A 2 storey rear extension with a roof garden and built in pizza oven', + date: { + start: '2024-06-17', + completion: '2050-06-18', + }, + boundary: { + site: { + type: 'Feature', + geometry: { + type: 'MultiPolygon', + coordinates: [ + [ + [ + [-0.072763, 51.456622], + [-0.072749, 51.456669], + [-0.073167, 51.456732], + [-0.073195, 51.456736], + [-0.073213, 51.456688], + [-0.072763, 51.456622], + ], + ], + ], + }, + properties: { + name: '', + entity: 12000593377, + prefix: 'title-boundary', + dataset: 'title-boundary', + 'end-date': '', + typology: 'geography', + reference: '37786766', + 'entry-date': '2024-05-06', + 'start-date': '2002-06-26', + 'organisation-entity': '13', + planx_user_action: 'Accepted the title boundary', + }, + }, + area: { + hectares: 0.017289, + squareMetres: 172.89, + }, + }, + }, + }, + preAssessment: [ + { + value: 'Planning permission / Prior approval', + description: + 'It looks like the proposed changes do not require planning permission, however the applicant must apply for Prior Approval before proceeding.', + }, + ], + responses: [ + { + question: 'Is the property in Southwark?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'The property', + }, + }, + { + question: 'What type of property is it?', + responses: [ + { + value: 'House', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'The property', + }, + }, + { + question: 'What type of house is it?', + responses: [ + { + value: 'Terrace', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'The property', + }, + }, + { + question: 'Have the works already started?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Describe the project.', + responses: [ + { + value: + 'A 2 storey rear extension with a roof garden and built in pizza oven.', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'What type of property is it?', + responses: [ + { + value: 'House', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'Select your project', + responses: [ + { + value: 'Add a rear extension', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'What type of property is it?', + responses: [ + { + value: 'House', + }, + ], + metadata: { + autoAnswered: true, + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015', + url: 'https://www.legislation.gov.uk/uksi/2015/596/contents/made', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'What type of house is it?', + responses: [ + { + value: 'Mid terrace', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'How many storeys does the original house have?', + responses: [ + { + value: '2 or more', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Does the original house have a projection to the rear?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Was the house always a house?', + responses: [ + { + value: 'Yes, it was built as a house', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015, Schedule 2, Part 1, Class A', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Was the house built before 2020?', + responses: [ + { + value: 'Yes, it was built before 2020', + metadata: { + flags: ['Planning permission / Permitted development'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 1, Class 1 A.', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Which of these best describes the new extension?', + responses: [ + { + value: 'Single storey', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Section 2, Part 1, Class A', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Does the original house have a projection to the rear?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'Which of these best describes your extension?', + responses: [ + { + value: 'Rear', + }, + ], + metadata: { + policyRefs: [ + { + text: 'General Permitted Development Order 2015, Technical Guidance (PDF, 500KB)', + url: 'https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/830643/190910_Tech_Guide_for_publishing.pdf', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Is any part of the extension within 2 metres of the boundary?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 1, Class A', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Is the property on designated land?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'Is the property a site of special scientific interest?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'What type of house is it?', + responses: [ + { + value: 'A terrace', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: + 'How far does the new rear addition extend beyond the back wall of the original house?', + responses: [ + { + value: '3 to 6m', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 1, Class A.1 (f)(i)', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: + 'Is this a prior approval application for a larger rear extension?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: + 'Exactly how far will the new addition extend beyond the back wall of the original house?', + responses: [ + { + value: '5', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 1, Class A', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'What type of roof does the extension have?', + responses: [ + { + value: 'Flat', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Will any part of the extension be higher than 4m?', + responses: [ + { + value: 'No', + metadata: { + flags: ['Planning permission / Permitted development'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 1, Class A.1 (g)(ii)', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1', + }, + { + text: 'Permitted Development Rights for Householders Technical Guidance (PDF, 500KB)', + url: 'https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/830643/190910_Tech_Guide_for_publishing.pdf', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: + 'Is this a prior approval application for a larger rear extension?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'What is the exact height of the extension?', + responses: [ + { + value: '3.6', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 1, Class A', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'How many storeys does the original house have?', + responses: [ + { + value: '2 or more', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: + 'Is any part of the extension within 2 metres of a boundary of the house?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'How many storeys does the original house have?', + responses: [ + { + value: '2 or more', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: + 'Are the materials of the extension similar to the original house?', + responses: [ + { + value: 'Yes', + metadata: { + flags: ['Planning permission / Permitted development'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 1, Class A', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Is the property on designated land?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: + 'How much of the available area around the house is covered by extensions and outbuildings?', + responses: [ + { + value: '50% or less of the available area around the original house', + metadata: { + flags: ['Planning permission / Permitted development'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 1, Class A', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'What will you use the extension for?', + responses: [ + { + value: 'Hobby space or similar', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 1, Class A', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1', + }, + { + text: 'Town and Country Planning Act 1990, Section 55', + url: 'https://www.legislation.gov.uk/ukpga/1990/8/section/55', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Who will use the hobby space?', + responses: [ + { + value: 'Me and my family, personal use only', + metadata: { + flags: ['Planning permission / Permitted development'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'Town and Country Planning Act 1990, Section 55', + url: 'https://www.legislation.gov.uk/ukpga/1990/8/section/55', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'What type of application is being applied for?', + responses: [ + { + value: 'Part 1 Class A', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'Is the property subject to any Article 4 directions?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'What type of prior approval application is it?', + responses: [ + { + value: 'Larger extension to a house', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'How many properties adjoin yours?', + responses: [ + { + value: '2', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015, Schedule 2, Part 1, Class A.4 (5)', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1/crossheading/class-a-enlargement-improvement-or-other-alteration-of-a-dwellinghouse', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Enter the address of the first adjoining property', + responses: [ + { + value: '21 Fellbrigg Road, London, SE22 9HQ', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015, Schedule 2, Part 1, Class A.4 (5)', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1/crossheading/class-a-enlargement-improvement-or-other-alteration-of-a-dwellinghouse', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Enter the address of the second adjoining property', + responses: [ + { + value: '25 Fellbrigg Road, London, SE22 9HQ', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015, Schedule 2, Part 1, Class A.4 (5)', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1/crossheading/class-a-enlargement-improvement-or-other-alteration-of-a-dwellinghouse', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Is the proposal within the Greater London Authority?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'Does the site include more than one property?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Greater London Authority Act 1999', + url: 'https://www.legislation.gov.uk/ukpga/1999/29/section/346', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Do you know the title number of the property?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'Does the property have an Energy Performance Certificate (EPC)?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Greater London Authority Act 1999', + url: 'https://www.legislation.gov.uk/ukpga/1999/29/section/346', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Enter the reference number (RRN) from the most recent EPC', + responses: [ + { + value: '1234-1234-1234-1234-1234', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'What type of application is this?', + responses: [ + { + value: 'Prior approval', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'When are the works planned to start?', + responses: [ + { + value: '2024-06-17', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Greater London Authority Act 1999', + url: 'https://www.legislation.gov.uk/ukpga/1999/29/section/346', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'When are the works planned to be completed?', + responses: [ + { + value: '2050-06-18', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Greater London Authority Act 1999', + url: 'https://www.legislation.gov.uk/ukpga/1999/29/section/346', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: + '[HIDDEN] Is the application for prior approval for an extension to a dwelling house?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'What is the gross internal floor area to be added?', + responses: [ + { + value: '40', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'Do the changes involve creating any new bedrooms or bathrooms?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'Are there existing or are you proposing parking spaces for any of these on the site?', + responses: [ + { + value: 'Bicycles', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Greater London Authority Act 1999', + url: 'https://www.legislation.gov.uk/ukpga/1999/29/section/346', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'What is the number of existing bicycle parking spaces?', + responses: [ + { + value: '2', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Greater London Authority Act 1999', + url: 'https://www.legislation.gov.uk/ukpga/1999/29/section/346', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'What is the proposed total number of bicycle parking spaces?', + responses: [ + { + value: '2', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Greater London Authority Act 1999', + url: 'https://www.legislation.gov.uk/ukpga/1999/29/section/346', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'What type of application is it?', + responses: [ + { + value: 'Apply for prior approval', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About you', + }, + }, + { + question: 'Are you applying on behalf of someone else?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Which of these best describes you?', + responses: [ + { + value: 'Private individual', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Your contact details', + responses: [ + { + value: 'William Zane 01234000000 areyouon@email.org', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Is your contact address the same as the property address?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Can a planning officer see the works from public land?', + responses: [ + { + value: "Yes, it's visible from the road or somewhere else", + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: + 'We may need to visit the site to assess your application. If we do, who should we contact to arrange the visit?', + responses: [ + { + value: 'Me, the applicant', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'What type of prior approval application is it?', + responses: [ + { + value: 'Larger extension to a house', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Upload drawings', + }, + }, + { + question: 'Has the house already been extended?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'Upload drawings', + }, + }, + { + question: 'Is this for submission or information only?', + responses: [ + { + value: 'Submission', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Upload drawings', + }, + }, + { + question: 'What type of application is it?', + responses: [ + { + value: 'Prior approval', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'What type of prior approval application is it?', + responses: [ + { + value: 'Larger extension to a house', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Is the property a home?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'What works does the project involve?', + responses: [ + { + value: 'Extension', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: + 'Is the purpose of the project to support the needs of a disabled resident?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14', + url: 'https://www.legislation.gov.uk/uksi/2012/2920/regulation/14', + }, + { + text: 'UK Statutory Instruments 2012 No. 2920 Regulation 4', + url: 'https://www.legislation.gov.uk/uksi/2012/2920/regulation/4/made', + }, + { + text: 'Equalities Act 2010, Section 6', + url: 'https://www.legislation.gov.uk/ukpga/2010/15/section/6', + }, + { + text: 'Children Act 1989, Part 3', + url: 'https://www.legislation.gov.uk/ukpga/1989/41/part/III', + }, + ], + sectionName: 'Check your application', + }, + }, + { + question: 'Are you the applicant?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Would you like to upload evidence of your disability?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'Check your application', + }, + }, + { + question: 'What type of prior approval application is it?', + responses: [ + { + value: 'Larger extension to a house', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: + 'Are you submitting any other planning applications about the same works or changes?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14', + url: 'https://www.legislation.gov.uk/uksi/2012/2920/regulation/14', + }, + ], + sectionName: 'Check your application', + }, + }, + { + question: 'Does the application qualify for a disability exemption?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Is it any of these?', + responses: [ + { + value: 'None of these', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Check for multiple fees?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'What type of application is it?', + responses: [ + { + value: 'Prior approval', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Which Local Planning authority is it?', + responses: [ + { + value: 'Southwark', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Connections with Southwark Council', + responses: [ + { + value: 'None of the above apply to me', + }, + ], + metadata: { + sectionName: 'Check your application', + }, + }, + { + question: 'I confirm that:', + responses: [ + { + value: + 'The information contained in this application is truthful, accurate and complete, to the best of my knowledge', + }, + ], + metadata: { + sectionName: 'Check your application', + }, + }, + { + question: 'Which Local Planning authority is it?', + responses: [ + { + value: 'Southwark', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Pay and submit', + }, + }, + { + question: + 'What type of prior approval application is it?application.type', + responses: [ + { + value: 'Larger extension to a house', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Pay and submit', + }, + }, + ], + files: [ + { + name: 'https://api.editor.planx.dev/file/private/dfaz9qu5/location%20plan_proposed_01.jpg', + type: ['sitePlan.proposed'], + }, + { + name: 'https://api.editor.planx.dev/file/private/avilhq1j/elevations_existing_01.jpg', + type: ['elevations.existing'], + }, + { + name: 'https://api.editor.planx.dev/file/private/tis6f8hh/elevations_proposed_01.jpg', + type: ['elevations.proposed'], + }, + ], + metadata: { + id: '80d3c3c2-0d1c-4a79-be99-912f488c2f02', + organisation: 'SWK', + submittedAt: '2024-06-26T18:14:45.726Z', + source: 'PlanX', + service: { + flowId: 'c6628103-c648-4663-81e1-bfa0a1a18340', + url: 'https://editor.planx.uk/southwark/apply-for-prior-approval/published', + files: { + required: [ + { + value: 'sitePlan.proposed', + description: 'Site plan - proposed', + }, + ], + recommended: [ + { + value: 'elevations.existing', + description: 'Elevations - existing', + }, + { + value: 'elevations.proposed', + description: 'Elevations - proposed', + }, + ], + optional: [ + { + value: 'photographs.existing', + description: 'Photographs - existing', + }, + { + value: 'otherDrawing', + description: 'Other - drawing', + }, + { + value: 'otherDocument', + description: 'Other - document', + }, + { + value: 'visualisations', + description: 'Visualisations', + }, + ], + }, + fee: { + calculated: [ + { + policyRefs: [ + { + text: 'The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) (Amendment) Regulations 2023', + url: 'https://www.legislation.gov.uk/uksi/2023/1197/made', + }, + ], + }, + ], + payable: [ + { + description: + 'If the proposed works (to either a home or within the curtilage of a home) is for the sole purpose of providing either:
\n\n- A means of access to (or within) the dwellinghouse for a disabled resident (current or future)
\n\nOR
\n\n- Providing facilities that are designed to ensure the disabled persons safety, health or comfort
\n\nOR
\n\n- Providing disabled access to a public building
\n\nThen no planning fee will be payable for this application.
', + policyRefs: [ + { + text: 'The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14', + url: 'https://www.legislation.gov.uk/uksi/2012/2920/regulation/14', + }, + { + text: 'Regulation 4', + url: 'https://www.legislation.gov.uk/uksi/2012/2920/regulation/4/made', + }, + ], + }, + ], + }, + }, + schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schema.json`, + }, +}; diff --git a/examples/prototypeApplication/data/priorApproval/solarPanels.ts b/examples/prototypeApplication/data/priorApproval/solarPanels.ts index e69de29b..2cd4f15e 100644 --- a/examples/prototypeApplication/data/priorApproval/solarPanels.ts +++ b/examples/prototypeApplication/data/priorApproval/solarPanels.ts @@ -0,0 +1,1306 @@ +import {PrototypeApplication} from '../../../../types/schemas/prototypeApplication'; + +const version = process.env['VERSION'] || '@next'; + +export const priorApprovalSolarPanelsPrototype: PrototypeApplication = { + applicationType: 'pa.part14.classJ', + data: { + user: { + role: 'applicant', + }, + applicant: { + type: 'individual', + name: { + first: 'Bill', + last: 'Shakespeare', + }, + email: 'byanyothername@email.org', + phone: { + primary: '012345678901', + }, + address: { + sameAsSiteAddress: true, + }, + siteContact: { + role: 'applicant', + }, + }, + property: { + address: { + latitude: 51.5081124, + longitude: -0.0965717, + x: 532192, + y: 180515, + title: + 'INTERNATIONAL SHAKESPEARE GLOBE CENTRE LTD, SHAKESPEARE GLOBE THEATRE, 21, NEW GLOBE WALK, LONDON', + source: 'Ordnance Survey', + uprn: '200003377200', + usrn: '22503078', + pao: '21SHAKESPEARE GLOBE THEATRE', + street: 'NEW GLOBE WALK', + town: 'LONDON', + postcode: 'SE1 9DT', + singleLine: + 'INTERNATIONAL SHAKESPEARE GLOBE CENTRE LTD, SHAKESPEARE GLOBE THEATRE, 21, NEW GLOBE WALK, LONDON, SOUTHWARK, SE1 9DT', + }, + localAuthorityDistrict: ['Southwark'], + region: 'London', + type: 'commercial.leisure.entertainment', + boundary: { + site: { + type: 'Feature', + geometry: { + type: 'MultiPolygon', + coordinates: [ + [ + [ + [-0.097554, 51.507945], + [-0.097612, 51.507942], + [-0.097592, 51.507805], + [-0.097442, 51.507818], + [-0.097257, 51.507806], + [-0.097255, 51.507821], + [-0.096964, 51.507802], + [-0.096853, 51.507857], + [-0.096465, 51.507835], + [-0.096391, 51.508281], + [-0.096748, 51.508303], + [-0.096891, 51.508319], + [-0.097056, 51.5083], + [-0.097068, 51.508316], + [-0.097096, 51.508318], + [-0.097232, 51.508312], + [-0.09723, 51.508301], + [-0.097249, 51.508299], + [-0.097247, 51.508292], + [-0.097277, 51.50829], + [-0.097279, 51.508302], + [-0.097362, 51.508296], + [-0.097358, 51.508284], + [-0.09741, 51.50828], + [-0.097414, 51.508291], + [-0.097452, 51.508288], + [-0.09745, 51.508279], + [-0.097626, 51.508267], + [-0.097607, 51.508177], + [-0.097597, 51.508177], + [-0.097554, 51.507945], + ], + ], + ], + }, + properties: { + name: '', + entity: 12000608797, + prefix: 'title-boundary', + dataset: 'title-boundary', + 'end-date': '', + typology: 'geography', + reference: '53336201', + 'entry-date': '2024-05-06', + 'start-date': '2011-12-01', + 'organisation-entity': '13', + }, + }, + area: { + hectares: 0.424414, + squareMetres: 4244.14, + }, + }, + titleNumber: { + known: 'Yes', + number: '24/12345/FUL', + }, + EPC: { + known: 'Yes', + number: '1234-1234-1234-1234', + }, + parking: { + cars: { + count: 0, + }, + vans: { + count: 0, + }, + motorcycles: { + count: 0, + }, + cycles: { + count: 30, + }, + buses: { + count: 0, + }, + disabled: { + count: 0, + }, + carClub: { + count: 0, + }, + offStreet: { + residential: { + count: 0, + }, + }, + other: { + count: 0, + }, + }, + }, + application: { + fee: { + calculated: 120, + payable: 120, + exemption: { + disability: false, + resubmission: false, + }, + reduction: { + sports: false, + parishCouncil: false, + alternative: false, + }, + reference: { + govPay: 'mfm6s5irae9bh5g75p3ks5opng', + }, + }, + declaration: { + accurate: true, + connection: { + value: 'none', + }, + }, + }, + proposal: { + projectType: ['alter.equipment.solar'], + description: 'Not provided', + date: { + start: '2024-07-28', + completion: '2030-07-28', + }, + boundary: { + site: { + type: 'Feature', + geometry: { + type: 'MultiPolygon', + coordinates: [ + [ + [ + [-0.097554, 51.507945], + [-0.097612, 51.507942], + [-0.097592, 51.507805], + [-0.097442, 51.507818], + [-0.097257, 51.507806], + [-0.097255, 51.507821], + [-0.096964, 51.507802], + [-0.096853, 51.507857], + [-0.096465, 51.507835], + [-0.096391, 51.508281], + [-0.096748, 51.508303], + [-0.096891, 51.508319], + [-0.097056, 51.5083], + [-0.097068, 51.508316], + [-0.097096, 51.508318], + [-0.097232, 51.508312], + [-0.09723, 51.508301], + [-0.097249, 51.508299], + [-0.097247, 51.508292], + [-0.097277, 51.50829], + [-0.097279, 51.508302], + [-0.097362, 51.508296], + [-0.097358, 51.508284], + [-0.09741, 51.50828], + [-0.097414, 51.508291], + [-0.097452, 51.508288], + [-0.09745, 51.508279], + [-0.097626, 51.508267], + [-0.097607, 51.508177], + [-0.097597, 51.508177], + [-0.097554, 51.507945], + ], + ], + ], + }, + properties: { + name: '', + entity: 12000608797, + prefix: 'title-boundary', + dataset: 'title-boundary', + 'end-date': '', + typology: 'geography', + reference: '53336201', + 'entry-date': '2024-05-06', + 'start-date': '2011-12-01', + 'organisation-entity': '13', + planx_user_action: 'Accepted the title boundary', + }, + }, + area: { + hectares: 0.424414, + squareMetres: 4244.14, + }, + }, + parking: { + cars: { + count: 0, + difference: 0, + }, + vans: { + count: 0, + difference: 0, + }, + motorcycles: { + count: 0, + difference: 0, + }, + cycles: { + count: 30, + difference: 0, + }, + buses: { + count: 0, + difference: 0, + }, + disabled: { + count: 0, + difference: 0, + }, + carClub: { + count: 0, + difference: 0, + }, + offStreet: { + residential: { + count: 0, + difference: 0, + }, + }, + other: { + count: 0, + difference: 0, + }, + }, + }, + }, + preAssessment: [ + { + value: 'Planning permission / Prior approval', + description: + 'It looks like the proposed changes do not require planning permission, however the applicant must apply for Prior Approval before proceeding.', + }, + ], + responses: [ + { + question: 'Is the property in Southwark?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'The property', + }, + }, + { + question: 'What type of property is it?', + responses: [ + { + value: 'Something else', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'The property', + }, + }, + { + question: 'Which of these best describes the use of the property?', + responses: [ + { + value: 'Leisure and sport', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'The property', + }, + }, + { + question: 'What type of leisure property is it?', + responses: [ + { + value: 'Entertainment', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'The property', + }, + }, + { + question: 'Have the works already started?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Describe the project.', + responses: [ + { + value: + 'Installation of solar panels on the roof of the globe theatre', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'What type of property is it?', + responses: [ + { + value: 'Commercial building', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'What type of property is it?', + responses: [ + { + value: 'Neither a house nor a flat', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'What do you want to install?', + responses: [ + { + value: 'Solar photovoltaics (PV)', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'Are there any other locations where the equipment could be installed?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class A', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/14/crossheading/class-a-installation-or-alteration-etc-of-solar-equipment-on-domestic-premises', + }, + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class K', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/14/crossheading/class-k-installation-or-alteration-etc-of-standalone-solar-equipment-on-nondomestic-premises', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: + 'Would the solar panels would be less visible from the highway in these other locations?', + responses: [ + { + value: 'No', + metadata: { + flags: ['Planning permission / Permitted development'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class A', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/14/crossheading/class-a-installation-or-alteration-etc-of-solar-equipment-on-domestic-premises', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Is the building listed?', + responses: [ + { + value: 'No', + metadata: { + flags: ['Planning permission / Permitted development'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class J', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/14/crossheading/class-j-installation-or-alteration-etc-of-solar-equipment-on-nondomestic-premises', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Is the property a scheduled monument?', + responses: [ + { + value: 'No', + metadata: { + flags: ['Planning permission / Permitted development'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class J', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/14/crossheading/class-j-installation-or-alteration-etc-of-solar-equipment-on-nondomestic-premises', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Where are the new solar panels?', + responses: [ + { + value: 'On roofs', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'What type of roofs are they?', + responses: [ + { + value: 'Pitched', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'How far do the new solar panels stick out from the pitched roofs?', + responses: [ + { + value: '0.2m or less', + metadata: { + flags: ['Planning permission / Permitted development'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class J', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/14', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'How far are the new solar panels from the edge of the roof?', + responses: [ + { + value: '1m or more from the edge of the roof', + metadata: { + flags: ['Planning permission / Permitted development'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class J', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/14', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'What do you want to install?', + responses: [ + { + value: 'Solar photovoltaics (PV)', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'What is the total capacity of all solar photovoltaics (PV)?', + responses: [ + { + value: 'More than 50kW', + metadata: { + flags: ['Planning permission / Prior approval'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class J', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/14', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'The solar panels must be removed when no longer needed.', + responses: [ + { + value: 'OK', + metadata: { + flags: ['Planning permission / Permitted development'], + }, + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class A', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/14/crossheading/class-a-installation-or-alteration-etc-of-solar-equipment-on-domestic-premises', + }, + { + text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class K', + url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/14/crossheading/class-k-installation-or-alteration-etc-of-standalone-solar-equipment-on-nondomestic-premises', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'What type of property is it?', + responses: [ + { + value: 'Another use', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'Select your project', + responses: [ + { + value: 'Install solar panels', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'What type of application is being applied for?', + responses: [ + { + value: 'Part 14 Class J', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'Is the property subject to any Article 4 directions?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'What type of prior approval application is it?', + responses: [ + { + value: 'Install or change solar panels', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'Is the proposal within the Greater London Authority?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'Does the site include more than one property?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Greater London Authority Act 1999', + url: 'https://www.legislation.gov.uk/ukpga/1999/29/section/346', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Do you know the title number of the property?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'What is the title number of the property?', + responses: [ + { + value: '24/12345/FUL', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Greater London Authority Act 1999', + url: 'https://www.legislation.gov.uk/ukpga/1999/29/section/346', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: + 'Does the property have an Energy Performance Certificate (EPC)?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Greater London Authority Act 1999', + url: 'https://www.legislation.gov.uk/ukpga/1999/29/section/346', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'Enter the reference number (RRN) from the most recent EPC', + responses: [ + { + value: '1234-1234-1234-1234', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: 'What type of application is this?', + responses: [ + { + value: 'Prior approval', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'When are the works planned to start?', + responses: [ + { + value: '2024-07-28', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Greater London Authority Act 1999', + url: 'https://www.legislation.gov.uk/ukpga/1999/29/section/346', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'When are the works planned to be completed?', + responses: [ + { + value: '2030-07-28', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Greater London Authority Act 1999', + url: 'https://www.legislation.gov.uk/ukpga/1999/29/section/346', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: + '[HIDDEN] Is the application for prior approval for an extension to a dwelling house?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About the project', + }, + }, + { + question: 'What is the gross internal floor area to be added?', + responses: [ + { + value: '0', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'Do the changes involve creating any new bedrooms or bathrooms?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, + { + question: + 'Are there existing or are you proposing parking spaces for any of these on the site?', + responses: [ + { + value: 'Bicycles', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Greater London Authority Act 1999', + url: 'https://www.legislation.gov.uk/ukpga/1999/29/section/346', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'What is the number of existing bicycle parking spaces?', + responses: [ + { + value: '30', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Greater London Authority Act 1999', + url: 'https://www.legislation.gov.uk/ukpga/1999/29/section/346', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'What is the proposed total number of bicycle parking spaces?', + responses: [ + { + value: '30', + }, + ], + metadata: { + policyRefs: [ + { + text: 'Greater London Authority Act 1999', + url: 'https://www.legislation.gov.uk/ukpga/1999/29/section/346', + }, + ], + sectionName: 'About the project', + }, + }, + { + question: 'What type of application is it?', + responses: [ + { + value: 'Apply for prior approval', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'About you', + }, + }, + { + question: 'Are you applying on behalf of someone else?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Which of these best describes you?', + responses: [ + { + value: 'Private individual', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Your contact details', + responses: [ + { + value: 'Bill Shakespeare 012345678901 byanyothername@email.org', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Is your contact address the same as the property address?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Your contact address', + responses: [ + { + value: '12 Sonnet Street, Stratford upon Avon, TH334RD', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'Can a planning officer see the works from public land?', + responses: [ + { + value: "Yes, it's visible from the road or somewhere else", + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: + 'We may need to visit the site to assess your application. If we do, who should we contact to arrange the visit?', + responses: [ + { + value: 'Me, the applicant', + }, + ], + metadata: { + sectionName: 'About you', + }, + }, + { + question: 'What type of prior approval application is it?', + responses: [ + { + value: 'Install or change solar panels', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Upload drawings', + }, + }, + { + question: 'Where will the solar panels be installed?', + responses: [ + { + value: 'On roofs', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Upload drawings', + }, + }, + { + question: + 'Your planning officer will need to check how far the solar panels stick out beyond the surface of the roof. What do you have that shows this?', + responses: [ + { + value: 'Section drawing of the building', + }, + ], + metadata: { + sectionName: 'Upload drawings', + }, + }, + { + question: 'Is this for submission or information only?', + responses: [ + { + value: 'Submission', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Upload drawings', + }, + }, + { + question: 'What type of application is it?', + responses: [ + { + value: 'Prior approval', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'What type of prior approval application is it?', + responses: [ + { + value: 'Install or change solar panels', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Is the property a home?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'What type of changes does the project involve?', + responses: [ + { + value: 'Alteration', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Are the public allowed to access the building?', + responses: [ + { + value: 'Yes', + }, + ], + metadata: { + sectionName: 'Check your application', + }, + }, + { + question: + 'Is the sole purpose of the project to provide disabled access to (or within) the building?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + policyRefs: [ + { + text: 'The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14', + url: 'https://www.legislation.gov.uk/uksi/2012/2920/regulation/14', + }, + { + text: 'Regulation 4 (1)(b)', + url: 'https://www.legislation.gov.uk/uksi/2012/2920/regulation/4', + }, + ], + sectionName: 'Check your application', + }, + }, + { + question: 'What type of prior approval application is it?', + responses: [ + { + value: 'Install or change solar panels', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Does the application qualify for a disability exemption?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Does the application qualify for a resubmission exemption?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: + 'Does the application qualify to the same-day-planning-application exemption?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + policyRefs: [ + { + text: 'The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14', + url: 'https://www.legislation.gov.uk/uksi/2012/2920/regulation/14', + }, + ], + sectionName: 'Check your application', + }, + }, + { + question: 'Check for multiple fees?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'What type of application is it?', + responses: [ + { + value: 'Prior approval', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Which Local Planning authority is it?', + responses: [ + { + value: 'Southwark', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, + }, + { + question: 'Connections with Southwark Council', + responses: [ + { + value: 'None of the above apply to me', + }, + ], + metadata: { + sectionName: 'Check your application', + }, + }, + { + question: 'I confirm that:', + responses: [ + { + value: + 'The information contained in this application is truthful, accurate and complete, to the best of my knowledge', + }, + ], + metadata: { + sectionName: 'Check your application', + }, + }, + { + question: 'Which Local Planning authority is it?', + responses: [ + { + value: 'Southwark', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Pay and submit', + }, + }, + { + question: + 'What type of prior approval application is it?application.type', + responses: [ + { + value: 'Install or change solar panels', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Pay and submit', + }, + }, + ], + files: [ + { + name: 'https://api.editor.planx.dev/file/private/mq2iovsi/test%20document.pdf', + type: ['sections.proposed'], + }, + { + name: 'https://api.editor.planx.dev/file/private/czxk98ug/test%20document.pdf', + type: ['sitePlan.proposed'], + }, + ], + metadata: { + id: 'dee911d0-48b4-438c-96b6-2bb12ae46335', + organisation: 'SWK', + submittedAt: '2024-06-29T13:06:44.801Z', + source: 'PlanX', + service: { + flowId: 'c6628103-c648-4663-81e1-bfa0a1a18340', + url: 'https://editor.planx.uk/southwark/apply-for-prior-approval/published', + files: { + required: [ + { + value: 'sitePlan.proposed', + description: 'Site plan - proposed', + }, + { + value: 'sections.proposed', + description: 'Sections - proposed', + }, + ], + recommended: [], + optional: [ + { + value: 'photographs.existing', + description: 'Photographs - existing', + }, + { + value: 'otherDrawing', + description: 'Other - drawing', + }, + { + value: 'otherDocument', + description: 'Other - document', + }, + { + value: 'visualisations', + description: 'Visualisations', + }, + ], + }, + fee: { + calculated: [ + { + policyRefs: [ + { + text: 'The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) (Amendment) Regulations 2023', + url: 'https://www.legislation.gov.uk/uksi/2023/1197/made', + }, + ], + }, + ], + payable: [ + { + description: + 'This application does not qualify for any exemptions or reductions
', + }, + ], + }, + }, + schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schema.json`, + }, +}; diff --git a/examples/prototypeApplication/landDrainageConsent.json b/examples/prototypeApplication/landDrainageConsent.json new file mode 100644 index 00000000..c75b2253 --- /dev/null +++ b/examples/prototypeApplication/landDrainageConsent.json @@ -0,0 +1,1063 @@ +{ + "applicationType": "landDrainageConsent", + "data": { + "user": { + "role": "applicant" + }, + "applicant": { + "type": "company", + "name": { + "title": "Bishop", + "first": "Gundulf", + "last": "of Rochester" + }, + "email": "Gundulf1066@email.org", + "phone": { + "primary": "012345678900" + }, + "company": { + "name": "The Normans" + }, + "address": { + "sameAsSiteAddress": true + }, + "siteContact": { + "role": "applicant" + } + }, + "property": { + "address": { + "latitude": 51.3893641, + "longitude": 0.5014056, + "x": 574136.97, + "y": 168560.23, + "title": "ROCHESTER CASTLE, CASTLE HILL, ROCHESTER", + "source": "Ordnance Survey", + "uprn": "000044026089", + "usrn": "32100321", + "pao": "ROCHESTER CASTLE", + "street": "CASTLE HILL", + "town": "ROCHESTER", + "postcode": "ME1 1SW", + "singleLine": "ROCHESTER CASTLE, CASTLE HILL, ROCHESTER, MEDWAY, ME1 1SW" + }, + "localAuthorityDistrict": [ + "Medway" + ], + "region": "South East", + "type": "object.monument.ruin", + "planning": { + "sources": [ + "https://api.editor.planx.dev/gis/medway?geom=MULTIPOLYGON+%28%28%280.501333+51.389204%2C+0.501327+51.389199%2C+0.501346+51.38919%2C+0.501352+51.389196%2C+0.5014+51.389172%2C+0.501397+51.389144%2C+0.501411+51.389132%2C+0.501444+51.389121%2C+0.501496+51.389119%2C+0.501434+51.389032%2C+0.501347+51.388881%2C+0.501359+51.388874%2C+0.501334+51.388851%2C+0.501338+51.388839%2C+0.501489+51.388798%2C+0.501726+51.388796%2C+0.502053+51.389053%2C+0.50167+51.389267%2C+0.501967+51.38942%2C+0.501988+51.389411%2C+0.50202+51.389429%2C+0.502181+51.389535%2C+0.502302+51.389655%2C+0.502374+51.38964%2C+0.502416+51.389716%2C+0.502369+51.389725%2C+0.502368+51.389734%2C+0.502346+51.389744%2C+0.502395+51.389854%2C+0.502762+51.389814%2C+0.502818+51.389814%2C+0.50282+51.389997%2C+0.5028+51.390009%2C+0.502456+51.390001%2C+0.502391+51.390006%2C+0.502379+51.390081%2C+0.502361+51.390118%2C+0.50232+51.390174%2C+0.502262+51.390227%2C+0.502188+51.390267%2C+0.502061+51.390275%2C+0.502009+51.390294%2C+0.501308+51.390767%2C+0.501288+51.390844%2C+0.501277+51.390848%2C+0.501089+51.390825%2C+0.501085+51.390821%2C+0.501112+51.390769%2C+0.501038+51.390767%2C+0.501053+51.390696%2C+0.501025+51.390664%2C+0.501099+51.390638%2C+0.501106+51.390622%2C+0.501062+51.390559%2C+0.501022+51.390527%2C+0.50097+51.390464%2C+0.50088+51.390319%2C+0.500776+51.390202%2C+0.500592+51.389857%2C+0.500495+51.389655%2C+0.500548+51.38964%2C+0.500614+51.389683%2C+0.500618+51.389621%2C+0.500633+51.38958%2C+0.500721+51.389489%2C+0.500771+51.389459%2C+0.501262+51.389242%2C+0.501258+51.389238%2C+0.501285+51.389225%2C+0.501279+51.389219%2C+0.501296+51.389212%2C+0.501302+51.389218%2C+0.501333+51.389204%29%29%29&analytics=false&sessionId=8e372199-30e8-4b01-aef0-0745195b0e14", + "https://api.editor.planx.dev/roads?usrn=32100321" + ], + "designations": [ + { + "value": "tpo", + "intersects": false + }, + { + "value": "flood", + "intersects": true, + "entities": [ + { + "name": "Tidal Models - Risk level 3", + "source": { + "text": "Planning Data", + "url": "https://www.planning.data.gov.uk/entity/65104983" + } + }, + { + "name": "Tidal Models - Risk level 2", + "source": { + "text": "Planning Data", + "url": "https://www.planning.data.gov.uk/entity/65230121" + } + } + ] + }, + { + "value": "listed", + "intersects": true, + "entities": [ + { + "name": "ROCHESTER CASTLE", + "source": { + "text": "Planning Data", + "url": "https://www.planning.data.gov.uk/entity/31792007" + } + }, + { + "name": "Rochester Castle", + "source": { + "text": "Planning Data", + "url": "https://www.planning.data.gov.uk/entity/42127185" + } + } + ] + }, + { + "value": "article4", + "intersects": false + }, + { + "value": "monument", + "intersects": true, + "entities": [ + { + "name": "Rochester Castle", + "source": { + "text": "Planning Data", + "url": "https://www.planning.data.gov.uk/entity/13909855" + } + } + ] + }, + { + "value": "greenBelt", + "intersects": false + }, + { + "value": "designated", + "intersects": true + }, + { + "value": "nature.SAC", + "intersects": false + }, + { + "value": "nature.SPA", + "intersects": false + }, + { + "value": "nature.ASNW", + "intersects": false + }, + { + "value": "nature.SSSI", + "intersects": false + }, + { + "value": "flood.zone.1", + "intersects": false + }, + { + "value": "flood.zone.2", + "intersects": true + }, + { + "value": "flood.zone.3", + "intersects": true + }, + { + "value": "brownfieldSite", + "intersects": false + }, + { + "value": "designated.WHS", + "intersects": false + }, + { + "value": "listed.grade.I", + "intersects": true + }, + { + "value": "registeredPark", + "intersects": false + }, + { + "value": "designated.AONB", + "intersects": false + }, + { + "value": "listed.grade.II", + "intersects": false + }, + { + "value": "listed.grade.II*", + "intersects": false + }, + { + "value": "nature.ramsarSite", + "intersects": false + }, + { + "value": "designated.nationalPark", + "intersects": false + }, + { + "value": "designated.conservationArea", + "intersects": true, + "entities": [ + { + "name": "Polygon", + "source": { + "text": "Planning Data", + "url": "https://www.planning.data.gov.uk/entity/44009809" + } + } + ] + }, + { + "value": "designated.nationalPark.broads", + "intersects": false + }, + { + "value": "road.classified", + "intersects": false + } + ] + }, + "boundary": { + "site": { + "type": "Feature", + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [ + 0.501333, + 51.389204 + ], + [ + 0.501327, + 51.389199 + ], + [ + 0.501346, + 51.38919 + ], + [ + 0.501352, + 51.389196 + ], + [ + 0.5014, + 51.389172 + ], + [ + 0.501397, + 51.389144 + ], + [ + 0.501411, + 51.389132 + ], + [ + 0.501444, + 51.389121 + ], + [ + 0.501496, + 51.389119 + ], + [ + 0.501434, + 51.389032 + ], + [ + 0.501347, + 51.388881 + ], + [ + 0.501359, + 51.388874 + ], + [ + 0.501334, + 51.388851 + ], + [ + 0.501338, + 51.388839 + ], + [ + 0.501489, + 51.388798 + ], + [ + 0.501726, + 51.388796 + ], + [ + 0.502053, + 51.389053 + ], + [ + 0.50167, + 51.389267 + ], + [ + 0.501967, + 51.38942 + ], + [ + 0.501988, + 51.389411 + ], + [ + 0.50202, + 51.389429 + ], + [ + 0.502181, + 51.389535 + ], + [ + 0.502302, + 51.389655 + ], + [ + 0.502374, + 51.38964 + ], + [ + 0.502416, + 51.389716 + ], + [ + 0.502369, + 51.389725 + ], + [ + 0.502368, + 51.389734 + ], + [ + 0.502346, + 51.389744 + ], + [ + 0.502395, + 51.389854 + ], + [ + 0.502762, + 51.389814 + ], + [ + 0.502818, + 51.389814 + ], + [ + 0.50282, + 51.389997 + ], + [ + 0.5028, + 51.390009 + ], + [ + 0.502456, + 51.390001 + ], + [ + 0.502391, + 51.390006 + ], + [ + 0.502379, + 51.390081 + ], + [ + 0.502361, + 51.390118 + ], + [ + 0.50232, + 51.390174 + ], + [ + 0.502262, + 51.390227 + ], + [ + 0.502188, + 51.390267 + ], + [ + 0.502061, + 51.390275 + ], + [ + 0.502009, + 51.390294 + ], + [ + 0.501308, + 51.390767 + ], + [ + 0.501288, + 51.390844 + ], + [ + 0.501277, + 51.390848 + ], + [ + 0.501089, + 51.390825 + ], + [ + 0.501085, + 51.390821 + ], + [ + 0.501112, + 51.390769 + ], + [ + 0.501038, + 51.390767 + ], + [ + 0.501053, + 51.390696 + ], + [ + 0.501025, + 51.390664 + ], + [ + 0.501099, + 51.390638 + ], + [ + 0.501106, + 51.390622 + ], + [ + 0.501062, + 51.390559 + ], + [ + 0.501022, + 51.390527 + ], + [ + 0.50097, + 51.390464 + ], + [ + 0.50088, + 51.390319 + ], + [ + 0.500776, + 51.390202 + ], + [ + 0.500592, + 51.389857 + ], + [ + 0.500495, + 51.389655 + ], + [ + 0.500548, + 51.38964 + ], + [ + 0.500614, + 51.389683 + ], + [ + 0.500618, + 51.389621 + ], + [ + 0.500633, + 51.38958 + ], + [ + 0.500721, + 51.389489 + ], + [ + 0.500771, + 51.389459 + ], + [ + 0.501262, + 51.389242 + ], + [ + 0.501258, + 51.389238 + ], + [ + 0.501285, + 51.389225 + ], + [ + 0.501279, + 51.389219 + ], + [ + 0.501296, + 51.389212 + ], + [ + 0.501302, + 51.389218 + ], + [ + 0.501333, + 51.389204 + ] + ] + ] + ] + }, + "properties": { + "name": "", + "entity": 12000665421, + "prefix": "title-boundary", + "dataset": "title-boundary", + "end-date": "", + "typology": "geography", + "reference": "45856207", + "entry-date": "2024-05-06", + "start-date": "2010-06-08", + "organisation-entity": "13" + } + }, + "area": { + "hectares": 1.684864, + "squareMetres": 16848.64 + } + } + }, + "application": { + "fee": { + "calculated": 200, + "payable": 200, + "exemption": { + "disability": false, + "resubmission": false + }, + "reduction": { + "sports": false, + "parishCouncil": false, + "alternative": false + }, + "reference": { + "govPay": "sandbox-456" + } + }, + "declaration": { + "accurate": true, + "connection": { + "value": "none" + } + }, + "preApp": { + "reference": "24/12345/PRE", + "date": "2024-06-08", + "officer": "Unknown", + "summary": "Not provided" + }, + "planningApp": { + "reference": "24/12345/FUL", + "date": "2024-06-28", + "localPlanningAuthority": "Medway" + } + }, + "proposal": { + "projectType": [ + "alter" + ], + "description": "Upgrading of our drawbridge as it needs a bit of work - retarring, sharpen the spikes, derust the chains etc. We will need to access the lifting gear which is situated in the moat so will need to temporarily divert the water ", + "date": { + "start": "2024-07-08", + "completion": "2024-08-08" + }, + "boundary": { + "site": { + "type": "Feature", + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [ + 0.501333, + 51.389204 + ], + [ + 0.501327, + 51.389199 + ], + [ + 0.501346, + 51.38919 + ], + [ + 0.501352, + 51.389196 + ], + [ + 0.5014, + 51.389172 + ], + [ + 0.501397, + 51.389144 + ], + [ + 0.501411, + 51.389132 + ], + [ + 0.501444, + 51.389121 + ], + [ + 0.501496, + 51.389119 + ], + [ + 0.501434, + 51.389032 + ], + [ + 0.501347, + 51.388881 + ], + [ + 0.501359, + 51.388874 + ], + [ + 0.501334, + 51.388851 + ], + [ + 0.501338, + 51.388839 + ], + [ + 0.501489, + 51.388798 + ], + [ + 0.501726, + 51.388796 + ], + [ + 0.502053, + 51.389053 + ], + [ + 0.50167, + 51.389267 + ], + [ + 0.501967, + 51.38942 + ], + [ + 0.501988, + 51.389411 + ], + [ + 0.50202, + 51.389429 + ], + [ + 0.502181, + 51.389535 + ], + [ + 0.502302, + 51.389655 + ], + [ + 0.502374, + 51.38964 + ], + [ + 0.502416, + 51.389716 + ], + [ + 0.502369, + 51.389725 + ], + [ + 0.502368, + 51.389734 + ], + [ + 0.502346, + 51.389744 + ], + [ + 0.502395, + 51.389854 + ], + [ + 0.502762, + 51.389814 + ], + [ + 0.502818, + 51.389814 + ], + [ + 0.50282, + 51.389997 + ], + [ + 0.5028, + 51.390009 + ], + [ + 0.502456, + 51.390001 + ], + [ + 0.502391, + 51.390006 + ], + [ + 0.502379, + 51.390081 + ], + [ + 0.502361, + 51.390118 + ], + [ + 0.50232, + 51.390174 + ], + [ + 0.502262, + 51.390227 + ], + [ + 0.502188, + 51.390267 + ], + [ + 0.502061, + 51.390275 + ], + [ + 0.502009, + 51.390294 + ], + [ + 0.501308, + 51.390767 + ], + [ + 0.501288, + 51.390844 + ], + [ + 0.501277, + 51.390848 + ], + [ + 0.501089, + 51.390825 + ], + [ + 0.501085, + 51.390821 + ], + [ + 0.501112, + 51.390769 + ], + [ + 0.501038, + 51.390767 + ], + [ + 0.501053, + 51.390696 + ], + [ + 0.501025, + 51.390664 + ], + [ + 0.501099, + 51.390638 + ], + [ + 0.501106, + 51.390622 + ], + [ + 0.501062, + 51.390559 + ], + [ + 0.501022, + 51.390527 + ], + [ + 0.50097, + 51.390464 + ], + [ + 0.50088, + 51.390319 + ], + [ + 0.500776, + 51.390202 + ], + [ + 0.500592, + 51.389857 + ], + [ + 0.500495, + 51.389655 + ], + [ + 0.500548, + 51.38964 + ], + [ + 0.500614, + 51.389683 + ], + [ + 0.500618, + 51.389621 + ], + [ + 0.500633, + 51.38958 + ], + [ + 0.500721, + 51.389489 + ], + [ + 0.500771, + 51.389459 + ], + [ + 0.501262, + 51.389242 + ], + [ + 0.501258, + 51.389238 + ], + [ + 0.501285, + 51.389225 + ], + [ + 0.501279, + 51.389219 + ], + [ + 0.501296, + 51.389212 + ], + [ + 0.501302, + 51.389218 + ], + [ + 0.501333, + 51.389204 + ] + ] + ] + ] + }, + "properties": { + "name": "", + "entity": 12000665421, + "prefix": "title-boundary", + "dataset": "title-boundary", + "end-date": "", + "typology": "geography", + "reference": "45856207", + "entry-date": "2024-05-06", + "start-date": "2010-06-08", + "organisation-entity": "13", + "planx_user_action": "Accepted the title boundary" + } + }, + "area": { + "hectares": 1.684864, + "squareMetres": 16848.64 + } + }, + "watercourse": { + "name": "Rochester Castle Moat", + "type": "ditch" + }, + "structures": { + "type": "bridge", + "total": 4, + "permanent": { + "count": 1 + }, + "temporary": { + "count": 3 + } + }, + "environmentalImpactDescription": "These are the environmental impact of the works to be undertaken: A, B, C. And this is how we are mitigating them: 1, 2, 3" + } + }, + "responses": [ + { + "question": "What type of property is it?", + "responses": [ + { + "value": "Something else" + } + ], + "metadata": { + "autoAnswered": true + } + }, + { + "question": "Which of these best describes the use of the property?", + "responses": [ + { + "value": "Other" + } + ], + "metadata": { + "autoAnswered": true + } + }, + { + "question": "What type of property is it?", + "responses": [ + { + "value": "Historic site" + } + ], + "metadata": {} + }, + { + "question": "Did you get any pre-application advice from the council before making this application?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": {} + }, + { + "question": "What was the name of the planning officer you spoke to?", + "responses": [ + { + "value": "unknown" + } + ], + "metadata": {} + }, + { + "question": "What was your reference?", + "responses": [ + { + "value": "24/12345/PRE" + } + ], + "metadata": {} + }, + { + "question": "What date was the pre-application advice given on?", + "responses": [ + { + "value": "2024-06-08" + } + ], + "metadata": {} + }, + { + "question": "What was the pre-application advice you have received?", + "responses": [ + { + "value": "this is the advice received. this is the advice received.this is the advice received.this is the advice received.this is the advice received." + } + ], + "metadata": {} + }, + { + "question": "Which Local Planning authority is it?", + "responses": [ + { + "value": "Medway" + } + ], + "metadata": { + "autoAnswered": true + } + }, + { + "question": "Connections with Medway Council", + "responses": [ + { + "value": "None of the above apply to me" + } + ], + "metadata": {} + }, + { + "question": "I confirm that:", + "responses": [ + { + "value": "The information contained in this application is truthful, accurate and complete, to the best of my knowledge" + } + ], + "metadata": {} + } + ], + "files": [ + { + "name": "https://api.editor.planx.dev/file/private/40z9r39r/test%20document.pdf", + "type": [ + "relevantInformation" + ] + } + ], + "metadata": { + "id": "8e372199-30e8-4b01-aef0-0745195b0e14", + "organisation": "MDW", + "submittedAt": "2024-07-11T08:28:22.493Z", + "source": "PlanX", + "service": { + "flowId": "5aab3466-8fb0-4e73-b51d-347d61ad5547", + "url": "https://editor.planx.dev/medway/apply-for-land-drainage-consent-copy/published", + "files": { + "required": [ + { + "value": "necessaryInformation", + "description": "Information the authority considers necessary for the application" + } + ], + "recommended": [ + { + "value": "relevantInformation", + "description": "Information the applicant considers relevant to the application" + } + ], + "optional": [] + }, + "fee": { + "calculated": [], + "payable": [] + } + }, + "schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schema.json" + } +} \ No newline at end of file diff --git a/examples/prototypeApplication/listedBuildingConsent.json b/examples/prototypeApplication/listedBuildingConsent.json new file mode 100644 index 00000000..8d4a4920 --- /dev/null +++ b/examples/prototypeApplication/listedBuildingConsent.json @@ -0,0 +1,1126 @@ +{ + "applicationType": "listed", + "data": { + "user": { + "role": "applicant" + }, + "applicant": { + "type": "company", + "name": { + "first": "Jim", + "last": "Henson" + }, + "email": "jim@muppets.org", + "phone": { + "primary": "0123456789" + }, + "company": { + "name": "The Jim Henson Company" + }, + "address": { + "sameAsSiteAddress": true + }, + "siteContact": { + "role": "other", + "name": "Gonzo The Great", + "email": "gonzo@muppets.org", + "phone": "987654321" + } + }, + "property": { + "address": { + "latitude": 51.554865, + "longitude": -0.1711756, + "x": 526885, + "y": 185582, + "title": "50, DOWNSHIRE HILL, LONDON", + "source": "Ordnance Survey", + "uprn": "000005023627", + "usrn": "20400184", + "pao": "50", + "street": "DOWNSHIRE HILL", + "town": "LONDON", + "postcode": "NW3 1PA", + "singleLine": "50, DOWNSHIRE HILL, LONDON, CAMDEN, NW3 1PA" + }, + "localAuthorityDistrict": [ + "Camden" + ], + "region": "London", + "type": "residential.dwelling.flat", + "planning": { + "sources": [ + "https://api.editor.planx.dev/gis/camden?geom=MULTIPOLYGON+%28%28%28-0.171042+51.554871%2C+-0.171026+51.554883%2C+-0.171194+51.554968%2C+-0.171312+51.554881%2C+-0.171287+51.554867%2C+-0.171275+51.554876%2C+-0.17114+51.554804%2C+-0.171042+51.554871%29%29%29&analytics=false&sessionId=0f2abdbd-2ec5-4918-979b-123bd856b94f", + "https://api.editor.planx.dev/roads?usrn=20400184" + ], + "designations": [ + { + "value": "tpo", + "intersects": false + }, + { + "value": "flood", + "intersects": false + }, + { + "value": "listed", + "intersects": true + }, + { + "value": "article4", + "intersects": true, + "entities": [ + { + "name": "Basements", + "source": { + "text": "Planning Data", + "url": "https://www.planning.data.gov.uk/entity/7010002613" + } + } + ] + }, + { + "value": "monument", + "intersects": false + }, + { + "value": "greenBelt", + "intersects": false + }, + { + "value": "designated", + "intersects": true + }, + { + "value": "nature.SAC", + "intersects": false + }, + { + "value": "nature.SPA", + "intersects": false + }, + { + "value": "nature.ASNW", + "intersects": false + }, + { + "value": "nature.SSSI", + "intersects": false + }, + { + "value": "brownfieldSite", + "intersects": false + }, + { + "value": "designated.WHS", + "intersects": false + }, + { + "value": "listed.grade.I", + "intersects": false + }, + { + "value": "registeredPark", + "intersects": false + }, + { + "value": "designated.AONB", + "intersects": false + }, + { + "value": "listed.grade.II", + "intersects": true, + "entities": [ + { + "name": "NUMBERS 50 AND 51 AND ATTACHED AREA WALLS AND BALUSTRADE", + "source": { + "text": "Planning Data", + "url": "https://www.planning.data.gov.uk/entity/31535771" + } + }, + { + "name": "(South side) Nos.50 AND 51 and attached area walls & balustrade", + "source": { + "text": "Planning Data", + "url": "https://www.planning.data.gov.uk/entity/42115931" + } + } + ] + }, + { + "value": "listed.grade.II*", + "intersects": false + }, + { + "value": "nature.ramsarSite", + "intersects": false + }, + { + "value": "designated.nationalPark", + "intersects": false + }, + { + "value": "designated.conservationArea", + "intersects": true, + "entities": [ + { + "name": "Hampstead", + "source": { + "text": "Planning Data", + "url": "https://www.planning.data.gov.uk/entity/44009659" + } + } + ] + }, + { + "value": "designated.nationalPark.broads", + "intersects": false + }, + { + "value": "road.classified", + "intersects": false + } + ] + }, + "boundary": { + "site": { + "type": "Feature", + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [ + -0.171042, + 51.554871 + ], + [ + -0.171026, + 51.554883 + ], + [ + -0.171194, + 51.554968 + ], + [ + -0.171312, + 51.554881 + ], + [ + -0.171287, + 51.554867 + ], + [ + -0.171275, + 51.554876 + ], + [ + -0.17114, + 51.554804 + ], + [ + -0.171042, + 51.554871 + ] + ] + ] + ] + }, + "properties": { + "name": "", + "entity": 12000495084, + "prefix": "title-boundary", + "dataset": "title-boundary", + "end-date": "", + "typology": "geography", + "reference": "48946667", + "entry-date": "2023-12-12", + "start-date": "2010-12-02", + "organisation-entity": "13" + } + }, + "area": { + "hectares": 0.017536000000000003, + "squareMetres": 175.36 + } + } + }, + "application": { + "fee": { + "notApplicable": true + }, + "declaration": { + "accurate": true, + "connection": { + "value": "none" + } + }, + "preApp": { + "reference": "123-TEST-REF", + "date": "2024-01-15", + "officer": "Miss Piggy", + "summary": "Not provided" + } + }, + "proposal": { + "projectType": [ + "internal", + "alter.changeOfMaterials.floors", + "alter.changeOfMaterials.internalWalls" + ], + "description": "Remove an internal wall and construct a puppet theatre", + "boundary": { + "site": { + "type": "Feature", + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [ + -0.171042, + 51.554871 + ], + [ + -0.171026, + 51.554883 + ], + [ + -0.171194, + 51.554968 + ], + [ + -0.171312, + 51.554881 + ], + [ + -0.171287, + 51.554867 + ], + [ + -0.171275, + 51.554876 + ], + [ + -0.17114, + 51.554804 + ], + [ + -0.171042, + 51.554871 + ] + ] + ] + ] + }, + "properties": { + "name": "", + "entity": 12000495084, + "prefix": "title-boundary", + "dataset": "title-boundary", + "end-date": "", + "typology": "geography", + "reference": "48946667", + "entry-date": "2023-12-12", + "start-date": "2010-12-02", + "organisation-entity": "13", + "planx_user_action": "Accepted the title boundary" + } + }, + "area": { + "hectares": 0.017536000000000003, + "squareMetres": 175.36 + } + } + } + }, + "responses": [ + { + "question": "Is the property in Camden?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "The property" + } + }, + { + "question": "What type of property is it?", + "responses": [ + { + "value": "Flat (or building containing flats)" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "The property" + } + }, + { + "question": "Is it a listed building?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "The property" + } + }, + { + "question": "What type of property is it?", + "responses": [ + { + "value": "Residential" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Select the types of changes involved in the project", + "responses": [ + { + "value": "Carry out internal work" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What does the project involve?", + "responses": [ + { + "value": "Internal works" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Do the internal works involve any of these types of changes?", + "responses": [ + { + "value": "Demolishing internal walls" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "National Planning Policy Framework, Section 16", + "url": "https://www.gov.uk/guidance/national-planning-policy-framework/16-conserving-and-enhancing-the-historic-environment" + }, + { + "text": "Planning (Listed Buildings and Conservation Areas) Act 1990, section 8", + "url": "https://www.legislation.gov.uk/ukpga/1990/9/section/8" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Does the project introduce new materials?", + "responses": [ + { + "value": "Some new materials, some to match the existing" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Select where the project introduces new materials", + "responses": [ + { + "value": "Floors" + }, + { + "value": "Internal walls" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Floors: describe the existing and new materials", + "responses": [ + { + "value": "The existing rooms have original wide oak floorboards, but I'm going to patch the area where the walls are coming down with narrow new oak boards." + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Is it a repair, replacement or new flooring?", + "responses": [ + { + "value": "Something else" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Internal walls: describe the existing and new materials", + "responses": [ + { + "value": "The existing walls are off-white plaster. After removing a dividing internal wall, we'll patch and paint the new merged room Kermit green." + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Is it an ecclesiastical building?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "What grading is the building?", + "responses": [ + { + "value": "Unsure" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Is the building subject to a Certificate of Immunity from Listing?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Section 6 of the Planning (Listed Buildings and Conservation Areas) Act 1990", + "url": "https://www.legislation.gov.uk/ukpga/1990/9/section/6" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is the property in a conservation area?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "How do you want to submit this information?", + "responses": [ + { + "value": "Upload a document" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What type of application is it?", + "responses": [ + { + "value": "Apply for listed building consent" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About you" + } + }, + { + "question": "Are you applying on behalf of someone else?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Which of these best describes you?", + "responses": [ + { + "value": "Company" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Your contact details", + "responses": [ + { + "value": "Jim Henson The Jim Henson Company 0123456789 jim@muppets.org" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Is your contact address the same as the property address?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Can a planning officer see the works from public land?", + "responses": [ + { + "value": "Yes, it's visible from the road or somewhere else" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "We may need to visit the site to assess your application. If we do, who should we contact to arrange the visit?", + "responses": [ + { + "value": "Someone else" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Contact details of the person we should contact about a site visit", + "responses": [ + { + "value": "Gonzo The Great The Jim Henson Company 987654321 gonzo@muppets.org" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "What type of application is this?", + "responses": [ + { + "value": "LBC" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About you" + } + }, + { + "question": "Which of these best describes you?", + "responses": [ + { + "value": "I'm the applicant" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About you" + } + }, + { + "question": "Are you the sole owner of the land?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Article 13 of the Town and Country Planning (Development Management Procedure) (England) Order 2015", + "url": "https://www.legislation.gov.uk/uksi/2015/595/article/13/made" + } + ], + "sectionName": "About you" + } + }, + { + "question": "Does the land have any agricultural tenants?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Article 13 of the Town and Country Planning (Development Management Procedure) (England) Order 2015", + "url": "https://www.legislation.gov.uk/uksi/2015/595/article/13/made" + } + ], + "sectionName": "About you" + } + }, + { + "question": "Do you know the names and addresses of all agricultural tenants?", + "responses": [ + { + "value": "Yes, all of them" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Have you given requisite notice to all the agricultural tenants?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Article 13 of the Town and Country Planning (Development Management Procedure) (England) Order 2015", + "url": "https://www.legislation.gov.uk/uksi/2015/595/article/13/made" + } + ], + "sectionName": "About you" + } + }, + { + "question": "How many owners or agricultural tenants have been notified?", + "responses": [ + { + "value": "2" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Full name of the first notified owner or agricultural tenant", + "responses": [ + { + "value": "Rowlf the Dog" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Address of the first notified owner or agricultural tenant", + "responses": [ + { + "value": "123 Sesame Street, New York City, 10023, USA" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Date on which notice was given to the first owner or agricultural tenant", + "responses": [ + { + "value": "2024-04-01" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Full name of the second notified owner or agricultural tenant", + "responses": [ + { + "value": "Rizzo the Rat" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Address of the second notified owner or agricultural tenant", + "responses": [ + { + "value": "123 Sesame Street, New York City, 10023, USA" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Date on which notice was given to the second owner or agricultural tenant", + "responses": [ + { + "value": "2024-04-01" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Certificate of ownership declaration - Certificate B", + "responses": [ + { + "value": "I certify that the above is true" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Article 13 of the Town and Country Planning (Development Management Procedure) (England) Order 2015", + "url": "https://www.legislation.gov.uk/uksi/2015/595/article/13/made" + }, + { + "text": "Schedule 2 to the Town and Country Planning (Development Management Procedure (England) (Order) 2015", + "url": "https://www.legislation.gov.uk/uksi/2015/595/schedule/2/made" + } + ], + "sectionName": "About you" + } + }, + { + "question": "Did you get any pre-application advice from the council before making this application?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "What was the name of the planning officer you spoke to?", + "responses": [ + { + "value": "Miss Piggy" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "What was your reference?", + "responses": [ + { + "value": "123-TEST-REF" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "What date was the pre-application advice given on?", + "responses": [ + { + "value": "2024-01-15" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "What type of application is it?", + "responses": [ + { + "value": "Listed Building Consent" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About you" + } + }, + { + "question": "What type of application is it?", + "responses": [ + { + "value": "Listed building consent" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About you" + } + }, + { + "question": "What changes does the project involve?", + "responses": [ + { + "value": "Alter" + }, + { + "value": "Internal works" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Upload application documents" + } + }, + { + "question": "Where do you want to alter the property?", + "responses": [ + { + "value": "Inside the listed building" + } + ], + "metadata": { + "sectionName": "Upload application documents" + } + }, + { + "question": "Does the project involve any of these alterations?", + "responses": [ + { + "value": "Apply plaster or paint" + }, + { + "value": "Remove internal wall" + }, + { + "value": "Replace joinery, including internal doors" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Section 7 of the Planning (Listed Buildings and Conservation Areas) Act 1990", + "url": "https://www.legislation.gov.uk/ukpga/1990/9/section/8" + } + ], + "sectionName": "Upload application documents" + } + }, + { + "question": "Is the wall load bearing?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "Upload application documents" + } + }, + { + "question": "Do the internal works involve any of these?", + "responses": [ + { + "value": "Demolishing internal walls" + } + ], + "metadata": { + "sectionName": "Upload application documents" + } + }, + { + "question": "Is this for submission or information only?", + "responses": [ + { + "value": "Submission" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Upload application documents" + } + }, + { + "question": "Which Local Planning authority is it?", + "responses": [ + { + "value": "Camden" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Review the application" + } + }, + { + "question": "Connections with London Borough of Camden", + "responses": [ + { + "value": "None of the above apply to me" + } + ], + "metadata": { + "sectionName": "Review the application" + } + }, + { + "question": "I confirm that:", + "responses": [ + { + "value": "The information contained in this application is truthful, accurate and complete, to the best of my knowledge" + } + ], + "metadata": { + "sectionName": "Review the application" + } + }, + { + "question": "Which Local Planning authority is it?", + "responses": [ + { + "value": "Camden" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Submit the appliction" + } + } + ], + "files": [ + { + "name": "https://api.editor.planx.dev/file/private/c6mo049s/other.pdf", + "type": [ + "otherDrawing", + "visualisations" + ] + }, + { + "name": "https://api.editor.planx.dev/file/private/n0akv537/myPlans.pdf", + "type": [ + "joinerySections", + "sitePlan.existing", + "sitePlan.proposed", + "floorPlan.existing", + "floorPlan.proposed" + ] + }, + { + "name": "https://api.editor.planx.dev/file/private/yencabq4/heritageStatement.pdf", + "type": [ + "heritageStatement" + ] + }, + { + "name": "https://api.editor.planx.dev/file/private/p2ryla48/elevations.pdf", + "type": [ + "elevations.existing", + "elevations.proposed" + ] + } + ], + "metadata": { + "id": "0f2abdbd-2ec5-4918-979b-123bd856b94f", + "organisation": "CMD", + "submittedAt": "2024-04-30T19:13:34.288Z", + "source": "PlanX", + "service": { + "flowId": "2677568c-00d2-4391-98ea-f34a4e743437", + "url": "https://www.editor.planx.uk/camden/apply-for-listed-building-consent/published", + "files": { + "required": [ + { + "value": "sitePlan.existing", + "description": "Site plan - existing" + }, + { + "value": "sitePlan.proposed", + "description": "Site plan - proposed" + }, + { + "value": "elevations.existing", + "description": "Elevations - existing" + }, + { + "value": "elevations.proposed", + "description": "Elevations - proposed" + }, + { + "value": "floorPlan.existing", + "description": "Floor plan - existing" + }, + { + "value": "floorPlan.proposed", + "description": "Floor plan - proposed" + }, + { + "value": "joinerySections", + "description": "Joinery section report" + } + ], + "recommended": [ + { + "value": "heritageStatement", + "description": "Heritage Statement" + } + ], + "optional": [ + { + "value": "photographs.existing", + "description": "Photographs - existing" + }, + { + "value": "otherDrawing", + "description": "Other - drawing" + }, + { + "value": "otherDocument", + "description": "Other - document" + }, + { + "value": "visualisations", + "description": "Visualisations" + } + ] + }, + "fee": { + "notApplicable": true + } + }, + "schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schema.json" + } +} \ No newline at end of file diff --git a/examples/prototypeApplication/priorApproval/buildHomes.json b/examples/prototypeApplication/priorApproval/buildHomes.json new file mode 100644 index 00000000..440d180d --- /dev/null +++ b/examples/prototypeApplication/priorApproval/buildHomes.json @@ -0,0 +1,1832 @@ +{ + "applicationType": "pa.part20.classAB", + "data": { + "user": { + "role": "applicant" + }, + "applicant": { + "type": "company", + "name": { + "first": "Enid", + "last": "Blyton" + }, + "email": "ennyblizzle@email.org", + "phone": { + "primary": "098765432109" + }, + "address": { + "sameAsSiteAddress": true + }, + "siteContact": { + "role": "applicant" + } + }, + "property": { + "address": { + "latitude": 51.6154485, + "longitude": -0.6463076, + "x": 493822, + "y": 191603, + "title": "7, BLYTON CLOSE, BEACONSFIELD", + "source": "Ordnance Survey", + "uprn": "100080482163", + "usrn": "35200844", + "pao": "7", + "street": "BLYTON CLOSE", + "town": "BEACONSFIELD", + "postcode": "HP9 2LX", + "singleLine": "7, BLYTON CLOSE, BEACONSFIELD, BUCKINGHAMSHIRE, HP9 2LX" + }, + "localAuthorityDistrict": [ + "Buckinghamshire", + "South Bucks" + ], + "region": "South East", + "type": "commercial.office", + "planning": { + "sources": [ + "https://api.editor.planx.dev/gis/buckinghamshire?geom=MULTIPOLYGON+%28%28%28-0.646634+51.615571%2C+-0.646629+51.615545%2C+-0.646505+51.615512%2C+-0.646452+51.61522%2C+-0.646313+51.61523%2C+-0.646304+51.615207%2C+-0.645951+51.615311%2C+-0.646049+51.615615%2C+-0.646634+51.615571%29%29%29&analytics=false&sessionId=312c81fd-7368-4f0b-92d8-91de4033312a", + "https://api.editor.planx.dev/roads?usrn=35200844" + ], + "designations": [ + { + "value": "tpo", + "intersects": false + }, + { + "value": "flood", + "intersects": false + }, + { + "value": "listed", + "intersects": false + }, + { + "value": "article4", + "intersects": false + }, + { + "value": "monument", + "intersects": false + }, + { + "value": "greenBelt", + "intersects": false + }, + { + "value": "designated", + "intersects": false + }, + { + "value": "nature.SAC", + "intersects": false + }, + { + "value": "nature.SPA", + "intersects": false + }, + { + "value": "nature.ASNW", + "intersects": false + }, + { + "value": "nature.SSSI", + "intersects": false + }, + { + "value": "brownfieldSite", + "intersects": false + }, + { + "value": "designated.WHS", + "intersects": false + }, + { + "value": "registeredPark", + "intersects": false + }, + { + "value": "designated.AONB", + "intersects": false + }, + { + "value": "nature.ramsarSite", + "intersects": false + }, + { + "value": "designated.nationalPark", + "intersects": false + }, + { + "value": "designated.conservationArea", + "intersects": false + }, + { + "value": "designated.nationalPark.broads", + "intersects": false + }, + { + "value": "road.classified", + "intersects": false + } + ] + }, + "boundary": { + "site": { + "type": "Feature", + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [ + -0.646634, + 51.615571 + ], + [ + -0.646629, + 51.615545 + ], + [ + -0.646505, + 51.615512 + ], + [ + -0.646452, + 51.61522 + ], + [ + -0.646313, + 51.61523 + ], + [ + -0.646304, + 51.615207 + ], + [ + -0.645951, + 51.615311 + ], + [ + -0.646049, + 51.615615 + ], + [ + -0.646634, + 51.615571 + ] + ] + ] + ] + }, + "properties": { + "name": "", + "entity": 12000048511, + "prefix": "title-boundary", + "dataset": "title-boundary", + "end-date": "", + "typology": "geography", + "reference": "44530928", + "entry-date": "2024-05-06", + "start-date": "2010-04-21", + "organisation-entity": "13" + } + }, + "area": { + "hectares": 0.138418, + "squareMetres": 1384.18 + } + } + }, + "application": { + "fee": { + "calculated": 4510, + "payable": 0, + "exemption": { + "disability": false, + "resubmission": true + }, + "reduction": { + "sports": false, + "parishCouncil": false, + "alternative": false + } + }, + "declaration": { + "accurate": true, + "connection": { + "value": "none" + } + } + }, + "proposal": { + "projectType": [ + "new.residential.dwelling" + ], + "description": "The addition of homes as upper storeys to the existing commercial premises.", + "boundary": { + "site": { + "type": "Feature", + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [ + -0.646634, + 51.615571 + ], + [ + -0.646629, + 51.615545 + ], + [ + -0.646505, + 51.615512 + ], + [ + -0.646452, + 51.61522 + ], + [ + -0.646313, + 51.61523 + ], + [ + -0.646304, + 51.615207 + ], + [ + -0.645951, + 51.615311 + ], + [ + -0.646049, + 51.615615 + ], + [ + -0.646634, + 51.615571 + ] + ] + ] + ] + }, + "properties": { + "name": "", + "entity": 12000048511, + "prefix": "title-boundary", + "dataset": "title-boundary", + "end-date": "", + "typology": "geography", + "reference": "44530928", + "entry-date": "2024-05-06", + "start-date": "2010-04-21", + "organisation-entity": "13", + "planx_user_action": "Accepted the title boundary" + } + }, + "area": { + "hectares": 0.138418, + "squareMetres": 1384.18 + } + }, + "newDwellings": { + "newBuild": { + "count": 10 + } + } + } + }, + "preAssessment": [ + { + "value": "Planning permission / Prior approval", + "description": "It looks like the proposed changes do not require planning permission, however the applicant must apply for Prior Approval before proceeding." + } + ], + "responses": [ + { + "question": "Is the property in Buckinghamshire?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "The property" + } + }, + { + "question": "What type of property is it?", + "responses": [ + { + "value": "Something else" + } + ], + "metadata": { + "sectionName": "The property" + } + }, + { + "question": "Which of these best describes the use of the property?", + "responses": [ + { + "value": "Commercial" + } + ], + "metadata": { + "sectionName": "The property" + } + }, + { + "question": "What type of commercial property is it?", + "responses": [ + { + "value": "Office" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "The property" + } + }, + { + "question": "Has work already started?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Town and Country Planning Act 1990, Part III, Section 55", + "url": "https://www.legislation.gov.uk/ukpga/1990/8/section/55" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "What type of property is it?", + "responses": [ + { + "value": "Commercial building" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Is the building detached?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "How was the building was converted to a home?", + "responses": [ + { + "value": "With planning permission", + "metadata": { + "flags": [ + "Planning permission / Permitted development" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AA", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is the property on designated land?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is the property a site of special scientific interest?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is any part of the property listed?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is any part of the property a scheduled monument?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB.", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is the property in a safety hazard area?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is the property in a military explosives storage area?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) (Amendment) (No. 2) Order 2020 Schedule 2, Part 1, Class AB.1 (p)", + "url": "https://www.legislation.gov.uk/uksi/2020/755/pdfs/uksi_20200755_en.pdf" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is the property within 3km of the perimeter of an aerodrome?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Has the original building has already had storeys added to it?", + "responses": [ + { + "value": "No", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "How many uses did the building have on 5 March 2018?", + "responses": [ + { + "value": "1 use" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "How was the building used on 5 March 2018?", + "responses": [ + { + "value": "Offices", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB.", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "When was the building constructed?", + "responses": [ + { + "value": "Between 1 July 1948 and 5 March 2018", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "How many storeys does the existing building have?", + "responses": [ + { + "value": "2 or more storeys" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "How many new storeys do you want to add?", + "responses": [ + { + "value": "1 or 2", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "After the works, how much higher is the building?", + "responses": [ + { + "value": "7m or less", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Are the new homes added onto the main part of the building?", + "responses": [ + { + "value": "Yes", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "What is the floor to ceiling height of the new storeys?", + "responses": [ + { + "value": "The same as those in the existing building", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Are the new storeys more than 3m high?", + "responses": [ + { + "value": "No, 3m or less", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class A", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-a-new-dwellinghouses-on-detached-blocks-of-flats" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "After the works, is the building higher than others in the row?", + "responses": [ + { + "value": "Yes, higher" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "After the changes, how much higher is the extended building compared to others in its row?", + "responses": [ + { + "value": "3.5m or less", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is the highest part of the new roof more than 18m high?", + "responses": [ + { + "value": "No, it is 18m or less", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Are the new homes flats?", + "responses": [ + { + "value": "Yes", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Does the project involve any engineering works to the existing building?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What do the engineering works involve?", + "responses": [ + { + "value": "Strengthening existing walls", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + }, + { + "value": "Strengthening existing foundations", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Do the works result in visible support structures on the outside of the building?", + "responses": [ + { + "value": "No", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Are the engineering works within the curtilage of the building?", + "responses": [ + { + "value": "Yes", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Do the engineering operations include other changes to the building?", + "responses": [ + { + "value": "No, the engineering operations are only to add new storeys to the building", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) (Amendment) (No. 2) Order 2020 Schedule 2, Part 20, Class AC", + "url": "https://www.legislation.gov.uk/uksi/2020/755/pdfs/uksi_20200755_en.pdf" + }, + { + "text": "The Town and Country Planning (General Permitted Development) (England) (Amendment) (No. 2) Order 2020 Schedule 2, Part 20, Class AD", + "url": "https://www.legislation.gov.uk/uksi/2020/755/pdfs/uksi_20200755_en.pdf" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Does the new storey have side-facing windows or rooflights?", + "responses": [ + { + "value": "No", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Does the project include new external staircases or doors?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Does the external staircases and doors extend beyond the curtilage of the existing building?", + "responses": [ + { + "value": "No", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Does the project involve adding new storage, waste or other ancillary features?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Are the facilities entirely within the curtilage of the building?", + "responses": [ + { + "value": "Yes", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Where are the facilities located?", + "responses": [ + { + "value": "To the rear of the building", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB.", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is there any plant equipment on the roof of the existing building?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class A", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is there any new plant equipment on the roof of the new storeys?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Do any new homes have a floor area of less than 37m²?", + "responses": [ + { + "value": "No", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Section 3, paragraph 9A", + "url": "https://www.legislation.gov.uk/uksi/2015/596/article/3" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Do all new homes meet the nationally described space standards?", + "responses": [ + { + "value": "Yes", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Section 3, 9A", + "url": "https://www.legislation.gov.uk/uksi/2015/596/article/3" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Does the design seek to minimise negative impacts on light, views and privacy for neighbours as far as possible?", + "responses": [ + { + "value": "Yes", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 20, Class AB.", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/20/crossheading/class-ab-new-dwellinghouses-on-terrace-buildings-in-commercial-or-mixed-use" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "What type of property is it?", + "responses": [ + { + "value": "Office space" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "What type of application is being applied for?", + "responses": [ + { + "value": "Part 20 Class AB" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "What type of application is being applied for?", + "responses": [ + { + "value": "Part 20 Class AB" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Is the property subject to any Article 4 directions?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "What type of prior approval application is it?", + "responses": [ + { + "value": "Build homes on an adjoining commercial or mixed use building" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "What type or prior approval application is it?", + "responses": [ + { + "value": "Build homes on an adjoining commercial or mixed use building" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Describe any potential impacts on adjoining properties and how these will be mitigated", + "responses": [ + { + "value": "These are the potential impacts on the adjoining properties:\n1\n2\n3\nAnd this is how they are to be mitigated:\nA\nB\nC\n" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Is the property located near any air traffic or defence assets?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Describe the impact of the extended building on any protected view.", + "responses": [ + { + "value": "This is the impact of the extended building on any protected view." + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "How many new homes are being build?", + "responses": [ + { + "value": "10" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Has any part of the site been identified as contaminated land?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Was the building previously used for any of these?", + "responses": [ + { + "value": "None of these" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Is the building in a flood risk area?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "You need to submit a Noise Assessment", + "responses": [ + { + "value": "Upload a document later" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "You need to submit a Transport Assessment", + "responses": [ + { + "value": "Upload a document later" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "The project will result in an increase in the number of people living in the area. What impacts will this have on businesses and new residents, and how will this be mitigated?", + "responses": [ + { + "value": "Here are the impacts that the development will have:\n1\n2\n3\nAnd these are the mitigation measures:\nA\nB\nC" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Describe the impact of the project on residential amenity and facilities", + "responses": [ + { + "value": "the impact of the project on residential amenity and facilities. the impact of the project on residential amenity and facilities.the impact of the project on residential amenity and facilities" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What type of application is it?", + "responses": [ + { + "value": "Apply for prior approval" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About you" + } + }, + { + "question": "Are you applying on behalf of someone else?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Which of these best describes you?", + "responses": [ + { + "value": "Company" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Your contact details", + "responses": [ + { + "value": "Enid Blyton 098765432109 ennyblizzle@email.org" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Is your contact address the same as the property address?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Can a planning officer see the works from public land?", + "responses": [ + { + "value": "Yes, it's visible from the road or somewhere else" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "We may need to visit the site to assess your application. If we do, who should we contact to arrange the visit?", + "responses": [ + { + "value": "Me, the applicant" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "What type of prior approval application is it?", + "responses": [ + { + "value": "Build homes on an adjoining commercial or mixed use building" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Upload drawings" + } + }, + { + "question": "Do the changes involve any alterations to ground or floor levels?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "sectionName": "Upload drawings" + } + }, + { + "question": "Is this for submission or information only?", + "responses": [ + { + "value": "Submission" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Upload drawings" + } + }, + { + "question": "What type of application is it?", + "responses": [ + { + "value": "Prior approval" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "What type of prior approval application is it?", + "responses": [ + { + "value": "Build homes on an adjoining commercial or mixed use building" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Are you building fewer than 10 new homes?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Are you building fewer than 51 new homes?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Is the property a home?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "What type of changes does the project involve?", + "responses": [ + { + "value": "New build" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "What type of prior approval application is it?", + "responses": [ + { + "value": "Build homes on an adjoining commercial or mixed use building" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Is this application a resubmission?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14", + "url": "https://www.legislation.gov.uk/uksi/2012/2920/regulation/14" + } + ], + "sectionName": "Check your application" + } + }, + { + "question": "Is this the first time you have resubmitted an application for this site?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14", + "url": "https://www.legislation.gov.uk/uksi/2012/2920/regulation/14" + } + ], + "sectionName": "Check your application" + } + }, + { + "question": "What was the result of the original application?", + "responses": [ + { + "value": "Withdrawn" + } + ], + "metadata": { + "sectionName": "Check your application" + } + }, + { + "question": "When did you submit the original application?", + "responses": [ + { + "value": "Within the last 12 months" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14", + "url": "https://www.legislation.gov.uk/uksi/2012/2920/regulation/14" + } + ], + "sectionName": "Check your application" + } + }, + { + "question": "To qualify for a fee exemption, the proposed works must be of a similar description to the original application", + "responses": [ + { + "value": "I understand" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14", + "url": "https://www.legislation.gov.uk/uksi/2012/2920/regulation/14" + } + ], + "sectionName": "Check your application" + } + }, + { + "question": "Does the application qualify for a disability exemption?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Does the application qualify for a resubmission exemption?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Check for multiple fees?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "What type of application is it?", + "responses": [ + { + "value": "Prior approval" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Connections with Buckinghamshire Council", + "responses": [ + { + "value": "None of the above apply to me" + } + ], + "metadata": { + "sectionName": "Check your application" + } + }, + { + "question": "I confirm that:", + "responses": [ + { + "value": "The information contained in this application is truthful, accurate and complete, to the best of my knowledge" + } + ], + "metadata": { + "sectionName": "Check your application" + } + }, + { + "question": "Which Local Planning authority is it?", + "responses": [ + { + "value": "Buckinghamshire" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Pay and submit" + } + }, + { + "question": "What type of prior approval application is it?application.type", + "responses": [ + { + "value": "Build homes on an adjoining commercial or mixed use building" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Pay and submit" + } + } + ], + "files": [ + { + "name": "https://api.editor.planx.dev/file/private/xdaaquh0/test%20document.pdf", + "type": [ + "noiseAssessment" + ] + }, + { + "name": "https://api.editor.planx.dev/file/private/kk01qq8t/test%20document.pdf", + "type": [ + "roofPlan.proposed", + "sections.existing", + "sections.proposed", + "floorPlan.existing", + "floorPlan.proposed", + "elevations.existing", + "elevations.proposed" + ] + }, + { + "name": "https://api.editor.planx.dev/file/private/knu6huv7/test%20document.pdf", + "type": [ + "sitePlan.proposed" + ] + } + ], + "metadata": { + "id": "312c81fd-7368-4f0b-92d8-91de4033312a", + "organisation": "BKM", + "submittedAt": "2024-06-29T12:31:34.837Z", + "source": "PlanX", + "service": { + "flowId": "6f76e837-7a42-40f3-80e9-a9482dce5982", + "url": "https://editor.planx.uk/buckinghamshire/apply-for-prior-approval/published", + "files": { + "required": [ + { + "value": "sitePlan.proposed", + "description": "Site plan - proposed" + }, + { + "value": "elevations.existing", + "description": "Elevations - existing" + }, + { + "value": "elevations.proposed", + "description": "Elevations - proposed" + }, + { + "value": "floorPlan.existing", + "description": "Floor plan - existing" + }, + { + "value": "floorPlan.proposed", + "description": "Floor plan - proposed" + }, + { + "value": "roofPlan.proposed", + "description": "Roof plan - proposed" + }, + { + "value": "sections.existing", + "description": "Sections - existing" + }, + { + "value": "sections.proposed", + "description": "Sections - proposed" + }, + { + "value": "noiseAssessment", + "description": "Noise assessment" + } + ], + "recommended": [], + "optional": [ + { + "value": "photographs.existing", + "description": "Photographs - existing" + }, + { + "value": "otherDrawing", + "description": "Other - drawing" + }, + { + "value": "otherDocument", + "description": "Other - document" + }, + { + "value": "visualisations", + "description": "Visualisations" + } + ] + }, + "fee": { + "calculated": [ + { + "description": "The plannning fee for a Prior Approval application relating to creation of at least 10 but no more than 50 new homes on rooftops, or on a site created by demolishing vacant buildings is £451 per new home
", + "policyRefs": [ + { + "text": "The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) (Amendment) Regulations 2023", + "url": "https://www.legislation.gov.uk/uksi/2023/1197/made" + } + ] + } + ], + "payable": [ + { + "description": "In the case of an application that is the first resubmission of an application on the same site that is similar in character and description, no planning fee is payable.
", + "policyRefs": [ + { + "text": "The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14", + "url": "https://www.legislation.gov.uk/uksi/2012/2920/regulation/14" + } + ] + } + ] + } + }, + "schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schema.json" + } +} \ No newline at end of file diff --git a/examples/prototypeApplication/priorApproval/convertCommercialToHome.json b/examples/prototypeApplication/priorApproval/convertCommercialToHome.json new file mode 100644 index 00000000..c7157d82 --- /dev/null +++ b/examples/prototypeApplication/priorApproval/convertCommercialToHome.json @@ -0,0 +1,1594 @@ +{ + "applicationType": "pa.part3.classMA", + "data": { + "user": { + "role": "agent" + }, + "applicant": { + "type": "individual", + "name": { + "first": "Vincent", + "last": "Van Gogh" + }, + "email": "ouchmyear@email.org", + "phone": { + "primary": "012345678901" + }, + "address": { + "sameAsSiteAddress": true + }, + "siteContact": { + "role": "agent" + }, + "agent": { + "name": { + "first": "Alan", + "last": "Agent" + }, + "email": "alanagent@email.org", + "phone": { + "primary": "098765432109" + }, + "company": { + "name": "Alan's Property & Fine Art Consultants PLC" + }, + "address": { + "line1": "12 Agent Avenue", + "line2": "", + "town": "Plantown", + "county": "", + "postcode": "PL47TN", + "country": "" + } + } + }, + "property": { + "address": { + "latitude": 51.4745098, + "longitude": -0.1151501, + "x": 530999, + "y": 176745, + "title": "87, HACKFORD ROAD, LONDON", + "source": "Ordnance Survey", + "uprn": "100021847182", + "usrn": "21900651", + "pao": "87", + "street": "HACKFORD ROAD", + "town": "LONDON", + "postcode": "SW9 0RE", + "singleLine": "87, HACKFORD ROAD, LONDON, LAMBETH, SW9 0RE" + }, + "localAuthorityDistrict": [ + "Lambeth" + ], + "region": "London", + "type": "commercial.retail.shop", + "planning": { + "sources": [ + "https://api.editor.planx.dev/gis/lambeth?geom=MULTIPOLYGON+%28%28%28-0.114876+51.474474%2C+-0.114863+51.474517%2C+-0.115261+51.474548%2C+-0.11527+51.474504%2C+-0.114876+51.474474%29%29%29&analytics=false&sessionId=86a5ba3e-1a7f-4460-bf46-826c3f982a92", + "https://api.editor.planx.dev/roads?usrn=21900651" + ], + "designations": [ + { + "value": "tpo", + "intersects": false + }, + { + "value": "flood", + "intersects": false + }, + { + "value": "listed", + "intersects": true, + "entities": [ + { + "name": "87, HACKFORD ROAD SW9", + "source": { + "text": "Planning Data", + "url": "https://www.planning.data.gov.uk/entity/31537921" + } + }, + { + "name": "No Address Supplied", + "source": { + "text": "Planning Data", + "url": "https://www.planning.data.gov.uk/entity/42103309" + } + } + ] + }, + { + "value": "article4", + "intersects": false + }, + { + "value": "monument", + "intersects": false + }, + { + "value": "greenBelt", + "intersects": false + }, + { + "value": "designated", + "intersects": true + }, + { + "value": "nature.SAC", + "intersects": false + }, + { + "value": "nature.SPA", + "intersects": false + }, + { + "value": "nature.ASNW", + "intersects": false + }, + { + "value": "nature.SSSI", + "intersects": false + }, + { + "value": "brownfieldSite", + "intersects": false + }, + { + "value": "designated.WHS", + "intersects": false + }, + { + "value": "listed.grade.I", + "intersects": false + }, + { + "value": "registeredPark", + "intersects": false + }, + { + "value": "designated.AONB", + "intersects": false + }, + { + "value": "listed.grade.II", + "intersects": true + }, + { + "value": "listed.grade.II*", + "intersects": false + }, + { + "value": "nature.ramsarSite", + "intersects": false + }, + { + "value": "designated.nationalPark", + "intersects": false + }, + { + "value": "designated.conservationArea", + "intersects": true, + "entities": [ + { + "name": "Hackford Road", + "source": { + "text": "Planning Data", + "url": "https://www.planning.data.gov.uk/entity/44000877" + } + } + ] + }, + { + "value": "designated.nationalPark.broads", + "intersects": false + }, + { + "value": "road.classified", + "intersects": false + } + ] + }, + "boundary": { + "site": { + "type": "Feature", + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [ + -0.114876, + 51.474474 + ], + [ + -0.114863, + 51.474517 + ], + [ + -0.115261, + 51.474548 + ], + [ + -0.11527, + 51.474504 + ], + [ + -0.114876, + 51.474474 + ] + ] + ] + ] + }, + "properties": { + "name": "", + "entity": 12000528882, + "prefix": "title-boundary", + "dataset": "title-boundary", + "end-date": "", + "typology": "geography", + "reference": "51792928", + "entry-date": "2024-05-06", + "start-date": "2011-05-10", + "organisation-entity": "13" + } + }, + "area": { + "hectares": 0.013555000000000001, + "squareMetres": 135.55 + } + }, + "titleNumber": { + "known": "Yes", + "number": "24/12345/FUL" + }, + "EPC": { + "known": "Yes", + "number": "1234-1234-1234-1234" + }, + "parking": { + "cars": { + "count": 1 + }, + "vans": { + "count": 0 + }, + "motorcycles": { + "count": 0 + }, + "cycles": { + "count": 0 + }, + "buses": { + "count": 0 + }, + "disabled": { + "count": 0 + }, + "carClub": { + "count": 0 + }, + "offStreet": { + "residential": { + "count": 0 + } + }, + "other": { + "count": 0 + } + } + }, + "application": { + "fee": { + "calculated": 258, + "payable": 258, + "exemption": { + "disability": false, + "resubmission": false + }, + "reduction": { + "sports": false, + "parishCouncil": false, + "alternative": false + }, + "reference": { + "govPay": "sandbox-789" + } + }, + "leadDeveloper": { + "type": "overseasCompany", + "company": { + "name": "Impression Developments Inc.", + "registrationNumber": "12345679ABC" + } + }, + "declaration": { + "accurate": true, + "connection": { + "value": "none" + } + } + }, + "proposal": { + "projectType": [ + "changeOfUse" + ], + "description": "Change of use from my sunflower and art supplies shop into a home.", + "schemeName": "Vincent's New Property Venture", + "date": { + "start": "2024-07-28", + "completion": "2035-07-28" + }, + "boundary": { + "site": { + "type": "Feature", + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [ + -0.114876, + 51.474474 + ], + [ + -0.114863, + 51.474517 + ], + [ + -0.115261, + 51.474548 + ], + [ + -0.11527, + 51.474504 + ], + [ + -0.114876, + 51.474474 + ] + ] + ] + ] + }, + "properties": { + "name": "", + "entity": 12000528882, + "prefix": "title-boundary", + "dataset": "title-boundary", + "end-date": "", + "typology": "geography", + "reference": "51792928", + "entry-date": "2024-05-06", + "start-date": "2011-05-10", + "organisation-entity": "13", + "planx_user_action": "Accepted the title boundary" + } + }, + "area": { + "hectares": 0.013555000000000001, + "squareMetres": 135.55 + } + }, + "parking": { + "cars": { + "count": 1, + "difference": 0 + }, + "vans": { + "count": 0, + "difference": 0 + }, + "motorcycles": { + "count": 0, + "difference": 0 + }, + "cycles": { + "count": 2, + "difference": 2 + }, + "buses": { + "count": 0, + "difference": 0 + }, + "disabled": { + "count": 0, + "difference": 0 + }, + "carClub": { + "count": 0, + "difference": 0 + }, + "offStreet": { + "residential": { + "count": 0, + "difference": 0 + } + }, + "other": { + "count": 0, + "difference": 0 + } + }, + "units": { + "residential": { + "rebuilt": [ + { + "development": "changeOfUse", + "type": "terraced", + "bedrooms": 3, + "habitableRooms": 7, + "area": { + "squareMetres": 300 + }, + "tenure": "marketForRent", + "provider": "private", + "garden": false, + "sheltered": false, + "olderPersons": false, + "compliance": [ + "m42", + "m432a", + "m432b" + ], + "identicalUnits": 1 + } + ] + } + }, + "energy": { + "type": [ + "heatPump" + ], + "heatPumps": { + "capacity": { + "megawatts": 2 + } + } + }, + "greenRoof": { + "area": { + "squareMetres": 0 + } + }, + "urbanGreeningFactor": { + "score": 4 + }, + "utilities": { + "gas": { + "connections": { + "count": 1 + } + }, + "water": { + "connections": { + "count": 1 + } + }, + "internet": { + "residentialUnits": { + "count": 1 + }, + "commercialUnits": { + "count": 0 + } + } + }, + "waste": { + "reuseRecycle": { + "percent": 2 + } + } + } + }, + "preAssessment": [ + { + "value": "Planning permission / Permission needed", + "description": "It looks like the proposed changes may require planning permission." + } + ], + "responses": [ + { + "question": "Is the property in Lambeth?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "The property" + } + }, + { + "question": "What type of property is it?", + "responses": [ + { + "value": "Something else" + } + ], + "metadata": { + "sectionName": "The property" + } + }, + { + "question": "Which of these best describes the use of the property?", + "responses": [ + { + "value": "Retail and services" + } + ], + "metadata": { + "sectionName": "The property" + } + }, + { + "question": "What type of retail unit is it?", + "responses": [ + { + "value": "Shop" + } + ], + "metadata": { + "sectionName": "The property" + } + }, + { + "question": "Have the works already started?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What type of property is it?", + "responses": [ + { + "value": "Commercial building" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "What is the property used as?", + "responses": [ + { + "value": "Shop" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (Use Classes) (Amendment) (England) Regulations 2020", + "url": "https://www.legislation.gov.uk/uksi/2020/757/made" + }, + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015", + "url": "https://www.legislation.gov.uk/uksi/2015/596/contents" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is the shop any of these?", + "responses": [ + { + "value": "No, it's another kind of shop" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 3", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/3" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "What does the shop sell?", + "responses": [ + { + "value": "Other goods" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 3", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/3" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "What do you want to change its use to?", + "responses": [ + { + "value": "Single house" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (Use Classes) (Amendment) (England) Regulations 2020", + "url": "https://www.legislation.gov.uk/uksi/2020/757/made" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "What part of the building will be converted?", + "responses": [ + { + "value": "The entire building" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Is the site within an Area of Outstanding Natural Beauty?", + "responses": [ + { + "value": "No", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "autoAnswered": true, + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 3, Class MA", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/3" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is the site in the Broads?", + "responses": [ + { + "value": "No", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "autoAnswered": true, + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 3, Class MA", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/3" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is the site in a National Park?", + "responses": [ + { + "value": "No", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "autoAnswered": true, + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 3, Class MA", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/3" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is the site part of a World Heritage Site?", + "responses": [ + { + "value": "No", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "autoAnswered": true, + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 3, Class MA", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/3" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is the site in an area of Special Scientific Interest?", + "responses": [ + { + "value": "No", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "autoAnswered": true, + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 3, Class MA", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/3" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is the site in a safety hazard area?", + "responses": [ + { + "value": "No", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "autoAnswered": true, + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 3, Class MA", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/3" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is the site in a military explosives storage area?", + "responses": [ + { + "value": "No", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "autoAnswered": true, + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 3, Class MA", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/3" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is any part of the property a scheduled monument?", + "responses": [ + { + "value": "No", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "autoAnswered": true, + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 3, Class MA", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/3" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is any part of the property listed?", + "responses": [ + { + "value": "Yes", + "metadata": { + "flags": [ + "Planning permission / Permission needed" + ] + } + } + ], + "metadata": { + "autoAnswered": true, + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 3, Class MA", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/3" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "What type of property is it?", + "responses": [ + { + "value": "Shop" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "What type of prior approval application is it?", + "responses": [ + { + "value": "Convert a commercial building into a home or homes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "What type or prior approval application is it?", + "responses": [ + { + "value": "Convert a commercial building into a home or homes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "You need to submit a Sunlight and Daylight Report", + "responses": [ + { + "value": "Upload a document later" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "How many new homes are being build?", + "responses": [ + { + "value": "1" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Has any part of the site been identified as contaminated land?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Was the building previously used for any of these?", + "responses": [ + { + "value": "None of these" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Is the building in a flood risk area?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "You need to submit a Noise Assessment", + "responses": [ + { + "value": "Upload a document later" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "You need to submit a Transport Assessment", + "responses": [ + { + "value": "Upload a document later" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Describe the design and external appearance of the project", + "responses": [ + { + "value": "The existing shop front will be replaced by a new wall with a large painting of some hay stacks on it. Some more information about the appearance of the building. " + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Is the building currently used as a nursery?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Is the building currently used for healthcare?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Is the property in a conservation area?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Does the project involve changing the use of any part of the ground floor?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Describe the impacts that the change of use will have on the character or sustainability of the conservation area and how these will be mitigated", + "responses": [ + { + "value": "These are the impacts that the change of use will have:\n1\n2\n3\nAnd this is how it will be mitigated:\nA\nB\nC" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Will the building be 18 metres or more in height?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Fire safety guidance, 2021", + "url": "https://www.gov.uk/guidance/fire-safety-and-high-rise-residential-buildings-from-1-august-2021" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Will the building be 7 or more storeys tall?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Fire safety guidance, 2021", + "url": "https://www.gov.uk/guidance/fire-safety-and-high-rise-residential-buildings-from-1-august-2021" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is the building in an area that is also used for heavy industry, waste management, storage or distribution?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What type of application is it?", + "responses": [ + { + "value": "Apply for prior approval" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About you" + } + }, + { + "question": "Your contact details", + "responses": [ + { + "value": "Alan Agent Alan's Property & Fine Art Consultants PLC 098765432109 alanagent@email.org" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Are you applying on behalf of someone else?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Which of these best describes you?", + "responses": [ + { + "value": "Professional agent" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Your contact address", + "responses": [ + { + "value": "12 Agent Avenue, Plantown, PL47TN" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Which of these best describes the applicant?", + "responses": [ + { + "value": "Private individual" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Applicant's contact details", + "responses": [ + { + "value": "Vincent Van Gogh 012345678901 ouchmyear@email.org" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Is the applicant's contact address the same as the property address?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Applicant's contact address", + "responses": [ + { + "value": "Haywain House, Rotterdam, 12543, The Netherlands" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Can a planning officer see the works from public land?", + "responses": [ + { + "value": "Yes, it's visible from the road or somewhere else" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Which of these best describes you?", + "responses": [ + { + "value": "Professional agent" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About you" + } + }, + { + "question": "If we need to make a site visit, who should we contact?", + "responses": [ + { + "value": "Me, the agent" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "What type of prior approval application is it?", + "responses": [ + { + "value": "Convert a commercial building into a home or homes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Upload drawings" + } + }, + { + "question": "Is this for submission or information only?", + "responses": [ + { + "value": "Submission" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Upload drawings" + } + }, + { + "question": "What type of application is it?", + "responses": [ + { + "value": "Prior approval" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "What type of prior approval application is it?", + "responses": [ + { + "value": "Convert a commercial building into a home or homes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Does the project involve any building works?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) (Amendment) Regulations 2023", + "url": "https://www.legislation.gov.uk/uksi/2023/1197/made" + } + ], + "sectionName": "Check your application" + } + }, + { + "question": "Is the property a home?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "What type of changes does the project involve?", + "responses": [ + { + "value": "Change use" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "What type of prior approval application is it?", + "responses": [ + { + "value": "Convert a commercial building into a home or homes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Are you submitting any other planning applications about the same works or changes?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14", + "url": "https://www.legislation.gov.uk/uksi/2012/2920/regulation/14" + } + ], + "sectionName": "Check your application" + } + }, + { + "question": "Is this application a resubmission?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14", + "url": "https://www.legislation.gov.uk/uksi/2012/2920/regulation/14" + } + ], + "sectionName": "Check your application" + } + }, + { + "question": "Does the application qualify for a disability exemption?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Does the application qualify for a resubmission exemption?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Does the application qualify to the same-day-planning-application exemption?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "policyRefs": [ + { + "text": "The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14", + "url": "https://www.legislation.gov.uk/uksi/2012/2920/regulation/14" + } + ], + "sectionName": "Check your application" + } + }, + { + "question": "Check for multiple fees?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "What type of application is it?", + "responses": [ + { + "value": "Prior approval" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Which Local Planning authority is it?", + "responses": [ + { + "value": "Lambeth" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Connections with London Borough of Lambeth", + "responses": [ + { + "value": "None of the above apply to me" + } + ], + "metadata": { + "sectionName": "Check your application" + } + }, + { + "question": "I confirm that:", + "responses": [ + { + "value": "The information contained in this application is truthful, accurate and complete, to the best of my knowledge" + } + ], + "metadata": { + "sectionName": "Check your application" + } + }, + { + "question": "Connections with London Borough of Lambeth", + "responses": [ + { + "value": "None of the above apply to me" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "I confirm that:", + "responses": [ + { + "value": "The information contained in this application is truthful, accurate and complete, to the best of my knowledge" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Which Local Planning authority is it?", + "responses": [ + { + "value": "Lambeth" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Pay and submit" + } + }, + { + "question": "What type of prior approval application is it?application.type", + "responses": [ + { + "value": "Convert a commercial building into a home or homes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Pay and submit" + } + } + ], + "files": [ + { + "name": "https://api.editor.planx.dev/file/private/bpxw8ekr/test%20document.pdf", + "type": [ + "noiseAssessment" + ] + }, + { + "name": "https://api.editor.planx.dev/file/private/2mrowm3t/test%20document.pdf", + "type": [ + "usePlan.proposed", + "sitePlan.proposed" + ] + }, + { + "name": "https://api.editor.planx.dev/file/private/eu61v4yk/test%20document.pdf", + "type": [ + "sitePlan.existing" + ] + }, + { + "name": "https://api.editor.planx.dev/file/private/fd7o1wnh/test%20document.pdf", + "type": [ + "sunlightAndDaylightReport" + ] + } + ], + "metadata": { + "id": "86a5ba3e-1a7f-4460-bf46-826c3f982a92", + "organisation": "LBH", + "submittedAt": "2024-06-29T12:25:58.777Z", + "source": "PlanX", + "service": { + "flowId": "f3cae2c8-9a64-4ce1-8cef-8e6832ad383d", + "url": "https://editor.planx.dev/lambeth/apply-for-prior-approval/published", + "files": { + "required": [ + { + "value": "sitePlan.proposed", + "description": "Site plan - proposed" + }, + { + "value": "usePlan.proposed", + "description": "Use plan - proposed" + }, + { + "value": "noiseAssessment", + "description": "Noise assessment" + }, + { + "value": "sunlightAndDaylightReport", + "description": "Sunlight and daylight report" + } + ], + "recommended": [ + { + "value": "sitePlan.existing", + "description": "Site plan - existing" + } + ], + "optional": [ + { + "value": "photographs.existing", + "description": "Photographs - existing" + }, + { + "value": "otherDrawing", + "description": "Other - drawing" + }, + { + "value": "otherDocument", + "description": "Other - document" + }, + { + "value": "visualisations", + "description": "Visualisations" + } + ] + }, + "fee": { + "calculated": [ + { + "policyRefs": [ + { + "text": "The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) (Amendment) Regulations 2023", + "url": "https://www.legislation.gov.uk/uksi/2023/1197/made" + } + ] + } + ], + "payable": [ + { + "description": "This application does not qualify for any exemptions or reductions
" + } + ] + } + }, + "schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schema.json" + } +} \ No newline at end of file diff --git a/examples/prototypeApplication/priorApproval/extendUniversity.json b/examples/prototypeApplication/priorApproval/extendUniversity.json new file mode 100644 index 00000000..ff29152d --- /dev/null +++ b/examples/prototypeApplication/priorApproval/extendUniversity.json @@ -0,0 +1,1757 @@ +{ + "applicationType": "pa.part7.classM", + "data": { + "user": { + "role": "applicant" + }, + "applicant": { + "type": "company", + "name": { + "first": "John", + "last": "Betjeman" + }, + "email": "johnnybthepoet@email.org", + "phone": { + "primary": "012345678901" + }, + "address": { + "sameAsSiteAddress": true + }, + "siteContact": { + "role": "applicant" + } + }, + "property": { + "address": { + "latitude": 51.5647555, + "longitude": -0.1532914, + "x": 528097, + "y": 186713, + "title": "31, HIGHGATE WEST HILL, LONDON", + "source": "Ordnance Survey", + "uprn": "000005008312", + "usrn": "20400012", + "pao": "31", + "street": "HIGHGATE WEST HILL", + "town": "LONDON", + "postcode": "N6 6NP", + "singleLine": "31, HIGHGATE WEST HILL, LONDON, CAMDEN, N6 6NP" + }, + "localAuthorityDistrict": [ + "Camden" + ], + "region": "London", + "type": "commercial.education.university", + "planning": { + "sources": [ + "https://api.editor.planx.dev/gis/camden?geom=MULTIPOLYGON+%28%28%28-0.153392+51.564734%2C+-0.153391+51.564724%2C+-0.153376+51.564725%2C+-0.153085+51.564757%2C+-0.1531+51.564806%2C+-0.15335+51.564785%2C+-0.153392+51.564734%29%29%29&analytics=false&sessionId=7e147b04-0a8b-44fc-a249-c36ef6407f84", + "https://api.editor.planx.dev/roads?usrn=20400012" + ], + "designations": [ + { + "value": "tpo", + "intersects": false + }, + { + "value": "flood", + "intersects": false + }, + { + "value": "listed", + "intersects": false + }, + { + "value": "article4", + "intersects": true, + "entities": [ + { + "name": "Basements", + "source": { + "text": "Planning Data", + "url": "https://www.planning.data.gov.uk/entity/7010002613" + } + } + ] + }, + { + "value": "monument", + "intersects": false + }, + { + "value": "greenBelt", + "intersects": false + }, + { + "value": "designated", + "intersects": true + }, + { + "value": "nature.SAC", + "intersects": false + }, + { + "value": "nature.SPA", + "intersects": false + }, + { + "value": "nature.ASNW", + "intersects": false + }, + { + "value": "nature.SSSI", + "intersects": false + }, + { + "value": "brownfieldSite", + "intersects": false + }, + { + "value": "designated.WHS", + "intersects": false + }, + { + "value": "registeredPark", + "intersects": false + }, + { + "value": "designated.AONB", + "intersects": false + }, + { + "value": "nature.ramsarSite", + "intersects": false + }, + { + "value": "designated.nationalPark", + "intersects": false + }, + { + "value": "designated.conservationArea", + "intersects": true, + "entities": [ + { + "name": "Highgate Village", + "source": { + "text": "Planning Data", + "url": "https://www.planning.data.gov.uk/entity/44009654" + } + } + ] + }, + { + "value": "designated.nationalPark.broads", + "intersects": false + }, + { + "value": "road.classified", + "intersects": false + } + ] + }, + "boundary": { + "site": { + "type": "Feature", + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [ + -0.153392, + 51.564734 + ], + [ + -0.153391, + 51.564724 + ], + [ + -0.153376, + 51.564725 + ], + [ + -0.153085, + 51.564757 + ], + [ + -0.1531, + 51.564806 + ], + [ + -0.15335, + 51.564785 + ], + [ + -0.153392, + 51.564734 + ] + ] + ] + ] + }, + "properties": { + "name": "", + "entity": 12000488653, + "prefix": "title-boundary", + "dataset": "title-boundary", + "end-date": "", + "typology": "geography", + "reference": "36535150", + "entry-date": "2024-05-06", + "start-date": "2008-08-14", + "organisation-entity": "13" + } + }, + "area": { + "hectares": 0.011762, + "squareMetres": 117.62 + } + }, + "titleNumber": { + "known": "No" + }, + "EPC": { + "known": "The property does not have one" + }, + "parking": { + "cars": { + "count": 0 + }, + "vans": { + "count": 0 + }, + "motorcycles": { + "count": 0 + }, + "cycles": { + "count": 5 + }, + "buses": { + "count": 0 + }, + "disabled": { + "count": 0 + }, + "carClub": { + "count": 0 + }, + "offStreet": { + "residential": { + "count": 0 + } + }, + "other": { + "count": 0 + } + } + }, + "application": { + "fee": { + "calculated": 120, + "payable": 120, + "exemption": { + "disability": false, + "resubmission": false + }, + "reduction": { + "sports": false, + "parishCouncil": false, + "alternative": false + }, + "reference": { + "govPay": "sandbox-123" + } + }, + "leadDeveloper": { + "type": "ukCompany", + "company": { + "name": "Fit For Cabbages Developments", + "registrationNumber": "12345679ABC" + } + }, + "declaration": { + "accurate": true, + "connection": { + "value": "none" + } + } + }, + "proposal": { + "projectType": [ + "extend" + ], + "description": "New extension to university building, for the purposes of teaching downbeat poetry about Slough to the masses. 6 metres to the rear and 4 metres in height.", + "date": { + "start": "2024-07-28", + "completion": "2024-07-28" + }, + "boundary": { + "site": { + "type": "Feature", + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [ + -0.153392, + 51.564734 + ], + [ + -0.153391, + 51.564724 + ], + [ + -0.153376, + 51.564725 + ], + [ + -0.153085, + 51.564757 + ], + [ + -0.1531, + 51.564806 + ], + [ + -0.15335, + 51.564785 + ], + [ + -0.153392, + 51.564734 + ] + ] + ] + ] + }, + "properties": { + "name": "", + "entity": 12000488653, + "prefix": "title-boundary", + "dataset": "title-boundary", + "end-date": "", + "typology": "geography", + "reference": "36535150", + "entry-date": "2024-05-06", + "start-date": "2008-08-14", + "organisation-entity": "13", + "planx_user_action": "Accepted the title boundary" + } + }, + "area": { + "hectares": 0.011762, + "squareMetres": 117.62 + } + }, + "parking": { + "cars": { + "count": 0, + "difference": 0 + }, + "vans": { + "count": 0, + "difference": 0 + }, + "motorcycles": { + "count": 0, + "difference": 0 + }, + "cycles": { + "count": 8, + "difference": 3 + }, + "buses": { + "count": 0, + "difference": 0 + }, + "disabled": { + "count": 0, + "difference": 0 + }, + "carClub": { + "count": 0, + "difference": 0 + }, + "offStreet": { + "residential": { + "count": 0, + "difference": 0 + } + }, + "other": { + "count": 0, + "difference": 0 + } + }, + "schemeName": "Sir John Betjeman's New Extension", + "utilities": { + "internet": { + "commercialUnits": { + "count": 1 + }, + "residentialUnits": { + "count": 0 + } + }, + "fire": { + "suppression": true + } + }, + "energy": { + "type": [ + "solar" + ], + "solar": { + "capacity": { + "megawatts": 6 + } + } + }, + "urbanGreeningFactor": { + "score": 2 + }, + "greenRoof": { + "area": { + "squareMetres": 12 + } + }, + "waste": { + "reuseRecycle": { + "percent": 0 + } + }, + "charging": { + "active": { + "count": 3 + } + } + } + }, + "preAssessment": [ + { + "value": "Planning permission / Prior approval", + "description": "It looks like the proposed changes do not require planning permission, however the applicant must apply for Prior Approval before proceeding." + } + ], + "responses": [ + { + "question": "Is the property in Camden?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "The property" + } + }, + { + "question": "What type of property is it?", + "responses": [ + { + "value": "Something else" + } + ], + "metadata": { + "sectionName": "The property" + } + }, + { + "question": "Which of these best describes the use of the property?", + "responses": [ + { + "value": "Education" + } + ], + "metadata": { + "sectionName": "The property" + } + }, + { + "question": "What type of educational building is it?", + "responses": [ + { + "value": "University" + } + ], + "metadata": { + "sectionName": "The property" + } + }, + { + "question": "Have the works already started?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Town and Country Planning Act 1990, Part III, Section 55", + "url": "https://www.legislation.gov.uk/ukpga/1990/8/section/55" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "What type of property is it?", + "responses": [ + { + "value": "Commercial building" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Is the site of the proposed development within the curtilage of a listed building?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Would the development prevent the ongoing use of land used as a playing field for that purpose?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What is the footprint of the proposed development?", + "responses": [ + { + "value": "250 square metres or less" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Will the footprint of the proposed development be greater than 25% of the cumulative footprint of existing buildings?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Will any part of the proposed development be closer than 5 metres to the site boundary?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Will any rooftop structures, such as plant or machinery, exceed 1.5 metres in height?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What does the proposed development consist of?", + "responses": [ + { + "value": "Extension of an existing building" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Can you confirm that both of the following statements with regard to the height of the proposed development are true?", + "responses": [ + { + "value": "Yes, I can confirm that both of these statements are true." + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "[HIDDEN] proposal in scope?", + "responses": [ + { + "value": "Yes", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Is the proposed development located within any of the following types of site?", + "responses": [ + { + "value": "No, the site is not located within any of the described areas" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What type of property is it?", + "responses": [ + { + "value": "Another use" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Select your project", + "responses": [ + { + "value": "Erect, extend or alter a university building" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What type of application is being applied for?", + "responses": [ + { + "value": "Part 7 Class M" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Is the property subject to any Article 4 directions?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "List all the changes involved in the project", + "responses": [ + { + "value": "Add a storey" + }, + { + "value": "Convert a garage" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Is the property affected by any Article 4 directions removing this type of permitted development right?", + "responses": [ + { + "value": "None of these" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Is the property affected by any Aticle 4 directions removing this type of permitted development right?", + "responses": [ + { + "value": "None of these" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Is the property affected by any Aticle 4 directions removing this type of permitted development right?", + "responses": [ + { + "value": "None of these" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "What type of prior approval application is it?", + "responses": [ + { + "value": "Extend a university building" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "You need to submit a Transport Assessment", + "responses": [ + { + "value": "Upload a document later" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Describe the proposed work", + "responses": [ + { + "value": "New extension to university building, 6 metres to the rear and 4 metres in height, clad in books of poetry." + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Is any part of the site on designated land?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Describe the materials of the buildings", + "responses": [ + { + "value": "The facade treatment will be sympathetic with the existing building and character of the area, using namely glazed tiles, london stock brick and standing seam zinc roofing." + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015, Schedule 2, Part 7, Class", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/7/crossheading/class-m-extensions-etc-for-schools-colleges-universities-and-hospitals" + }, + { + "text": "M", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/7/crossheading/class-m-extensions-etc-for-schools-colleges-universities-and-hospitals" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is the project within, or near, a Conservation Area, a Listed Building or a site of Archaeological interest?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Describe any impacts on heritage areas, historic buildings or archaeological remains, and how these will be mitigated", + "responses": [ + { + "value": "These are the impacts on heritage:\nA\nB\nC\n and this is how they will be mitigated:\n1\n2\n3" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Is the proposal within the Greater London Authority?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Does the site include more than one property?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Greater London Authority Act 1999", + "url": "https://www.legislation.gov.uk/ukpga/1999/29/section/346" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Do you know the title number of the property?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Does the property have an Energy Performance Certificate (EPC)?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Greater London Authority Act 1999", + "url": "https://www.legislation.gov.uk/ukpga/1999/29/section/346" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "What type of application is this?", + "responses": [ + { + "value": "Prior approval" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "When are the works planned to start?", + "responses": [ + { + "value": "2024-07-28" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Greater London Authority Act 1999", + "url": "https://www.legislation.gov.uk/ukpga/1999/29/section/346" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "When are the works planned to be completed?", + "responses": [ + { + "value": "2024-07-28" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Greater London Authority Act 1999", + "url": "https://www.legislation.gov.uk/ukpga/1999/29/section/346" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "[HIDDEN] Is the application for prior approval for an extension to a dwelling house?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Does the project have a known intended name?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Please provide the project name", + "responses": [ + { + "value": "Sir John Betjeman's New Extension" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Has a lead developer been assigned to the project?", + "responses": [ + { + "value": "Yes, a registered company in the UK" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Please provide the full company name of the lead developer", + "responses": [ + { + "value": "Fit For Cabbages Developments" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Please provide the UK company registration number", + "responses": [ + { + "value": "12345679ABC" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Does this application replace or amend a previously granted planning permission?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "[HIDDEN] Part 3 class MA?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "What is the existing gross internal floor area?", + "responses": [ + { + "value": "400" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What existing gross internal floor area will be lost as a result of the proposed development?", + "responses": [ + { + "value": "10" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The London Plan", + "url": "https://www.london.gov.uk/sites/default/files/intend_to_publish_-_clean.pdf" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "What gross internal floor area will be gained as a result of the proposed development?", + "responses": [ + { + "value": "390" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The London Plan", + "url": "https://www.london.gov.uk/sites/default/files/intend_to_publish_-_clean.pdf" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Are any vehicle charging or hydrogen refuelling points being added as part of the proposal?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What type of vehicle charging points are being created?", + "responses": [ + { + "value": "Active charging points" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "How many active charging points are being created?", + "responses": [ + { + "value": "3" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What type of vehicle charging points are being created", + "responses": [ + { + "value": "Fast chargers" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Does the project involve the development of new building units?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Which if any of the following will be required as part of the proposed development?", + "responses": [ + { + "value": "Full fibre internet connection" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "How many residential units will be served by a full fibre internet connection?", + "responses": [ + { + "value": "0" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "How many commercial units will be served by a full fibre internet connection?", + "responses": [ + { + "value": "1" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Is a fire suppression system proposed?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Have you consulted with mobile network operators?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Will the proposal provide any of the following?", + "responses": [ + { + "value": "Solar energy" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What is the proposed total capacity of any solar energy generation?", + "responses": [ + { + "value": "6" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What is the Urban Greening Factor Score?", + "responses": [ + { + "value": "2" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What area of green roof is proposed?", + "responses": [ + { + "value": "12" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What percentage of material from demolition and construction will be re-used or recycled?", + "responses": [ + { + "value": "0" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Does the proposal constitute a major development?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "https://www.legislation.gov.uk/uksi/2015/595/article/2/made", + "url": "https://www.legislation.gov.uk/uksi/2015/595/article/2/made" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Does the project involve the addition of self-contained residential units or student accommodation on the site?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The London Plan", + "url": "https://www.london.gov.uk/sites/default/files/intend_to_publish_-_clean.pdf" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Does the project involve the removal of self-contained residential units or student accommodation on the site?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The London Plan", + "url": "https://www.london.gov.uk/sites/default/files/intend_to_publish_-_clean.pdf" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Are there existing or are you proposing parking spaces for any of these on the site?", + "responses": [ + { + "value": "Bicycles" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Greater London Authority Act 1999", + "url": "https://www.legislation.gov.uk/ukpga/1999/29/section/346" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "What is the number of existing bicycle parking spaces?", + "responses": [ + { + "value": "5" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Greater London Authority Act 1999", + "url": "https://www.legislation.gov.uk/ukpga/1999/29/section/346" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "What is the proposed total number of bicycle parking spaces?", + "responses": [ + { + "value": "8" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Greater London Authority Act 1999", + "url": "https://www.legislation.gov.uk/ukpga/1999/29/section/346" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "What type of application is it?", + "responses": [ + { + "value": "Apply for prior approval" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About you" + } + }, + { + "question": "Are you applying on behalf of someone else?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Which of these best describes you?", + "responses": [ + { + "value": "Company" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Your contact details", + "responses": [ + { + "value": "Sir John Betjeman 012345678901 johnnybthepoet@email.org" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Is your contact address the same as the property address?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Your contact address", + "responses": [ + { + "value": "12 Cabbage Lane, Slough, FR1 3ND" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Can a planning officer see the works from public land?", + "responses": [ + { + "value": "Yes, it's visible from the road or somewhere else" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "We may need to visit the site to assess your application. If we do, who should we contact to arrange the visit?", + "responses": [ + { + "value": "Me, the applicant" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "What type of prior approval application is it?", + "responses": [ + { + "value": "Extend a university" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Upload drawings" + } + }, + { + "question": "Does the proposal involve extending or altering an existing building?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "sectionName": "Upload drawings" + } + }, + { + "question": "Is this for submission or information only?", + "responses": [ + { + "value": "Submission" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Upload drawings" + } + }, + { + "question": "What type of application is it?", + "responses": [ + { + "value": "Prior approval" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "What type of prior approval application is it?", + "responses": [ + { + "value": "Extend a university" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Is the property a home?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "What type of changes does the project involve?", + "responses": [ + { + "value": "Extension" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Are the public allowed to access the building?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "sectionName": "Check your application" + } + }, + { + "question": "Is the sole purpose of the project to provide disabled access to (or within) the building?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14", + "url": "https://www.legislation.gov.uk/uksi/2012/2920/regulation/14" + }, + { + "text": "Regulation 4 (1)(b)", + "url": "https://www.legislation.gov.uk/uksi/2012/2920/regulation/4" + } + ], + "sectionName": "Check your application" + } + }, + { + "question": "What type of prior approval application is it?", + "responses": [ + { + "value": "Erect, extend or alter a university" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Is this application a resubmission?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14", + "url": "https://www.legislation.gov.uk/uksi/2012/2920/regulation/14" + } + ], + "sectionName": "Check your application" + } + }, + { + "question": "Does the application qualify for a disability exemption?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Does the application qualify for a resubmission exemption?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Does the application qualify to the same-day-planning-application exemption?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "policyRefs": [ + { + "text": "The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14", + "url": "https://www.legislation.gov.uk/uksi/2012/2920/regulation/14" + } + ], + "sectionName": "Check your application" + } + }, + { + "question": "Check for multiple fees?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "What type of application is it?", + "responses": [ + { + "value": "Prior approval" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Which Local Planning authority is it?", + "responses": [ + { + "value": "Camden" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Connections with London Borough of Camden", + "responses": [ + { + "value": "None of the above apply to me" + } + ], + "metadata": { + "sectionName": "Check your application" + } + }, + { + "question": "I confirm that:", + "responses": [ + { + "value": "The information contained in this application is truthful, accurate and complete, to the best of my knowledge" + } + ], + "metadata": { + "sectionName": "Check your application" + } + }, + { + "question": "Which Local Planning authority is it?", + "responses": [ + { + "value": "Camden" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Pay and submit" + } + }, + { + "question": "What type of prior approval application is it?application.type", + "responses": [ + { + "value": "Extend a school, college, university, prison or hospital" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Pay and submit" + } + } + ], + "files": [ + { + "name": "https://api.editor.planx.dev/file/private/o9ckva99/test%20document.pdf", + "type": [ + "otherDocument" + ] + }, + { + "name": "https://api.editor.planx.dev/file/private/p3e01fea/test%20document.pdf", + "type": [ + "sitePlan.proposed", + "elevations.existing", + "elevations.proposed" + ] + } + ], + "metadata": { + "id": "7e147b04-0a8b-44fc-a249-c36ef6407f84", + "organisation": "CMD", + "submittedAt": "2024-06-29T11:11:11.143Z", + "source": "PlanX", + "service": { + "flowId": "3245f1f1-d044-4e73-a819-20a7ff730964", + "url": "https://editor.planx.dev/camden/apply-for-prior-approval/published", + "files": { + "required": [ + { + "value": "sitePlan.proposed", + "description": "Site plan - proposed" + }, + { + "value": "elevations.existing", + "description": "Elevations - existing" + }, + { + "value": "elevations.proposed", + "description": "Elevations - proposed" + } + ], + "recommended": [], + "optional": [ + { + "value": "photographs.existing", + "description": "Photographs - existing" + }, + { + "value": "otherDrawing", + "description": "Other - drawing" + }, + { + "value": "otherDocument", + "description": "Other - document" + }, + { + "value": "visualisations", + "description": "Visualisations" + } + ] + }, + "fee": { + "calculated": [ + { + "policyRefs": [ + { + "text": "The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) (Amendment) Regulations 2023", + "url": "https://www.legislation.gov.uk/uksi/2023/1197/made" + } + ] + } + ], + "payable": [ + { + "description": "This application does not qualify for any exemptions or reductions
" + } + ] + } + }, + "schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schema.json" + } +} \ No newline at end of file diff --git a/examples/prototypeApplication/priorApproval/largerExtension.json b/examples/prototypeApplication/priorApproval/largerExtension.json new file mode 100644 index 00000000..80de0e26 --- /dev/null +++ b/examples/prototypeApplication/priorApproval/largerExtension.json @@ -0,0 +1,1534 @@ +{ + "applicationType": "pa.part1.classA", + "data": { + "user": { + "role": "applicant" + }, + "applicant": { + "type": "individual", + "name": { + "first": "William", + "last": "Zane" + }, + "email": "areyouon@email.org", + "phone": { + "primary": "01234000000" + }, + "address": { + "sameAsSiteAddress": true + }, + "siteContact": { + "role": "applicant" + } + }, + "property": { + "address": { + "latitude": 51.3304155, + "longitude": -0.1043842, + "x": 532161, + "y": 160741, + "title": "32, ST JAMES ROAD, PURLEY", + "source": "Ordnance Survey", + "uprn": "100020623888", + "usrn": "20502851", + "pao": "32", + "street": "ST JAMES ROAD", + "town": "PURLEY", + "postcode": "CR8 2DL", + "singleLine": "32 ST JAMES ROAD, PURLEY, CROYDON, CR8 2DL" + }, + "localAuthorityDistrict": [ + "Croydon" + ], + "region": "London", + "type": "residential.dwelling.house.detached", + "planning": { + "sources": [ + "https://api.editor.planx.dev/gis/southwark?geom=MULTIPOLYGON+%28%28%28-0.072763+51.456622%2C+-0.072749+51.456669%2C+-0.073167+51.456732%2C+-0.073195+51.456736%2C+-0.073213+51.456688%2C+-0.072763+51.456622%29%29%29&analytics=false&sessionId=80d3c3c2-0d1c-4a79-be99-912f488c2f02", + "https://api.editor.planx.dev/roads?usrn=22500947" + ], + "designations": [ + { + "value": "tpo", + "intersects": false + }, + { + "value": "flood", + "intersects": false + }, + { + "value": "listed", + "intersects": false + }, + { + "value": "article4", + "intersects": false + }, + { + "value": "monument", + "intersects": false + }, + { + "value": "greenBelt", + "intersects": false + }, + { + "value": "designated", + "intersects": false + }, + { + "value": "nature.SAC", + "intersects": false + }, + { + "value": "nature.SPA", + "intersects": false + }, + { + "value": "nature.ASNW", + "intersects": false + }, + { + "value": "nature.SSSI", + "intersects": false + }, + { + "value": "brownfieldSite", + "intersects": false + }, + { + "value": "designated.WHS", + "intersects": false + }, + { + "value": "registeredPark", + "intersects": false + }, + { + "value": "designated.AONB", + "intersects": false + }, + { + "value": "nature.ramsarSite", + "intersects": false + }, + { + "value": "designated.nationalPark", + "intersects": false + }, + { + "value": "designated.conservationArea", + "intersects": false + }, + { + "value": "designated.nationalPark.broads", + "intersects": false + }, + { + "value": "road.classified", + "intersects": false + } + ] + }, + "boundary": { + "site": { + "type": "Feature", + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [ + -0.072763, + 51.456622 + ], + [ + -0.072749, + 51.456669 + ], + [ + -0.073167, + 51.456732 + ], + [ + -0.073195, + 51.456736 + ], + [ + -0.073213, + 51.456688 + ], + [ + -0.072763, + 51.456622 + ] + ] + ] + ] + }, + "properties": { + "name": "", + "entity": 12000593377, + "prefix": "title-boundary", + "dataset": "title-boundary", + "end-date": "", + "typology": "geography", + "reference": "37786766", + "entry-date": "2024-05-06", + "start-date": "2002-06-26", + "organisation-entity": "13" + } + }, + "area": { + "hectares": 0.017289, + "squareMetres": 172.89 + } + } + }, + "application": { + "fee": { + "calculated": 120, + "payable": 0, + "exemption": { + "disability": true, + "resubmission": false + }, + "reduction": { + "sports": false, + "parishCouncil": false, + "alternative": false + } + }, + "declaration": { + "accurate": true, + "connection": { + "value": "none" + } + } + }, + "proposal": { + "projectType": [ + "extend.rear" + ], + "description": "A 2 storey rear extension with a roof garden and built in pizza oven", + "date": { + "start": "2024-06-17", + "completion": "2050-06-18" + }, + "boundary": { + "site": { + "type": "Feature", + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [ + -0.072763, + 51.456622 + ], + [ + -0.072749, + 51.456669 + ], + [ + -0.073167, + 51.456732 + ], + [ + -0.073195, + 51.456736 + ], + [ + -0.073213, + 51.456688 + ], + [ + -0.072763, + 51.456622 + ] + ] + ] + ] + }, + "properties": { + "name": "", + "entity": 12000593377, + "prefix": "title-boundary", + "dataset": "title-boundary", + "end-date": "", + "typology": "geography", + "reference": "37786766", + "entry-date": "2024-05-06", + "start-date": "2002-06-26", + "organisation-entity": "13", + "planx_user_action": "Accepted the title boundary" + } + }, + "area": { + "hectares": 0.017289, + "squareMetres": 172.89 + } + } + } + }, + "preAssessment": [ + { + "value": "Planning permission / Prior approval", + "description": "It looks like the proposed changes do not require planning permission, however the applicant must apply for Prior Approval before proceeding." + } + ], + "responses": [ + { + "question": "Is the property in Southwark?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "The property" + } + }, + { + "question": "What type of property is it?", + "responses": [ + { + "value": "House" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "The property" + } + }, + { + "question": "What type of house is it?", + "responses": [ + { + "value": "Terrace" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "The property" + } + }, + { + "question": "Have the works already started?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Describe the project.", + "responses": [ + { + "value": "A 2 storey rear extension with a roof garden and built in pizza oven." + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What type of property is it?", + "responses": [ + { + "value": "House" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Select your project", + "responses": [ + { + "value": "Add a rear extension" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What type of property is it?", + "responses": [ + { + "value": "House" + } + ], + "metadata": { + "autoAnswered": true, + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015", + "url": "https://www.legislation.gov.uk/uksi/2015/596/contents/made" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "What type of house is it?", + "responses": [ + { + "value": "Mid terrace" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "How many storeys does the original house have?", + "responses": [ + { + "value": "2 or more" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Does the original house have a projection to the rear?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Was the house always a house?", + "responses": [ + { + "value": "Yes, it was built as a house" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015, Schedule 2, Part 1, Class A", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Was the house built before 2020?", + "responses": [ + { + "value": "Yes, it was built before 2020", + "metadata": { + "flags": [ + "Planning permission / Permitted development" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 1, Class 1 A.", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Which of these best describes the new extension?", + "responses": [ + { + "value": "Single storey" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Section 2, Part 1, Class A", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Does the original house have a projection to the rear?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Which of these best describes your extension?", + "responses": [ + { + "value": "Rear" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "General Permitted Development Order 2015, Technical Guidance (PDF, 500KB)", + "url": "https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/830643/190910_Tech_Guide_for_publishing.pdf" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is any part of the extension within 2 metres of the boundary?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 1, Class A", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is the property on designated land?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Is the property a site of special scientific interest?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "What type of house is it?", + "responses": [ + { + "value": "A terrace" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "How far does the new rear addition extend beyond the back wall of the original house?", + "responses": [ + { + "value": "3 to 6m", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 1, Class A.1 (f)(i)", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is this a prior approval application for a larger rear extension?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Exactly how far will the new addition extend beyond the back wall of the original house?", + "responses": [ + { + "value": "5" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 1, Class A", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "What type of roof does the extension have?", + "responses": [ + { + "value": "Flat" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Will any part of the extension be higher than 4m?", + "responses": [ + { + "value": "No", + "metadata": { + "flags": [ + "Planning permission / Permitted development" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 1, Class A.1 (g)(ii)", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1" + }, + { + "text": "Permitted Development Rights for Householders Technical Guidance (PDF, 500KB)", + "url": "https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/830643/190910_Tech_Guide_for_publishing.pdf" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is this a prior approval application for a larger rear extension?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "What is the exact height of the extension?", + "responses": [ + { + "value": "3.6" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 1, Class A", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "How many storeys does the original house have?", + "responses": [ + { + "value": "2 or more" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Is any part of the extension within 2 metres of a boundary of the house?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "How many storeys does the original house have?", + "responses": [ + { + "value": "2 or more" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Are the materials of the extension similar to the original house?", + "responses": [ + { + "value": "Yes", + "metadata": { + "flags": [ + "Planning permission / Permitted development" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 1, Class A", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is the property on designated land?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "How much of the available area around the house is covered by extensions and outbuildings?", + "responses": [ + { + "value": "50% or less of the available area around the original house", + "metadata": { + "flags": [ + "Planning permission / Permitted development" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 1, Class A", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "What will you use the extension for?", + "responses": [ + { + "value": "Hobby space or similar" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 1, Class A", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1" + }, + { + "text": "Town and Country Planning Act 1990, Section 55", + "url": "https://www.legislation.gov.uk/ukpga/1990/8/section/55" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Who will use the hobby space?", + "responses": [ + { + "value": "Me and my family, personal use only", + "metadata": { + "flags": [ + "Planning permission / Permitted development" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Town and Country Planning Act 1990, Section 55", + "url": "https://www.legislation.gov.uk/ukpga/1990/8/section/55" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "What type of application is being applied for?", + "responses": [ + { + "value": "Part 1 Class A" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Is the property subject to any Article 4 directions?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "What type of prior approval application is it?", + "responses": [ + { + "value": "Larger extension to a house" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "How many properties adjoin yours?", + "responses": [ + { + "value": "2" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015, Schedule 2, Part 1, Class A.4 (5)", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1/crossheading/class-a-enlargement-improvement-or-other-alteration-of-a-dwellinghouse" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Enter the address of the first adjoining property", + "responses": [ + { + "value": "21 Fellbrigg Road, London, SE22 9HQ" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015, Schedule 2, Part 1, Class A.4 (5)", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1/crossheading/class-a-enlargement-improvement-or-other-alteration-of-a-dwellinghouse" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Enter the address of the second adjoining property", + "responses": [ + { + "value": "25 Fellbrigg Road, London, SE22 9HQ" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015, Schedule 2, Part 1, Class A.4 (5)", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/1/crossheading/class-a-enlargement-improvement-or-other-alteration-of-a-dwellinghouse" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is the proposal within the Greater London Authority?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Does the site include more than one property?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Greater London Authority Act 1999", + "url": "https://www.legislation.gov.uk/ukpga/1999/29/section/346" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Do you know the title number of the property?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Does the property have an Energy Performance Certificate (EPC)?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Greater London Authority Act 1999", + "url": "https://www.legislation.gov.uk/ukpga/1999/29/section/346" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Enter the reference number (RRN) from the most recent EPC", + "responses": [ + { + "value": "1234-1234-1234-1234-1234" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What type of application is this?", + "responses": [ + { + "value": "Prior approval" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "When are the works planned to start?", + "responses": [ + { + "value": "2024-06-17" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Greater London Authority Act 1999", + "url": "https://www.legislation.gov.uk/ukpga/1999/29/section/346" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "When are the works planned to be completed?", + "responses": [ + { + "value": "2050-06-18" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Greater London Authority Act 1999", + "url": "https://www.legislation.gov.uk/ukpga/1999/29/section/346" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "[HIDDEN] Is the application for prior approval for an extension to a dwelling house?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "What is the gross internal floor area to be added?", + "responses": [ + { + "value": "40" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Do the changes involve creating any new bedrooms or bathrooms?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Are there existing or are you proposing parking spaces for any of these on the site?", + "responses": [ + { + "value": "Bicycles" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Greater London Authority Act 1999", + "url": "https://www.legislation.gov.uk/ukpga/1999/29/section/346" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "What is the number of existing bicycle parking spaces?", + "responses": [ + { + "value": "2" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Greater London Authority Act 1999", + "url": "https://www.legislation.gov.uk/ukpga/1999/29/section/346" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "What is the proposed total number of bicycle parking spaces?", + "responses": [ + { + "value": "2" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Greater London Authority Act 1999", + "url": "https://www.legislation.gov.uk/ukpga/1999/29/section/346" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "What type of application is it?", + "responses": [ + { + "value": "Apply for prior approval" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About you" + } + }, + { + "question": "Are you applying on behalf of someone else?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Which of these best describes you?", + "responses": [ + { + "value": "Private individual" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Your contact details", + "responses": [ + { + "value": "William Zane 01234000000 areyouon@email.org" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Is your contact address the same as the property address?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Can a planning officer see the works from public land?", + "responses": [ + { + "value": "Yes, it's visible from the road or somewhere else" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "We may need to visit the site to assess your application. If we do, who should we contact to arrange the visit?", + "responses": [ + { + "value": "Me, the applicant" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "What type of prior approval application is it?", + "responses": [ + { + "value": "Larger extension to a house" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Upload drawings" + } + }, + { + "question": "Has the house already been extended?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "Upload drawings" + } + }, + { + "question": "Is this for submission or information only?", + "responses": [ + { + "value": "Submission" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Upload drawings" + } + }, + { + "question": "What type of application is it?", + "responses": [ + { + "value": "Prior approval" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "What type of prior approval application is it?", + "responses": [ + { + "value": "Larger extension to a house" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Is the property a home?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "What works does the project involve?", + "responses": [ + { + "value": "Extension" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Is the purpose of the project to support the needs of a disabled resident?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14", + "url": "https://www.legislation.gov.uk/uksi/2012/2920/regulation/14" + }, + { + "text": "UK Statutory Instruments 2012 No. 2920 Regulation 4", + "url": "https://www.legislation.gov.uk/uksi/2012/2920/regulation/4/made" + }, + { + "text": "Equalities Act 2010, Section 6", + "url": "https://www.legislation.gov.uk/ukpga/2010/15/section/6" + }, + { + "text": "Children Act 1989, Part 3", + "url": "https://www.legislation.gov.uk/ukpga/1989/41/part/III" + } + ], + "sectionName": "Check your application" + } + }, + { + "question": "Are you the applicant?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Would you like to upload evidence of your disability?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "Check your application" + } + }, + { + "question": "What type of prior approval application is it?", + "responses": [ + { + "value": "Larger extension to a house" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Are you submitting any other planning applications about the same works or changes?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14", + "url": "https://www.legislation.gov.uk/uksi/2012/2920/regulation/14" + } + ], + "sectionName": "Check your application" + } + }, + { + "question": "Does the application qualify for a disability exemption?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Is it any of these?", + "responses": [ + { + "value": "None of these" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Check for multiple fees?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "What type of application is it?", + "responses": [ + { + "value": "Prior approval" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Which Local Planning authority is it?", + "responses": [ + { + "value": "Southwark" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Connections with Southwark Council", + "responses": [ + { + "value": "None of the above apply to me" + } + ], + "metadata": { + "sectionName": "Check your application" + } + }, + { + "question": "I confirm that:", + "responses": [ + { + "value": "The information contained in this application is truthful, accurate and complete, to the best of my knowledge" + } + ], + "metadata": { + "sectionName": "Check your application" + } + }, + { + "question": "Which Local Planning authority is it?", + "responses": [ + { + "value": "Southwark" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Pay and submit" + } + }, + { + "question": "What type of prior approval application is it?application.type", + "responses": [ + { + "value": "Larger extension to a house" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Pay and submit" + } + } + ], + "files": [ + { + "name": "https://api.editor.planx.dev/file/private/dfaz9qu5/location%20plan_proposed_01.jpg", + "type": [ + "sitePlan.proposed" + ] + }, + { + "name": "https://api.editor.planx.dev/file/private/avilhq1j/elevations_existing_01.jpg", + "type": [ + "elevations.existing" + ] + }, + { + "name": "https://api.editor.planx.dev/file/private/tis6f8hh/elevations_proposed_01.jpg", + "type": [ + "elevations.proposed" + ] + } + ], + "metadata": { + "id": "80d3c3c2-0d1c-4a79-be99-912f488c2f02", + "organisation": "SWK", + "submittedAt": "2024-06-26T18:14:45.726Z", + "source": "PlanX", + "service": { + "flowId": "c6628103-c648-4663-81e1-bfa0a1a18340", + "url": "https://editor.planx.uk/southwark/apply-for-prior-approval/published", + "files": { + "required": [ + { + "value": "sitePlan.proposed", + "description": "Site plan - proposed" + } + ], + "recommended": [ + { + "value": "elevations.existing", + "description": "Elevations - existing" + }, + { + "value": "elevations.proposed", + "description": "Elevations - proposed" + } + ], + "optional": [ + { + "value": "photographs.existing", + "description": "Photographs - existing" + }, + { + "value": "otherDrawing", + "description": "Other - drawing" + }, + { + "value": "otherDocument", + "description": "Other - document" + }, + { + "value": "visualisations", + "description": "Visualisations" + } + ] + }, + "fee": { + "calculated": [ + { + "policyRefs": [ + { + "text": "The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) (Amendment) Regulations 2023", + "url": "https://www.legislation.gov.uk/uksi/2023/1197/made" + } + ] + } + ], + "payable": [ + { + "description": "If the proposed works (to either a home or within the curtilage of a home) is for the sole purpose of providing either:
\n\n- A means of access to (or within) the dwellinghouse for a disabled resident (current or future)
\n\nOR
\n\n- Providing facilities that are designed to ensure the disabled persons safety, health or comfort
\n\nOR
\n\n- Providing disabled access to a public building
\n\nThen no planning fee will be payable for this application.
", + "policyRefs": [ + { + "text": "The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14", + "url": "https://www.legislation.gov.uk/uksi/2012/2920/regulation/14" + }, + { + "text": "Regulation 4", + "url": "https://www.legislation.gov.uk/uksi/2012/2920/regulation/4/made" + } + ] + } + ] + } + }, + "schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schema.json" + } +} \ No newline at end of file diff --git a/examples/prototypeApplication/priorApproval/solarPanels.json b/examples/prototypeApplication/priorApproval/solarPanels.json new file mode 100644 index 00000000..54e68fae --- /dev/null +++ b/examples/prototypeApplication/priorApproval/solarPanels.json @@ -0,0 +1,1492 @@ +{ + "applicationType": "pa.part14.classJ", + "data": { + "user": { + "role": "applicant" + }, + "applicant": { + "type": "individual", + "name": { + "first": "Bill", + "last": "Shakespeare" + }, + "email": "byanyothername@email.org", + "phone": { + "primary": "012345678901" + }, + "address": { + "sameAsSiteAddress": true + }, + "siteContact": { + "role": "applicant" + } + }, + "property": { + "address": { + "latitude": 51.5081124, + "longitude": -0.0965717, + "x": 532192, + "y": 180515, + "title": "INTERNATIONAL SHAKESPEARE GLOBE CENTRE LTD, SHAKESPEARE GLOBE THEATRE, 21, NEW GLOBE WALK, LONDON", + "source": "Ordnance Survey", + "uprn": "200003377200", + "usrn": "22503078", + "pao": "21SHAKESPEARE GLOBE THEATRE", + "street": "NEW GLOBE WALK", + "town": "LONDON", + "postcode": "SE1 9DT", + "singleLine": "INTERNATIONAL SHAKESPEARE GLOBE CENTRE LTD, SHAKESPEARE GLOBE THEATRE, 21, NEW GLOBE WALK, LONDON, SOUTHWARK, SE1 9DT" + }, + "localAuthorityDistrict": [ + "Southwark" + ], + "region": "London", + "type": "commercial.leisure.entertainment", + "boundary": { + "site": { + "type": "Feature", + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [ + -0.097554, + 51.507945 + ], + [ + -0.097612, + 51.507942 + ], + [ + -0.097592, + 51.507805 + ], + [ + -0.097442, + 51.507818 + ], + [ + -0.097257, + 51.507806 + ], + [ + -0.097255, + 51.507821 + ], + [ + -0.096964, + 51.507802 + ], + [ + -0.096853, + 51.507857 + ], + [ + -0.096465, + 51.507835 + ], + [ + -0.096391, + 51.508281 + ], + [ + -0.096748, + 51.508303 + ], + [ + -0.096891, + 51.508319 + ], + [ + -0.097056, + 51.5083 + ], + [ + -0.097068, + 51.508316 + ], + [ + -0.097096, + 51.508318 + ], + [ + -0.097232, + 51.508312 + ], + [ + -0.09723, + 51.508301 + ], + [ + -0.097249, + 51.508299 + ], + [ + -0.097247, + 51.508292 + ], + [ + -0.097277, + 51.50829 + ], + [ + -0.097279, + 51.508302 + ], + [ + -0.097362, + 51.508296 + ], + [ + -0.097358, + 51.508284 + ], + [ + -0.09741, + 51.50828 + ], + [ + -0.097414, + 51.508291 + ], + [ + -0.097452, + 51.508288 + ], + [ + -0.09745, + 51.508279 + ], + [ + -0.097626, + 51.508267 + ], + [ + -0.097607, + 51.508177 + ], + [ + -0.097597, + 51.508177 + ], + [ + -0.097554, + 51.507945 + ] + ] + ] + ] + }, + "properties": { + "name": "", + "entity": 12000608797, + "prefix": "title-boundary", + "dataset": "title-boundary", + "end-date": "", + "typology": "geography", + "reference": "53336201", + "entry-date": "2024-05-06", + "start-date": "2011-12-01", + "organisation-entity": "13" + } + }, + "area": { + "hectares": 0.424414, + "squareMetres": 4244.14 + } + }, + "titleNumber": { + "known": "Yes", + "number": "24/12345/FUL" + }, + "EPC": { + "known": "Yes", + "number": "1234-1234-1234-1234" + }, + "parking": { + "cars": { + "count": 0 + }, + "vans": { + "count": 0 + }, + "motorcycles": { + "count": 0 + }, + "cycles": { + "count": 30 + }, + "buses": { + "count": 0 + }, + "disabled": { + "count": 0 + }, + "carClub": { + "count": 0 + }, + "offStreet": { + "residential": { + "count": 0 + } + }, + "other": { + "count": 0 + } + } + }, + "application": { + "fee": { + "calculated": 120, + "payable": 120, + "exemption": { + "disability": false, + "resubmission": false + }, + "reduction": { + "sports": false, + "parishCouncil": false, + "alternative": false + }, + "reference": { + "govPay": "mfm6s5irae9bh5g75p3ks5opng" + } + }, + "declaration": { + "accurate": true, + "connection": { + "value": "none" + } + } + }, + "proposal": { + "projectType": [ + "alter.equipment.solar" + ], + "description": "Not provided", + "date": { + "start": "2024-07-28", + "completion": "2030-07-28" + }, + "boundary": { + "site": { + "type": "Feature", + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [ + -0.097554, + 51.507945 + ], + [ + -0.097612, + 51.507942 + ], + [ + -0.097592, + 51.507805 + ], + [ + -0.097442, + 51.507818 + ], + [ + -0.097257, + 51.507806 + ], + [ + -0.097255, + 51.507821 + ], + [ + -0.096964, + 51.507802 + ], + [ + -0.096853, + 51.507857 + ], + [ + -0.096465, + 51.507835 + ], + [ + -0.096391, + 51.508281 + ], + [ + -0.096748, + 51.508303 + ], + [ + -0.096891, + 51.508319 + ], + [ + -0.097056, + 51.5083 + ], + [ + -0.097068, + 51.508316 + ], + [ + -0.097096, + 51.508318 + ], + [ + -0.097232, + 51.508312 + ], + [ + -0.09723, + 51.508301 + ], + [ + -0.097249, + 51.508299 + ], + [ + -0.097247, + 51.508292 + ], + [ + -0.097277, + 51.50829 + ], + [ + -0.097279, + 51.508302 + ], + [ + -0.097362, + 51.508296 + ], + [ + -0.097358, + 51.508284 + ], + [ + -0.09741, + 51.50828 + ], + [ + -0.097414, + 51.508291 + ], + [ + -0.097452, + 51.508288 + ], + [ + -0.09745, + 51.508279 + ], + [ + -0.097626, + 51.508267 + ], + [ + -0.097607, + 51.508177 + ], + [ + -0.097597, + 51.508177 + ], + [ + -0.097554, + 51.507945 + ] + ] + ] + ] + }, + "properties": { + "name": "", + "entity": 12000608797, + "prefix": "title-boundary", + "dataset": "title-boundary", + "end-date": "", + "typology": "geography", + "reference": "53336201", + "entry-date": "2024-05-06", + "start-date": "2011-12-01", + "organisation-entity": "13", + "planx_user_action": "Accepted the title boundary" + } + }, + "area": { + "hectares": 0.424414, + "squareMetres": 4244.14 + } + }, + "parking": { + "cars": { + "count": 0, + "difference": 0 + }, + "vans": { + "count": 0, + "difference": 0 + }, + "motorcycles": { + "count": 0, + "difference": 0 + }, + "cycles": { + "count": 30, + "difference": 0 + }, + "buses": { + "count": 0, + "difference": 0 + }, + "disabled": { + "count": 0, + "difference": 0 + }, + "carClub": { + "count": 0, + "difference": 0 + }, + "offStreet": { + "residential": { + "count": 0, + "difference": 0 + } + }, + "other": { + "count": 0, + "difference": 0 + } + } + } + }, + "preAssessment": [ + { + "value": "Planning permission / Prior approval", + "description": "It looks like the proposed changes do not require planning permission, however the applicant must apply for Prior Approval before proceeding." + } + ], + "responses": [ + { + "question": "Is the property in Southwark?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "The property" + } + }, + { + "question": "What type of property is it?", + "responses": [ + { + "value": "Something else" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "The property" + } + }, + { + "question": "Which of these best describes the use of the property?", + "responses": [ + { + "value": "Leisure and sport" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "The property" + } + }, + { + "question": "What type of leisure property is it?", + "responses": [ + { + "value": "Entertainment" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "The property" + } + }, + { + "question": "Have the works already started?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Describe the project.", + "responses": [ + { + "value": "Installation of solar panels on the roof of the globe theatre" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What type of property is it?", + "responses": [ + { + "value": "Commercial building" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "What type of property is it?", + "responses": [ + { + "value": "Neither a house nor a flat" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "What do you want to install?", + "responses": [ + { + "value": "Solar photovoltaics (PV)" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Are there any other locations where the equipment could be installed?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class A", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/14/crossheading/class-a-installation-or-alteration-etc-of-solar-equipment-on-domestic-premises" + }, + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class K", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/14/crossheading/class-k-installation-or-alteration-etc-of-standalone-solar-equipment-on-nondomestic-premises" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Would the solar panels would be less visible from the highway in these other locations?", + "responses": [ + { + "value": "No", + "metadata": { + "flags": [ + "Planning permission / Permitted development" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class A", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/14/crossheading/class-a-installation-or-alteration-etc-of-solar-equipment-on-domestic-premises" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is the building listed?", + "responses": [ + { + "value": "No", + "metadata": { + "flags": [ + "Planning permission / Permitted development" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class J", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/14/crossheading/class-j-installation-or-alteration-etc-of-solar-equipment-on-nondomestic-premises" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Is the property a scheduled monument?", + "responses": [ + { + "value": "No", + "metadata": { + "flags": [ + "Planning permission / Permitted development" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class J", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/14/crossheading/class-j-installation-or-alteration-etc-of-solar-equipment-on-nondomestic-premises" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Where are the new solar panels?", + "responses": [ + { + "value": "On roofs" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What type of roofs are they?", + "responses": [ + { + "value": "Pitched" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "How far do the new solar panels stick out from the pitched roofs?", + "responses": [ + { + "value": "0.2m or less", + "metadata": { + "flags": [ + "Planning permission / Permitted development" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class J", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/14" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "How far are the new solar panels from the edge of the roof?", + "responses": [ + { + "value": "1m or more from the edge of the roof", + "metadata": { + "flags": [ + "Planning permission / Permitted development" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class J", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/14" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "What do you want to install?", + "responses": [ + { + "value": "Solar photovoltaics (PV)" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What is the total capacity of all solar photovoltaics (PV)?", + "responses": [ + { + "value": "More than 50kW", + "metadata": { + "flags": [ + "Planning permission / Prior approval" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class J", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/14" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "The solar panels must be removed when no longer needed.", + "responses": [ + { + "value": "OK", + "metadata": { + "flags": [ + "Planning permission / Permitted development" + ] + } + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class A", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/14/crossheading/class-a-installation-or-alteration-etc-of-solar-equipment-on-domestic-premises" + }, + { + "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class K", + "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/14/crossheading/class-k-installation-or-alteration-etc-of-standalone-solar-equipment-on-nondomestic-premises" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "What type of property is it?", + "responses": [ + { + "value": "Another use" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Select your project", + "responses": [ + { + "value": "Install solar panels" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What type of application is being applied for?", + "responses": [ + { + "value": "Part 14 Class J" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Is the property subject to any Article 4 directions?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What type of prior approval application is it?", + "responses": [ + { + "value": "Install or change solar panels" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Is the proposal within the Greater London Authority?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "Does the site include more than one property?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Greater London Authority Act 1999", + "url": "https://www.legislation.gov.uk/ukpga/1999/29/section/346" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Do you know the title number of the property?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What is the title number of the property?", + "responses": [ + { + "value": "24/12345/FUL" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Greater London Authority Act 1999", + "url": "https://www.legislation.gov.uk/ukpga/1999/29/section/346" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Does the property have an Energy Performance Certificate (EPC)?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Greater London Authority Act 1999", + "url": "https://www.legislation.gov.uk/ukpga/1999/29/section/346" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "Enter the reference number (RRN) from the most recent EPC", + "responses": [ + { + "value": "1234-1234-1234-1234" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "What type of application is this?", + "responses": [ + { + "value": "Prior approval" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "When are the works planned to start?", + "responses": [ + { + "value": "2024-07-28" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Greater London Authority Act 1999", + "url": "https://www.legislation.gov.uk/ukpga/1999/29/section/346" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "When are the works planned to be completed?", + "responses": [ + { + "value": "2030-07-28" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Greater London Authority Act 1999", + "url": "https://www.legislation.gov.uk/ukpga/1999/29/section/346" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "[HIDDEN] Is the application for prior approval for an extension to a dwelling house?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About the project" + } + }, + { + "question": "What is the gross internal floor area to be added?", + "responses": [ + { + "value": "0" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Do the changes involve creating any new bedrooms or bathrooms?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About the project" + } + }, + { + "question": "Are there existing or are you proposing parking spaces for any of these on the site?", + "responses": [ + { + "value": "Bicycles" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Greater London Authority Act 1999", + "url": "https://www.legislation.gov.uk/ukpga/1999/29/section/346" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "What is the number of existing bicycle parking spaces?", + "responses": [ + { + "value": "30" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Greater London Authority Act 1999", + "url": "https://www.legislation.gov.uk/ukpga/1999/29/section/346" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "What is the proposed total number of bicycle parking spaces?", + "responses": [ + { + "value": "30" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "Greater London Authority Act 1999", + "url": "https://www.legislation.gov.uk/ukpga/1999/29/section/346" + } + ], + "sectionName": "About the project" + } + }, + { + "question": "What type of application is it?", + "responses": [ + { + "value": "Apply for prior approval" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "About you" + } + }, + { + "question": "Are you applying on behalf of someone else?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Which of these best describes you?", + "responses": [ + { + "value": "Private individual" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Your contact details", + "responses": [ + { + "value": "Bill Shakespeare 012345678901 byanyothername@email.org" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Is your contact address the same as the property address?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Your contact address", + "responses": [ + { + "value": "12 Sonnet Street, Stratford upon Avon, TH334RD" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "Can a planning officer see the works from public land?", + "responses": [ + { + "value": "Yes, it's visible from the road or somewhere else" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "We may need to visit the site to assess your application. If we do, who should we contact to arrange the visit?", + "responses": [ + { + "value": "Me, the applicant" + } + ], + "metadata": { + "sectionName": "About you" + } + }, + { + "question": "What type of prior approval application is it?", + "responses": [ + { + "value": "Install or change solar panels" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Upload drawings" + } + }, + { + "question": "Where will the solar panels be installed?", + "responses": [ + { + "value": "On roofs" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Upload drawings" + } + }, + { + "question": "Your planning officer will need to check how far the solar panels stick out beyond the surface of the roof. What do you have that shows this?", + "responses": [ + { + "value": "Section drawing of the building" + } + ], + "metadata": { + "sectionName": "Upload drawings" + } + }, + { + "question": "Is this for submission or information only?", + "responses": [ + { + "value": "Submission" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Upload drawings" + } + }, + { + "question": "What type of application is it?", + "responses": [ + { + "value": "Prior approval" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "What type of prior approval application is it?", + "responses": [ + { + "value": "Install or change solar panels" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Is the property a home?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "What type of changes does the project involve?", + "responses": [ + { + "value": "Alteration" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Are the public allowed to access the building?", + "responses": [ + { + "value": "Yes" + } + ], + "metadata": { + "sectionName": "Check your application" + } + }, + { + "question": "Is the sole purpose of the project to provide disabled access to (or within) the building?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "policyRefs": [ + { + "text": "The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14", + "url": "https://www.legislation.gov.uk/uksi/2012/2920/regulation/14" + }, + { + "text": "Regulation 4 (1)(b)", + "url": "https://www.legislation.gov.uk/uksi/2012/2920/regulation/4" + } + ], + "sectionName": "Check your application" + } + }, + { + "question": "What type of prior approval application is it?", + "responses": [ + { + "value": "Install or change solar panels" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Does the application qualify for a disability exemption?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Does the application qualify for a resubmission exemption?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Does the application qualify to the same-day-planning-application exemption?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "policyRefs": [ + { + "text": "The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) Regulations 2012, Regulation 14", + "url": "https://www.legislation.gov.uk/uksi/2012/2920/regulation/14" + } + ], + "sectionName": "Check your application" + } + }, + { + "question": "Check for multiple fees?", + "responses": [ + { + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "What type of application is it?", + "responses": [ + { + "value": "Prior approval" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Which Local Planning authority is it?", + "responses": [ + { + "value": "Southwark" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "Connections with Southwark Council", + "responses": [ + { + "value": "None of the above apply to me" + } + ], + "metadata": { + "sectionName": "Check your application" + } + }, + { + "question": "I confirm that:", + "responses": [ + { + "value": "The information contained in this application is truthful, accurate and complete, to the best of my knowledge" + } + ], + "metadata": { + "sectionName": "Check your application" + } + }, + { + "question": "Which Local Planning authority is it?", + "responses": [ + { + "value": "Southwark" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Pay and submit" + } + }, + { + "question": "What type of prior approval application is it?application.type", + "responses": [ + { + "value": "Install or change solar panels" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Pay and submit" + } + } + ], + "files": [ + { + "name": "https://api.editor.planx.dev/file/private/mq2iovsi/test%20document.pdf", + "type": [ + "sections.proposed" + ] + }, + { + "name": "https://api.editor.planx.dev/file/private/czxk98ug/test%20document.pdf", + "type": [ + "sitePlan.proposed" + ] + } + ], + "metadata": { + "id": "dee911d0-48b4-438c-96b6-2bb12ae46335", + "organisation": "SWK", + "submittedAt": "2024-06-29T13:06:44.801Z", + "source": "PlanX", + "service": { + "flowId": "c6628103-c648-4663-81e1-bfa0a1a18340", + "url": "https://editor.planx.uk/southwark/apply-for-prior-approval/published", + "files": { + "required": [ + { + "value": "sitePlan.proposed", + "description": "Site plan - proposed" + }, + { + "value": "sections.proposed", + "description": "Sections - proposed" + } + ], + "recommended": [], + "optional": [ + { + "value": "photographs.existing", + "description": "Photographs - existing" + }, + { + "value": "otherDrawing", + "description": "Other - drawing" + }, + { + "value": "otherDocument", + "description": "Other - document" + }, + { + "value": "visualisations", + "description": "Visualisations" + } + ] + }, + "fee": { + "calculated": [ + { + "policyRefs": [ + { + "text": "The Town and Country Planning (Fees for Applications, Deemed Applications, Requests and Site Visits) (England) (Amendment) Regulations 2023", + "url": "https://www.legislation.gov.uk/uksi/2023/1197/made" + } + ] + } + ], + "payable": [ + { + "description": "This application does not qualify for any exemptions or reductions
" + } + ] + } + }, + "schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schema.json" + } +} \ No newline at end of file diff --git a/tests/usage.test.ts b/tests/usage.test.ts index 9c8800ad..4d938b31 100644 --- a/tests/usage.test.ts +++ b/tests/usage.test.ts @@ -4,9 +4,11 @@ import * as path from 'path'; import Ajv from 'ajv'; import addFormats from 'ajv-formats'; import {Schema, Validator} from 'jsonschema'; +import {describe, expect, test} from 'vitest'; import applicationSchema from '../schemas/application.json'; +import prototypeApplicationSchema from '../schemas/prototypeApplication.json'; import {Application} from '../types/schemas/application'; -import {describe, test, expect} from 'vitest'; +import {PrototypeApplication} from '../types/schemas/prototypeApplication'; /** * Helper function to walk /examples directory and collect generated JSON files @@ -41,11 +43,19 @@ const schemas = [ schema: applicationSchema, examples: getJSONExamples