diff --git a/examples/data/priorApproval/buildHomes.ts b/examples/data/priorApproval/buildHomes.ts new file mode 100644 index 00000000..8aa21746 --- /dev/null +++ b/examples/data/priorApproval/buildHomes.ts @@ -0,0 +1,1843 @@ +import {Schema} from '../../../types/Schema'; + +const version = process.env['VERSION'] || '@next'; + +export const priorApprovalBuildHomes: Schema = { + 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: { + value: 'commercial.office', + description: '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', + description: 'Tree Preservation Order (TPO) or zone', + intersects: false, + }, + { + value: 'flood', + description: 'Flood Risk Zone', + intersects: false, + }, + { + value: 'listed', + description: 'Listed Building', + intersects: false, + }, + { + value: 'article4', + description: 'Article 4 Direction area', + intersects: false, + }, + { + value: 'monument', + description: 'Site of a Scheduled Monument', + intersects: false, + }, + { + value: 'greenBelt', + description: 'Green Belt', + intersects: false, + }, + { + value: 'designated', + description: 'Designated land', + intersects: false, + }, + { + value: 'nature.SAC', + description: 'Special Area of Conservation (SAC)', + intersects: false, + }, + { + value: 'nature.SPA', + description: 'Special Protection Area (SPA)', + intersects: false, + }, + { + value: 'nature.ASNW', + description: 'Ancient Semi-Natural Woodland (ASNW)', + intersects: false, + }, + { + value: 'nature.SSSI', + description: 'Site of Special Scientific Interest (SSSI)', + intersects: false, + }, + { + value: 'brownfieldSite', + description: 'Brownfield site', + intersects: false, + }, + { + value: 'designated.WHS', + description: 'UNESCO World Heritage Site or buffer zone', + intersects: false, + }, + { + value: 'registeredPark', + description: 'Historic Park or Garden', + intersects: false, + }, + { + value: 'designated.AONB', + description: 'Area of Outstanding Natural Beauty (AONB)', + intersects: false, + }, + { + value: 'nature.ramsarSite', + description: 'Ramsar site', + intersects: false, + }, + { + value: 'designated.nationalPark', + description: 'National Park', + intersects: false, + }, + { + value: 'designated.conservationArea', + description: 'Conservation Area', + intersects: false, + }, + { + value: 'designated.nationalPark.broads', + description: 'National Park - Broads', + intersects: false, + }, + { + value: 'road.classified', + description: 'Classified Road', + 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: { + type: { + value: 'pa.part20.classAB', + description: + 'Prior Approval - Build homes on an adjoining commercial or mixed use building', + }, + fee: { + calculated: 4510, + payable: 0, + category: { + one: 0, + two: 0, + three: 0, + four: 0, + five: 0, + sixAndSeven: 0, + eight: 0, + nine: 0, + ten: 0, + eleven: { + one: 0, + two: 0, + }, + twelve: { + one: 0, + two: 0, + }, + thirteen: 0, + fourteen: 0, + }, + exemption: { + disability: false, + resubmission: true, + }, + reduction: { + sports: false, + parishCouncil: false, + alternative: false, + }, + }, + declaration: { + accurate: true, + connection: { + value: 'none', + }, + }, + }, + proposal: { + projectType: [ + { + value: 'new.residential.dwelling', + description: 'Build new homes on a roof', + }, + ], + description: + 'The addition of homes as upper storeys to the existing commercial premises.', + date: {}, + 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: [ + { + value: 'noiseAssessment', + description: 'Noise assessment', + }, + ], + }, + { + name: 'https://api.editor.planx.dev/file/private/kk01qq8t/test%20document.pdf', + type: [ + { + value: 'roofPlan.proposed', + description: 'Roof plan - proposed', + }, + { + value: 'sections.existing', + description: 'Sections - existing', + }, + { + value: 'sections.proposed', + description: 'Sections - proposed', + }, + { + value: 'floorPlan.existing', + description: 'Floor plan - existing', + }, + { + value: 'floorPlan.proposed', + description: 'Floor plan - proposed', + }, + { + value: 'elevations.existing', + description: 'Elevations - existing', + }, + { + value: 'elevations.proposed', + description: 'Elevations - proposed', + }, + ], + }, + { + name: 'https://api.editor.planx.dev/file/private/knu6huv7/test%20document.pdf', + type: [ + { + value: 'sitePlan.proposed', + description: 'Site plan - 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/data/priorApproval/convertCommercialToHome.ts b/examples/data/priorApproval/convertCommercialToHome.ts new file mode 100644 index 00000000..8f46ead7 --- /dev/null +++ b/examples/data/priorApproval/convertCommercialToHome.ts @@ -0,0 +1,1592 @@ +import {Schema} from '../../../types/Schema'; + +const version = process.env['VERSION'] || '@next'; + +export const priorApprovalConvertCommercialToHome: Schema = { + 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: { + value: 'commercial.retail.shop', + description: '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', + description: 'Tree Preservation Order (TPO) or zone', + intersects: false, + }, + { + value: 'flood', + description: 'Flood Risk Zone', + intersects: false, + }, + { + value: 'listed', + description: 'Listed Building', + 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', + description: 'Article 4 Direction area', + intersects: false, + }, + { + value: 'monument', + description: 'Site of a Scheduled Monument', + intersects: false, + }, + { + value: 'greenBelt', + description: 'Green Belt', + intersects: false, + }, + { + value: 'designated', + description: 'Designated land', + intersects: true, + entities: [], + }, + { + value: 'nature.SAC', + description: 'Special Area of Conservation (SAC)', + intersects: false, + }, + { + value: 'nature.SPA', + description: 'Special Protection Area (SPA)', + intersects: false, + }, + { + value: 'nature.ASNW', + description: 'Ancient Semi-Natural Woodland (ASNW)', + intersects: false, + }, + { + value: 'nature.SSSI', + description: 'Site of Special Scientific Interest (SSSI)', + intersects: false, + }, + { + value: 'brownfieldSite', + description: 'Brownfield site', + intersects: false, + }, + { + value: 'designated.WHS', + description: 'UNESCO World Heritage Site or buffer zone', + intersects: false, + }, + { + value: 'listed.grade.I', + description: 'Listed Building - Grade I', + intersects: false, + }, + { + value: 'registeredPark', + description: 'Historic Park or Garden', + intersects: false, + }, + { + value: 'designated.AONB', + description: 'Area of Outstanding Natural Beauty (AONB)', + intersects: false, + }, + { + value: 'listed.grade.II', + description: 'Listed Building - Grade II', + intersects: true, + entities: [], + }, + { + value: 'listed.grade.II*', + description: 'Listed Building - Grade II*', + intersects: false, + }, + { + value: 'nature.ramsarSite', + description: 'Ramsar site', + intersects: false, + }, + { + value: 'designated.nationalPark', + description: 'National Park', + intersects: false, + }, + { + value: 'designated.conservationArea', + description: 'Conservation Area', + intersects: true, + entities: [ + { + name: 'Hackford Road', + source: { + text: 'Planning Data', + url: 'https://www.planning.data.gov.uk/entity/44000877', + }, + }, + ], + }, + { + value: 'designated.nationalPark.broads', + description: 'National Park - Broads', + intersects: false, + }, + { + value: 'road.classified', + description: 'Classified Road', + 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: { + type: { + value: 'pa.part3.classMA', + description: + 'Prior Approval - Convert a commercial building into a home or homes', + }, + fee: { + calculated: 258, + payable: 258, + category: { + one: 0, + two: 0, + three: 0, + four: 0, + five: 0, + sixAndSeven: 0, + eight: 0, + nine: 0, + ten: 0, + eleven: { + one: 0, + two: 0, + }, + twelve: { + one: 0, + two: 0, + }, + thirteen: 0, + fourteen: 0, + }, + exemption: { + disability: false, + resubmission: false, + }, + reduction: { + sports: false, + parishCouncil: false, + alternative: false, + }, + reference: { + govPay: 'p88epskokjikus74eafr36tfc1', + }, + }, + leadDeveloper: { + type: 'overseasCompany', + company: { + name: 'Impression Developments Inc.', + registrationNumber: '12345679ABC', + }, + }, + declaration: { + accurate: true, + connection: { + value: 'none', + }, + }, + }, + proposal: { + projectType: [ + { + value: 'changeOfUse', + description: 'Change the use of a building', + }, + ], + 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, + }, + }, + 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: [ + { + value: 'noiseAssessment', + description: 'Noise assessment', + }, + ], + }, + { + name: 'https://api.editor.planx.dev/file/private/2mrowm3t/test%20document.pdf', + type: [ + { + value: 'usePlan.proposed', + description: 'Use plan - proposed', + }, + { + value: 'sitePlan.proposed', + description: 'Site plan - proposed', + }, + ], + }, + { + name: 'https://api.editor.planx.dev/file/private/eu61v4yk/test%20document.pdf', + type: [ + { + value: 'sitePlan.existing', + description: 'Site plan - existing', + }, + ], + }, + { + name: 'https://api.editor.planx.dev/file/private/fd7o1wnh/test%20document.pdf', + type: [ + { + value: 'sunlightAndDaylightReport', + description: 'Sunlight and daylight report', + }, + ], + }, + ], + 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.uk/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/data/priorApproval/extendUniversity.ts b/examples/data/priorApproval/extendUniversity.ts new file mode 100644 index 00000000..690907d7 --- /dev/null +++ b/examples/data/priorApproval/extendUniversity.ts @@ -0,0 +1,1803 @@ +import {Schema} from '../../../types/Schema'; + +const version = process.env['VERSION'] || '@next'; + +export const priorApprovalExtendUniversity: Schema = { + 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: { + value: 'commercial.education.university', + description: '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', + description: 'Tree Preservation Order (TPO) or zone', + intersects: false, + }, + { + value: 'flood', + description: 'Flood Risk Zone', + intersects: false, + }, + { + value: 'listed', + description: 'Listed Building', + intersects: false, + }, + { + value: 'article4', + description: 'Article 4 Direction area', + intersects: true, + entities: [ + { + name: 'Basements', + source: { + text: 'Planning Data', + url: 'https://www.planning.data.gov.uk/entity/7010002613', + }, + }, + ], + }, + { + value: 'monument', + description: 'Site of a Scheduled Monument', + intersects: false, + }, + { + value: 'greenBelt', + description: 'Green Belt', + intersects: false, + }, + { + value: 'designated', + description: 'Designated land', + intersects: true, + entities: [], + }, + { + value: 'nature.SAC', + description: 'Special Area of Conservation (SAC)', + intersects: false, + }, + { + value: 'nature.SPA', + description: 'Special Protection Area (SPA)', + intersects: false, + }, + { + value: 'nature.ASNW', + description: 'Ancient Semi-Natural Woodland (ASNW)', + intersects: false, + }, + { + value: 'nature.SSSI', + description: 'Site of Special Scientific Interest (SSSI)', + intersects: false, + }, + { + value: 'brownfieldSite', + description: 'Brownfield site', + intersects: false, + }, + { + value: 'designated.WHS', + description: 'UNESCO World Heritage Site or buffer zone', + intersects: false, + }, + { + value: 'registeredPark', + description: 'Historic Park or Garden', + intersects: false, + }, + { + value: 'designated.AONB', + description: 'Area of Outstanding Natural Beauty (AONB)', + intersects: false, + }, + { + value: 'nature.ramsarSite', + description: 'Ramsar site', + intersects: false, + }, + { + value: 'designated.nationalPark', + description: 'National Park', + intersects: false, + }, + { + value: 'designated.conservationArea', + description: 'Conservation Area', + intersects: true, + entities: [ + { + name: 'Highgate Village', + source: { + text: 'Planning Data', + url: 'https://www.planning.data.gov.uk/entity/44009654', + }, + }, + ], + }, + { + value: 'designated.nationalPark.broads', + description: 'National Park - Broads', + intersects: false, + }, + { + value: 'road.classified', + description: 'Classified Road', + 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: { + type: { + value: 'pa.part7.classM', + description: + 'Prior Approval - Extend a school, college, university, prison or hospital', + }, + fee: { + calculated: 120, + payable: 120, + category: { + one: 0, + two: 0, + three: 0, + four: 0, + five: 0, + sixAndSeven: 0, + eight: 0, + nine: 0, + ten: 0, + eleven: { + one: 0, + two: 0, + }, + twelve: { + one: 0, + two: 0, + }, + thirteen: 0, + fourteen: 0, + }, + exemption: { + disability: false, + resubmission: false, + }, + reduction: { + sports: false, + parishCouncil: false, + alternative: false, + }, + reference: { + govPay: '90u259k4b9qh4tn2h220ui2um3', + }, + }, + leadDeveloper: { + type: 'ukCompany', + company: { + name: 'Fit For Cabbages Developments', + registrationNumber: '12345679ABC', + }, + }, + declaration: { + accurate: true, + connection: { + value: 'none', + }, + }, + }, + proposal: { + projectType: [ + { + value: 'extend', + description: 'Extend a building or add an outbuilding', + }, + ], + 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: [ + { + value: 'otherDocument', + description: 'Other - document', + }, + ], + }, + { + name: 'https://api.editor.planx.dev/file/private/p3e01fea/test%20document.pdf', + type: [ + { + value: 'sitePlan.proposed', + description: 'Site plan - proposed', + }, + { + value: 'elevations.existing', + description: 'Elevations - existing', + }, + { + value: 'elevations.proposed', + description: '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/data/priorApproval/solarPanels.ts b/examples/data/priorApproval/solarPanels.ts index 41eef2d7..69725869 100644 --- a/examples/data/priorApproval/solarPanels.ts +++ b/examples/data/priorApproval/solarPanels.ts @@ -4,51 +4,18 @@ const version = process.env['VERSION'] || '@next'; export const priorApprovalSolarPanels: Schema = { data: { - application: { - type: { - value: 'pa.part14.classJ', - description: 'Prior Approval - Install or change solar panels', - }, - fee: { - calculated: 120, - payable: 120, - exemption: { - disability: false, - resubmission: false, - }, - reduction: { - sports: false, - parishCouncil: false, - alternative: false, - }, - reference: { - govPay: 'sandbox-ref-789', - }, - }, - declaration: { - accurate: true, - connection: { - value: 'relation.electedMember', - description: - 'I think the King is but a man, as I am. The violet smells to him as it doth to me. The element shows to him as it doth to me. All his senses have but human conditions. His ceremonies laid by, in his nakedness he appears but a man.', - }, - }, - }, user: { role: 'applicant', }, applicant: { - type: 'company', + type: 'individual', name: { - first: 'William', + first: 'Bill', last: 'Shakespeare', }, - email: 'thebard@example.com', + email: 'byanyothername@email.org', phone: { - primary: '2830407283', - }, - company: { - name: "Lord Chamberlain's Men", + primary: '012345678901', }, address: { sameAsSiteAddress: true, @@ -59,194 +26,177 @@ export const priorApprovalSolarPanels: Schema = { }, property: { address: { - latitude: 51.5081109, - longitude: -0.0965974, + latitude: 51.5081124, + longitude: -0.0965717, x: 532192, y: 180515, title: 'INTERNATIONAL SHAKESPEARE GLOBE CENTRE LTD, SHAKESPEARE GLOBE THEATRE, 21, NEW GLOBE WALK, LONDON', - singleLine: - 'INTERNATIONAL SHAKESPEARE GLOBE CENTRE LTD, SHAKESPEARE GLOBE THEATRE, 21, NEW GLOBE WALK, LONDON, SE1 9DT', source: 'Ordnance Survey', uprn: '200003377200', usrn: '22503078', - pao: '21', + 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: { + value: 'commercial.leisure.entertainment', + description: + 'Bingo Hall / Cinema / Conference / Exhibition Centre / Theatre / Concert Hall', }, boundary: { site: { type: 'Feature', geometry: { - type: 'Polygon', + type: 'MultiPolygon', coordinates: [ [ - [-0.0967472791671659, 51.50830340605074], - [-0.09676337242125525, 51.50830507546084], - [-0.09689748287199977, 51.50831926544436], - [-0.09693503379820824, 51.50790775412855], - [-0.09666681289671919, 51.50789439872946], - [-0.09645719784644384, 51.507889747624404], - [-0.09639290535660058, 51.50828278342658], - [-0.0967472791671659, 51.50830340605074], + [ + [-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: null, + 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.152757, - squareMetres: 1527.57, + hectares: 0.424414, + squareMetres: 4244.14, }, }, - planning: { - sources: [ - 'https://api.editor.planx.dev/gis/southwark?geom=POLYGON+%28%28-0.0967472791671659+51.50830340605074%2C+-0.09676337242125525+51.50830507546084%2C+-0.09689748287199977+51.50831926544436%2C+-0.09693503379820824+51.50790775412855%2C+-0.09666681289671919+51.50789439872946%2C+-0.09645719784644384+51.507889747624404%2C+-0.09639290535660058+51.50828278342658%2C+-0.0967472791671659+51.50830340605074%29%29&analytics=false&sessionId=b18c301b-9d44-4c6c-8d27-5b5bf33c570b', - 'https://api.editor.planx.dev/roads?usrn=22503078', - ], - designations: [ - { - value: 'article4', - description: 'Article 4 Direction area', - intersects: true, - entities: [ - { - name: 'Central Activities Zone', - description: - 'Change of use from offices to dwelling houses is restricted', - source: { - text: 'Planning Data', - url: 'https://www.planning.data.gov.uk/entity/7010000942', - }, - }, - { - name: 'Central Activities Zone', - description: - 'Demolition of commercial buildings and construction of new dwellinghouses is restricted', - source: { - text: 'Planning Data', - url: 'https://www.planning.data.gov.uk/entity/7010000944', - }, - }, - { - name: 'Bankside and Borough District Town Centre', - description: - 'Demolition of commercial buildings and construction of new dwellinghouses is restricted', - source: { - text: 'Planning Data', - url: 'https://www.planning.data.gov.uk/entity/7010001042', - }, - }, - { - name: 'Central Activities Zone', - description: - 'Change of use from Class E to residential is restricted', - source: { - text: 'Planning Data', - url: 'https://www.planning.data.gov.uk/entity/7010001055', - }, - }, - { - name: 'Bankside and Borough District Town Centre', - description: - 'Change of use from Class E to residential is restricted', - source: { - text: 'Planning Data', - url: 'https://www.planning.data.gov.uk/entity/7010001153', - }, - }, - ], - }, - { - value: 'article4.caz', - description: 'Central Activities Zone (CAZ)', - intersects: true, - entities: [], - }, - { - value: 'tpo', - description: 'Tree Preservation Order (TPO) or zone', - intersects: false, - }, - { - value: 'listed', - description: 'Listed Building', - intersects: false, - }, - { - value: 'monument', - description: 'Site of a Scheduled Monument', - intersects: false, - }, - { - value: 'designated', - description: 'Designated land', - intersects: false, - }, - { - value: 'nature.SAC', - description: 'Special Area of Conservation (SAC)', - intersects: false, - }, - { - value: 'nature.ASNW', - description: 'Ancient Semi-Natural Woodland (ASNW)', - intersects: false, - }, - { - value: 'nature.SSSI', - description: 'Site of Special Scientific Interest (SSSI)', - intersects: false, - }, - { - value: 'locallyListed', - description: 'Locally Listed Building', - intersects: false, - }, - { - value: 'nature.SPA', - description: 'Special Protection Area (SPA)', - intersects: false, - }, - { - value: 'designated.WHS', - description: 'UNESCO World Heritage Site or buffer zone', - intersects: false, - }, - { - value: 'registeredPark', - description: 'Historic Park or Garden', - intersects: false, - }, - { - value: 'designated.AONB', - description: 'Area of Outstanding Natural Beauty (AONB)', - intersects: false, - }, - { - value: 'designated.conservationArea', - description: 'Conservation Area', - intersects: false, + 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, }, - { - value: 'designated.nationalPark.broads', - description: 'National Park - Broads', - intersects: false, + }, + other: { + count: 0, + }, + }, + }, + application: { + type: { + value: 'pa.part14.classJ', + description: 'Prior Approval - Install or change solar panels', + }, + fee: { + calculated: 120, + payable: 120, + category: { + one: 0, + two: 0, + three: 0, + four: 0, + five: 0, + sixAndSeven: 0, + eight: 0, + nine: 0, + ten: 0, + eleven: { + one: 0, + two: 0, }, - { - value: 'road.classified', - description: 'Classified Road', - intersects: false, + twelve: { + one: 0, + two: 0, }, - ], + thirteen: 0, + fourteen: 0, + }, + exemption: { + disability: false, + resubmission: false, + }, + reduction: { + sports: false, + parishCouncil: false, + alternative: false, + }, + reference: { + govPay: 'mfm6s5irae9bh5g75p3ks5opng', + }, }, - localAuthorityDistrict: ['Southwark'], - region: 'London', - type: { - value: 'commercial.leisure.entertainment', - description: - 'Bingo Hall / Cinema / Conference / Exhibition Centre / Theatre / Concert Hall', + declaration: { + accurate: true, + connection: { + value: 'none', + }, }, }, proposal: { @@ -256,30 +206,111 @@ export const priorApprovalSolarPanels: Schema = { description: 'Install solar panels', }, ], - description: '@todo not provided in Prior Approval', + description: 'Not provided', + date: { + start: '2024-07-28', + completion: '2030-07-28', + }, boundary: { site: { type: 'Feature', geometry: { - type: 'Polygon', + type: 'MultiPolygon', coordinates: [ [ - [-0.0967472791671659, 51.50830340605074], - [-0.09676337242125525, 51.50830507546084], - [-0.09689748287199977, 51.50831926544436], - [-0.09693503379820824, 51.50790775412855], - [-0.09666681289671919, 51.50789439872946], - [-0.09645719784644384, 51.507889747624404], - [-0.09639290535660058, 51.50828278342658], - [-0.0967472791671659, 51.50830340605074], + [ + [-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: null, + 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.152757, - squareMetres: 1527.57, + 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, }, }, }, @@ -294,58 +325,118 @@ export const priorApprovalSolarPanels: Schema = { responses: [ { question: 'Is the property in Southwark?', - responses: [{value: 'Yes'}], - metadata: {autoAnswered: true, sectionName: 'The property'}, + 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'}, + 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'}, + 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'}, + responses: [ + { + value: 'Entertainment', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'The property', + }, }, { question: 'Have the works already started?', - responses: [{value: 'No'}], - metadata: {sectionName: 'About the project'}, + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About the project', + }, }, { question: 'Describe the project.', responses: [ { value: - 'Addition of solar panels in order to power the globe with green energy.', + 'Installation of solar panels on the roof of the globe theatre', }, ], - metadata: {sectionName: 'About the project'}, + metadata: { + sectionName: 'About the project', + }, }, { question: 'What type of property is it?', - responses: [{value: 'Commercial building'}], - metadata: {autoAnswered: true, sectionName: 'About the project'}, + 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'}, + 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'}, + 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'}], + responses: [ + { + value: 'Yes', + }, + ], metadata: { policyRefs: [ { @@ -366,7 +457,9 @@ export const priorApprovalSolarPanels: Schema = { responses: [ { value: 'No', - metadata: {flags: ['Planning permission / Permitted development']}, + metadata: { + flags: ['Planning permission / Permitted development'], + }, }, ], metadata: { @@ -384,11 +477,12 @@ export const priorApprovalSolarPanels: Schema = { responses: [ { value: 'No', - metadata: {flags: ['Planning permission / Permitted development']}, + metadata: { + flags: ['Planning permission / Permitted development'], + }, }, ], metadata: { - autoAnswered: true, policyRefs: [ { text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class J', @@ -403,11 +497,12 @@ export const priorApprovalSolarPanels: Schema = { responses: [ { value: 'No', - metadata: {flags: ['Planning permission / Permitted development']}, + metadata: { + flags: ['Planning permission / Permitted development'], + }, }, ], metadata: { - autoAnswered: true, policyRefs: [ { text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class J', @@ -419,39 +514,23 @@ export const priorApprovalSolarPanels: Schema = { }, { 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: 'Both pitched and flat'}], - metadata: {sectionName: 'About the project'}, - }, - { - question: 'Is the property in a conservation area?', - responses: [{value: 'No'}], + responses: [ + { + value: 'On roofs', + }, + ], metadata: { - autoAnswered: true, - policyRefs: [ - { - text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 S.2.P.14. .A.1 (c)', - url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/14', - }, - ], sectionName: 'About the project', }, }, { - question: 'Is the property in a world heritage site?', - responses: [{value: 'No'}], + question: 'What type of roofs are they?', + responses: [ + { + value: 'Pitched', + }, + ], metadata: { - autoAnswered: true, - policyRefs: [ - { - text: 'The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class A.1 (c)', - url: 'https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/14', - }, - ], sectionName: 'About the project', }, }, @@ -461,7 +540,9 @@ export const priorApprovalSolarPanels: Schema = { responses: [ { value: '0.2m or less', - metadata: {flags: ['Planning permission / Permitted development']}, + metadata: { + flags: ['Planning permission / Permitted development'], + }, }, ], metadata: { @@ -475,17 +556,19 @@ export const priorApprovalSolarPanels: Schema = { }, }, { - question: 'How high are the new solar panels compared to the flat roofs?', + question: 'How far are the new solar panels from the edge of the roof?', responses: [ { - value: '1m or less higher than the roof', - metadata: {flags: ['Planning permission / Permitted development']}, + 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 A', + 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', }, ], @@ -493,40 +576,30 @@ export const priorApprovalSolarPanels: Schema = { }, }, { - question: 'How far are the new solar panels from the edge of the roof?', + question: 'What do you want to install?', responses: [ { - value: '1m or more from the edge of the roof', - metadata: {flags: ['Planning permission / Permitted development']}, + value: 'Solar photovoltaics (PV)', }, ], 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: 'Between 50kW and 1,000kW (1 MW)', - metadata: {flags: ['Planning permission / Prior approval']}, + 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.3', + 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', }, ], @@ -538,7 +611,9 @@ export const priorApprovalSolarPanels: Schema = { responses: [ { value: 'OK', - metadata: {flags: ['Planning permission / Permitted development']}, + metadata: { + flags: ['Planning permission / Permitted development'], + }, }, ], metadata: { @@ -557,121 +632,486 @@ export const priorApprovalSolarPanels: Schema = { }, { question: 'What type of property is it?', - responses: [{value: 'Another use'}], - metadata: {sectionName: 'About the project'}, - }, + responses: [ + { + value: 'Another use', + }, + ], + metadata: { + sectionName: 'About the project', + }, + }, { question: 'Select your project', - responses: [{value: 'Install solar panels'}], - metadata: {sectionName: 'About the 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'}, + 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: 'Yes'}], - metadata: {autoAnswered: true, sectionName: 'About the project'}, + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About the project', + }, }, { - question: 'List all the changes involved in the project', - responses: [{value: 'Install solar panels'}], - metadata: {autoAnswered: true, 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: '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'}, + responses: [ + { + value: 'No', + }, + ], + metadata: { + sectionName: 'About you', + }, }, { question: 'Which of these best describes you?', - responses: [{value: 'Company'}], - metadata: {sectionName: 'About you'}, + responses: [ + { + value: 'Private individual', + }, + ], + metadata: { + sectionName: 'About you', + }, }, { question: 'Your contact details', responses: [ { - value: - "Mr William Shakespeare Lord Chamberlain's Men 2830407283 thebard@example.com", + value: 'Bill Shakespeare 012345678901 byanyothername@email.org', }, ], - metadata: {sectionName: 'About you'}, + metadata: { + sectionName: 'About you', + }, }, { question: 'Is your contact address the same as the property address?', - responses: [{value: 'Yes'}], - metadata: {sectionName: 'About you'}, + 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'}, + 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'}, + 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'}, + 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: "Manufacturer's specification document"}], - metadata: {sectionName: 'Upload drawings'}, - }, - { - question: 'Do you want to upload any photographs?', - responses: [{value: 'No'}], - metadata: {sectionName: 'Upload drawings'}, + responses: [ + { + value: 'Section drawing of the building', + }, + ], + metadata: { + sectionName: 'Upload drawings', + }, }, { - question: - 'Would you like to upload any additional drawings, documents or images?', - 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 planning application are you making?', - responses: [{value: 'Prior approval'}], - 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: 'What type of prior approval application is it?', - responses: [{value: 'Install or change solar panels'}], - metadata: {autoAnswered: true, sectionName: 'Check your application'}, + 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'}, + 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'}, + 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'}, + 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'}], + responses: [ + { + value: 'No', + }, + ], metadata: { policyRefs: [ { @@ -688,23 +1128,48 @@ export const priorApprovalSolarPanels: Schema = { }, { question: 'What type of prior approval application is it?', - responses: [{value: 'Install or change solar panels'}], - metadata: {autoAnswered: true, sectionName: 'Check your application'}, + 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'}, + 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'}, + 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'}], + responses: [ + { + value: 'No', + }, + ], metadata: { autoAnswered: true, policyRefs: [ @@ -717,29 +1182,51 @@ export const priorApprovalSolarPanels: Schema = { }, }, { - question: 'Which Local Planning authority is it?', - responses: [{value: 'Southwark'}], - metadata: {autoAnswered: true, sectionName: 'Check your application'}, + question: 'Check for multiple fees?', + responses: [ + { + value: 'No', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Check your application', + }, }, { - question: 'Describe your connection', + question: 'What type of application is it?', responses: [ { - value: - 'I think the King is but a man, as I am. The violet smells to him as it doth to me. The element shows to him as it doth to me. All his senses have but human conditions. His ceremonies laid by, in his nakedness he appears but a man.', + value: 'Prior approval', }, ], - metadata: {sectionName: 'Check your application'}, + 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: - 'I am related to, or partnered with, an elected member for Southwark Council', + value: 'None of the above apply to me', }, ], - metadata: {sectionName: 'Check your application'}, + metadata: { + sectionName: 'Check your application', + }, }, { question: 'I confirm that:', @@ -749,31 +1236,48 @@ export const priorApprovalSolarPanels: Schema = { 'The information contained in this application is truthful, accurate and complete, to the best of my knowledge', }, ], - metadata: {sectionName: 'Check your application'}, + metadata: { + sectionName: 'Check your application', + }, }, { question: 'Which Local Planning authority is it?', - responses: [{value: 'Southwark'}], - metadata: {autoAnswered: true, sectionName: 'Pay and submit'}, + responses: [ + { + value: 'Southwark', + }, + ], + metadata: { + autoAnswered: true, + sectionName: 'Pay and submit', + }, }, { - question: 'What type of prior approval application is it?', - responses: [{value: 'Install or change solar panels'}], - 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/5w5v8s8z/other.pdf', + name: 'https://api.editor.planx.dev/file/private/mq2iovsi/test%20document.pdf', type: [ { - value: 'otherDrawing', - description: 'Other - drawing', + value: 'sections.proposed', + description: 'Sections - proposed', }, ], }, { - name: 'https://api.editor.planx.dev/file/private/tbp4kiba/myPlans.pdf', + name: 'https://api.editor.planx.dev/file/private/czxk98ug/test%20document.pdf', type: [ { value: 'sitePlan.proposed', @@ -783,26 +1287,43 @@ export const priorApprovalSolarPanels: Schema = { }, ], metadata: { + id: 'dee911d0-48b4-438c-96b6-2bb12ae46335', organisation: 'SWK', - id: 'b18c301b-9d44-4c6c-8d27-5b5bf33c570b', + submittedAt: '2024-06-29T13:06:44.801Z', source: 'PlanX', service: { flowId: 'c6628103-c648-4663-81e1-bfa0a1a18340', - url: 'https://www.editor.planx.dev/southwark/apply-for-prior-approval/preview', + 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', }, - ], - recommended: [ { - value: 'sitePlan.proposed', - description: 'Site plan - proposed', + value: 'otherDocument', + description: 'Other - document', + }, + { + value: 'visualisations', + description: 'Visualisations', }, ], - optional: [], }, fee: { calculated: [ @@ -817,17 +1338,12 @@ export const priorApprovalSolarPanels: Schema = { ], payable: [ { - 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', - }, - ], + description: + '

This application does not qualify for any exemptions or reductions

', }, ], }, }, - submittedAt: '2023-10-02T00:00:00Z', schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schema.json`, }, }; diff --git a/examples/priorApproval/buildHomes.json b/examples/priorApproval/buildHomes.json new file mode 100644 index 00000000..84950f74 --- /dev/null +++ b/examples/priorApproval/buildHomes.json @@ -0,0 +1,1910 @@ +{ + "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": { + "value": "commercial.office", + "description": "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", + "description": "Tree Preservation Order (TPO) or zone", + "intersects": false + }, + { + "value": "flood", + "description": "Flood Risk Zone", + "intersects": false + }, + { + "value": "listed", + "description": "Listed Building", + "intersects": false + }, + { + "value": "article4", + "description": "Article 4 Direction area", + "intersects": false + }, + { + "value": "monument", + "description": "Site of a Scheduled Monument", + "intersects": false + }, + { + "value": "greenBelt", + "description": "Green Belt", + "intersects": false + }, + { + "value": "designated", + "description": "Designated land", + "intersects": false + }, + { + "value": "nature.SAC", + "description": "Special Area of Conservation (SAC)", + "intersects": false + }, + { + "value": "nature.SPA", + "description": "Special Protection Area (SPA)", + "intersects": false + }, + { + "value": "nature.ASNW", + "description": "Ancient Semi-Natural Woodland (ASNW)", + "intersects": false + }, + { + "value": "nature.SSSI", + "description": "Site of Special Scientific Interest (SSSI)", + "intersects": false + }, + { + "value": "brownfieldSite", + "description": "Brownfield site", + "intersects": false + }, + { + "value": "designated.WHS", + "description": "UNESCO World Heritage Site or buffer zone", + "intersects": false + }, + { + "value": "registeredPark", + "description": "Historic Park or Garden", + "intersects": false + }, + { + "value": "designated.AONB", + "description": "Area of Outstanding Natural Beauty (AONB)", + "intersects": false + }, + { + "value": "nature.ramsarSite", + "description": "Ramsar site", + "intersects": false + }, + { + "value": "designated.nationalPark", + "description": "National Park", + "intersects": false + }, + { + "value": "designated.conservationArea", + "description": "Conservation Area", + "intersects": false + }, + { + "value": "designated.nationalPark.broads", + "description": "National Park - Broads", + "intersects": false + }, + { + "value": "road.classified", + "description": "Classified Road", + "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": { + "type": { + "value": "pa.part20.classAB", + "description": "Prior Approval - Build homes on an adjoining commercial or mixed use building" + }, + "fee": { + "calculated": 4510, + "payable": 0, + "category": { + "one": 0, + "two": 0, + "three": 0, + "four": 0, + "five": 0, + "sixAndSeven": 0, + "eight": 0, + "nine": 0, + "ten": 0, + "eleven": { + "one": 0, + "two": 0 + }, + "twelve": { + "one": 0, + "two": 0 + }, + "thirteen": 0, + "fourteen": 0 + }, + "exemption": { + "disability": false, + "resubmission": true + }, + "reduction": { + "sports": false, + "parishCouncil": false, + "alternative": false + } + }, + "declaration": { + "accurate": true, + "connection": { + "value": "none" + } + } + }, + "proposal": { + "projectType": [ + { + "value": "new.residential.dwelling", + "description": "Build new homes on a roof" + } + ], + "description": "The addition of homes as upper storeys to the existing commercial premises.", + "date": {}, + "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": [ + { + "value": "noiseAssessment", + "description": "Noise assessment" + } + ] + }, + { + "name": "https://api.editor.planx.dev/file/private/kk01qq8t/test%20document.pdf", + "type": [ + { + "value": "roofPlan.proposed", + "description": "Roof plan - proposed" + }, + { + "value": "sections.existing", + "description": "Sections - existing" + }, + { + "value": "sections.proposed", + "description": "Sections - proposed" + }, + { + "value": "floorPlan.existing", + "description": "Floor plan - existing" + }, + { + "value": "floorPlan.proposed", + "description": "Floor plan - proposed" + }, + { + "value": "elevations.existing", + "description": "Elevations - existing" + }, + { + "value": "elevations.proposed", + "description": "Elevations - proposed" + } + ] + }, + { + "name": "https://api.editor.planx.dev/file/private/knu6huv7/test%20document.pdf", + "type": [ + { + "value": "sitePlan.proposed", + "description": "Site plan - 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/priorApproval/convertCommercialToHome.json b/examples/priorApproval/convertCommercialToHome.json new file mode 100644 index 00000000..5c3bcd22 --- /dev/null +++ b/examples/priorApproval/convertCommercialToHome.json @@ -0,0 +1,1641 @@ +{ + "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": { + "value": "commercial.retail.shop", + "description": "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", + "description": "Tree Preservation Order (TPO) or zone", + "intersects": false + }, + { + "value": "flood", + "description": "Flood Risk Zone", + "intersects": false + }, + { + "value": "listed", + "description": "Listed Building", + "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", + "description": "Article 4 Direction area", + "intersects": false + }, + { + "value": "monument", + "description": "Site of a Scheduled Monument", + "intersects": false + }, + { + "value": "greenBelt", + "description": "Green Belt", + "intersects": false + }, + { + "value": "designated", + "description": "Designated land", + "intersects": true, + "entities": [] + }, + { + "value": "nature.SAC", + "description": "Special Area of Conservation (SAC)", + "intersects": false + }, + { + "value": "nature.SPA", + "description": "Special Protection Area (SPA)", + "intersects": false + }, + { + "value": "nature.ASNW", + "description": "Ancient Semi-Natural Woodland (ASNW)", + "intersects": false + }, + { + "value": "nature.SSSI", + "description": "Site of Special Scientific Interest (SSSI)", + "intersects": false + }, + { + "value": "brownfieldSite", + "description": "Brownfield site", + "intersects": false + }, + { + "value": "designated.WHS", + "description": "UNESCO World Heritage Site or buffer zone", + "intersects": false + }, + { + "value": "listed.grade.I", + "description": "Listed Building - Grade I", + "intersects": false + }, + { + "value": "registeredPark", + "description": "Historic Park or Garden", + "intersects": false + }, + { + "value": "designated.AONB", + "description": "Area of Outstanding Natural Beauty (AONB)", + "intersects": false + }, + { + "value": "listed.grade.II", + "description": "Listed Building - Grade II", + "intersects": true, + "entities": [] + }, + { + "value": "listed.grade.II*", + "description": "Listed Building - Grade II*", + "intersects": false + }, + { + "value": "nature.ramsarSite", + "description": "Ramsar site", + "intersects": false + }, + { + "value": "designated.nationalPark", + "description": "National Park", + "intersects": false + }, + { + "value": "designated.conservationArea", + "description": "Conservation Area", + "intersects": true, + "entities": [ + { + "name": "Hackford Road", + "source": { + "text": "Planning Data", + "url": "https://www.planning.data.gov.uk/entity/44000877" + } + } + ] + }, + { + "value": "designated.nationalPark.broads", + "description": "National Park - Broads", + "intersects": false + }, + { + "value": "road.classified", + "description": "Classified Road", + "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": { + "type": { + "value": "pa.part3.classMA", + "description": "Prior Approval - Convert a commercial building into a home or homes" + }, + "fee": { + "calculated": 258, + "payable": 258, + "category": { + "one": 0, + "two": 0, + "three": 0, + "four": 0, + "five": 0, + "sixAndSeven": 0, + "eight": 0, + "nine": 0, + "ten": 0, + "eleven": { + "one": 0, + "two": 0 + }, + "twelve": { + "one": 0, + "two": 0 + }, + "thirteen": 0, + "fourteen": 0 + }, + "exemption": { + "disability": false, + "resubmission": false + }, + "reduction": { + "sports": false, + "parishCouncil": false, + "alternative": false + }, + "reference": { + "govPay": "p88epskokjikus74eafr36tfc1" + } + }, + "leadDeveloper": { + "type": "overseasCompany", + "company": { + "name": "Impression Developments Inc.", + "registrationNumber": "12345679ABC" + } + }, + "declaration": { + "accurate": true, + "connection": { + "value": "none" + } + } + }, + "proposal": { + "projectType": [ + { + "value": "changeOfUse", + "description": "Change the use of a building" + } + ], + "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 + } + }, + "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": [ + { + "value": "noiseAssessment", + "description": "Noise assessment" + } + ] + }, + { + "name": "https://api.editor.planx.dev/file/private/2mrowm3t/test%20document.pdf", + "type": [ + { + "value": "usePlan.proposed", + "description": "Use plan - proposed" + }, + { + "value": "sitePlan.proposed", + "description": "Site plan - proposed" + } + ] + }, + { + "name": "https://api.editor.planx.dev/file/private/eu61v4yk/test%20document.pdf", + "type": [ + { + "value": "sitePlan.existing", + "description": "Site plan - existing" + } + ] + }, + { + "name": "https://api.editor.planx.dev/file/private/fd7o1wnh/test%20document.pdf", + "type": [ + { + "value": "sunlightAndDaylightReport", + "description": "Sunlight and daylight report" + } + ] + } + ], + "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.uk/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/priorApproval/extendUniversity.json b/examples/priorApproval/extendUniversity.json new file mode 100644 index 00000000..d6e8d413 --- /dev/null +++ b/examples/priorApproval/extendUniversity.json @@ -0,0 +1,1820 @@ +{ + "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": { + "value": "commercial.education.university", + "description": "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", + "description": "Tree Preservation Order (TPO) or zone", + "intersects": false + }, + { + "value": "flood", + "description": "Flood Risk Zone", + "intersects": false + }, + { + "value": "listed", + "description": "Listed Building", + "intersects": false + }, + { + "value": "article4", + "description": "Article 4 Direction area", + "intersects": true, + "entities": [ + { + "name": "Basements", + "source": { + "text": "Planning Data", + "url": "https://www.planning.data.gov.uk/entity/7010002613" + } + } + ] + }, + { + "value": "monument", + "description": "Site of a Scheduled Monument", + "intersects": false + }, + { + "value": "greenBelt", + "description": "Green Belt", + "intersects": false + }, + { + "value": "designated", + "description": "Designated land", + "intersects": true, + "entities": [] + }, + { + "value": "nature.SAC", + "description": "Special Area of Conservation (SAC)", + "intersects": false + }, + { + "value": "nature.SPA", + "description": "Special Protection Area (SPA)", + "intersects": false + }, + { + "value": "nature.ASNW", + "description": "Ancient Semi-Natural Woodland (ASNW)", + "intersects": false + }, + { + "value": "nature.SSSI", + "description": "Site of Special Scientific Interest (SSSI)", + "intersects": false + }, + { + "value": "brownfieldSite", + "description": "Brownfield site", + "intersects": false + }, + { + "value": "designated.WHS", + "description": "UNESCO World Heritage Site or buffer zone", + "intersects": false + }, + { + "value": "registeredPark", + "description": "Historic Park or Garden", + "intersects": false + }, + { + "value": "designated.AONB", + "description": "Area of Outstanding Natural Beauty (AONB)", + "intersects": false + }, + { + "value": "nature.ramsarSite", + "description": "Ramsar site", + "intersects": false + }, + { + "value": "designated.nationalPark", + "description": "National Park", + "intersects": false + }, + { + "value": "designated.conservationArea", + "description": "Conservation Area", + "intersects": true, + "entities": [ + { + "name": "Highgate Village", + "source": { + "text": "Planning Data", + "url": "https://www.planning.data.gov.uk/entity/44009654" + } + } + ] + }, + { + "value": "designated.nationalPark.broads", + "description": "National Park - Broads", + "intersects": false + }, + { + "value": "road.classified", + "description": "Classified Road", + "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": { + "type": { + "value": "pa.part7.classM", + "description": "Prior Approval - Extend a school, college, university, prison or hospital" + }, + "fee": { + "calculated": 120, + "payable": 120, + "category": { + "one": 0, + "two": 0, + "three": 0, + "four": 0, + "five": 0, + "sixAndSeven": 0, + "eight": 0, + "nine": 0, + "ten": 0, + "eleven": { + "one": 0, + "two": 0 + }, + "twelve": { + "one": 0, + "two": 0 + }, + "thirteen": 0, + "fourteen": 0 + }, + "exemption": { + "disability": false, + "resubmission": false + }, + "reduction": { + "sports": false, + "parishCouncil": false, + "alternative": false + }, + "reference": { + "govPay": "90u259k4b9qh4tn2h220ui2um3" + } + }, + "leadDeveloper": { + "type": "ukCompany", + "company": { + "name": "Fit For Cabbages Developments", + "registrationNumber": "12345679ABC" + } + }, + "declaration": { + "accurate": true, + "connection": { + "value": "none" + } + } + }, + "proposal": { + "projectType": [ + { + "value": "extend", + "description": "Extend a building or add an outbuilding" + } + ], + "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": [ + { + "value": "otherDocument", + "description": "Other - document" + } + ] + }, + { + "name": "https://api.editor.planx.dev/file/private/p3e01fea/test%20document.pdf", + "type": [ + { + "value": "sitePlan.proposed", + "description": "Site plan - proposed" + }, + { + "value": "elevations.existing", + "description": "Elevations - existing" + }, + { + "value": "elevations.proposed", + "description": "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/priorApproval/solarPanels.json b/examples/priorApproval/solarPanels.json index 46ae8b06..a9644fed 100644 --- a/examples/priorApproval/solarPanels.json +++ b/examples/priorApproval/solarPanels.json @@ -1,49 +1,17 @@ { "data": { - "application": { - "type": { - "value": "pa.part14.classJ", - "description": "Prior Approval - Install or change solar panels" - }, - "fee": { - "calculated": 120, - "payable": 120, - "exemption": { - "disability": false, - "resubmission": false - }, - "reduction": { - "sports": false, - "parishCouncil": false, - "alternative": false - }, - "reference": { - "govPay": "sandbox-ref-789" - } - }, - "declaration": { - "accurate": true, - "connection": { - "value": "relation.electedMember", - "description": "I think the King is but a man, as I am. The violet smells to him as it doth to me. The element shows to him as it doth to me. All his senses have but human conditions. His ceremonies laid by, in his nakedness he appears but a man." - } - } - }, "user": { "role": "applicant" }, "applicant": { - "type": "company", + "type": "individual", "name": { - "first": "William", + "first": "Bill", "last": "Shakespeare" }, - "email": "thebard@example.com", + "email": "byanyothername@email.org", "phone": { - "primary": "2830407283" - }, - "company": { - "name": "Lord Chamberlain's Men" + "primary": "012345678901" }, "address": { "sameAsSiteAddress": true @@ -54,212 +22,269 @@ }, "property": { "address": { - "latitude": 51.5081109, - "longitude": -0.0965974, + "latitude": 51.5081124, + "longitude": -0.0965717, "x": 532192, "y": 180515, "title": "INTERNATIONAL SHAKESPEARE GLOBE CENTRE LTD, SHAKESPEARE GLOBE THEATRE, 21, NEW GLOBE WALK, LONDON", - "singleLine": "INTERNATIONAL SHAKESPEARE GLOBE CENTRE LTD, SHAKESPEARE GLOBE THEATRE, 21, NEW GLOBE WALK, LONDON, SE1 9DT", "source": "Ordnance Survey", "uprn": "200003377200", "usrn": "22503078", - "pao": "21", + "pao": "21SHAKESPEARE GLOBE THEATRE", "street": "NEW GLOBE WALK", "town": "LONDON", - "postcode": "SE1 9DT" + "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": { + "value": "commercial.leisure.entertainment", + "description": "Bingo Hall / Cinema / Conference / Exhibition Centre / Theatre / Concert Hall" }, "boundary": { "site": { "type": "Feature", "geometry": { - "type": "Polygon", + "type": "MultiPolygon", "coordinates": [ [ [ - -0.0967472791671659, - 51.50830340605074 - ], - [ - -0.09676337242125525, - 51.50830507546084 - ], - [ - -0.09689748287199977, - 51.50831926544436 - ], - [ - -0.09693503379820824, - 51.50790775412855 - ], - [ - -0.09666681289671919, - 51.50789439872946 - ], - [ - -0.09645719784644384, - 51.507889747624404 - ], - [ - -0.09639290535660058, - 51.50828278342658 - ], - [ - -0.0967472791671659, - 51.50830340605074 + [ + -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": null + "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.152757, - "squareMetres": 1527.57 + "hectares": 0.424414, + "squareMetres": 4244.14 } }, - "planning": { - "sources": [ - "https://api.editor.planx.dev/gis/southwark?geom=POLYGON+%28%28-0.0967472791671659+51.50830340605074%2C+-0.09676337242125525+51.50830507546084%2C+-0.09689748287199977+51.50831926544436%2C+-0.09693503379820824+51.50790775412855%2C+-0.09666681289671919+51.50789439872946%2C+-0.09645719784644384+51.507889747624404%2C+-0.09639290535660058+51.50828278342658%2C+-0.0967472791671659+51.50830340605074%29%29&analytics=false&sessionId=b18c301b-9d44-4c6c-8d27-5b5bf33c570b", - "https://api.editor.planx.dev/roads?usrn=22503078" - ], - "designations": [ - { - "value": "article4", - "description": "Article 4 Direction area", - "intersects": true, - "entities": [ - { - "name": "Central Activities Zone", - "description": "Change of use from offices to dwelling houses is restricted", - "source": { - "text": "Planning Data", - "url": "https://www.planning.data.gov.uk/entity/7010000942" - } - }, - { - "name": "Central Activities Zone", - "description": "Demolition of commercial buildings and construction of new dwellinghouses is restricted", - "source": { - "text": "Planning Data", - "url": "https://www.planning.data.gov.uk/entity/7010000944" - } - }, - { - "name": "Bankside and Borough District Town Centre", - "description": "Demolition of commercial buildings and construction of new dwellinghouses is restricted", - "source": { - "text": "Planning Data", - "url": "https://www.planning.data.gov.uk/entity/7010001042" - } - }, - { - "name": "Central Activities Zone", - "description": "Change of use from Class E to residential is restricted", - "source": { - "text": "Planning Data", - "url": "https://www.planning.data.gov.uk/entity/7010001055" - } - }, - { - "name": "Bankside and Borough District Town Centre", - "description": "Change of use from Class E to residential is restricted", - "source": { - "text": "Planning Data", - "url": "https://www.planning.data.gov.uk/entity/7010001153" - } - } - ] - }, - { - "value": "article4.caz", - "description": "Central Activities Zone (CAZ)", - "intersects": true, - "entities": [] - }, - { - "value": "tpo", - "description": "Tree Preservation Order (TPO) or zone", - "intersects": false - }, - { - "value": "listed", - "description": "Listed Building", - "intersects": false - }, - { - "value": "monument", - "description": "Site of a Scheduled Monument", - "intersects": false - }, - { - "value": "designated", - "description": "Designated land", - "intersects": false - }, - { - "value": "nature.SAC", - "description": "Special Area of Conservation (SAC)", - "intersects": false - }, - { - "value": "nature.ASNW", - "description": "Ancient Semi-Natural Woodland (ASNW)", - "intersects": false - }, - { - "value": "nature.SSSI", - "description": "Site of Special Scientific Interest (SSSI)", - "intersects": false - }, - { - "value": "locallyListed", - "description": "Locally Listed Building", - "intersects": false - }, - { - "value": "nature.SPA", - "description": "Special Protection Area (SPA)", - "intersects": false - }, - { - "value": "designated.WHS", - "description": "UNESCO World Heritage Site or buffer zone", - "intersects": false - }, - { - "value": "registeredPark", - "description": "Historic Park or Garden", - "intersects": false - }, - { - "value": "designated.AONB", - "description": "Area of Outstanding Natural Beauty (AONB)", - "intersects": false - }, - { - "value": "designated.conservationArea", - "description": "Conservation Area", - "intersects": false + "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": { + "type": { + "value": "pa.part14.classJ", + "description": "Prior Approval - Install or change solar panels" + }, + "fee": { + "calculated": 120, + "payable": 120, + "category": { + "one": 0, + "two": 0, + "three": 0, + "four": 0, + "five": 0, + "sixAndSeven": 0, + "eight": 0, + "nine": 0, + "ten": 0, + "eleven": { + "one": 0, + "two": 0 }, - { - "value": "designated.nationalPark.broads", - "description": "National Park - Broads", - "intersects": false + "twelve": { + "one": 0, + "two": 0 }, - { - "value": "road.classified", - "description": "Classified Road", - "intersects": false - } - ] + "thirteen": 0, + "fourteen": 0 + }, + "exemption": { + "disability": false, + "resubmission": false + }, + "reduction": { + "sports": false, + "parishCouncil": false, + "alternative": false + }, + "reference": { + "govPay": "mfm6s5irae9bh5g75p3ks5opng" + } }, - "localAuthorityDistrict": [ - "Southwark" - ], - "region": "London", - "type": { - "value": "commercial.leisure.entertainment", - "description": "Bingo Hall / Cinema / Conference / Exhibition Centre / Theatre / Concert Hall" + "declaration": { + "accurate": true, + "connection": { + "value": "none" + } } }, "proposal": { @@ -269,54 +294,204 @@ "description": "Install solar panels" } ], - "description": "@todo not provided in Prior Approval", + "description": "Not provided", + "date": { + "start": "2024-07-28", + "completion": "2030-07-28" + }, "boundary": { "site": { "type": "Feature", "geometry": { - "type": "Polygon", + "type": "MultiPolygon", "coordinates": [ [ [ - -0.0967472791671659, - 51.50830340605074 - ], - [ - -0.09676337242125525, - 51.50830507546084 - ], - [ - -0.09689748287199977, - 51.50831926544436 - ], - [ - -0.09693503379820824, - 51.50790775412855 - ], - [ - -0.09666681289671919, - 51.50789439872946 - ], - [ - -0.09645719784644384, - 51.507889747624404 - ], - [ - -0.09639290535660058, - 51.50828278342658 - ], - [ - -0.0967472791671659, - 51.50830340605074 + [ + -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": null + "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.152757, - "squareMetres": 1527.57 + "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 } } } @@ -391,7 +566,7 @@ "question": "Describe the project.", "responses": [ { - "value": "Addition of solar panels in order to power the globe with green energy." + "value": "Installation of solar panels on the roof of the globe theatre" } ], "metadata": { @@ -489,7 +664,6 @@ } ], "metadata": { - "autoAnswered": true, "policyRefs": [ { "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class J", @@ -512,7 +686,6 @@ } ], "metadata": { - "autoAnswered": true, "policyRefs": [ { "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class J", @@ -537,7 +710,7 @@ "question": "What type of roofs are they?", "responses": [ { - "value": "Both pitched and flat" + "value": "Pitched" } ], "metadata": { @@ -545,17 +718,21 @@ } }, { - "question": "Is the property in a conservation area?", + "question": "How far do the new solar panels stick out from the pitched roofs?", "responses": [ { - "value": "No" + "value": "0.2m or less", + "metadata": { + "flags": [ + "Planning permission / Permitted development" + ] + } } ], "metadata": { - "autoAnswered": true, "policyRefs": [ { - "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 S.2.P.14. .A.1 (c)", + "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" } ], @@ -563,17 +740,21 @@ } }, { - "question": "Is the property in a world heritage site?", + "question": "How far are the new solar panels from the edge of the roof?", "responses": [ { - "value": "No" + "value": "1m or more from the edge of the roof", + "metadata": { + "flags": [ + "Planning permission / Permitted development" + ] + } } ], "metadata": { - "autoAnswered": true, "policyRefs": [ { - "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class A.1 (c)", + "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" } ], @@ -581,13 +762,24 @@ } }, { - "question": "How far do the new solar panels stick out from the pitched roofs?", + "question": "What do you want to install?", "responses": [ { - "value": "0.2m or less", + "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 / Permitted development" + "Planning permission / Prior approval" ] } } @@ -603,10 +795,10 @@ } }, { - "question": "How high are the new solar panels compared to the flat roofs?", + "question": "The solar panels must be removed when no longer needed.", "responses": [ { - "value": "1m or less higher than the roof", + "value": "OK", "metadata": { "flags": [ "Planning permission / Permitted development" @@ -618,39 +810,107 @@ "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" + "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": "How far are the new solar panels from the edge of the roof?", + "question": "What type of property is it?", "responses": [ { - "value": "1m or more from the edge of the roof", - "metadata": { - "flags": [ - "Planning permission / Permitted development" - ] - } + "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": "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" + "text": "Greater London Authority Act 1999", + "url": "https://www.legislation.gov.uk/ukpga/1999/29/section/346" } ], "sectionName": "About the project" } }, { - "question": "What do you want to install?", + "question": "Do you know the title number of the property?", "responses": [ { - "value": "Solar photovoltaics (PV)" + "value": "Yes" } ], "metadata": { @@ -658,58 +918,44 @@ } }, { - "question": "What is the total capacity of all solar photovoltaics (PV)?", + "question": "What is the title number of the property?", "responses": [ { - "value": "Between 50kW and 1,000kW (1 MW)", - "metadata": { - "flags": [ - "Planning permission / Prior approval" - ] - } + "value": "24/12345/FUL" } ], "metadata": { "policyRefs": [ { - "text": "The Town and Country Planning (General Permitted Development) (England) Order 2015 Schedule 2, Part 14, Class J.3", - "url": "https://www.legislation.gov.uk/uksi/2015/596/schedule/2/part/14" + "text": "Greater London Authority Act 1999", + "url": "https://www.legislation.gov.uk/ukpga/1999/29/section/346" } ], "sectionName": "About the project" } }, { - "question": "The solar panels must be removed when no longer needed.", + "question": "Does the property have an Energy Performance Certificate (EPC)?", "responses": [ { - "value": "OK", - "metadata": { - "flags": [ - "Planning permission / Permitted development" - ] - } + "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" + "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 property is it?", + "question": "Enter the reference number (RRN) from the most recent EPC", "responses": [ { - "value": "Another use" + "value": "1234-1234-1234-1234" } ], "metadata": { @@ -717,30 +963,53 @@ } }, { - "question": "Select your project", + "question": "What type of application is this?", "responses": [ { - "value": "Install solar panels" + "value": "Prior approval" } ], "metadata": { + "autoAnswered": true, "sectionName": "About the project" } }, { - "question": "What type of application is being applied for?", + "question": "When are the works planned to start?", "responses": [ { - "value": "Part 14 Class J" + "value": "2024-07-28" } ], "metadata": { - "autoAnswered": true, + "policyRefs": [ + { + "text": "Greater London Authority Act 1999", + "url": "https://www.legislation.gov.uk/ukpga/1999/29/section/346" + } + ], "sectionName": "About the project" } }, { - "question": "Is the property subject to any Article 4 directions?", + "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" @@ -752,29 +1021,90 @@ } }, { - "question": "List all the changes involved in the project", + "question": "What is the gross internal floor area to be added?", "responses": [ { - "value": "Install solar panels" + "value": "0" } ], "metadata": { - "autoAnswered": true, "sectionName": "About the project" } }, { - "question": "What type of prior approval application is it?", + "question": "Do the changes involve creating any new bedrooms or bathrooms?", "responses": [ { - "value": "Install or change solar panels" + "value": "No" } ], "metadata": { - "autoAnswered": true, "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": [ @@ -790,7 +1120,7 @@ "question": "Which of these best describes you?", "responses": [ { - "value": "Company" + "value": "Private individual" } ], "metadata": { @@ -801,7 +1131,7 @@ "question": "Your contact details", "responses": [ { - "value": "Mr William Shakespeare Lord Chamberlain's Men 2830407283 thebard@example.com" + "value": "Bill Shakespeare 012345678901 byanyothername@email.org" } ], "metadata": { @@ -812,7 +1142,7 @@ "question": "Is your contact address the same as the property address?", "responses": [ { - "value": "Yes" + "value": "No" } ], "metadata": { @@ -820,10 +1150,10 @@ } }, { - "question": "We may need to visit the site to assess your application. If we do, who should we contact to arrange the visit?", + "question": "Your contact address", "responses": [ { - "value": "Me, the applicant" + "value": "12 Sonnet Street, Stratford upon Avon, TH334RD" } ], "metadata": { @@ -831,22 +1161,32 @@ } }, { - "question": "What type of prior approval application is it?", + "question": "Can a planning officer see the works from public land?", "responses": [ { - "value": "Install or change solar panels" + "value": "Yes, it's visible from the road or somewhere else" } ], "metadata": { - "autoAnswered": true, - "sectionName": "Upload drawings" + "sectionName": "About you" } }, { - "question": "Where will the solar panels be installed?", + "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": "On roofs" + "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": { @@ -855,21 +1195,22 @@ } }, { - "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?", + "question": "Where will the solar panels be installed?", "responses": [ { - "value": "Manufacturer's specification document" + "value": "On roofs" } ], "metadata": { + "autoAnswered": true, "sectionName": "Upload drawings" } }, { - "question": "Do you want to upload any photographs?", + "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": "No" + "value": "Section drawing of the building" } ], "metadata": { @@ -877,18 +1218,19 @@ } }, { - "question": "Would you like to upload any additional drawings, documents or images?", + "question": "Is this for submission or information only?", "responses": [ { - "value": "No" + "value": "Submission" } ], "metadata": { + "autoAnswered": true, "sectionName": "Upload drawings" } }, { - "question": "What type of planning application are you making?", + "question": "What type of application is it?", "responses": [ { "value": "Prior approval" @@ -1022,10 +1364,22 @@ } }, { - "question": "Which Local Planning authority is it?", + "question": "Check for multiple fees?", "responses": [ { - "value": "Southwark" + "value": "No" + } + ], + "metadata": { + "autoAnswered": true, + "sectionName": "Check your application" + } + }, + { + "question": "What type of application is it?", + "responses": [ + { + "value": "Prior approval" } ], "metadata": { @@ -1034,13 +1388,14 @@ } }, { - "question": "Describe your connection", + "question": "Which Local Planning authority is it?", "responses": [ { - "value": "I think the King is but a man, as I am. The violet smells to him as it doth to me. The element shows to him as it doth to me. All his senses have but human conditions. His ceremonies laid by, in his nakedness he appears but a man." + "value": "Southwark" } ], "metadata": { + "autoAnswered": true, "sectionName": "Check your application" } }, @@ -1048,7 +1403,7 @@ "question": "Connections with Southwark Council", "responses": [ { - "value": "I am related to, or partnered with, an elected member for Southwark Council" + "value": "None of the above apply to me" } ], "metadata": { @@ -1079,7 +1434,7 @@ } }, { - "question": "What type of prior approval application is it?", + "question": "What type of prior approval application is it?application.type", "responses": [ { "value": "Install or change solar panels" @@ -1093,16 +1448,16 @@ ], "files": [ { - "name": "https://api.editor.planx.dev/file/private/5w5v8s8z/other.pdf", + "name": "https://api.editor.planx.dev/file/private/mq2iovsi/test%20document.pdf", "type": [ { - "value": "otherDrawing", - "description": "Other - drawing" + "value": "sections.proposed", + "description": "Sections - proposed" } ] }, { - "name": "https://api.editor.planx.dev/file/private/tbp4kiba/myPlans.pdf", + "name": "https://api.editor.planx.dev/file/private/czxk98ug/test%20document.pdf", "type": [ { "value": "sitePlan.proposed", @@ -1112,26 +1467,43 @@ } ], "metadata": { + "id": "dee911d0-48b4-438c-96b6-2bb12ae46335", "organisation": "SWK", - "id": "b18c301b-9d44-4c6c-8d27-5b5bf33c570b", + "submittedAt": "2024-06-29T13:06:44.801Z", "source": "PlanX", "service": { "flowId": "c6628103-c648-4663-81e1-bfa0a1a18340", - "url": "https://www.editor.planx.dev/southwark/apply-for-prior-approval/preview", + "url": "https://editor.planx.uk/southwark/apply-for-prior-approval/published", "files": { "required": [ - { - "value": "otherDrawing", - "description": "Other - drawing" - } - ], - "recommended": [ { "value": "sitePlan.proposed", "description": "Site plan - proposed" + }, + { + "value": "sections.proposed", + "description": "Sections - proposed" } ], - "optional": [] + "recommended": [], + "optional": [ + { + "value": "photographs.existing", + "description": "Photographs - existing" + }, + { + "value": "otherDrawing", + "description": "Other - drawing" + }, + { + "value": "otherDocument", + "description": "Other - document" + }, + { + "value": "visualisations", + "description": "Visualisations" + } + ] }, "fee": { "calculated": [ @@ -1146,17 +1518,11 @@ ], "payable": [ { - "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" - } - ] + "description": "

This application does not qualify for any exemptions or reductions

" } ] } }, - "submittedAt": "2023-10-02T00:00:00Z", "schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schema.json" } } \ No newline at end of file diff --git a/schema/schema.json b/schema/schema.json index 45deba4d..e93f28c4 100644 --- a/schema/schema.json +++ b/schema/schema.json @@ -930,7 +930,7 @@ "additionalProperties": false, "properties": { "description": { - "const": "Prior Approval - Part 4 Class BC", + "const": "Prior Approval - Develop a temporary campsite", "type": "string" }, "value": { @@ -948,7 +948,7 @@ "additionalProperties": false, "properties": { "description": { - "const": "Prior Approval - Part 4 Class CA", + "const": "Prior Approval - Put temporary school buildings on vacant commercial land", "type": "string" }, "value": { @@ -1088,6 +1088,24 @@ ], "type": "object" }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Development of toll facilities", + "type": "string" + }, + "value": { + "const": "pa.part9.classD", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, { "additionalProperties": false, "properties": { @@ -1142,6 +1160,24 @@ ], "type": "object" }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Prior Approval - Coal mining", + "type": "string" + }, + "value": { + "const": "pa.part17", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, { "additionalProperties": false, "properties": { @@ -1200,7 +1236,7 @@ "additionalProperties": false, "properties": { "description": { - "const": "Prior Approval - Specific Acts of Parliament or Local Orders", + "const": "Prior Approval - Development under private acts or orders", "type": "string" }, "value": { @@ -1218,7 +1254,7 @@ "additionalProperties": false, "properties": { "description": { - "const": "Prior Approval - Part 19 Class TA", + "const": "Prior Approval - Development on a closed defence site", "type": "string" }, "value": { @@ -2179,6 +2215,24 @@ ], "type": "object" }, + "newDwellings": { + "additionalProperties": false, + "properties": { + "newBuild": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + } + }, + "type": "object" + }, "projectType": { "items": { "$ref": "#/definitions/ProjectType" @@ -2213,7 +2267,21 @@ "additionalProperties": false, "description": "Proposed utilities, if applicable to application.type", "properties": { + "fire": { + "additionalProperties": false, + "description": "Whether the proposal introduces a fire suppression system", + "properties": { + "suppression": { + "type": "boolean" + } + }, + "required": [ + "suppression" + ], + "type": "object" + }, "foulSewageDisposal": { + "description": "Type of proposed foul sewage disposal", "enum": [ "sewer", "tank", @@ -2222,6 +2290,85 @@ "other" ], "type": "string" + }, + "gas": { + "additionalProperties": false, + "description": "Count of new gas connections", + "properties": { + "connections": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + } + }, + "required": [ + "connections" + ], + "type": "object" + }, + "internet": { + "additionalProperties": false, + "description": "Count of new full fibre Internet connections", + "properties": { + "commercialUnits": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + "residentialUnits": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + } + }, + "required": [ + "commercialUnits", + "residentialUnits" + ], + "type": "object" + }, + "water": { + "additionalProperties": false, + "description": "Count of new water connections", + "properties": { + "connections": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + } + }, + "required": [ + "connections" + ], + "type": "object" } }, "type": "object" @@ -4427,8 +4574,21 @@ "LeadDeveloper": { "additionalProperties": false, "properties": { - "companyRegistrationNumber": { - "type": "string" + "company": { + "additionalProperties": false, + "properties": { + "name": { + "type": "string" + }, + "registrationNumber": { + "type": "string" + } + }, + "required": [ + "name", + "registrationNumber" + ], + "type": "object" }, "type": { "enum": [ @@ -4563,6 +4723,24 @@ "$ref": "#/definitions/Materials", "description": "Existing materials, if applicable to proposal.projectType" }, + "occupation": { + "additionalProperties": false, + "description": "Current occupation status of the property", + "properties": { + "status": { + "enum": [ + "occupied", + "partVacant", + "vacant" + ], + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, "ownership": { "additionalProperties": false, "description": "Current ownership status of the land", @@ -4910,10 +5088,6 @@ "type": "object" } }, - "required": [ - "active", - "passive" - ], "type": "object" }, "cost": { @@ -4971,6 +5145,93 @@ }, "type": "object" }, + "energy": { + "additionalProperties": false, + "description": "Proposed energy sources", + "properties": { + "communityOwned": { + "additionalProperties": false, + "properties": { + "capacity": { + "additionalProperties": false, + "description": "Proposed total capacity of any on-site community-owned energy generation in megawatts (mW)", + "properties": { + "megawatts": { + "type": "number" + } + }, + "required": [ + "megawatts" + ], + "type": "object" + } + }, + "required": [ + "capacity" + ], + "type": "object" + }, + "heatPumps": { + "additionalProperties": false, + "properties": { + "capacity": { + "additionalProperties": false, + "description": "Proposed total capacity of any heat pumps in megawatts (mV)", + "properties": { + "megawatts": { + "type": "number" + } + }, + "required": [ + "megawatts" + ], + "type": "object" + } + }, + "required": [ + "capacity" + ], + "type": "object" + }, + "solar": { + "additionalProperties": false, + "properties": { + "capacity": { + "additionalProperties": false, + "description": "Proposed total capacity of any solar energy generation in megawatts (mV)", + "properties": { + "megawatts": { + "type": "number" + } + }, + "required": [ + "megawatts" + ], + "type": "object" + } + }, + "required": [ + "capacity" + ], + "type": "object" + }, + "type": { + "items": { + "enum": [ + "communityOwned", + "heatPump", + "solar" + ], + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "type" + ], + "type": "object" + }, "extend": { "additionalProperties": false, "properties": { @@ -5007,6 +5268,19 @@ }, "type": "object" }, + "greenRoof": { + "additionalProperties": false, + "description": "Green roof", + "properties": { + "area": { + "$ref": "#/definitions/Area" + } + }, + "required": [ + "area" + ], + "type": "object" + }, "materials": { "$ref": "#/definitions/Materials", "description": "Proposed materials, if applicable to projectType" @@ -5156,6 +5430,24 @@ "$ref": "#/definitions/NewBuildingsOrStoreys", "description": "Creating new buildings" }, + "newDwellings": { + "additionalProperties": false, + "properties": { + "newBuild": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + } + }, + "type": "object" + }, "newStoreys": { "$ref": "#/definitions/NewBuildingsOrStoreys", "description": "Increasing the height of existing buildings" @@ -5329,6 +5621,19 @@ "schemeName": { "type": "string" }, + "urbanGreeningFactor": { + "additionalProperties": false, + "description": "Urban Greening Factor Score", + "properties": { + "score": { + "type": "number" + } + }, + "required": [ + "score" + ], + "type": "object" + }, "use": { "additionalProperties": false, "description": "Proposed land use, including storage of hazardous materials, if applicable to application.type", @@ -5357,7 +5662,21 @@ "additionalProperties": false, "description": "Proposed utilities, if applicable to application.type", "properties": { + "fire": { + "additionalProperties": false, + "description": "Whether the proposal introduces a fire suppression system", + "properties": { + "suppression": { + "type": "boolean" + } + }, + "required": [ + "suppression" + ], + "type": "object" + }, "foulSewageDisposal": { + "description": "Type of proposed foul sewage disposal", "enum": [ "sewer", "tank", @@ -5366,10 +5685,111 @@ "other" ], "type": "string" + }, + "gas": { + "additionalProperties": false, + "description": "Count of new gas connections", + "properties": { + "connections": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + } + }, + "required": [ + "connections" + ], + "type": "object" + }, + "internet": { + "additionalProperties": false, + "description": "Count of new full fibre Internet connections", + "properties": { + "commercialUnits": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + "residentialUnits": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + } + }, + "required": [ + "commercialUnits", + "residentialUnits" + ], + "type": "object" + }, + "water": { + "additionalProperties": false, + "description": "Count of new water connections", + "properties": { + "connections": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + } + }, + "required": [ + "connections" + ], + "type": "object" } }, "type": "object" }, + "waste": { + "additionalProperties": false, + "description": "Waste management of demolition and construction materials", + "properties": { + "reuseRecycle": { + "additionalProperties": false, + "properties": { + "percent": { + "type": "number" + } + }, + "required": [ + "percent" + ], + "type": "object" + } + }, + "required": [ + "reuseRecycle" + ], + "type": "object" + }, "water": { "additionalProperties": false, "description": "Water management", diff --git a/scripts/build-json-examples.ts b/scripts/build-json-examples.ts index 1a0b5418..5661a527 100644 --- a/scripts/build-json-examples.ts +++ b/scripts/build-json-examples.ts @@ -1,9 +1,13 @@ import * as fs from 'fs'; import * as path from 'path'; + import {lawfulDevelopmentCertificateExisting} from '../examples/data/lawfulDevelopmentCertificate/existing'; import {lawfulDevelopmentCertificateProposed} from '../examples/data/lawfulDevelopmentCertificate/proposed'; import {listedBuildingConsent} from '../examples/data/listedBuildingConsent'; import {planningPermissionFullHouseholder} from '../examples/data/planningPermission/fullHouseholder'; +import {priorApprovalBuildHomes} from '../examples/data/priorApproval/buildHomes'; +import {priorApprovalConvertCommercialToHome} from '../examples/data/priorApproval/convertCommercialToHome'; +import {priorApprovalExtendUniversity} from '../examples/data/priorApproval/extendUniversity'; import {priorApprovalSolarPanels} from '../examples/data/priorApproval/solarPanels'; import {Schema} from '../types/Schema'; @@ -21,10 +25,22 @@ const examplesToConvert: Example[] = [ filename: 'lawfulDevelopmentCertificate/proposed', data: lawfulDevelopmentCertificateProposed, }, + { + filename: 'priorApproval/extendUniversity', + data: priorApprovalExtendUniversity, + }, { filename: 'priorApproval/solarPanels', data: priorApprovalSolarPanels, }, + { + filename: 'priorApproval/buildHomes', + data: priorApprovalBuildHomes, + }, + { + filename: 'priorApproval/convertCommercialToHome', + data: priorApprovalConvertCommercialToHome, + }, { filename: 'planningPermission/fullHouseholder', data: planningPermissionFullHouseholder, diff --git a/tests/usage.test.ts b/tests/usage.test.ts index 3cfb85f0..1531a698 100644 --- a/tests/usage.test.ts +++ b/tests/usage.test.ts @@ -7,6 +7,9 @@ import {lawfulDevelopmentCertificateExisting} from '../examples/data/lawfulDevel import {lawfulDevelopmentCertificateProposed} from '../examples/data/lawfulDevelopmentCertificate/proposed'; import {listedBuildingConsent} from '../examples/data/listedBuildingConsent'; import {planningPermissionFullHouseholder} from '../examples/data/planningPermission/fullHouseholder'; +import {priorApprovalBuildHomes} from '../examples/data/priorApproval/buildHomes'; +import {priorApprovalConvertCommercialToHome} from '../examples/data/priorApproval/convertCommercialToHome'; +import {priorApprovalExtendUniversity} from '../examples/data/priorApproval/extendUniversity'; import {priorApprovalSolarPanels} from '../examples/data/priorApproval/solarPanels'; import generatedSchema from '../schema/schema.json'; @@ -15,7 +18,10 @@ const examplesToTest = [ lawfulDevelopmentCertificateProposed, listedBuildingConsent, planningPermissionFullHouseholder, + priorApprovalExtendUniversity, priorApprovalSolarPanels, + priorApprovalBuildHomes, + priorApprovalConvertCommercialToHome, ]; describe("parsing using the 'jsonschema' library", () => { diff --git a/types/enums/ApplicationTypes.ts b/types/enums/ApplicationTypes.ts index 3da79458..7e65c4f8 100644 --- a/types/enums/ApplicationTypes.ts +++ b/types/enums/ApplicationTypes.ts @@ -45,8 +45,9 @@ export const ApplicationTypes = { 'Prior Approval - Convert a commercial building to a school', 'pa.part3.classV': 'Prior Approval - Part 3 Class V', 'pa.part4.classBB': 'Prior Approval - Put up a temporary structure', - 'pa.part4.classBC': 'Prior Approval - Part 4 Class BC', - 'pa.part4.classCA': 'Prior Approval - Part 4 Class CA', + 'pa.part4.classBC': 'Prior Approval - Develop a temporary campsite', + 'pa.part4.classCA': + 'Prior Approval - Put temporary school buildings on vacant commercial land', 'pa.part4.classE': 'Prior Approval - Use a building or land to shoot a film', 'pa.part6': 'Prior Approval - Alter or add new buildings to agricultural or forestry sites', @@ -58,15 +59,17 @@ export const ApplicationTypes = { 'pa.part7.classC': 'Prior Approval - Install click and collect facilities', 'pa.part7.classM': 'Prior Approval - Extend a school, college, university, prison or hospital', + 'pa.part9.classD': 'Prior Approval - Development of toll facilities', 'pa.part11.classB': 'Prior Approval - Demolish a building', 'pa.part14.classJ': 'Prior Approval - Install or change solar panels', 'pa.part16.classA': 'Prior Approval - Install telecommunications equipment', + 'pa.part17': 'Prior Approval - Coal mining', 'pa.part17.classB': 'Prior Approval - Part 17 Class B', 'pa.part17.classC': 'Prior Approval - Part 17 Class C', 'pa.part17.classG': 'Prior Approval - Part 17 Class G', 'pa.part18.classA': - 'Prior Approval - Specific Acts of Parliament or Local Orders', - 'pa.part19.classTA': 'Prior Approval - Part 19 Class TA', + 'Prior Approval - Development under private acts or orders', + 'pa.part19.classTA': 'Prior Approval - Development on a closed defence site', 'pa.part20.classA': 'Prior Approval - Build homes on a detached blocks of flats', 'pa.part20.classAA': diff --git a/types/schema/data/Application.ts b/types/schema/data/Application.ts index ca21bc95..0373465a 100644 --- a/types/schema/data/Application.ts +++ b/types/schema/data/Application.ts @@ -175,7 +175,10 @@ export interface CommunityInfrastructureLevy { export interface LeadDeveloper { type: 'ukCompany' | 'overseasCompany' | 'none'; - companyRegistrationNumber?: string; + company?: { + name: string; + registrationNumber: string; + }; } type ApplicationTypeKeys = keyof typeof ApplicationTypes; diff --git a/types/schema/data/Property.ts b/types/schema/data/Property.ts index d125e44c..c768db17 100644 --- a/types/schema/data/Property.ts +++ b/types/schema/data/Property.ts @@ -102,6 +102,12 @@ export interface LondonProperty extends UKProperty { ownership?: { status: 'public' | 'private' | 'mixed'; }; + /** + * @description Current occupation status of the property + */ + occupation?: { + status: 'occupied' | 'partVacant' | 'vacant'; + }; parking?: { cars?: ExistingCount; vans?: ExistingCount; diff --git a/types/schema/data/Proposal.ts b/types/schema/data/Proposal.ts index cf1dfa86..0c8ac349 100644 --- a/types/schema/data/Proposal.ts +++ b/types/schema/data/Proposal.ts @@ -40,7 +40,25 @@ export interface BaseProposal { * @description Proposed utilities, if applicable to application.type */ utilities?: { + /** @description Type of proposed foul sewage disposal */ foulSewageDisposal?: 'sewer' | 'tank' | 'plant' | 'pit' | 'other'; + /** @description Count of new full fibre Internet connections */ + internet?: { + commercialUnits: {count: number}; + residentialUnits: {count: number}; + }; + /** @description Whether the proposal introduces a fire suppression system */ + fire?: { + suppression: boolean; + }; + /** @description Count of new gas connections */ + gas?: { + connections: {count: number}; + }; + /** @description Count of new water connections */ + water?: { + connections: {count: number}; + }; }; /** * @description Assessment of flood risk, if applicable to application.type @@ -83,6 +101,9 @@ export interface BaseProposal { dwellings?: number; }; }; + newDwellings?: { + newBuild?: {count: number}; + }; } /** @@ -123,8 +144,8 @@ export interface LondonProposal extends BaseProposal { * @description Electric vehicle charing points */ charging?: { - active: {count: number}; - passive: {count: number}; + active?: {count: number}; + passive?: {count: number}; }; /** * @description Changes that result in the loss, gain, or change of use of natural spaces @@ -167,6 +188,42 @@ export interface LondonProposal extends BaseProposal { */ grey: boolean; }; + /** + * @description Proposed energy sources + */ + energy?: { + type: Array<'communityOwned' | 'heatPump' | 'solar'>; + communityOwned?: { + /** @description Proposed total capacity of any on-site community-owned energy generation in megawatts (mW) */ + capacity: {megawatts: number}; + }; + heatPumps?: { + /** @description Proposed total capacity of any heat pumps in megawatts (mV) */ + capacity: {megawatts: number}; + }; + solar?: { + /** @description Proposed total capacity of any solar energy generation in megawatts (mV) */ + capacity: {megawatts: number}; + }; + }; + /** + * @description Urban Greening Factor Score + */ + urbanGreeningFactor?: { + score: number; + }; + /** + * @description Green roof + */ + greenRoof?: { + area: Area; + }; + /** + * @description Waste management of demolition and construction materials + */ + waste?: { + reuseRecycle: {percent: number}; + }; } type ProposedCount = {