From fc04e20a5fa206c48ed7b8036691adc568dff567 Mon Sep 17 00:00:00 2001 From: augustlindemer <118665588+augustlindemer@users.noreply.github.com> Date: Fri, 25 Sep 2026 13:07:04 +0100 Subject: [PATCH 1/2] add national application form fields --- .../data/planningPermission/minor.ts | 118 ++ .../planningPermission/minor.json | 130 ++ schemas/application.json | 2 + schemas/postSubmissionApplication.json | 1323 +++++++++++++++- .../postSubmissionPublishedApplication.json | 1323 +++++++++++++++- schemas/prototypeApplication.json | 1329 ++++++++++++++++- types/schemas/application/data/Proposal.ts | 2 +- .../data/ApplicationData.ts | 6 + .../prototypeApplication/data/Property.ts | 20 +- .../prototypeApplication/data/Proposal.ts | 172 ++- types/shared/Parking.ts | 24 + 11 files changed, 4397 insertions(+), 52 deletions(-) diff --git a/examples/prototypeApplication/data/planningPermission/minor.ts b/examples/prototypeApplication/data/planningPermission/minor.ts index 5839c359..6274e77e 100644 --- a/examples/prototypeApplication/data/planningPermission/minor.ts +++ b/examples/prototypeApplication/data/planningPermission/minor.ts @@ -173,6 +173,20 @@ export const planningPermissionMinorPrototype: PrototypeApplication = { materials: { boundary: 'black painted timber', }, + use: { + description: 'Sui generis - large HMO', + vacant: true, + knownContamination: false, + suspectedContamination: false, + }, + parking: { + cars: { + count: 4, + }, + cycles: { + count: 0, + }, + }, }, application: { fee: { @@ -206,6 +220,10 @@ export const planningPermissionMinorPrototype: PrototypeApplication = { officer: 'Pete the Planning Person', summary: 'Not provided', }, + preAppAdvice: { + form: 'Yes', + reference: '0123456789', + }, }, proposal: { projectType: ['changeOfUse'], @@ -249,6 +267,106 @@ export const planningPermissionMinorPrototype: PrototypeApplication = { }, ], }, + started: { + value: false, + }, + completed: { + value: false, + }, + publicServiceInfrastructure: false, + access: { + affected: { + vehicle: false, + pedestrian: true, + rightOfWay: false, + }, + new: { + publicRoad: false, + rightOfWay: false, + }, + }, + wasteStorage: { + affected: true, + separated: 'yes', + }, + BNG: { + applies: true, + preDevelopmentValue: { + value: 0.42, + calculated: { + applicationDate: true, + }, + metricToolPublicationDate: '2024-02-12', + }, + degradation: { + value: false, + }, + irreplaceableHabitat: { + value: false, + }, + }, + foulSewage: { + disposal: 'sewer', + newConnection: true, + }, + flood: { + atRisk: false, + within20mOfWatercourse: false, + increaseRiskElsewhere: false, + surfaceWaterDisposal: 'sustainableDrainageSystem', + }, + natureImpacts: { + protectedSpeciesAffected: 'false', + designatedSitesAffected: 'false', + geologicalSitesAffected: 'false', + }, + use: { + vulnerableToContamination: false, + }, + trees: { + onSite: true, + influenceDevelopment: false, + }, + effluent: { + disposal: false, + }, + residentialUnits: { + change: true, + }, + nonResidentialFloorspace: { + affected: true, + }, + employment: { + existingEmployees: { + fullTime: {number: 12}, + partTime: {number: 3}, + fullTimeEquivalent: {number: 13.5}, + }, + proposedEmployees: { + fullTime: {number: 0}, + partTime: {number: 0}, + fullTimeEquivalent: {number: 0}, + }, + }, + hoursOfOperation: 'not applicable', + site: { + hectares: 0.069395, + }, + commercialProcesses: { + description: 'none', + wasteManagement: false, + }, + hazardousSubstanceStorage: false, + parking: { + cars: { + count: 2, + difference: -2, + }, + cycles: { + count: 4, + difference: 4, + }, + }, }, }, responses: [ diff --git a/examples/prototypeApplication/planningPermission/minor.json b/examples/prototypeApplication/planningPermission/minor.json index 96202373..57d58496 100644 --- a/examples/prototypeApplication/planningPermission/minor.json +++ b/examples/prototypeApplication/planningPermission/minor.json @@ -170,6 +170,20 @@ }, "materials": { "boundary": "black painted timber" + }, + "use": { + "description": "Sui generis - large HMO", + "vacant": true, + "knownContamination": false, + "suspectedContamination": false + }, + "parking": { + "cars": { + "count": 4 + }, + "cycles": { + "count": 0 + } } }, "application": { @@ -203,6 +217,10 @@ "date": "2020-01-01", "officer": "Pete the Planning Person", "summary": "Not provided" + }, + "preAppAdvice": { + "form": "Yes", + "reference": "0123456789" } }, "proposal": { @@ -268,6 +286,118 @@ "identicalUnits": 1 } ] + }, + "started": { + "value": false + }, + "completed": { + "value": false + }, + "publicServiceInfrastructure": false, + "access": { + "affected": { + "vehicle": false, + "pedestrian": true, + "rightOfWay": false + }, + "new": { + "publicRoad": false, + "rightOfWay": false + } + }, + "wasteStorage": { + "affected": true, + "separated": "yes" + }, + "BNG": { + "applies": true, + "preDevelopmentValue": { + "value": 0.42, + "calculated": { + "applicationDate": true + }, + "metricToolPublicationDate": "2024-02-12" + }, + "degradation": { + "value": false + }, + "irreplaceableHabitat": { + "value": false + } + }, + "foulSewage": { + "disposal": "sewer", + "newConnection": true + }, + "flood": { + "atRisk": false, + "within20mOfWatercourse": false, + "increaseRiskElsewhere": false, + "surfaceWaterDisposal": "sustainableDrainageSystem" + }, + "natureImpacts": { + "protectedSpeciesAffected": "false", + "designatedSitesAffected": "false", + "geologicalSitesAffected": "false" + }, + "use": { + "vulnerableToContamination": false + }, + "trees": { + "onSite": true, + "influenceDevelopment": false + }, + "effluent": { + "disposal": false + }, + "residentialUnits": { + "change": true + }, + "nonResidentialFloorspace": { + "affected": true + }, + "employment": { + "existingEmployees": { + "fullTime": { + "number": 12 + }, + "partTime": { + "number": 3 + }, + "fullTimeEquivalent": { + "number": 13.5 + } + }, + "proposedEmployees": { + "fullTime": { + "number": 0 + }, + "partTime": { + "number": 0 + }, + "fullTimeEquivalent": { + "number": 0 + } + } + }, + "hoursOfOperation": "not applicable", + "site": { + "hectares": 0.069395 + }, + "commercialProcesses": { + "description": "none", + "wasteManagement": false + }, + "hazardousSubstanceStorage": false, + "parking": { + "cars": { + "count": 2, + "difference": -2 + }, + "cycles": { + "count": 4, + "difference": 4 + } } } }, diff --git a/schemas/application.json b/schemas/application.json index f9c13878..6bb3a5ba 100644 --- a/schemas/application.json +++ b/schemas/application.json @@ -2386,6 +2386,7 @@ "properties": { "access": { "additionalProperties": false, + "description": "Proposed pedestrian & vehicle access, roads and rights of way, if applicable to application.type", "properties": { "affected": { "enum": [ @@ -7175,6 +7176,7 @@ "properties": { "access": { "additionalProperties": false, + "description": "Proposed pedestrian & vehicle access, roads and rights of way, if applicable to application.type", "properties": { "affected": { "enum": [ diff --git a/schemas/postSubmissionApplication.json b/schemas/postSubmissionApplication.json index 4779cd56..ad50be2a 100644 --- a/schemas/postSubmissionApplication.json +++ b/schemas/postSubmissionApplication.json @@ -3289,6 +3289,9 @@ }, "type": "array" }, + "parking": { + "$ref": "#/definitions/ExistingNationalParking" + }, "planning": { "additionalProperties": false, "description": "Planning constraints and policies that intersect with this site and may impact or restrict development", @@ -3370,18 +3373,188 @@ "EnglandProposal": { "additionalProperties": false, "properties": { + "BNG": { + "additionalProperties": false, + "properties": { + "applies": { + "description": "Does the BNG condition apply?", + "type": "boolean" + }, + "degradation": { + "additionalProperties": false, + "properties": { + "details": { + "description": "Provide more details of degradation", + "type": "string" + }, + "preStartDate": { + "$ref": "#/definitions/Date", + "description": "Date immediately before degrading activity was carried out" + }, + "value": { + "description": "Has any degradation occured?", + "type": "boolean" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "exemption": { + "additionalProperties": false, + "properties": { + "justification": { + "description": "Why doesn't it apply?", + "type": "string" + } + }, + "type": "object" + }, + "irreplaceableHabitat": { + "additionalProperties": false, + "properties": { + "details": { + "description": "More details about irreplaceable habitat", + "type": "string" + }, + "value": { + "description": "Does the site have irreplaceable habitat?", + "type": "boolean" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "preDegradationValue": { + "additionalProperties": false, + "properties": { + "metricToolPublicationDate": { + "$ref": "#/definitions/Date", + "description": "Metric tool publication date for pre-degradation calculation" + }, + "value": { + "description": "Onsite biodiversity value on the date immediately before degrading activity was carried out", + "type": "number" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "preDevelopmentValue": { + "additionalProperties": false, + "properties": { + "calculated": { + "additionalProperties": false, + "properties": { + "applicationDate": { + "description": "Is the date of the calculation the application date?", + "type": "boolean" + }, + "date": { + "$ref": "#/definitions/Date", + "description": "Earlier date of pre-development biodiversity calculation" + }, + "earlyJustification": { + "description": "Justification for earlier date", + "type": "string" + } + }, + "type": "object" + }, + "metricToolPublicationDate": { + "$ref": "#/definitions/Date", + "description": "Metric tool publication date for recent calculation" + }, + "value": { + "description": "Pre-development biodiversity value", + "type": "number" + } + }, + "required": [ + "value" + ], + "type": "object" + } + }, + "required": [ + "applies" + ], + "title": "Biodiversity net gain (BNG)", + "type": "object" + }, "access": { "additionalProperties": false, + "description": "Proposed pedestrian & vehicle access, roads and rights of way, if applicable to application.type", "properties": { "affected": { - "enum": [ - "vehicle", - "pedestrian", - "newRoad", - "rightsOfWay.newPublic", - "rightsOfWay.changes" + "anyOf": [ + { + "const": "vehicle", + "type": "string" + }, + { + "const": "pedestrian", + "type": "string" + }, + { + "const": "newRoad", + "type": "string" + }, + { + "const": "rightsOfWay.newPublic", + "type": "string" + }, + { + "const": "rightsOfWay.changes", + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "pedestrian": { + "description": "Is new or altered pedestrian access proposed?", + "type": "boolean" + }, + "rightOfWay": { + "description": "Are any rights of way created, diverted or extinguished?", + "type": "boolean" + }, + "vehicle": { + "description": "Is new or altered vehicle access proposed?", + "type": "boolean" + } + }, + "required": [ + "vehicle", + "pedestrian", + "rightOfWay" + ], + "type": "object" + } + ] + }, + "new": { + "additionalProperties": false, + "properties": { + "publicRoad": { + "description": "Are new public roads provided within the site?", + "type": "boolean" + }, + "rightOfWay": { + "description": "Are new public rights of way provided within the site?", + "type": "boolean" + } + }, + "required": [ + "publicRoad", + "rightOfWay" ], - "type": "string" + "type": "object" } }, "type": "object" @@ -3390,6 +3563,41 @@ "$ref": "#/definitions/GeoBoundary", "description": "Location plan boundary proposed by the user, commonly referred to as the red line boundary" }, + "commercialProcesses": { + "additionalProperties": false, + "properties": { + "description": { + "description": "Describe activities processes carried out on the site, or 'none'", + "type": "string" + }, + "wasteManagement": { + "description": "Is the proposal a waste management development?", + "type": "boolean" + } + }, + "required": [ + "description", + "wasteManagement" + ], + "type": "object" + }, + "completed": { + "additionalProperties": false, + "properties": { + "date": { + "$ref": "#/definitions/Date", + "description": "Date that project was completed" + }, + "value": { + "description": "Has the project been completed?", + "type": "boolean" + } + }, + "required": [ + "value" + ], + "type": "object" + }, "date": { "$ref": "#/definitions/ProposalDates" }, @@ -3427,6 +3635,117 @@ }, "type": "object" }, + "effluent": { + "additionalProperties": false, + "properties": { + "disposal": { + "description": "Does the proposed use involve disposal of trade effluent?", + "type": "boolean" + } + }, + "required": [ + "disposal" + ], + "type": "object" + }, + "employment": { + "additionalProperties": false, + "properties": { + "existingEmployees": { + "additionalProperties": false, + "description": "Number of existing employees: full time, part time, and total full time equivalent", + "properties": { + "fullTime": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "fullTimeEquivalent": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "partTime": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + } + }, + "required": [ + "fullTime" + ], + "type": "object" + }, + "proposedEmployees": { + "additionalProperties": false, + "description": "Number of proposed employees: full time, part time, and total full time equivalent", + "properties": { + "fullTime": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "fullTimeEquivalent": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "partTime": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "existingEmployees" + ], + "type": "object" + }, "environmentalImpactDescription": { "type": "string" }, @@ -3446,8 +3765,18 @@ "additionalProperties": false, "description": "Assessment of flood risk, if applicable to application.type", "properties": { + "atRisk": { + "description": "Is the site at risk of flooding?", + "type": "boolean" + }, + "increaseRiskElsewhere": { + "description": "Will the proposal increase the flood risk elsewhere?", + "type": "boolean" + }, "surfaceWaterDisposal": { + "description": "How will surface water be disposed of?", "enum": [ + "sustainableDrainageSystem", "drainageSystem", "soakaway", "sewer", @@ -3456,14 +3785,97 @@ "other" ], "type": "string" + }, + "within20mOfWatercourse": { + "description": "Is your project within 20 metres of a watercourse?", + "type": "boolean" } }, "type": "object" }, + "foulSewage": { + "additionalProperties": false, + "properties": { + "disposal": { + "description": "How will foul sewage be disposed of?", + "enum": [ + "sewer", + "pit", + "tank", + "plant", + "other" + ], + "type": "string" + }, + "newConnection": { + "description": "Are you proposing to connect to the existing drainage system?", + "type": "boolean" + } + }, + "required": [ + "disposal", + "newConnection" + ], + "type": "object" + }, + "hazardousSubstanceStorage": { + "description": "Does the proposed use involve the storage of hazardous chemicals?", + "type": "boolean" + }, + "hoursOfOperation": { + "description": "Hours of operation per use, or 'not applicable'", + "type": "string" + }, "materials": { "$ref": "#/definitions/Materials", "description": "Proposed materials, if applicable to projectType" }, + "natureImpacts": { + "additionalProperties": false, + "properties": { + "designatedSitesAffected": { + "description": "Designated sites, important habitats or other important features affected?", + "enum": [ + "onSite", + "adjacent", + "false" + ], + "type": "string" + }, + "geologicalSitesAffected": { + "description": "Sites of geological conservation affected?", + "enum": [ + "onSite", + "adjacent", + "false" + ], + "type": "string" + }, + "importantHabitatsAffected": { + "description": "Important habitats affected, either on the project site ('onSite') or near to the project site ('adjacent')", + "enum": [ + "onSite", + "adjacent" + ], + "type": "string" + }, + "protectedSpeciesAffected": { + "description": "Protected or priority species affected", + "enum": [ + "onSite", + "adjacent", + "false" + ], + "type": "string" + } + }, + "required": [ + "protectedSpeciesAffected", + "designatedSitesAffected", + "geologicalSitesAffected" + ], + "type": "object" + }, "new": { "additionalProperties": false, "properties": { @@ -3509,12 +3921,75 @@ }, "type": "object" }, + "nonResidentialFloorspace": { + "additionalProperties": false, + "properties": { + "affected": { + "description": "Does your proposal impact non-residential floorspace?", + "type": "boolean" + } + }, + "required": [ + "affected" + ], + "type": "object" + }, + "parking": { + "$ref": "#/definitions/ProposedNationalParking" + }, "projectType": { "items": { "$ref": "#/definitions/ProjectType" }, "type": "array" }, + "publicServiceInfrastructure": { + "description": "Is it a proposal for public service infrastructure?", + "type": "boolean" + }, + "residentialUnits": { + "additionalProperties": false, + "properties": { + "change": { + "description": "Does the project change the number or type of residential units on the site?", + "type": "boolean" + } + }, + "required": [ + "change" + ], + "type": "object" + }, + "site": { + "additionalProperties": false, + "properties": { + "hectares": { + "description": "What is the site area in hectares?", + "type": "number" + } + }, + "required": [ + "hectares" + ], + "type": "object" + }, + "started": { + "additionalProperties": false, + "properties": { + "date": { + "$ref": "#/definitions/Date", + "description": "Date that project was started" + }, + "value": { + "description": "Has the project already started?", + "type": "boolean" + } + }, + "required": [ + "value" + ], + "type": "object" + }, "structures": { "additionalProperties": false, "properties": { @@ -3566,6 +4041,24 @@ ], "type": "object" }, + "trees": { + "additionalProperties": false, + "properties": { + "influenceDevelopment": { + "description": "Are there trees or hedges adjacent to the site that could influence the development or might be important as part of the local landscape character?", + "type": "boolean" + }, + "onSite": { + "description": "Are there trees and hedges on the project site?", + "type": "boolean" + } + }, + "required": [ + "onSite", + "influenceDevelopment" + ], + "type": "object" + }, "units": { "$ref": "#/definitions/ResidentialUnits" }, @@ -3589,6 +4082,10 @@ "type": "string" }, "type": "array" + }, + "vulnerableToContamination": { + "description": "Is the proposed use vulnerable to contamination?", + "type": "boolean" } }, "type": "object" @@ -3703,6 +4200,29 @@ }, "type": "object" }, + "wasteStorage": { + "additionalProperties": false, + "properties": { + "affected": { + "description": "Does the project accommodate waste storage areas?", + "type": "boolean" + }, + "separated": { + "description": "Will recyclable waste be stored and collected separately?", + "enum": [ + "yes", + "no", + "not applicable" + ], + "type": "string" + } + }, + "required": [ + "affected", + "separated" + ], + "type": "object" + }, "watercourse": { "additionalProperties": false, "properties": { @@ -4024,6 +4544,85 @@ }, "type": "object" }, + "ExistingNationalParking": { + "additionalProperties": false, + "description": "Existing parking spaces by type per the national planning application form", + "properties": { + "cars": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + "cycles": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + "disabled": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + "motorcycles": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + "other": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + "vans": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + } + }, + "type": "object" + }, "Feature": { "additionalProperties": false, "description": "A feature object which contains a geometry and associated properties. https://tools.ietf.org/html/rfc7946#section-3.2", @@ -6593,18 +7192,188 @@ "additionalProperties": false, "description": "Proposal details for project sites within the Greater London Authority (GLA) area", "properties": { + "BNG": { + "additionalProperties": false, + "properties": { + "applies": { + "description": "Does the BNG condition apply?", + "type": "boolean" + }, + "degradation": { + "additionalProperties": false, + "properties": { + "details": { + "description": "Provide more details of degradation", + "type": "string" + }, + "preStartDate": { + "$ref": "#/definitions/Date", + "description": "Date immediately before degrading activity was carried out" + }, + "value": { + "description": "Has any degradation occured?", + "type": "boolean" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "exemption": { + "additionalProperties": false, + "properties": { + "justification": { + "description": "Why doesn't it apply?", + "type": "string" + } + }, + "type": "object" + }, + "irreplaceableHabitat": { + "additionalProperties": false, + "properties": { + "details": { + "description": "More details about irreplaceable habitat", + "type": "string" + }, + "value": { + "description": "Does the site have irreplaceable habitat?", + "type": "boolean" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "preDegradationValue": { + "additionalProperties": false, + "properties": { + "metricToolPublicationDate": { + "$ref": "#/definitions/Date", + "description": "Metric tool publication date for pre-degradation calculation" + }, + "value": { + "description": "Onsite biodiversity value on the date immediately before degrading activity was carried out", + "type": "number" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "preDevelopmentValue": { + "additionalProperties": false, + "properties": { + "calculated": { + "additionalProperties": false, + "properties": { + "applicationDate": { + "description": "Is the date of the calculation the application date?", + "type": "boolean" + }, + "date": { + "$ref": "#/definitions/Date", + "description": "Earlier date of pre-development biodiversity calculation" + }, + "earlyJustification": { + "description": "Justification for earlier date", + "type": "string" + } + }, + "type": "object" + }, + "metricToolPublicationDate": { + "$ref": "#/definitions/Date", + "description": "Metric tool publication date for recent calculation" + }, + "value": { + "description": "Pre-development biodiversity value", + "type": "number" + } + }, + "required": [ + "value" + ], + "type": "object" + } + }, + "required": [ + "applies" + ], + "title": "Biodiversity net gain (BNG)", + "type": "object" + }, "access": { "additionalProperties": false, + "description": "Proposed pedestrian & vehicle access, roads and rights of way, if applicable to application.type", "properties": { "affected": { - "enum": [ - "vehicle", - "pedestrian", - "newRoad", - "rightsOfWay.newPublic", - "rightsOfWay.changes" + "anyOf": [ + { + "const": "vehicle", + "type": "string" + }, + { + "const": "pedestrian", + "type": "string" + }, + { + "const": "newRoad", + "type": "string" + }, + { + "const": "rightsOfWay.newPublic", + "type": "string" + }, + { + "const": "rightsOfWay.changes", + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "pedestrian": { + "description": "Is new or altered pedestrian access proposed?", + "type": "boolean" + }, + "rightOfWay": { + "description": "Are any rights of way created, diverted or extinguished?", + "type": "boolean" + }, + "vehicle": { + "description": "Is new or altered vehicle access proposed?", + "type": "boolean" + } + }, + "required": [ + "vehicle", + "pedestrian", + "rightOfWay" + ], + "type": "object" + } + ] + }, + "new": { + "additionalProperties": false, + "properties": { + "publicRoad": { + "description": "Are new public roads provided within the site?", + "type": "boolean" + }, + "rightOfWay": { + "description": "Are new public rights of way provided within the site?", + "type": "boolean" + } + }, + "required": [ + "publicRoad", + "rightOfWay" ], - "type": "string" + "type": "object" } }, "type": "object" @@ -6644,6 +7413,41 @@ }, "type": "object" }, + "commercialProcesses": { + "additionalProperties": false, + "properties": { + "description": { + "description": "Describe activities processes carried out on the site, or 'none'", + "type": "string" + }, + "wasteManagement": { + "description": "Is the proposal a waste management development?", + "type": "boolean" + } + }, + "required": [ + "description", + "wasteManagement" + ], + "type": "object" + }, + "completed": { + "additionalProperties": false, + "properties": { + "date": { + "$ref": "#/definitions/Date", + "description": "Date that project was completed" + }, + "value": { + "description": "Has the project been completed?", + "type": "boolean" + } + }, + "required": [ + "value" + ], + "type": "object" + }, "cost": { "additionalProperties": false, "description": "Project cost in GBP", @@ -6699,6 +7503,117 @@ }, "type": "object" }, + "effluent": { + "additionalProperties": false, + "properties": { + "disposal": { + "description": "Does the proposed use involve disposal of trade effluent?", + "type": "boolean" + } + }, + "required": [ + "disposal" + ], + "type": "object" + }, + "employment": { + "additionalProperties": false, + "properties": { + "existingEmployees": { + "additionalProperties": false, + "description": "Number of existing employees: full time, part time, and total full time equivalent", + "properties": { + "fullTime": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "fullTimeEquivalent": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "partTime": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + } + }, + "required": [ + "fullTime" + ], + "type": "object" + }, + "proposedEmployees": { + "additionalProperties": false, + "description": "Number of proposed employees: full time, part time, and total full time equivalent", + "properties": { + "fullTime": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "fullTimeEquivalent": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "partTime": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "existingEmployees" + ], + "type": "object" + }, "energy": { "additionalProperties": false, "description": "Proposed energy sources", @@ -6806,8 +7721,18 @@ "additionalProperties": false, "description": "Assessment of flood risk, if applicable to application.type", "properties": { + "atRisk": { + "description": "Is the site at risk of flooding?", + "type": "boolean" + }, + "increaseRiskElsewhere": { + "description": "Will the proposal increase the flood risk elsewhere?", + "type": "boolean" + }, "surfaceWaterDisposal": { + "description": "How will surface water be disposed of?", "enum": [ + "sustainableDrainageSystem", "drainageSystem", "soakaway", "sewer", @@ -6816,10 +7741,39 @@ "other" ], "type": "string" + }, + "within20mOfWatercourse": { + "description": "Is your project within 20 metres of a watercourse?", + "type": "boolean" } }, "type": "object" }, + "foulSewage": { + "additionalProperties": false, + "properties": { + "disposal": { + "description": "How will foul sewage be disposed of?", + "enum": [ + "sewer", + "pit", + "tank", + "plant", + "other" + ], + "type": "string" + }, + "newConnection": { + "description": "Are you proposing to connect to the existing drainage system?", + "type": "boolean" + } + }, + "required": [ + "disposal", + "newConnection" + ], + "type": "object" + }, "greenRoof": { "additionalProperties": false, "description": "Green roof", @@ -6833,6 +7787,14 @@ ], "type": "object" }, + "hazardousSubstanceStorage": { + "description": "Does the proposed use involve the storage of hazardous chemicals?", + "type": "boolean" + }, + "hoursOfOperation": { + "description": "Hours of operation per use, or 'not applicable'", + "type": "string" + }, "materials": { "$ref": "#/definitions/Materials", "description": "Proposed materials, if applicable to projectType" @@ -6951,6 +7913,52 @@ }, "type": "object" }, + "natureImpacts": { + "additionalProperties": false, + "properties": { + "designatedSitesAffected": { + "description": "Designated sites, important habitats or other important features affected?", + "enum": [ + "onSite", + "adjacent", + "false" + ], + "type": "string" + }, + "geologicalSitesAffected": { + "description": "Sites of geological conservation affected?", + "enum": [ + "onSite", + "adjacent", + "false" + ], + "type": "string" + }, + "importantHabitatsAffected": { + "description": "Important habitats affected, either on the project site ('onSite') or near to the project site ('adjacent')", + "enum": [ + "onSite", + "adjacent" + ], + "type": "string" + }, + "protectedSpeciesAffected": { + "description": "Protected or priority species affected", + "enum": [ + "onSite", + "adjacent", + "false" + ], + "type": "string" + } + }, + "required": [ + "protectedSpeciesAffected", + "designatedSitesAffected", + "geologicalSitesAffected" + ], + "type": "object" + }, "new": { "additionalProperties": false, "properties": { @@ -7004,6 +8012,19 @@ "$ref": "#/definitions/NewBuildingsOrStoreys", "description": "Increasing the height of existing buildings" }, + "nonResidentialFloorspace": { + "additionalProperties": false, + "properties": { + "affected": { + "description": "Does your proposal impact non-residential floorspace?", + "type": "boolean" + } + }, + "required": [ + "affected" + ], + "type": "object" + }, "parking": { "$ref": "#/definitions/ProposedLondonParking" }, @@ -7013,9 +8034,56 @@ }, "type": "array" }, + "publicServiceInfrastructure": { + "description": "Is it a proposal for public service infrastructure?", + "type": "boolean" + }, + "residentialUnits": { + "additionalProperties": false, + "properties": { + "change": { + "description": "Does the project change the number or type of residential units on the site?", + "type": "boolean" + } + }, + "required": [ + "change" + ], + "type": "object" + }, "schemeName": { "type": "string" }, + "site": { + "additionalProperties": false, + "properties": { + "hectares": { + "description": "What is the site area in hectares?", + "type": "number" + } + }, + "required": [ + "hectares" + ], + "type": "object" + }, + "started": { + "additionalProperties": false, + "properties": { + "date": { + "$ref": "#/definitions/Date", + "description": "Date that project was started" + }, + "value": { + "description": "Has the project already started?", + "type": "boolean" + } + }, + "required": [ + "value" + ], + "type": "object" + }, "structures": { "additionalProperties": false, "properties": { @@ -7067,6 +8135,24 @@ ], "type": "object" }, + "trees": { + "additionalProperties": false, + "properties": { + "influenceDevelopment": { + "description": "Are there trees or hedges adjacent to the site that could influence the development or might be important as part of the local landscape character?", + "type": "boolean" + }, + "onSite": { + "description": "Are there trees and hedges on the project site?", + "type": "boolean" + } + }, + "required": [ + "onSite", + "influenceDevelopment" + ], + "type": "object" + }, "units": { "additionalProperties": false, "properties": { @@ -7320,6 +8406,10 @@ "type": "string" }, "type": "array" + }, + "vulnerableToContamination": { + "description": "Is the proposed use vulnerable to contamination?", + "type": "boolean" } }, "type": "object" @@ -7456,6 +8546,29 @@ ], "type": "object" }, + "wasteStorage": { + "additionalProperties": false, + "properties": { + "affected": { + "description": "Does the project accommodate waste storage areas?", + "type": "boolean" + }, + "separated": { + "description": "Will recyclable waste be stored and collected separately?", + "enum": [ + "yes", + "no", + "not applicable" + ], + "type": "string" + } + }, + "required": [ + "affected", + "separated" + ], + "type": "object" + }, "water": { "additionalProperties": false, "description": "Water management", @@ -9041,6 +10154,27 @@ }, "preApp": { "$ref": "#/definitions/PreApplication" + }, + "preAppAdvice": { + "additionalProperties": false, + "properties": { + "form": { + "description": "Has prior advice been sought?", + "enum": [ + "Yes", + "No" + ], + "type": "string" + }, + "reference": { + "description": "Reference", + "type": "string" + } + }, + "required": [ + "form" + ], + "type": "object" } }, "required": [ @@ -9070,6 +10204,27 @@ "preApp": { "$ref": "#/definitions/PreApplication" }, + "preAppAdvice": { + "additionalProperties": false, + "properties": { + "form": { + "description": "Has prior advice been sought?", + "enum": [ + "Yes", + "No" + ], + "type": "string" + }, + "reference": { + "description": "Reference", + "type": "string" + } + }, + "required": [ + "form" + ], + "type": "object" + }, "vacantBuildingCredit": { "type": "boolean" } @@ -9127,6 +10282,9 @@ "materials": { "$ref": "#/definitions/Materials" }, + "parking": { + "$ref": "#/definitions/ExistingNationalParking" + }, "planning": { "additionalProperties": false, "description": "Planning constraints and policies that intersect with this site and may impact or restrict development", @@ -9191,11 +10349,28 @@ "type": { "$ref": "#/definitions/PropertyType" }, + "units": { + "$ref": "#/definitions/ResidentialUnits", + "description": "Existing residential units on the site, if the project changes the number or type of residential units" + }, "use": { "additionalProperties": false, "properties": { "description": { + "description": "Describe the current use", "type": "string" + }, + "knownContamination": { + "description": "Is the land known to be contaminated?", + "type": "boolean" + }, + "suspectedContamination": { + "description": "Is the land suspected of being contaminated?", + "type": "boolean" + }, + "vacant": { + "description": "Is the site currently vacant?", + "type": "boolean" } }, "required": [ @@ -9367,11 +10542,28 @@ "type": { "$ref": "#/definitions/PropertyType" }, + "units": { + "$ref": "#/definitions/ResidentialUnits", + "description": "Existing residential units on the site, if the project changes the number or type of residential units" + }, "use": { "additionalProperties": false, "properties": { "description": { + "description": "Describe the current use", "type": "string" + }, + "knownContamination": { + "description": "Is the land known to be contaminated?", + "type": "boolean" + }, + "suspectedContamination": { + "description": "Is the land suspected of being contaminated?", + "type": "boolean" + }, + "vacant": { + "description": "Is the site currently vacant?", + "type": "boolean" } }, "required": [ @@ -41749,6 +42941,109 @@ }, "type": "object" }, + "ProposedNationalParking": { + "additionalProperties": false, + "description": "Proposed parking spaces by type per the national planning application form", + "properties": { + "cars": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + }, + "difference": { + "type": "number" + } + }, + "required": [ + "count", + "difference" + ], + "type": "object" + }, + "cycles": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + }, + "difference": { + "type": "number" + } + }, + "required": [ + "count", + "difference" + ], + "type": "object" + }, + "disabled": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + }, + "difference": { + "type": "number" + } + }, + "required": [ + "count", + "difference" + ], + "type": "object" + }, + "motorcycles": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + }, + "difference": { + "type": "number" + } + }, + "required": [ + "count", + "difference" + ], + "type": "object" + }, + "other": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + }, + "difference": { + "type": "number" + } + }, + "required": [ + "count", + "difference" + ], + "type": "object" + }, + "vans": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + }, + "difference": { + "type": "number" + } + }, + "required": [ + "count", + "difference" + ], + "type": "object" + } + }, + "type": "object" + }, "ProtectedSpaceDesignation": { "$id": "#ProtectedSpaceDesignation", "anyOf": [ diff --git a/schemas/postSubmissionPublishedApplication.json b/schemas/postSubmissionPublishedApplication.json index 12062d9c..8a32772f 100644 --- a/schemas/postSubmissionPublishedApplication.json +++ b/schemas/postSubmissionPublishedApplication.json @@ -3266,6 +3266,9 @@ }, "type": "array" }, + "parking": { + "$ref": "#/definitions/ExistingNationalParking" + }, "planning": { "additionalProperties": false, "description": "Planning constraints and policies that intersect with this site and may impact or restrict development", @@ -3347,18 +3350,188 @@ "EnglandProposal": { "additionalProperties": false, "properties": { + "BNG": { + "additionalProperties": false, + "properties": { + "applies": { + "description": "Does the BNG condition apply?", + "type": "boolean" + }, + "degradation": { + "additionalProperties": false, + "properties": { + "details": { + "description": "Provide more details of degradation", + "type": "string" + }, + "preStartDate": { + "$ref": "#/definitions/Date", + "description": "Date immediately before degrading activity was carried out" + }, + "value": { + "description": "Has any degradation occured?", + "type": "boolean" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "exemption": { + "additionalProperties": false, + "properties": { + "justification": { + "description": "Why doesn't it apply?", + "type": "string" + } + }, + "type": "object" + }, + "irreplaceableHabitat": { + "additionalProperties": false, + "properties": { + "details": { + "description": "More details about irreplaceable habitat", + "type": "string" + }, + "value": { + "description": "Does the site have irreplaceable habitat?", + "type": "boolean" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "preDegradationValue": { + "additionalProperties": false, + "properties": { + "metricToolPublicationDate": { + "$ref": "#/definitions/Date", + "description": "Metric tool publication date for pre-degradation calculation" + }, + "value": { + "description": "Onsite biodiversity value on the date immediately before degrading activity was carried out", + "type": "number" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "preDevelopmentValue": { + "additionalProperties": false, + "properties": { + "calculated": { + "additionalProperties": false, + "properties": { + "applicationDate": { + "description": "Is the date of the calculation the application date?", + "type": "boolean" + }, + "date": { + "$ref": "#/definitions/Date", + "description": "Earlier date of pre-development biodiversity calculation" + }, + "earlyJustification": { + "description": "Justification for earlier date", + "type": "string" + } + }, + "type": "object" + }, + "metricToolPublicationDate": { + "$ref": "#/definitions/Date", + "description": "Metric tool publication date for recent calculation" + }, + "value": { + "description": "Pre-development biodiversity value", + "type": "number" + } + }, + "required": [ + "value" + ], + "type": "object" + } + }, + "required": [ + "applies" + ], + "title": "Biodiversity net gain (BNG)", + "type": "object" + }, "access": { "additionalProperties": false, + "description": "Proposed pedestrian & vehicle access, roads and rights of way, if applicable to application.type", "properties": { "affected": { - "enum": [ - "vehicle", - "pedestrian", - "newRoad", - "rightsOfWay.newPublic", - "rightsOfWay.changes" + "anyOf": [ + { + "const": "vehicle", + "type": "string" + }, + { + "const": "pedestrian", + "type": "string" + }, + { + "const": "newRoad", + "type": "string" + }, + { + "const": "rightsOfWay.newPublic", + "type": "string" + }, + { + "const": "rightsOfWay.changes", + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "pedestrian": { + "description": "Is new or altered pedestrian access proposed?", + "type": "boolean" + }, + "rightOfWay": { + "description": "Are any rights of way created, diverted or extinguished?", + "type": "boolean" + }, + "vehicle": { + "description": "Is new or altered vehicle access proposed?", + "type": "boolean" + } + }, + "required": [ + "vehicle", + "pedestrian", + "rightOfWay" + ], + "type": "object" + } + ] + }, + "new": { + "additionalProperties": false, + "properties": { + "publicRoad": { + "description": "Are new public roads provided within the site?", + "type": "boolean" + }, + "rightOfWay": { + "description": "Are new public rights of way provided within the site?", + "type": "boolean" + } + }, + "required": [ + "publicRoad", + "rightOfWay" ], - "type": "string" + "type": "object" } }, "type": "object" @@ -3367,6 +3540,41 @@ "$ref": "#/definitions/GeoBoundary", "description": "Location plan boundary proposed by the user, commonly referred to as the red line boundary" }, + "commercialProcesses": { + "additionalProperties": false, + "properties": { + "description": { + "description": "Describe activities processes carried out on the site, or 'none'", + "type": "string" + }, + "wasteManagement": { + "description": "Is the proposal a waste management development?", + "type": "boolean" + } + }, + "required": [ + "description", + "wasteManagement" + ], + "type": "object" + }, + "completed": { + "additionalProperties": false, + "properties": { + "date": { + "$ref": "#/definitions/Date", + "description": "Date that project was completed" + }, + "value": { + "description": "Has the project been completed?", + "type": "boolean" + } + }, + "required": [ + "value" + ], + "type": "object" + }, "date": { "$ref": "#/definitions/ProposalDates" }, @@ -3404,6 +3612,117 @@ }, "type": "object" }, + "effluent": { + "additionalProperties": false, + "properties": { + "disposal": { + "description": "Does the proposed use involve disposal of trade effluent?", + "type": "boolean" + } + }, + "required": [ + "disposal" + ], + "type": "object" + }, + "employment": { + "additionalProperties": false, + "properties": { + "existingEmployees": { + "additionalProperties": false, + "description": "Number of existing employees: full time, part time, and total full time equivalent", + "properties": { + "fullTime": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "fullTimeEquivalent": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "partTime": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + } + }, + "required": [ + "fullTime" + ], + "type": "object" + }, + "proposedEmployees": { + "additionalProperties": false, + "description": "Number of proposed employees: full time, part time, and total full time equivalent", + "properties": { + "fullTime": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "fullTimeEquivalent": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "partTime": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "existingEmployees" + ], + "type": "object" + }, "environmentalImpactDescription": { "type": "string" }, @@ -3423,8 +3742,18 @@ "additionalProperties": false, "description": "Assessment of flood risk, if applicable to application.type", "properties": { + "atRisk": { + "description": "Is the site at risk of flooding?", + "type": "boolean" + }, + "increaseRiskElsewhere": { + "description": "Will the proposal increase the flood risk elsewhere?", + "type": "boolean" + }, "surfaceWaterDisposal": { + "description": "How will surface water be disposed of?", "enum": [ + "sustainableDrainageSystem", "drainageSystem", "soakaway", "sewer", @@ -3433,14 +3762,97 @@ "other" ], "type": "string" + }, + "within20mOfWatercourse": { + "description": "Is your project within 20 metres of a watercourse?", + "type": "boolean" } }, "type": "object" }, + "foulSewage": { + "additionalProperties": false, + "properties": { + "disposal": { + "description": "How will foul sewage be disposed of?", + "enum": [ + "sewer", + "pit", + "tank", + "plant", + "other" + ], + "type": "string" + }, + "newConnection": { + "description": "Are you proposing to connect to the existing drainage system?", + "type": "boolean" + } + }, + "required": [ + "disposal", + "newConnection" + ], + "type": "object" + }, + "hazardousSubstanceStorage": { + "description": "Does the proposed use involve the storage of hazardous chemicals?", + "type": "boolean" + }, + "hoursOfOperation": { + "description": "Hours of operation per use, or 'not applicable'", + "type": "string" + }, "materials": { "$ref": "#/definitions/Materials", "description": "Proposed materials, if applicable to projectType" }, + "natureImpacts": { + "additionalProperties": false, + "properties": { + "designatedSitesAffected": { + "description": "Designated sites, important habitats or other important features affected?", + "enum": [ + "onSite", + "adjacent", + "false" + ], + "type": "string" + }, + "geologicalSitesAffected": { + "description": "Sites of geological conservation affected?", + "enum": [ + "onSite", + "adjacent", + "false" + ], + "type": "string" + }, + "importantHabitatsAffected": { + "description": "Important habitats affected, either on the project site ('onSite') or near to the project site ('adjacent')", + "enum": [ + "onSite", + "adjacent" + ], + "type": "string" + }, + "protectedSpeciesAffected": { + "description": "Protected or priority species affected", + "enum": [ + "onSite", + "adjacent", + "false" + ], + "type": "string" + } + }, + "required": [ + "protectedSpeciesAffected", + "designatedSitesAffected", + "geologicalSitesAffected" + ], + "type": "object" + }, "new": { "additionalProperties": false, "properties": { @@ -3486,12 +3898,75 @@ }, "type": "object" }, + "nonResidentialFloorspace": { + "additionalProperties": false, + "properties": { + "affected": { + "description": "Does your proposal impact non-residential floorspace?", + "type": "boolean" + } + }, + "required": [ + "affected" + ], + "type": "object" + }, + "parking": { + "$ref": "#/definitions/ProposedNationalParking" + }, "projectType": { "items": { "$ref": "#/definitions/ProjectType" }, "type": "array" }, + "publicServiceInfrastructure": { + "description": "Is it a proposal for public service infrastructure?", + "type": "boolean" + }, + "residentialUnits": { + "additionalProperties": false, + "properties": { + "change": { + "description": "Does the project change the number or type of residential units on the site?", + "type": "boolean" + } + }, + "required": [ + "change" + ], + "type": "object" + }, + "site": { + "additionalProperties": false, + "properties": { + "hectares": { + "description": "What is the site area in hectares?", + "type": "number" + } + }, + "required": [ + "hectares" + ], + "type": "object" + }, + "started": { + "additionalProperties": false, + "properties": { + "date": { + "$ref": "#/definitions/Date", + "description": "Date that project was started" + }, + "value": { + "description": "Has the project already started?", + "type": "boolean" + } + }, + "required": [ + "value" + ], + "type": "object" + }, "structures": { "additionalProperties": false, "properties": { @@ -3543,6 +4018,24 @@ ], "type": "object" }, + "trees": { + "additionalProperties": false, + "properties": { + "influenceDevelopment": { + "description": "Are there trees or hedges adjacent to the site that could influence the development or might be important as part of the local landscape character?", + "type": "boolean" + }, + "onSite": { + "description": "Are there trees and hedges on the project site?", + "type": "boolean" + } + }, + "required": [ + "onSite", + "influenceDevelopment" + ], + "type": "object" + }, "units": { "$ref": "#/definitions/ResidentialUnits" }, @@ -3566,6 +4059,10 @@ "type": "string" }, "type": "array" + }, + "vulnerableToContamination": { + "description": "Is the proposed use vulnerable to contamination?", + "type": "boolean" } }, "type": "object" @@ -3680,6 +4177,29 @@ }, "type": "object" }, + "wasteStorage": { + "additionalProperties": false, + "properties": { + "affected": { + "description": "Does the project accommodate waste storage areas?", + "type": "boolean" + }, + "separated": { + "description": "Will recyclable waste be stored and collected separately?", + "enum": [ + "yes", + "no", + "not applicable" + ], + "type": "string" + } + }, + "required": [ + "affected", + "separated" + ], + "type": "object" + }, "watercourse": { "additionalProperties": false, "properties": { @@ -4001,6 +4521,85 @@ }, "type": "object" }, + "ExistingNationalParking": { + "additionalProperties": false, + "description": "Existing parking spaces by type per the national planning application form", + "properties": { + "cars": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + "cycles": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + "disabled": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + "motorcycles": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + "other": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + "vans": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + } + }, + "type": "object" + }, "Feature": { "additionalProperties": false, "description": "A feature object which contains a geometry and associated properties. https://tools.ietf.org/html/rfc7946#section-3.2", @@ -6570,18 +7169,188 @@ "additionalProperties": false, "description": "Proposal details for project sites within the Greater London Authority (GLA) area", "properties": { + "BNG": { + "additionalProperties": false, + "properties": { + "applies": { + "description": "Does the BNG condition apply?", + "type": "boolean" + }, + "degradation": { + "additionalProperties": false, + "properties": { + "details": { + "description": "Provide more details of degradation", + "type": "string" + }, + "preStartDate": { + "$ref": "#/definitions/Date", + "description": "Date immediately before degrading activity was carried out" + }, + "value": { + "description": "Has any degradation occured?", + "type": "boolean" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "exemption": { + "additionalProperties": false, + "properties": { + "justification": { + "description": "Why doesn't it apply?", + "type": "string" + } + }, + "type": "object" + }, + "irreplaceableHabitat": { + "additionalProperties": false, + "properties": { + "details": { + "description": "More details about irreplaceable habitat", + "type": "string" + }, + "value": { + "description": "Does the site have irreplaceable habitat?", + "type": "boolean" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "preDegradationValue": { + "additionalProperties": false, + "properties": { + "metricToolPublicationDate": { + "$ref": "#/definitions/Date", + "description": "Metric tool publication date for pre-degradation calculation" + }, + "value": { + "description": "Onsite biodiversity value on the date immediately before degrading activity was carried out", + "type": "number" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "preDevelopmentValue": { + "additionalProperties": false, + "properties": { + "calculated": { + "additionalProperties": false, + "properties": { + "applicationDate": { + "description": "Is the date of the calculation the application date?", + "type": "boolean" + }, + "date": { + "$ref": "#/definitions/Date", + "description": "Earlier date of pre-development biodiversity calculation" + }, + "earlyJustification": { + "description": "Justification for earlier date", + "type": "string" + } + }, + "type": "object" + }, + "metricToolPublicationDate": { + "$ref": "#/definitions/Date", + "description": "Metric tool publication date for recent calculation" + }, + "value": { + "description": "Pre-development biodiversity value", + "type": "number" + } + }, + "required": [ + "value" + ], + "type": "object" + } + }, + "required": [ + "applies" + ], + "title": "Biodiversity net gain (BNG)", + "type": "object" + }, "access": { "additionalProperties": false, + "description": "Proposed pedestrian & vehicle access, roads and rights of way, if applicable to application.type", "properties": { "affected": { - "enum": [ - "vehicle", - "pedestrian", - "newRoad", - "rightsOfWay.newPublic", - "rightsOfWay.changes" + "anyOf": [ + { + "const": "vehicle", + "type": "string" + }, + { + "const": "pedestrian", + "type": "string" + }, + { + "const": "newRoad", + "type": "string" + }, + { + "const": "rightsOfWay.newPublic", + "type": "string" + }, + { + "const": "rightsOfWay.changes", + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "pedestrian": { + "description": "Is new or altered pedestrian access proposed?", + "type": "boolean" + }, + "rightOfWay": { + "description": "Are any rights of way created, diverted or extinguished?", + "type": "boolean" + }, + "vehicle": { + "description": "Is new or altered vehicle access proposed?", + "type": "boolean" + } + }, + "required": [ + "vehicle", + "pedestrian", + "rightOfWay" + ], + "type": "object" + } + ] + }, + "new": { + "additionalProperties": false, + "properties": { + "publicRoad": { + "description": "Are new public roads provided within the site?", + "type": "boolean" + }, + "rightOfWay": { + "description": "Are new public rights of way provided within the site?", + "type": "boolean" + } + }, + "required": [ + "publicRoad", + "rightOfWay" ], - "type": "string" + "type": "object" } }, "type": "object" @@ -6621,6 +7390,41 @@ }, "type": "object" }, + "commercialProcesses": { + "additionalProperties": false, + "properties": { + "description": { + "description": "Describe activities processes carried out on the site, or 'none'", + "type": "string" + }, + "wasteManagement": { + "description": "Is the proposal a waste management development?", + "type": "boolean" + } + }, + "required": [ + "description", + "wasteManagement" + ], + "type": "object" + }, + "completed": { + "additionalProperties": false, + "properties": { + "date": { + "$ref": "#/definitions/Date", + "description": "Date that project was completed" + }, + "value": { + "description": "Has the project been completed?", + "type": "boolean" + } + }, + "required": [ + "value" + ], + "type": "object" + }, "cost": { "additionalProperties": false, "description": "Project cost in GBP", @@ -6676,6 +7480,117 @@ }, "type": "object" }, + "effluent": { + "additionalProperties": false, + "properties": { + "disposal": { + "description": "Does the proposed use involve disposal of trade effluent?", + "type": "boolean" + } + }, + "required": [ + "disposal" + ], + "type": "object" + }, + "employment": { + "additionalProperties": false, + "properties": { + "existingEmployees": { + "additionalProperties": false, + "description": "Number of existing employees: full time, part time, and total full time equivalent", + "properties": { + "fullTime": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "fullTimeEquivalent": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "partTime": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + } + }, + "required": [ + "fullTime" + ], + "type": "object" + }, + "proposedEmployees": { + "additionalProperties": false, + "description": "Number of proposed employees: full time, part time, and total full time equivalent", + "properties": { + "fullTime": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "fullTimeEquivalent": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "partTime": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "existingEmployees" + ], + "type": "object" + }, "energy": { "additionalProperties": false, "description": "Proposed energy sources", @@ -6783,8 +7698,18 @@ "additionalProperties": false, "description": "Assessment of flood risk, if applicable to application.type", "properties": { + "atRisk": { + "description": "Is the site at risk of flooding?", + "type": "boolean" + }, + "increaseRiskElsewhere": { + "description": "Will the proposal increase the flood risk elsewhere?", + "type": "boolean" + }, "surfaceWaterDisposal": { + "description": "How will surface water be disposed of?", "enum": [ + "sustainableDrainageSystem", "drainageSystem", "soakaway", "sewer", @@ -6793,10 +7718,39 @@ "other" ], "type": "string" + }, + "within20mOfWatercourse": { + "description": "Is your project within 20 metres of a watercourse?", + "type": "boolean" } }, "type": "object" }, + "foulSewage": { + "additionalProperties": false, + "properties": { + "disposal": { + "description": "How will foul sewage be disposed of?", + "enum": [ + "sewer", + "pit", + "tank", + "plant", + "other" + ], + "type": "string" + }, + "newConnection": { + "description": "Are you proposing to connect to the existing drainage system?", + "type": "boolean" + } + }, + "required": [ + "disposal", + "newConnection" + ], + "type": "object" + }, "greenRoof": { "additionalProperties": false, "description": "Green roof", @@ -6810,6 +7764,14 @@ ], "type": "object" }, + "hazardousSubstanceStorage": { + "description": "Does the proposed use involve the storage of hazardous chemicals?", + "type": "boolean" + }, + "hoursOfOperation": { + "description": "Hours of operation per use, or 'not applicable'", + "type": "string" + }, "materials": { "$ref": "#/definitions/Materials", "description": "Proposed materials, if applicable to projectType" @@ -6928,6 +7890,52 @@ }, "type": "object" }, + "natureImpacts": { + "additionalProperties": false, + "properties": { + "designatedSitesAffected": { + "description": "Designated sites, important habitats or other important features affected?", + "enum": [ + "onSite", + "adjacent", + "false" + ], + "type": "string" + }, + "geologicalSitesAffected": { + "description": "Sites of geological conservation affected?", + "enum": [ + "onSite", + "adjacent", + "false" + ], + "type": "string" + }, + "importantHabitatsAffected": { + "description": "Important habitats affected, either on the project site ('onSite') or near to the project site ('adjacent')", + "enum": [ + "onSite", + "adjacent" + ], + "type": "string" + }, + "protectedSpeciesAffected": { + "description": "Protected or priority species affected", + "enum": [ + "onSite", + "adjacent", + "false" + ], + "type": "string" + } + }, + "required": [ + "protectedSpeciesAffected", + "designatedSitesAffected", + "geologicalSitesAffected" + ], + "type": "object" + }, "new": { "additionalProperties": false, "properties": { @@ -6981,6 +7989,19 @@ "$ref": "#/definitions/NewBuildingsOrStoreys", "description": "Increasing the height of existing buildings" }, + "nonResidentialFloorspace": { + "additionalProperties": false, + "properties": { + "affected": { + "description": "Does your proposal impact non-residential floorspace?", + "type": "boolean" + } + }, + "required": [ + "affected" + ], + "type": "object" + }, "parking": { "$ref": "#/definitions/ProposedLondonParking" }, @@ -6990,9 +8011,56 @@ }, "type": "array" }, + "publicServiceInfrastructure": { + "description": "Is it a proposal for public service infrastructure?", + "type": "boolean" + }, + "residentialUnits": { + "additionalProperties": false, + "properties": { + "change": { + "description": "Does the project change the number or type of residential units on the site?", + "type": "boolean" + } + }, + "required": [ + "change" + ], + "type": "object" + }, "schemeName": { "type": "string" }, + "site": { + "additionalProperties": false, + "properties": { + "hectares": { + "description": "What is the site area in hectares?", + "type": "number" + } + }, + "required": [ + "hectares" + ], + "type": "object" + }, + "started": { + "additionalProperties": false, + "properties": { + "date": { + "$ref": "#/definitions/Date", + "description": "Date that project was started" + }, + "value": { + "description": "Has the project already started?", + "type": "boolean" + } + }, + "required": [ + "value" + ], + "type": "object" + }, "structures": { "additionalProperties": false, "properties": { @@ -7044,6 +8112,24 @@ ], "type": "object" }, + "trees": { + "additionalProperties": false, + "properties": { + "influenceDevelopment": { + "description": "Are there trees or hedges adjacent to the site that could influence the development or might be important as part of the local landscape character?", + "type": "boolean" + }, + "onSite": { + "description": "Are there trees and hedges on the project site?", + "type": "boolean" + } + }, + "required": [ + "onSite", + "influenceDevelopment" + ], + "type": "object" + }, "units": { "additionalProperties": false, "properties": { @@ -7297,6 +8383,10 @@ "type": "string" }, "type": "array" + }, + "vulnerableToContamination": { + "description": "Is the proposed use vulnerable to contamination?", + "type": "boolean" } }, "type": "object" @@ -7433,6 +8523,29 @@ ], "type": "object" }, + "wasteStorage": { + "additionalProperties": false, + "properties": { + "affected": { + "description": "Does the project accommodate waste storage areas?", + "type": "boolean" + }, + "separated": { + "description": "Will recyclable waste be stored and collected separately?", + "enum": [ + "yes", + "no", + "not applicable" + ], + "type": "string" + } + }, + "required": [ + "affected", + "separated" + ], + "type": "object" + }, "water": { "additionalProperties": false, "description": "Water management", @@ -9018,6 +10131,27 @@ }, "preApp": { "$ref": "#/definitions/PreApplication" + }, + "preAppAdvice": { + "additionalProperties": false, + "properties": { + "form": { + "description": "Has prior advice been sought?", + "enum": [ + "Yes", + "No" + ], + "type": "string" + }, + "reference": { + "description": "Reference", + "type": "string" + } + }, + "required": [ + "form" + ], + "type": "object" } }, "required": [ @@ -9047,6 +10181,27 @@ "preApp": { "$ref": "#/definitions/PreApplication" }, + "preAppAdvice": { + "additionalProperties": false, + "properties": { + "form": { + "description": "Has prior advice been sought?", + "enum": [ + "Yes", + "No" + ], + "type": "string" + }, + "reference": { + "description": "Reference", + "type": "string" + } + }, + "required": [ + "form" + ], + "type": "object" + }, "vacantBuildingCredit": { "type": "boolean" } @@ -9104,6 +10259,9 @@ "materials": { "$ref": "#/definitions/Materials" }, + "parking": { + "$ref": "#/definitions/ExistingNationalParking" + }, "planning": { "additionalProperties": false, "description": "Planning constraints and policies that intersect with this site and may impact or restrict development", @@ -9168,11 +10326,28 @@ "type": { "$ref": "#/definitions/PropertyType" }, + "units": { + "$ref": "#/definitions/ResidentialUnits", + "description": "Existing residential units on the site, if the project changes the number or type of residential units" + }, "use": { "additionalProperties": false, "properties": { "description": { + "description": "Describe the current use", "type": "string" + }, + "knownContamination": { + "description": "Is the land known to be contaminated?", + "type": "boolean" + }, + "suspectedContamination": { + "description": "Is the land suspected of being contaminated?", + "type": "boolean" + }, + "vacant": { + "description": "Is the site currently vacant?", + "type": "boolean" } }, "required": [ @@ -9344,11 +10519,28 @@ "type": { "$ref": "#/definitions/PropertyType" }, + "units": { + "$ref": "#/definitions/ResidentialUnits", + "description": "Existing residential units on the site, if the project changes the number or type of residential units" + }, "use": { "additionalProperties": false, "properties": { "description": { + "description": "Describe the current use", "type": "string" + }, + "knownContamination": { + "description": "Is the land known to be contaminated?", + "type": "boolean" + }, + "suspectedContamination": { + "description": "Is the land suspected of being contaminated?", + "type": "boolean" + }, + "vacant": { + "description": "Is the site currently vacant?", + "type": "boolean" } }, "required": [ @@ -41830,6 +43022,109 @@ }, "type": "object" }, + "ProposedNationalParking": { + "additionalProperties": false, + "description": "Proposed parking spaces by type per the national planning application form", + "properties": { + "cars": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + }, + "difference": { + "type": "number" + } + }, + "required": [ + "count", + "difference" + ], + "type": "object" + }, + "cycles": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + }, + "difference": { + "type": "number" + } + }, + "required": [ + "count", + "difference" + ], + "type": "object" + }, + "disabled": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + }, + "difference": { + "type": "number" + } + }, + "required": [ + "count", + "difference" + ], + "type": "object" + }, + "motorcycles": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + }, + "difference": { + "type": "number" + } + }, + "required": [ + "count", + "difference" + ], + "type": "object" + }, + "other": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + }, + "difference": { + "type": "number" + } + }, + "required": [ + "count", + "difference" + ], + "type": "object" + }, + "vans": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + }, + "difference": { + "type": "number" + } + }, + "required": [ + "count", + "difference" + ], + "type": "object" + } + }, + "type": "object" + }, "ProtectedSpaceDesignation": { "$id": "#ProtectedSpaceDesignation", "anyOf": [ diff --git a/schemas/prototypeApplication.json b/schemas/prototypeApplication.json index 652ec69d..69c3d33d 100644 --- a/schemas/prototypeApplication.json +++ b/schemas/prototypeApplication.json @@ -3186,6 +3186,9 @@ }, "type": "array" }, + "parking": { + "$ref": "#/definitions/ExistingNationalParking" + }, "planning": { "additionalProperties": false, "description": "Planning constraints and policies that intersect with this site and may impact or restrict development", @@ -3267,18 +3270,188 @@ "EnglandProposal": { "additionalProperties": false, "properties": { + "BNG": { + "additionalProperties": false, + "properties": { + "applies": { + "description": "Does the BNG condition apply?", + "type": "boolean" + }, + "degradation": { + "additionalProperties": false, + "properties": { + "details": { + "description": "Provide more details of degradation", + "type": "string" + }, + "preStartDate": { + "$ref": "#/definitions/Date", + "description": "Date immediately before degrading activity was carried out" + }, + "value": { + "description": "Has any degradation occured?", + "type": "boolean" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "exemption": { + "additionalProperties": false, + "properties": { + "justification": { + "description": "Why doesn't it apply?", + "type": "string" + } + }, + "type": "object" + }, + "irreplaceableHabitat": { + "additionalProperties": false, + "properties": { + "details": { + "description": "More details about irreplaceable habitat", + "type": "string" + }, + "value": { + "description": "Does the site have irreplaceable habitat?", + "type": "boolean" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "preDegradationValue": { + "additionalProperties": false, + "properties": { + "metricToolPublicationDate": { + "$ref": "#/definitions/Date", + "description": "Metric tool publication date for pre-degradation calculation" + }, + "value": { + "description": "Onsite biodiversity value on the date immediately before degrading activity was carried out", + "type": "number" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "preDevelopmentValue": { + "additionalProperties": false, + "properties": { + "calculated": { + "additionalProperties": false, + "properties": { + "applicationDate": { + "description": "Is the date of the calculation the application date?", + "type": "boolean" + }, + "date": { + "$ref": "#/definitions/Date", + "description": "Earlier date of pre-development biodiversity calculation" + }, + "earlyJustification": { + "description": "Justification for earlier date", + "type": "string" + } + }, + "type": "object" + }, + "metricToolPublicationDate": { + "$ref": "#/definitions/Date", + "description": "Metric tool publication date for recent calculation" + }, + "value": { + "description": "Pre-development biodiversity value", + "type": "number" + } + }, + "required": [ + "value" + ], + "type": "object" + } + }, + "required": [ + "applies" + ], + "title": "Biodiversity net gain (BNG)", + "type": "object" + }, "access": { "additionalProperties": false, + "description": "Proposed pedestrian & vehicle access, roads and rights of way, if applicable to application.type", "properties": { "affected": { - "enum": [ - "vehicle", - "pedestrian", - "newRoad", - "rightsOfWay.newPublic", - "rightsOfWay.changes" + "anyOf": [ + { + "const": "vehicle", + "type": "string" + }, + { + "const": "pedestrian", + "type": "string" + }, + { + "const": "newRoad", + "type": "string" + }, + { + "const": "rightsOfWay.newPublic", + "type": "string" + }, + { + "const": "rightsOfWay.changes", + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "pedestrian": { + "description": "Is new or altered pedestrian access proposed?", + "type": "boolean" + }, + "rightOfWay": { + "description": "Are any rights of way created, diverted or extinguished?", + "type": "boolean" + }, + "vehicle": { + "description": "Is new or altered vehicle access proposed?", + "type": "boolean" + } + }, + "required": [ + "vehicle", + "pedestrian", + "rightOfWay" + ], + "type": "object" + } + ] + }, + "new": { + "additionalProperties": false, + "properties": { + "publicRoad": { + "description": "Are new public roads provided within the site?", + "type": "boolean" + }, + "rightOfWay": { + "description": "Are new public rights of way provided within the site?", + "type": "boolean" + } + }, + "required": [ + "publicRoad", + "rightOfWay" ], - "type": "string" + "type": "object" } }, "type": "object" @@ -3287,6 +3460,41 @@ "$ref": "#/definitions/GeoBoundary", "description": "Location plan boundary proposed by the user, commonly referred to as the red line boundary" }, + "commercialProcesses": { + "additionalProperties": false, + "properties": { + "description": { + "description": "Describe activities processes carried out on the site, or 'none'", + "type": "string" + }, + "wasteManagement": { + "description": "Is the proposal a waste management development?", + "type": "boolean" + } + }, + "required": [ + "description", + "wasteManagement" + ], + "type": "object" + }, + "completed": { + "additionalProperties": false, + "properties": { + "date": { + "$ref": "#/definitions/Date", + "description": "Date that project was completed" + }, + "value": { + "description": "Has the project been completed?", + "type": "boolean" + } + }, + "required": [ + "value" + ], + "type": "object" + }, "date": { "$ref": "#/definitions/ProposalDates" }, @@ -3324,6 +3532,117 @@ }, "type": "object" }, + "effluent": { + "additionalProperties": false, + "properties": { + "disposal": { + "description": "Does the proposed use involve disposal of trade effluent?", + "type": "boolean" + } + }, + "required": [ + "disposal" + ], + "type": "object" + }, + "employment": { + "additionalProperties": false, + "properties": { + "existingEmployees": { + "additionalProperties": false, + "description": "Number of existing employees: full time, part time, and total full time equivalent", + "properties": { + "fullTime": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "fullTimeEquivalent": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "partTime": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + } + }, + "required": [ + "fullTime" + ], + "type": "object" + }, + "proposedEmployees": { + "additionalProperties": false, + "description": "Number of proposed employees: full time, part time, and total full time equivalent", + "properties": { + "fullTime": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "fullTimeEquivalent": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "partTime": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "existingEmployees" + ], + "type": "object" + }, "environmentalImpactDescription": { "type": "string" }, @@ -3343,8 +3662,18 @@ "additionalProperties": false, "description": "Assessment of flood risk, if applicable to application.type", "properties": { + "atRisk": { + "description": "Is the site at risk of flooding?", + "type": "boolean" + }, + "increaseRiskElsewhere": { + "description": "Will the proposal increase the flood risk elsewhere?", + "type": "boolean" + }, "surfaceWaterDisposal": { + "description": "How will surface water be disposed of?", "enum": [ + "sustainableDrainageSystem", "drainageSystem", "soakaway", "sewer", @@ -3353,14 +3682,97 @@ "other" ], "type": "string" + }, + "within20mOfWatercourse": { + "description": "Is your project within 20 metres of a watercourse?", + "type": "boolean" + } + }, + "type": "object" + }, + "foulSewage": { + "additionalProperties": false, + "properties": { + "disposal": { + "description": "How will foul sewage be disposed of?", + "enum": [ + "sewer", + "pit", + "tank", + "plant", + "other" + ], + "type": "string" + }, + "newConnection": { + "description": "Are you proposing to connect to the existing drainage system?", + "type": "boolean" } }, + "required": [ + "disposal", + "newConnection" + ], "type": "object" }, + "hazardousSubstanceStorage": { + "description": "Does the proposed use involve the storage of hazardous chemicals?", + "type": "boolean" + }, + "hoursOfOperation": { + "description": "Hours of operation per use, or 'not applicable'", + "type": "string" + }, "materials": { "$ref": "#/definitions/Materials", "description": "Proposed materials, if applicable to projectType" }, + "natureImpacts": { + "additionalProperties": false, + "properties": { + "designatedSitesAffected": { + "description": "Designated sites, important habitats or other important features affected?", + "enum": [ + "onSite", + "adjacent", + "false" + ], + "type": "string" + }, + "geologicalSitesAffected": { + "description": "Sites of geological conservation affected?", + "enum": [ + "onSite", + "adjacent", + "false" + ], + "type": "string" + }, + "importantHabitatsAffected": { + "description": "Important habitats affected, either on the project site ('onSite') or near to the project site ('adjacent')", + "enum": [ + "onSite", + "adjacent" + ], + "type": "string" + }, + "protectedSpeciesAffected": { + "description": "Protected or priority species affected", + "enum": [ + "onSite", + "adjacent", + "false" + ], + "type": "string" + } + }, + "required": [ + "protectedSpeciesAffected", + "designatedSitesAffected", + "geologicalSitesAffected" + ], + "type": "object" + }, "new": { "additionalProperties": false, "properties": { @@ -3406,12 +3818,75 @@ }, "type": "object" }, + "nonResidentialFloorspace": { + "additionalProperties": false, + "properties": { + "affected": { + "description": "Does your proposal impact non-residential floorspace?", + "type": "boolean" + } + }, + "required": [ + "affected" + ], + "type": "object" + }, + "parking": { + "$ref": "#/definitions/ProposedNationalParking" + }, "projectType": { "items": { "$ref": "#/definitions/ProjectType" }, "type": "array" }, + "publicServiceInfrastructure": { + "description": "Is it a proposal for public service infrastructure?", + "type": "boolean" + }, + "residentialUnits": { + "additionalProperties": false, + "properties": { + "change": { + "description": "Does the project change the number or type of residential units on the site?", + "type": "boolean" + } + }, + "required": [ + "change" + ], + "type": "object" + }, + "site": { + "additionalProperties": false, + "properties": { + "hectares": { + "description": "What is the site area in hectares?", + "type": "number" + } + }, + "required": [ + "hectares" + ], + "type": "object" + }, + "started": { + "additionalProperties": false, + "properties": { + "date": { + "$ref": "#/definitions/Date", + "description": "Date that project was started" + }, + "value": { + "description": "Has the project already started?", + "type": "boolean" + } + }, + "required": [ + "value" + ], + "type": "object" + }, "structures": { "additionalProperties": false, "properties": { @@ -3463,6 +3938,24 @@ ], "type": "object" }, + "trees": { + "additionalProperties": false, + "properties": { + "influenceDevelopment": { + "description": "Are there trees or hedges adjacent to the site that could influence the development or might be important as part of the local landscape character?", + "type": "boolean" + }, + "onSite": { + "description": "Are there trees and hedges on the project site?", + "type": "boolean" + } + }, + "required": [ + "onSite", + "influenceDevelopment" + ], + "type": "object" + }, "units": { "$ref": "#/definitions/ResidentialUnits" }, @@ -3486,6 +3979,10 @@ "type": "string" }, "type": "array" + }, + "vulnerableToContamination": { + "description": "Is the proposed use vulnerable to contamination?", + "type": "boolean" } }, "type": "object" @@ -3600,6 +4097,29 @@ }, "type": "object" }, + "wasteStorage": { + "additionalProperties": false, + "properties": { + "affected": { + "description": "Does the project accommodate waste storage areas?", + "type": "boolean" + }, + "separated": { + "description": "Will recyclable waste be stored and collected separately?", + "enum": [ + "yes", + "no", + "not applicable" + ], + "type": "string" + } + }, + "required": [ + "affected", + "separated" + ], + "type": "object" + }, "watercourse": { "additionalProperties": false, "properties": { @@ -3890,7 +4410,86 @@ } }, "required": [ - "residential" + "residential" + ], + "type": "object" + }, + "other": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + "vans": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + } + }, + "type": "object" + }, + "ExistingNationalParking": { + "additionalProperties": false, + "description": "Existing parking spaces by type per the national planning application form", + "properties": { + "cars": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + "cycles": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + "disabled": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + "motorcycles": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" ], "type": "object" }, @@ -6490,18 +7089,188 @@ "additionalProperties": false, "description": "Proposal details for project sites within the Greater London Authority (GLA) area", "properties": { + "BNG": { + "additionalProperties": false, + "properties": { + "applies": { + "description": "Does the BNG condition apply?", + "type": "boolean" + }, + "degradation": { + "additionalProperties": false, + "properties": { + "details": { + "description": "Provide more details of degradation", + "type": "string" + }, + "preStartDate": { + "$ref": "#/definitions/Date", + "description": "Date immediately before degrading activity was carried out" + }, + "value": { + "description": "Has any degradation occured?", + "type": "boolean" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "exemption": { + "additionalProperties": false, + "properties": { + "justification": { + "description": "Why doesn't it apply?", + "type": "string" + } + }, + "type": "object" + }, + "irreplaceableHabitat": { + "additionalProperties": false, + "properties": { + "details": { + "description": "More details about irreplaceable habitat", + "type": "string" + }, + "value": { + "description": "Does the site have irreplaceable habitat?", + "type": "boolean" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "preDegradationValue": { + "additionalProperties": false, + "properties": { + "metricToolPublicationDate": { + "$ref": "#/definitions/Date", + "description": "Metric tool publication date for pre-degradation calculation" + }, + "value": { + "description": "Onsite biodiversity value on the date immediately before degrading activity was carried out", + "type": "number" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "preDevelopmentValue": { + "additionalProperties": false, + "properties": { + "calculated": { + "additionalProperties": false, + "properties": { + "applicationDate": { + "description": "Is the date of the calculation the application date?", + "type": "boolean" + }, + "date": { + "$ref": "#/definitions/Date", + "description": "Earlier date of pre-development biodiversity calculation" + }, + "earlyJustification": { + "description": "Justification for earlier date", + "type": "string" + } + }, + "type": "object" + }, + "metricToolPublicationDate": { + "$ref": "#/definitions/Date", + "description": "Metric tool publication date for recent calculation" + }, + "value": { + "description": "Pre-development biodiversity value", + "type": "number" + } + }, + "required": [ + "value" + ], + "type": "object" + } + }, + "required": [ + "applies" + ], + "title": "Biodiversity net gain (BNG)", + "type": "object" + }, "access": { "additionalProperties": false, + "description": "Proposed pedestrian & vehicle access, roads and rights of way, if applicable to application.type", "properties": { "affected": { - "enum": [ - "vehicle", - "pedestrian", - "newRoad", - "rightsOfWay.newPublic", - "rightsOfWay.changes" + "anyOf": [ + { + "const": "vehicle", + "type": "string" + }, + { + "const": "pedestrian", + "type": "string" + }, + { + "const": "newRoad", + "type": "string" + }, + { + "const": "rightsOfWay.newPublic", + "type": "string" + }, + { + "const": "rightsOfWay.changes", + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "pedestrian": { + "description": "Is new or altered pedestrian access proposed?", + "type": "boolean" + }, + "rightOfWay": { + "description": "Are any rights of way created, diverted or extinguished?", + "type": "boolean" + }, + "vehicle": { + "description": "Is new or altered vehicle access proposed?", + "type": "boolean" + } + }, + "required": [ + "vehicle", + "pedestrian", + "rightOfWay" + ], + "type": "object" + } + ] + }, + "new": { + "additionalProperties": false, + "properties": { + "publicRoad": { + "description": "Are new public roads provided within the site?", + "type": "boolean" + }, + "rightOfWay": { + "description": "Are new public rights of way provided within the site?", + "type": "boolean" + } + }, + "required": [ + "publicRoad", + "rightOfWay" ], - "type": "string" + "type": "object" } }, "type": "object" @@ -6541,6 +7310,41 @@ }, "type": "object" }, + "commercialProcesses": { + "additionalProperties": false, + "properties": { + "description": { + "description": "Describe activities processes carried out on the site, or 'none'", + "type": "string" + }, + "wasteManagement": { + "description": "Is the proposal a waste management development?", + "type": "boolean" + } + }, + "required": [ + "description", + "wasteManagement" + ], + "type": "object" + }, + "completed": { + "additionalProperties": false, + "properties": { + "date": { + "$ref": "#/definitions/Date", + "description": "Date that project was completed" + }, + "value": { + "description": "Has the project been completed?", + "type": "boolean" + } + }, + "required": [ + "value" + ], + "type": "object" + }, "cost": { "additionalProperties": false, "description": "Project cost in GBP", @@ -6596,6 +7400,117 @@ }, "type": "object" }, + "effluent": { + "additionalProperties": false, + "properties": { + "disposal": { + "description": "Does the proposed use involve disposal of trade effluent?", + "type": "boolean" + } + }, + "required": [ + "disposal" + ], + "type": "object" + }, + "employment": { + "additionalProperties": false, + "properties": { + "existingEmployees": { + "additionalProperties": false, + "description": "Number of existing employees: full time, part time, and total full time equivalent", + "properties": { + "fullTime": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "fullTimeEquivalent": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "partTime": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + } + }, + "required": [ + "fullTime" + ], + "type": "object" + }, + "proposedEmployees": { + "additionalProperties": false, + "description": "Number of proposed employees: full time, part time, and total full time equivalent", + "properties": { + "fullTime": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "fullTimeEquivalent": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "partTime": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "existingEmployees" + ], + "type": "object" + }, "energy": { "additionalProperties": false, "description": "Proposed energy sources", @@ -6703,18 +7618,57 @@ "additionalProperties": false, "description": "Assessment of flood risk, if applicable to application.type", "properties": { + "atRisk": { + "description": "Is the site at risk of flooding?", + "type": "boolean" + }, + "increaseRiskElsewhere": { + "description": "Will the proposal increase the flood risk elsewhere?", + "type": "boolean" + }, "surfaceWaterDisposal": { + "description": "How will surface water be disposed of?", "enum": [ + "sustainableDrainageSystem", "drainageSystem", "soakaway", "sewer", - "watercourse", - "pondOrLake", + "watercourse", + "pondOrLake", + "other" + ], + "type": "string" + }, + "within20mOfWatercourse": { + "description": "Is your project within 20 metres of a watercourse?", + "type": "boolean" + } + }, + "type": "object" + }, + "foulSewage": { + "additionalProperties": false, + "properties": { + "disposal": { + "description": "How will foul sewage be disposed of?", + "enum": [ + "sewer", + "pit", + "tank", + "plant", "other" ], "type": "string" + }, + "newConnection": { + "description": "Are you proposing to connect to the existing drainage system?", + "type": "boolean" } }, + "required": [ + "disposal", + "newConnection" + ], "type": "object" }, "greenRoof": { @@ -6730,6 +7684,14 @@ ], "type": "object" }, + "hazardousSubstanceStorage": { + "description": "Does the proposed use involve the storage of hazardous chemicals?", + "type": "boolean" + }, + "hoursOfOperation": { + "description": "Hours of operation per use, or 'not applicable'", + "type": "string" + }, "materials": { "$ref": "#/definitions/Materials", "description": "Proposed materials, if applicable to projectType" @@ -6848,6 +7810,52 @@ }, "type": "object" }, + "natureImpacts": { + "additionalProperties": false, + "properties": { + "designatedSitesAffected": { + "description": "Designated sites, important habitats or other important features affected?", + "enum": [ + "onSite", + "adjacent", + "false" + ], + "type": "string" + }, + "geologicalSitesAffected": { + "description": "Sites of geological conservation affected?", + "enum": [ + "onSite", + "adjacent", + "false" + ], + "type": "string" + }, + "importantHabitatsAffected": { + "description": "Important habitats affected, either on the project site ('onSite') or near to the project site ('adjacent')", + "enum": [ + "onSite", + "adjacent" + ], + "type": "string" + }, + "protectedSpeciesAffected": { + "description": "Protected or priority species affected", + "enum": [ + "onSite", + "adjacent", + "false" + ], + "type": "string" + } + }, + "required": [ + "protectedSpeciesAffected", + "designatedSitesAffected", + "geologicalSitesAffected" + ], + "type": "object" + }, "new": { "additionalProperties": false, "properties": { @@ -6901,6 +7909,19 @@ "$ref": "#/definitions/NewBuildingsOrStoreys", "description": "Increasing the height of existing buildings" }, + "nonResidentialFloorspace": { + "additionalProperties": false, + "properties": { + "affected": { + "description": "Does your proposal impact non-residential floorspace?", + "type": "boolean" + } + }, + "required": [ + "affected" + ], + "type": "object" + }, "parking": { "$ref": "#/definitions/ProposedLondonParking" }, @@ -6910,9 +7931,56 @@ }, "type": "array" }, + "publicServiceInfrastructure": { + "description": "Is it a proposal for public service infrastructure?", + "type": "boolean" + }, + "residentialUnits": { + "additionalProperties": false, + "properties": { + "change": { + "description": "Does the project change the number or type of residential units on the site?", + "type": "boolean" + } + }, + "required": [ + "change" + ], + "type": "object" + }, "schemeName": { "type": "string" }, + "site": { + "additionalProperties": false, + "properties": { + "hectares": { + "description": "What is the site area in hectares?", + "type": "number" + } + }, + "required": [ + "hectares" + ], + "type": "object" + }, + "started": { + "additionalProperties": false, + "properties": { + "date": { + "$ref": "#/definitions/Date", + "description": "Date that project was started" + }, + "value": { + "description": "Has the project already started?", + "type": "boolean" + } + }, + "required": [ + "value" + ], + "type": "object" + }, "structures": { "additionalProperties": false, "properties": { @@ -6964,6 +8032,24 @@ ], "type": "object" }, + "trees": { + "additionalProperties": false, + "properties": { + "influenceDevelopment": { + "description": "Are there trees or hedges adjacent to the site that could influence the development or might be important as part of the local landscape character?", + "type": "boolean" + }, + "onSite": { + "description": "Are there trees and hedges on the project site?", + "type": "boolean" + } + }, + "required": [ + "onSite", + "influenceDevelopment" + ], + "type": "object" + }, "units": { "additionalProperties": false, "properties": { @@ -7217,6 +8303,10 @@ "type": "string" }, "type": "array" + }, + "vulnerableToContamination": { + "description": "Is the proposed use vulnerable to contamination?", + "type": "boolean" } }, "type": "object" @@ -7353,6 +8443,29 @@ ], "type": "object" }, + "wasteStorage": { + "additionalProperties": false, + "properties": { + "affected": { + "description": "Does the project accommodate waste storage areas?", + "type": "boolean" + }, + "separated": { + "description": "Will recyclable waste be stored and collected separately?", + "enum": [ + "yes", + "no", + "not applicable" + ], + "type": "string" + } + }, + "required": [ + "affected", + "separated" + ], + "type": "object" + }, "water": { "additionalProperties": false, "description": "Water management", @@ -8938,6 +10051,27 @@ }, "preApp": { "$ref": "#/definitions/PreApplication" + }, + "preAppAdvice": { + "additionalProperties": false, + "properties": { + "form": { + "description": "Has prior advice been sought?", + "enum": [ + "Yes", + "No" + ], + "type": "string" + }, + "reference": { + "description": "Reference", + "type": "string" + } + }, + "required": [ + "form" + ], + "type": "object" } }, "required": [ @@ -8967,6 +10101,27 @@ "preApp": { "$ref": "#/definitions/PreApplication" }, + "preAppAdvice": { + "additionalProperties": false, + "properties": { + "form": { + "description": "Has prior advice been sought?", + "enum": [ + "Yes", + "No" + ], + "type": "string" + }, + "reference": { + "description": "Reference", + "type": "string" + } + }, + "required": [ + "form" + ], + "type": "object" + }, "vacantBuildingCredit": { "type": "boolean" } @@ -9024,6 +10179,9 @@ "materials": { "$ref": "#/definitions/Materials" }, + "parking": { + "$ref": "#/definitions/ExistingNationalParking" + }, "planning": { "additionalProperties": false, "description": "Planning constraints and policies that intersect with this site and may impact or restrict development", @@ -9088,11 +10246,28 @@ "type": { "$ref": "#/definitions/PropertyType" }, + "units": { + "$ref": "#/definitions/ResidentialUnits", + "description": "Existing residential units on the site, if the project changes the number or type of residential units" + }, "use": { "additionalProperties": false, "properties": { "description": { + "description": "Describe the current use", "type": "string" + }, + "knownContamination": { + "description": "Is the land known to be contaminated?", + "type": "boolean" + }, + "suspectedContamination": { + "description": "Is the land suspected of being contaminated?", + "type": "boolean" + }, + "vacant": { + "description": "Is the site currently vacant?", + "type": "boolean" } }, "required": [ @@ -9264,11 +10439,28 @@ "type": { "$ref": "#/definitions/PropertyType" }, + "units": { + "$ref": "#/definitions/ResidentialUnits", + "description": "Existing residential units on the site, if the project changes the number or type of residential units" + }, "use": { "additionalProperties": false, "properties": { "description": { + "description": "Describe the current use", "type": "string" + }, + "knownContamination": { + "description": "Is the land known to be contaminated?", + "type": "boolean" + }, + "suspectedContamination": { + "description": "Is the land suspected of being contaminated?", + "type": "boolean" + }, + "vacant": { + "description": "Is the site currently vacant?", + "type": "boolean" } }, "required": [ @@ -21897,6 +23089,109 @@ }, "type": "object" }, + "ProposedNationalParking": { + "additionalProperties": false, + "description": "Proposed parking spaces by type per the national planning application form", + "properties": { + "cars": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + }, + "difference": { + "type": "number" + } + }, + "required": [ + "count", + "difference" + ], + "type": "object" + }, + "cycles": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + }, + "difference": { + "type": "number" + } + }, + "required": [ + "count", + "difference" + ], + "type": "object" + }, + "disabled": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + }, + "difference": { + "type": "number" + } + }, + "required": [ + "count", + "difference" + ], + "type": "object" + }, + "motorcycles": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + }, + "difference": { + "type": "number" + } + }, + "required": [ + "count", + "difference" + ], + "type": "object" + }, + "other": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + }, + "difference": { + "type": "number" + } + }, + "required": [ + "count", + "difference" + ], + "type": "object" + }, + "vans": { + "additionalProperties": false, + "properties": { + "count": { + "type": "number" + }, + "difference": { + "type": "number" + } + }, + "required": [ + "count", + "difference" + ], + "type": "object" + } + }, + "type": "object" + }, "ProtectedSpaceDesignation": { "$id": "#ProtectedSpaceDesignation", "anyOf": [ diff --git a/types/schemas/application/data/Proposal.ts b/types/schemas/application/data/Proposal.ts index 71ccf5c8..3fbfe78b 100644 --- a/types/schemas/application/data/Proposal.ts +++ b/types/schemas/application/data/Proposal.ts @@ -31,7 +31,7 @@ export interface BaseProposal { */ materials?: Materials; /** - * @desription Proposed pedestrian & vehicle access, roads and rights of way, if applicable to application.type + * @description Proposed pedestrian & vehicle access, roads and rights of way, if applicable to application.type */ access?: { affected?: diff --git a/types/schemas/prototypeApplication/data/ApplicationData.ts b/types/schemas/prototypeApplication/data/ApplicationData.ts index b624d4ed..23555f1e 100644 --- a/types/schemas/prototypeApplication/data/ApplicationData.ts +++ b/types/schemas/prototypeApplication/data/ApplicationData.ts @@ -54,6 +54,12 @@ export type NonFeeCarryingApplicationData = ApplicationDataBase & { */ export type PPApplicationData = FeeCarryingApplicationData & { CIL?: CommunityInfrastructureLevy; + preAppAdvice?: { + /** @description Has prior advice been sought? */ + form: 'Yes' | 'No'; + /** @description Reference */ + reference?: string; + }; }; /** diff --git a/types/schemas/prototypeApplication/data/Property.ts b/types/schemas/prototypeApplication/data/Property.ts index 721c5f28..7d503d10 100644 --- a/types/schemas/prototypeApplication/data/Property.ts +++ b/types/schemas/prototypeApplication/data/Property.ts @@ -3,12 +3,16 @@ import { PlanningDesignation, } from '../../../shared/Constraints'; import {Materials} from '../../../shared/Materials'; -import {ExistingLondonParking} from '../../../shared/Parking'; +import { + ExistingLondonParking, + ExistingNationalParking, +} from '../../../shared/Parking'; import {Region} from '../../../shared/Regions'; import {Site} from '../../../shared/Sites'; import {URL} from '../../../shared/utils'; import {ApplicationType} from '../enums/ApplicationType'; import {PropertyType} from '../enums/PropertyTypes'; +import {ResidentialUnits} from './shared'; export type PropertyBase = EnglandProperty | LondonProperty; @@ -33,12 +37,13 @@ export type EnglandProperty = Site & { neighbourhood: PlanningConstraint[]; }; }; + parking?: ExistingNationalParking; }; /** * @description Property details for sites within the Greater London Authority (GLA) area */ -export type LondonProperty = EnglandProperty & { +export type LondonProperty = Omit & { region: Extract; titleNumber?: { known: 'Yes' | 'No'; @@ -61,8 +66,19 @@ export type LondonProperty = EnglandProperty & { export type PPProperty = PropertyBase & { materials?: Materials; use?: { + /** @description Describe the current use */ description: string; + /** @description Is the site currently vacant? */ + vacant?: boolean; + /** @description Is the land known to be contaminated? */ + knownContamination?: boolean; + /** @description Is the land suspected of being contaminated? */ + suspectedContamination?: boolean; }; + /** + * @description Existing residential units on the site, if the project changes the number or type of residential units + */ + units?: ResidentialUnits; }; /** diff --git a/types/schemas/prototypeApplication/data/Proposal.ts b/types/schemas/prototypeApplication/data/Proposal.ts index 3894681b..f4c6667a 100644 --- a/types/schemas/prototypeApplication/data/Proposal.ts +++ b/types/schemas/prototypeApplication/data/Proposal.ts @@ -1,6 +1,9 @@ import {GeoBoundary} from '../../../shared/Boundaries'; import {Materials} from '../../../shared/Materials'; -import {ProposedLondonParking} from '../../../shared/Parking'; +import { + ProposedLondonParking, + ProposedNationalParking, +} from '../../../shared/Parking'; import {Area, Date, Integer} from '../../../shared/utils'; import {ApplicationType} from '../enums/ApplicationType'; import {BuildingRegulation} from '../enums/BuildingRegulation'; @@ -34,7 +37,7 @@ export interface EnglandProposal extends ProposalBase { */ materials?: Materials; /** - * @desription Proposed pedestrian & vehicle access, roads and rights of way, if applicable to application.type + * @description Proposed pedestrian & vehicle access, roads and rights of way, if applicable to application.type */ access?: { affected?: @@ -42,7 +45,21 @@ export interface EnglandProposal extends ProposalBase { | 'pedestrian' | 'newRoad' | 'rightsOfWay.newPublic' - | 'rightsOfWay.changes'; + | 'rightsOfWay.changes' + | { + /** @description Is new or altered vehicle access proposed? */ + vehicle: boolean; + /** @description Is new or altered pedestrian access proposed? */ + pedestrian: boolean; + /** @description Are any rights of way created, diverted or extinguished? */ + rightOfWay: boolean; + }; + new?: { + /** @description Are new public roads provided within the site? */ + publicRoad: boolean; + /** @description Are new public rights of way provided within the site? */ + rightOfWay: boolean; + }; }; /** * @description Proposed utilities, if applicable to application.type @@ -72,7 +89,15 @@ export interface EnglandProposal extends ProposalBase { * @description Assessment of flood risk, if applicable to application.type */ flood?: { + /** @description Is the site at risk of flooding? */ + atRisk?: boolean; + /** @description Is your project within 20 metres of a watercourse? */ + within20mOfWatercourse?: boolean; + /** @description Will the proposal increase the flood risk elsewhere? */ + increaseRiskElsewhere?: boolean; + /** @description How will surface water be disposed of? */ surfaceWaterDisposal?: + | 'sustainableDrainageSystem' | 'drainageSystem' | 'soakaway' | 'sewer' @@ -95,6 +120,8 @@ export interface EnglandProposal extends ProposalBase { description?: string; contamination?: 'known' | 'suspected' | 'vulnerable'; storage?: string[]; + /** @description Is the proposed use vulnerable to contamination? */ + vulnerableToContamination?: boolean; }; extend?: { area: Area; @@ -135,12 +162,149 @@ export interface EnglandProposal extends ProposalBase { }; }; environmentalImpactDescription?: string; + started?: { + /** @description Has the project already started? */ + value: boolean; + /** @description Date that project was started */ + date?: Date; + }; + completed?: { + /** @description Has the project been completed? */ + value: boolean; + /** @description Date that project was completed */ + date?: Date; + }; + /** + * @description Is it a proposal for public service infrastructure? + */ + publicServiceInfrastructure?: boolean; + wasteStorage?: { + /** @description Does the project accommodate waste storage areas? */ + affected: boolean; + /** @description Will recyclable waste be stored and collected separately? */ + separated: 'yes' | 'no' | 'not applicable'; + }; + /** + * @title Biodiversity net gain (BNG) + */ + BNG?: { + /** @description Does the BNG condition apply? */ + applies: boolean; + exemption?: { + /** @description Why doesn't it apply? */ + justification?: string; + }; + preDevelopmentValue?: { + /** @description Pre-development biodiversity value */ + value: number; + calculated?: { + /** @description Is the date of the calculation the application date? */ + applicationDate?: boolean; + /** @description Earlier date of pre-development biodiversity calculation */ + date?: Date; + /** @description Justification for earlier date */ + earlyJustification?: string; + }; + /** @description Metric tool publication date for recent calculation */ + metricToolPublicationDate?: Date; + }; + degradation?: { + /** @description Has any degradation occured? */ + value: boolean; + /** @description Provide more details of degradation */ + details?: string; + /** @description Date immediately before degrading activity was carried out */ + preStartDate?: Date; + }; + preDegradationValue?: { + /** @description Onsite biodiversity value on the date immediately before degrading activity was carried out */ + value: number; + /** @description Metric tool publication date for pre-degradation calculation */ + metricToolPublicationDate?: Date; + }; + irreplaceableHabitat?: { + /** @description Does the site have irreplaceable habitat? */ + value: boolean; + /** @description More details about irreplaceable habitat */ + details?: string; + }; + }; + foulSewage?: { + /** @description How will foul sewage be disposed of? */ + disposal: 'sewer' | 'pit' | 'tank' | 'plant' | 'other'; + /** @description Are you proposing to connect to the existing drainage system? */ + newConnection: boolean; + }; + natureImpacts?: { + /** @description Protected or priority species affected */ + protectedSpeciesAffected: NatureImpact; + /** @description Designated sites, important habitats or other important features affected? */ + designatedSitesAffected: NatureImpact; + /** @description Important habitats affected, either on the project site ('onSite') or near to the project site ('adjacent') */ + importantHabitatsAffected?: 'onSite' | 'adjacent'; + /** @description Sites of geological conservation affected? */ + geologicalSitesAffected: NatureImpact; + }; + trees?: { + /** @description Are there trees and hedges on the project site? */ + onSite: boolean; + /** @description Are there trees or hedges adjacent to the site that could influence the development or might be important as part of the local landscape character? */ + influenceDevelopment: boolean; + }; + effluent?: { + /** @description Does the proposed use involve disposal of trade effluent? */ + disposal: boolean; + }; + residentialUnits?: { + /** @description Does the project change the number or type of residential units on the site? */ + change: boolean; + }; + nonResidentialFloorspace?: { + /** @description Does your proposal impact non-residential floorspace? */ + affected: boolean; + }; + employment?: { + /** @description Number of existing employees: full time, part time, and total full time equivalent */ + existingEmployees: EmployeeCounts & {fullTime: {number: Integer}}; + /** @description Number of proposed employees: full time, part time, and total full time equivalent */ + proposedEmployees?: EmployeeCounts; + }; + /** + * @description Hours of operation per use, or 'not applicable' + */ + hoursOfOperation?: string; + site?: { + /** @description What is the site area in hectares? */ + hectares: number; + }; + commercialProcesses?: { + /** @description Describe activities processes carried out on the site, or 'none' */ + description: string; + /** @description Is the proposal a waste management development? */ + wasteManagement: boolean; + }; + /** + * @description Does the proposed use involve the storage of hazardous chemicals? + */ + hazardousSubstanceStorage?: boolean; + parking?: ProposedNationalParking; +} + +type NatureImpact = 'onSite' | 'adjacent' | 'false'; + +interface EmployeeCounts { + fullTime?: {number: Integer}; + partTime?: {number: Integer}; + fullTimeEquivalent?: {number: Integer}; } /** * @description Proposal details for project sites within the Greater London Authority (GLA) area */ -export interface LondonProposal extends Omit { +export interface LondonProposal extends Omit< + EnglandProposal, + 'units' | 'parking' +> { schemeName?: string; parking?: ProposedLondonParking; /** diff --git a/types/shared/Parking.ts b/types/shared/Parking.ts index a3d5b981..59e48ee5 100644 --- a/types/shared/Parking.ts +++ b/types/shared/Parking.ts @@ -34,3 +34,27 @@ export type ExistingLondonParking = { offStreet?: {residential: ExistingCount}; other?: ExistingCount; }; + +/** + * @description Proposed parking spaces by type per the national planning application form + */ +export type ProposedNationalParking = { + cars?: ProposedCount; + vans?: ProposedCount; + motorcycles?: ProposedCount; + cycles?: ProposedCount; + disabled?: ProposedCount; + other?: ProposedCount; +}; + +/** + * @description Existing parking spaces by type per the national planning application form + */ +export type ExistingNationalParking = { + cars?: ExistingCount; + vans?: ExistingCount; + motorcycles?: ExistingCount; + cycles?: ExistingCount; + disabled?: ExistingCount; + other?: ExistingCount; +}; From 8365c405522a9556a9ec07bcbe6df72fbfd3bb19 Mon Sep 17 00:00:00 2001 From: augustlindemer <118665588+augustlindemer@users.noreply.github.com> Date: Fri, 25 Sep 2026 16:04:44 +0100 Subject: [PATCH 2/2] add GLA schema fields --- schemas/postSubmissionApplication.json | 1076 +++++++++++++++-- .../postSubmissionPublishedApplication.json | 1076 +++++++++++++++-- schemas/prototypeApplication.json | 1074 ++++++++++++++-- .../data/ApplicationData.ts | 24 + .../prototypeApplication/data/Property.ts | 64 +- .../prototypeApplication/data/Proposal.ts | 180 ++- 6 files changed, 3209 insertions(+), 285 deletions(-) diff --git a/schemas/postSubmissionApplication.json b/schemas/postSubmissionApplication.json index ad50be2a..90d5a7a5 100644 --- a/schemas/postSubmissionApplication.json +++ b/schemas/postSubmissionApplication.json @@ -4934,9 +4934,54 @@ "fee": { "$ref": "#/definitions/Fee" }, + "housingFastTrack": { + "description": "Affordable Housing Fast Track", + "type": "boolean" + }, "leadDeveloper": { "$ref": "#/definitions/LeadDeveloper" }, + "linked": { + "additionalProperties": false, + "properties": { + "superseding": { + "additionalProperties": false, + "properties": { + "applicationNumber": { + "description": "Reference number of the original application", + "type": "string" + }, + "description": { + "description": "Description of the superseded components", + "type": "string" + }, + "partial": { + "description": "Is the original permission only partially superseded?", + "type": "boolean" + }, + "unitReference": { + "description": "Units that are being superseded", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "mobileNetworkOperators": { + "additionalProperties": false, + "properties": { + "consulted": { + "description": "Mobile network operators consulted", + "type": "boolean" + } + }, + "required": [ + "consulted" + ], + "type": "object" + }, "planningApp": { "$ref": "#/definitions/PlanningApplication" }, @@ -6904,6 +6949,14 @@ ], "type": "object" }, + "companyName": { + "description": "Lead Developer name", + "type": "string" + }, + "overseasCompanyRegistrationNumber": { + "description": "Overseas company number", + "type": "string" + }, "type": { "enum": [ "ukCompany", @@ -7008,9 +7061,54 @@ "declaration": { "$ref": "#/definitions/Declaration" }, + "housingFastTrack": { + "description": "Affordable Housing Fast Track", + "type": "boolean" + }, "leadDeveloper": { "$ref": "#/definitions/LeadDeveloper" }, + "linked": { + "additionalProperties": false, + "properties": { + "superseding": { + "additionalProperties": false, + "properties": { + "applicationNumber": { + "description": "Reference number of the original application", + "type": "string" + }, + "description": { + "description": "Description of the superseded components", + "type": "string" + }, + "partial": { + "description": "Is the original permission only partially superseded?", + "type": "boolean" + }, + "unitReference": { + "description": "Units that are being superseded", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "mobileNetworkOperators": { + "additionalProperties": false, + "properties": { + "consulted": { + "description": "Mobile network operators consulted", + "type": "boolean" + } + }, + "required": [ + "consulted" + ], + "type": "object" + }, "planningApp": { "$ref": "#/definitions/PlanningApplication" }, @@ -7088,6 +7186,24 @@ }, "type": "array" }, + "ownership": { + "additionalProperties": false, + "properties": { + "status": { + "description": "Ownership status", + "enum": [ + "Public", + "Private", + "Mixed" + ], + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, "parking": { "$ref": "#/definitions/ExistingLondonParking" }, @@ -7152,27 +7268,134 @@ "$ref": "#/definitions/Region", "description": "Name of the region sourced from planning.data.gov.uk/dataset/region; \"London\" is a proxy for the Greater London Authority" }, - "titleNumber": { + "socialLandlord": { "additionalProperties": false, "properties": { - "known": { - "enum": [ - "Yes", - "No" - ], + "description": { + "description": "Lead Registered Social Landlord", "type": "string" + } + }, + "type": "object" + }, + "titleNumber": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "known": { + "enum": [ + "Yes", + "No" + ], + "type": "string" + }, + "number": { + "type": "string" + } + }, + "required": [ + "known" + ], + "type": "object" }, - "number": { + { "type": "string" } + ], + "description": "Title Number" + }, + "type": { + "$ref": "#/definitions/PropertyType" + }, + "useClass": { + "description": "Use class", + "enum": [ + "A1", + "A2", + "A3", + "A4", + "A5", + "B1", + "B1a", + "B1b", + "B1c", + "B2", + "B8", + "C1", + "C2", + "C2a", + "C3", + "C4", + "D1", + "D2", + "SG" + ], + "type": "string" + }, + "useClassC3": { + "additionalProperties": false, + "properties": { + "GIA": { + "additionalProperties": false, + "properties": { + "existing": { + "description": "Use class C3 Gross Internal Area existing", + "type": "number" + }, + "gained": { + "description": "Use class C3 Gross Internal Area gained", + "type": "number" + }, + "lost": { + "description": "Use class C3 Gross Internal Area lost", + "type": "number" + } + }, + "required": [ + "existing", + "gained", + "lost" + ], + "type": "object" + } }, "required": [ - "known" + "GIA" ], "type": "object" }, - "type": { - "$ref": "#/definitions/PropertyType" + "useClassC4": { + "additionalProperties": false, + "properties": { + "GIA": { + "additionalProperties": false, + "properties": { + "existing": { + "description": "Use class C4 Gross Internal Area existing", + "type": "number" + }, + "gained": { + "description": "Use class C4 Gross Internal Area gained", + "type": "number" + }, + "lost": { + "description": "Use class C4 Gross Internal Area lost", + "type": "number" + } + }, + "required": [ + "existing", + "gained", + "lost" + ], + "type": "object" + } + }, + "required": [ + "GIA" + ], + "type": "object" }, "ward": { "description": "Name of the ward sourced from planning.data.gov.uk/dataset/ward", @@ -7306,6 +7529,131 @@ "title": "Biodiversity net gain (BNG)", "type": "object" }, + "EVcharging": { + "additionalProperties": false, + "description": "Electric vehicle charging points by speed", + "properties": { + "active": { + "additionalProperties": false, + "description": "Number of active EV charging points", + "properties": { + "fast": { + "additionalProperties": false, + "description": "Number of fast EV charging points", + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "other": { + "additionalProperties": false, + "description": "Number of other EV charging points", + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "rapid": { + "additionalProperties": false, + "description": "Number of rapid EV charging points", + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "slow": { + "additionalProperties": false, + "description": "Number of slow EV charging points", + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + } + }, + "type": "object" + }, + "passive": { + "additionalProperties": false, + "description": "Number of passive EV charging points", + "properties": { + "fast": { + "additionalProperties": false, + "description": "Number of fast EV charging points", + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "other": { + "additionalProperties": false, + "description": "Number of other EV charging points", + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "rapid": { + "additionalProperties": false, + "description": "Number of rapid EV charging points", + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "slow": { + "additionalProperties": false, + "description": "Number of slow EV charging points", + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, "access": { "additionalProperties": false, "description": "Proposed pedestrian & vehicle access, roads and rights of way, if applicable to application.type", @@ -7382,6 +7730,48 @@ "$ref": "#/definitions/GeoBoundary", "description": "Location plan boundary proposed by the user, commonly referred to as the red line boundary" }, + "buildingDetails": { + "additionalProperties": false, + "properties": { + "main": { + "additionalProperties": false, + "properties": { + "height": { + "description": "Main building maximum height", + "type": "number" + }, + "storeys": { + "$ref": "#/definitions/Integer", + "description": "Main building number of storeys" + } + }, + "type": "object" + }, + "outbuilding": { + "additionalProperties": false, + "properties": { + "height": { + "description": "Outbuilding maximum height", + "type": "number" + }, + "storeys": { + "$ref": "#/definitions/Integer", + "description": "Outbuilding number of storeys" + } + }, + "type": "object" + }, + "reference": { + "description": "Building reference", + "enum": [ + "main", + "outbuilding" + ], + "type": "string" + } + }, + "type": "object" + }, "charging": { "additionalProperties": false, "description": "Electric vehicle charing points", @@ -7622,17 +8012,24 @@ "additionalProperties": false, "properties": { "capacity": { - "additionalProperties": false, - "description": "Proposed total capacity of any on-site community-owned energy generation in megawatts (mW)", - "properties": { - "megawatts": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "megawatts": { + "type": "number" + } + }, + "required": [ + "megawatts" + ], + "type": "object" + }, + { "type": "number" } - }, - "required": [ - "megawatts" ], - "type": "object" + "description": "Proposed total capacity of any on-site community-owned energy generation in megawatts (mW), or Community Energy Capacity" } }, "required": [ @@ -7644,17 +8041,24 @@ "additionalProperties": false, "properties": { "capacity": { - "additionalProperties": false, - "description": "Proposed total capacity of any heat pumps in megawatts (mV)", - "properties": { - "megawatts": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "megawatts": { + "type": "number" + } + }, + "required": [ + "megawatts" + ], + "type": "object" + }, + { "type": "number" } - }, - "required": [ - "megawatts" ], - "type": "object" + "description": "Proposed total capacity of any heat pumps in megawatts (mV), or CHP Heat Pump Capacity" } }, "required": [ @@ -7666,17 +8070,24 @@ "additionalProperties": false, "properties": { "capacity": { - "additionalProperties": false, - "description": "Proposed total capacity of any solar energy generation in megawatts (mV)", - "properties": { - "megawatts": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "megawatts": { + "type": "number" + } + }, + "required": [ + "megawatts" + ], + "type": "object" + }, + { "type": "number" } - }, - "required": [ - "megawatts" ], - "type": "object" + "description": "Proposed total capacity of any solar energy generation in megawatts (mV), or Solar PV Capacity" } }, "required": [ @@ -7725,6 +8136,14 @@ "description": "Is the site at risk of flooding?", "type": "boolean" }, + "dischargeReduction": { + "description": "Surface Water Discharge Percentage Reduction", + "type": "number" + }, + "greenSuDS": { + "description": "Green SuDS", + "type": "boolean" + }, "increaseRiskElsewhere": { "description": "Will the proposal increase the flood risk elsewhere?", "type": "boolean" @@ -7749,6 +8168,28 @@ }, "type": "object" }, + "footprint": { + "additionalProperties": false, + "properties": { + "garden": { + "additionalProperties": false, + "properties": { + "removed": { + "description": "Does your proposal involve the loss of garden land?", + "type": "boolean" + } + }, + "required": [ + "removed" + ], + "type": "object" + } + }, + "required": [ + "garden" + ], + "type": "object" + }, "foulSewage": { "additionalProperties": false, "properties": { @@ -7779,7 +8220,15 @@ "description": "Green roof", "properties": { "area": { - "$ref": "#/definitions/Area" + "anyOf": [ + { + "$ref": "#/definitions/Area" + }, + { + "type": "number" + } + ], + "description": "Green roof area" } }, "required": [ @@ -7791,6 +8240,28 @@ "description": "Does the proposed use involve the storage of hazardous chemicals?", "type": "boolean" }, + "heating": { + "additionalProperties": false, + "properties": { + "electrical": { + "additionalProperties": false, + "properties": { + "numberHomes": { + "$ref": "#/definitions/Integer", + "description": "Homes with electrical heating" + } + }, + "required": [ + "numberHomes" + ], + "type": "object" + } + }, + "required": [ + "electrical" + ], + "type": "object" + }, "hoursOfOperation": { "description": "Hours of operation per use, or 'not applicable'", "type": "string" @@ -7803,6 +8274,55 @@ "additionalProperties": false, "description": "Changes that result in the loss, gain, or change of use of natural spaces", "properties": { + "openSpace": { + "items": { + "additionalProperties": false, + "properties": { + "access": { + "description": "Open Space access type", + "enum": [ + "restricted", + "unrestricted" + ], + "type": "string" + }, + "area": { + "description": "Open Space area", + "type": "number" + }, + "description": { + "description": "Open Space description", + "type": "string" + }, + "designation": { + "$ref": "#/definitions/OpenSpaceDesignation", + "description": "Open Space designation" + }, + "development": { + "description": "Open Space change type", + "enum": [ + "loss", + "gain", + "change" + ], + "type": "string" + }, + "swap": { + "description": "Open Space land swap", + "type": "boolean" + }, + "type": { + "$ref": "#/definitions/OpenSpaceType", + "description": "Open Space type" + } + }, + "required": [ + "development" + ], + "type": "object" + }, + "type": "array" + }, "openSpaces": { "items": { "additionalProperties": false, @@ -7861,6 +8381,47 @@ }, "type": "array" }, + "protectedSpace": { + "items": { + "additionalProperties": false, + "properties": { + "access": { + "description": "Protected Space access", + "enum": [ + "restricted", + "unrestricted" + ], + "type": "string" + }, + "area": { + "description": "Protected Space area", + "type": "number" + }, + "description": { + "description": "Protected Space description", + "type": "string" + }, + "designation": { + "$ref": "#/definitions/ProtectedSpaceDesignation", + "description": "Protected Space nature conservation designation" + }, + "development": { + "description": "Protected Space change type", + "enum": [ + "loss", + "gain", + "change" + ], + "type": "string" + } + }, + "required": [ + "development" + ], + "type": "object" + }, + "type": "array" + }, "protectedSpaces": { "items": { "additionalProperties": false, @@ -8012,6 +8573,47 @@ "$ref": "#/definitions/NewBuildingsOrStoreys", "description": "Increasing the height of existing buildings" }, + "nonPermanentDwellings": { + "additionalProperties": false, + "properties": { + "gained": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer", + "description": "Non-permanent dwellings gained" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "lost": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer", + "description": "Non-permanent dwellings lost" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "type": { + "description": "Non-permanent dwelling type", + "enum": [ + "Non-permanent dwellings", + "Traveller pitches/plots", + "Houseboat moorings" + ], + "type": "string" + } + }, + "type": "object" + }, "nonResidentialFloorspace": { "additionalProperties": false, "properties": { @@ -8028,6 +8630,18 @@ "parking": { "$ref": "#/definitions/ProposedLondonParking" }, + "phased": { + "description": "Scheme phasing", + "type": "boolean" + }, + "plannedCompletionDate": { + "$ref": "#/definitions/Date", + "description": "Intended completion date" + }, + "plannedStartDate": { + "$ref": "#/definitions/Date", + "description": "Intended commencement date" + }, "projectType": { "items": { "$ref": "#/definitions/ProjectType" @@ -8051,14 +8665,27 @@ ], "type": "object" }, - "schemeName": { - "type": "string" - }, - "site": { + "schemeName": { + "type": "string" + }, + "site": { + "additionalProperties": false, + "properties": { + "hectares": { + "description": "What is the site area in hectares?", + "type": "number" + } + }, + "required": [ + "hectares" + ], + "type": "object" + }, + "siteArea": { "additionalProperties": false, "properties": { "hectares": { - "description": "What is the site area in hectares?", + "description": "Site area", "type": "number" } }, @@ -8135,6 +8762,10 @@ ], "type": "object" }, + "subdivisionDetails": { + "description": "Sub-division of building", + "type": "string" + }, "trees": { "additionalProperties": false, "properties": { @@ -8447,16 +9078,24 @@ "description": "Count of new gas connections", "properties": { "connections": { - "additionalProperties": false, - "properties": { - "count": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "count": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + { "$ref": "#/definitions/Integer" } - }, - "required": [ - "count" ], - "type": "object" + "description": "New gas connections required" } }, "required": [ @@ -8466,37 +9105,49 @@ }, "internet": { "additionalProperties": false, - "description": "Count of new full fibre Internet connections", + "description": "Count of new full fibre internet connections", "properties": { "commercialUnits": { - "additionalProperties": false, - "properties": { - "count": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "count": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + { "$ref": "#/definitions/Integer" } - }, - "required": [ - "count" ], - "type": "object" + "description": "Number of non-residential units to have full fibre internet" }, "residentialUnits": { - "additionalProperties": false, - "properties": { - "count": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "count": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + { "$ref": "#/definitions/Integer" } - }, - "required": [ - "count" ], - "type": "object" + "description": "Number of residential units to have full fibre internet" } }, - "required": [ - "commercialUnits", - "residentialUnits" - ], "type": "object" }, "water": { @@ -8504,16 +9155,36 @@ "description": "Count of new water connections", "properties": { "connections": { - "additionalProperties": false, - "properties": { - "count": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "count": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + { "$ref": "#/definitions/Integer" } - }, - "required": [ - "count" ], - "type": "object" + "description": "New water connections required" + }, + "greyReuse": { + "description": "Grey water reuse", + "type": "boolean" + }, + "rainHarvesting": { + "description": "Rain water harvesting", + "type": "boolean" + }, + "usage": { + "description": "Internal residential water usage", + "type": "number" } }, "required": [ @@ -8529,16 +9200,24 @@ "description": "Waste management of demolition and construction materials", "properties": { "reuseRecycle": { - "additionalProperties": false, - "properties": { - "percent": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "percent": { + "type": "number" + } + }, + "required": [ + "percent" + ], + "type": "object" + }, + { "type": "number" } - }, - "required": [ - "percent" ], - "type": "object" + "description": "Percentage of construction material recycling" } }, "required": [ @@ -8842,9 +9521,54 @@ "fee": { "$ref": "#/definitions/FeeNotApplicable" }, + "housingFastTrack": { + "description": "Affordable Housing Fast Track", + "type": "boolean" + }, "leadDeveloper": { "$ref": "#/definitions/LeadDeveloper" }, + "linked": { + "additionalProperties": false, + "properties": { + "superseding": { + "additionalProperties": false, + "properties": { + "applicationNumber": { + "description": "Reference number of the original application", + "type": "string" + }, + "description": { + "description": "Description of the superseded components", + "type": "string" + }, + "partial": { + "description": "Is the original permission only partially superseded?", + "type": "boolean" + }, + "unitReference": { + "description": "Units that are being superseded", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "mobileNetworkOperators": { + "additionalProperties": false, + "properties": { + "consulted": { + "description": "Mobile network operators consulted", + "type": "boolean" + } + }, + "required": [ + "consulted" + ], + "type": "object" + }, "planningApp": { "$ref": "#/definitions/PlanningApplication" }, @@ -10195,9 +10919,54 @@ "fee": { "$ref": "#/definitions/Fee" }, + "housingFastTrack": { + "description": "Affordable Housing Fast Track", + "type": "boolean" + }, "leadDeveloper": { "$ref": "#/definitions/LeadDeveloper" }, + "linked": { + "additionalProperties": false, + "properties": { + "superseding": { + "additionalProperties": false, + "properties": { + "applicationNumber": { + "description": "Reference number of the original application", + "type": "string" + }, + "description": { + "description": "Description of the superseded components", + "type": "string" + }, + "partial": { + "description": "Is the original permission only partially superseded?", + "type": "boolean" + }, + "unitReference": { + "description": "Units that are being superseded", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "mobileNetworkOperators": { + "additionalProperties": false, + "properties": { + "consulted": { + "description": "Mobile network operators consulted", + "type": "boolean" + } + }, + "required": [ + "consulted" + ], + "type": "object" + }, "planningApp": { "$ref": "#/definitions/PlanningApplication" }, @@ -10456,6 +11225,24 @@ "materials": { "$ref": "#/definitions/Materials" }, + "ownership": { + "additionalProperties": false, + "properties": { + "status": { + "description": "Ownership status", + "enum": [ + "Public", + "Private", + "Mixed" + ], + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, "parking": { "$ref": "#/definitions/ExistingLondonParking" }, @@ -10520,24 +11307,42 @@ "$ref": "#/definitions/Region", "description": "Name of the region sourced from planning.data.gov.uk/dataset/region; \"London\" is a proxy for the Greater London Authority" }, - "titleNumber": { + "socialLandlord": { "additionalProperties": false, "properties": { - "known": { - "enum": [ - "Yes", - "No" - ], + "description": { + "description": "Lead Registered Social Landlord", "type": "string" + } + }, + "type": "object" + }, + "titleNumber": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "known": { + "enum": [ + "Yes", + "No" + ], + "type": "string" + }, + "number": { + "type": "string" + } + }, + "required": [ + "known" + ], + "type": "object" }, - "number": { + { "type": "string" } - }, - "required": [ - "known" ], - "type": "object" + "description": "Title Number" }, "type": { "$ref": "#/definitions/PropertyType" @@ -10571,6 +11376,95 @@ ], "type": "object" }, + "useClass": { + "description": "Use class", + "enum": [ + "A1", + "A2", + "A3", + "A4", + "A5", + "B1", + "B1a", + "B1b", + "B1c", + "B2", + "B8", + "C1", + "C2", + "C2a", + "C3", + "C4", + "D1", + "D2", + "SG" + ], + "type": "string" + }, + "useClassC3": { + "additionalProperties": false, + "properties": { + "GIA": { + "additionalProperties": false, + "properties": { + "existing": { + "description": "Use class C3 Gross Internal Area existing", + "type": "number" + }, + "gained": { + "description": "Use class C3 Gross Internal Area gained", + "type": "number" + }, + "lost": { + "description": "Use class C3 Gross Internal Area lost", + "type": "number" + } + }, + "required": [ + "existing", + "gained", + "lost" + ], + "type": "object" + } + }, + "required": [ + "GIA" + ], + "type": "object" + }, + "useClassC4": { + "additionalProperties": false, + "properties": { + "GIA": { + "additionalProperties": false, + "properties": { + "existing": { + "description": "Use class C4 Gross Internal Area existing", + "type": "number" + }, + "gained": { + "description": "Use class C4 Gross Internal Area gained", + "type": "number" + }, + "lost": { + "description": "Use class C4 Gross Internal Area lost", + "type": "number" + } + }, + "required": [ + "existing", + "gained", + "lost" + ], + "type": "object" + } + }, + "required": [ + "GIA" + ], + "type": "object" + }, "ward": { "description": "Name of the ward sourced from planning.data.gov.uk/dataset/ward", "type": "string" diff --git a/schemas/postSubmissionPublishedApplication.json b/schemas/postSubmissionPublishedApplication.json index 8a32772f..5fddf8ea 100644 --- a/schemas/postSubmissionPublishedApplication.json +++ b/schemas/postSubmissionPublishedApplication.json @@ -4911,9 +4911,54 @@ "fee": { "$ref": "#/definitions/Fee" }, + "housingFastTrack": { + "description": "Affordable Housing Fast Track", + "type": "boolean" + }, "leadDeveloper": { "$ref": "#/definitions/LeadDeveloper" }, + "linked": { + "additionalProperties": false, + "properties": { + "superseding": { + "additionalProperties": false, + "properties": { + "applicationNumber": { + "description": "Reference number of the original application", + "type": "string" + }, + "description": { + "description": "Description of the superseded components", + "type": "string" + }, + "partial": { + "description": "Is the original permission only partially superseded?", + "type": "boolean" + }, + "unitReference": { + "description": "Units that are being superseded", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "mobileNetworkOperators": { + "additionalProperties": false, + "properties": { + "consulted": { + "description": "Mobile network operators consulted", + "type": "boolean" + } + }, + "required": [ + "consulted" + ], + "type": "object" + }, "planningApp": { "$ref": "#/definitions/PlanningApplication" }, @@ -6881,6 +6926,14 @@ ], "type": "object" }, + "companyName": { + "description": "Lead Developer name", + "type": "string" + }, + "overseasCompanyRegistrationNumber": { + "description": "Overseas company number", + "type": "string" + }, "type": { "enum": [ "ukCompany", @@ -6985,9 +7038,54 @@ "declaration": { "$ref": "#/definitions/Declaration" }, + "housingFastTrack": { + "description": "Affordable Housing Fast Track", + "type": "boolean" + }, "leadDeveloper": { "$ref": "#/definitions/LeadDeveloper" }, + "linked": { + "additionalProperties": false, + "properties": { + "superseding": { + "additionalProperties": false, + "properties": { + "applicationNumber": { + "description": "Reference number of the original application", + "type": "string" + }, + "description": { + "description": "Description of the superseded components", + "type": "string" + }, + "partial": { + "description": "Is the original permission only partially superseded?", + "type": "boolean" + }, + "unitReference": { + "description": "Units that are being superseded", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "mobileNetworkOperators": { + "additionalProperties": false, + "properties": { + "consulted": { + "description": "Mobile network operators consulted", + "type": "boolean" + } + }, + "required": [ + "consulted" + ], + "type": "object" + }, "planningApp": { "$ref": "#/definitions/PlanningApplication" }, @@ -7065,6 +7163,24 @@ }, "type": "array" }, + "ownership": { + "additionalProperties": false, + "properties": { + "status": { + "description": "Ownership status", + "enum": [ + "Public", + "Private", + "Mixed" + ], + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, "parking": { "$ref": "#/definitions/ExistingLondonParking" }, @@ -7129,27 +7245,134 @@ "$ref": "#/definitions/Region", "description": "Name of the region sourced from planning.data.gov.uk/dataset/region; \"London\" is a proxy for the Greater London Authority" }, - "titleNumber": { + "socialLandlord": { "additionalProperties": false, "properties": { - "known": { - "enum": [ - "Yes", - "No" - ], + "description": { + "description": "Lead Registered Social Landlord", "type": "string" + } + }, + "type": "object" + }, + "titleNumber": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "known": { + "enum": [ + "Yes", + "No" + ], + "type": "string" + }, + "number": { + "type": "string" + } + }, + "required": [ + "known" + ], + "type": "object" }, - "number": { + { "type": "string" } + ], + "description": "Title Number" + }, + "type": { + "$ref": "#/definitions/PropertyType" + }, + "useClass": { + "description": "Use class", + "enum": [ + "A1", + "A2", + "A3", + "A4", + "A5", + "B1", + "B1a", + "B1b", + "B1c", + "B2", + "B8", + "C1", + "C2", + "C2a", + "C3", + "C4", + "D1", + "D2", + "SG" + ], + "type": "string" + }, + "useClassC3": { + "additionalProperties": false, + "properties": { + "GIA": { + "additionalProperties": false, + "properties": { + "existing": { + "description": "Use class C3 Gross Internal Area existing", + "type": "number" + }, + "gained": { + "description": "Use class C3 Gross Internal Area gained", + "type": "number" + }, + "lost": { + "description": "Use class C3 Gross Internal Area lost", + "type": "number" + } + }, + "required": [ + "existing", + "gained", + "lost" + ], + "type": "object" + } }, "required": [ - "known" + "GIA" ], "type": "object" }, - "type": { - "$ref": "#/definitions/PropertyType" + "useClassC4": { + "additionalProperties": false, + "properties": { + "GIA": { + "additionalProperties": false, + "properties": { + "existing": { + "description": "Use class C4 Gross Internal Area existing", + "type": "number" + }, + "gained": { + "description": "Use class C4 Gross Internal Area gained", + "type": "number" + }, + "lost": { + "description": "Use class C4 Gross Internal Area lost", + "type": "number" + } + }, + "required": [ + "existing", + "gained", + "lost" + ], + "type": "object" + } + }, + "required": [ + "GIA" + ], + "type": "object" }, "ward": { "description": "Name of the ward sourced from planning.data.gov.uk/dataset/ward", @@ -7283,6 +7506,131 @@ "title": "Biodiversity net gain (BNG)", "type": "object" }, + "EVcharging": { + "additionalProperties": false, + "description": "Electric vehicle charging points by speed", + "properties": { + "active": { + "additionalProperties": false, + "description": "Number of active EV charging points", + "properties": { + "fast": { + "additionalProperties": false, + "description": "Number of fast EV charging points", + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "other": { + "additionalProperties": false, + "description": "Number of other EV charging points", + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "rapid": { + "additionalProperties": false, + "description": "Number of rapid EV charging points", + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "slow": { + "additionalProperties": false, + "description": "Number of slow EV charging points", + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + } + }, + "type": "object" + }, + "passive": { + "additionalProperties": false, + "description": "Number of passive EV charging points", + "properties": { + "fast": { + "additionalProperties": false, + "description": "Number of fast EV charging points", + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "other": { + "additionalProperties": false, + "description": "Number of other EV charging points", + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "rapid": { + "additionalProperties": false, + "description": "Number of rapid EV charging points", + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "slow": { + "additionalProperties": false, + "description": "Number of slow EV charging points", + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, "access": { "additionalProperties": false, "description": "Proposed pedestrian & vehicle access, roads and rights of way, if applicable to application.type", @@ -7359,6 +7707,48 @@ "$ref": "#/definitions/GeoBoundary", "description": "Location plan boundary proposed by the user, commonly referred to as the red line boundary" }, + "buildingDetails": { + "additionalProperties": false, + "properties": { + "main": { + "additionalProperties": false, + "properties": { + "height": { + "description": "Main building maximum height", + "type": "number" + }, + "storeys": { + "$ref": "#/definitions/Integer", + "description": "Main building number of storeys" + } + }, + "type": "object" + }, + "outbuilding": { + "additionalProperties": false, + "properties": { + "height": { + "description": "Outbuilding maximum height", + "type": "number" + }, + "storeys": { + "$ref": "#/definitions/Integer", + "description": "Outbuilding number of storeys" + } + }, + "type": "object" + }, + "reference": { + "description": "Building reference", + "enum": [ + "main", + "outbuilding" + ], + "type": "string" + } + }, + "type": "object" + }, "charging": { "additionalProperties": false, "description": "Electric vehicle charing points", @@ -7599,17 +7989,24 @@ "additionalProperties": false, "properties": { "capacity": { - "additionalProperties": false, - "description": "Proposed total capacity of any on-site community-owned energy generation in megawatts (mW)", - "properties": { - "megawatts": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "megawatts": { + "type": "number" + } + }, + "required": [ + "megawatts" + ], + "type": "object" + }, + { "type": "number" } - }, - "required": [ - "megawatts" ], - "type": "object" + "description": "Proposed total capacity of any on-site community-owned energy generation in megawatts (mW), or Community Energy Capacity" } }, "required": [ @@ -7621,17 +8018,24 @@ "additionalProperties": false, "properties": { "capacity": { - "additionalProperties": false, - "description": "Proposed total capacity of any heat pumps in megawatts (mV)", - "properties": { - "megawatts": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "megawatts": { + "type": "number" + } + }, + "required": [ + "megawatts" + ], + "type": "object" + }, + { "type": "number" } - }, - "required": [ - "megawatts" ], - "type": "object" + "description": "Proposed total capacity of any heat pumps in megawatts (mV), or CHP Heat Pump Capacity" } }, "required": [ @@ -7643,17 +8047,24 @@ "additionalProperties": false, "properties": { "capacity": { - "additionalProperties": false, - "description": "Proposed total capacity of any solar energy generation in megawatts (mV)", - "properties": { - "megawatts": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "megawatts": { + "type": "number" + } + }, + "required": [ + "megawatts" + ], + "type": "object" + }, + { "type": "number" } - }, - "required": [ - "megawatts" ], - "type": "object" + "description": "Proposed total capacity of any solar energy generation in megawatts (mV), or Solar PV Capacity" } }, "required": [ @@ -7702,6 +8113,14 @@ "description": "Is the site at risk of flooding?", "type": "boolean" }, + "dischargeReduction": { + "description": "Surface Water Discharge Percentage Reduction", + "type": "number" + }, + "greenSuDS": { + "description": "Green SuDS", + "type": "boolean" + }, "increaseRiskElsewhere": { "description": "Will the proposal increase the flood risk elsewhere?", "type": "boolean" @@ -7726,6 +8145,28 @@ }, "type": "object" }, + "footprint": { + "additionalProperties": false, + "properties": { + "garden": { + "additionalProperties": false, + "properties": { + "removed": { + "description": "Does your proposal involve the loss of garden land?", + "type": "boolean" + } + }, + "required": [ + "removed" + ], + "type": "object" + } + }, + "required": [ + "garden" + ], + "type": "object" + }, "foulSewage": { "additionalProperties": false, "properties": { @@ -7756,7 +8197,15 @@ "description": "Green roof", "properties": { "area": { - "$ref": "#/definitions/Area" + "anyOf": [ + { + "$ref": "#/definitions/Area" + }, + { + "type": "number" + } + ], + "description": "Green roof area" } }, "required": [ @@ -7768,6 +8217,28 @@ "description": "Does the proposed use involve the storage of hazardous chemicals?", "type": "boolean" }, + "heating": { + "additionalProperties": false, + "properties": { + "electrical": { + "additionalProperties": false, + "properties": { + "numberHomes": { + "$ref": "#/definitions/Integer", + "description": "Homes with electrical heating" + } + }, + "required": [ + "numberHomes" + ], + "type": "object" + } + }, + "required": [ + "electrical" + ], + "type": "object" + }, "hoursOfOperation": { "description": "Hours of operation per use, or 'not applicable'", "type": "string" @@ -7780,6 +8251,55 @@ "additionalProperties": false, "description": "Changes that result in the loss, gain, or change of use of natural spaces", "properties": { + "openSpace": { + "items": { + "additionalProperties": false, + "properties": { + "access": { + "description": "Open Space access type", + "enum": [ + "restricted", + "unrestricted" + ], + "type": "string" + }, + "area": { + "description": "Open Space area", + "type": "number" + }, + "description": { + "description": "Open Space description", + "type": "string" + }, + "designation": { + "$ref": "#/definitions/OpenSpaceDesignation", + "description": "Open Space designation" + }, + "development": { + "description": "Open Space change type", + "enum": [ + "loss", + "gain", + "change" + ], + "type": "string" + }, + "swap": { + "description": "Open Space land swap", + "type": "boolean" + }, + "type": { + "$ref": "#/definitions/OpenSpaceType", + "description": "Open Space type" + } + }, + "required": [ + "development" + ], + "type": "object" + }, + "type": "array" + }, "openSpaces": { "items": { "additionalProperties": false, @@ -7838,6 +8358,47 @@ }, "type": "array" }, + "protectedSpace": { + "items": { + "additionalProperties": false, + "properties": { + "access": { + "description": "Protected Space access", + "enum": [ + "restricted", + "unrestricted" + ], + "type": "string" + }, + "area": { + "description": "Protected Space area", + "type": "number" + }, + "description": { + "description": "Protected Space description", + "type": "string" + }, + "designation": { + "$ref": "#/definitions/ProtectedSpaceDesignation", + "description": "Protected Space nature conservation designation" + }, + "development": { + "description": "Protected Space change type", + "enum": [ + "loss", + "gain", + "change" + ], + "type": "string" + } + }, + "required": [ + "development" + ], + "type": "object" + }, + "type": "array" + }, "protectedSpaces": { "items": { "additionalProperties": false, @@ -7989,6 +8550,47 @@ "$ref": "#/definitions/NewBuildingsOrStoreys", "description": "Increasing the height of existing buildings" }, + "nonPermanentDwellings": { + "additionalProperties": false, + "properties": { + "gained": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer", + "description": "Non-permanent dwellings gained" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "lost": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer", + "description": "Non-permanent dwellings lost" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "type": { + "description": "Non-permanent dwelling type", + "enum": [ + "Non-permanent dwellings", + "Traveller pitches/plots", + "Houseboat moorings" + ], + "type": "string" + } + }, + "type": "object" + }, "nonResidentialFloorspace": { "additionalProperties": false, "properties": { @@ -8005,6 +8607,18 @@ "parking": { "$ref": "#/definitions/ProposedLondonParking" }, + "phased": { + "description": "Scheme phasing", + "type": "boolean" + }, + "plannedCompletionDate": { + "$ref": "#/definitions/Date", + "description": "Intended completion date" + }, + "plannedStartDate": { + "$ref": "#/definitions/Date", + "description": "Intended commencement date" + }, "projectType": { "items": { "$ref": "#/definitions/ProjectType" @@ -8028,14 +8642,27 @@ ], "type": "object" }, - "schemeName": { - "type": "string" - }, - "site": { + "schemeName": { + "type": "string" + }, + "site": { + "additionalProperties": false, + "properties": { + "hectares": { + "description": "What is the site area in hectares?", + "type": "number" + } + }, + "required": [ + "hectares" + ], + "type": "object" + }, + "siteArea": { "additionalProperties": false, "properties": { "hectares": { - "description": "What is the site area in hectares?", + "description": "Site area", "type": "number" } }, @@ -8112,6 +8739,10 @@ ], "type": "object" }, + "subdivisionDetails": { + "description": "Sub-division of building", + "type": "string" + }, "trees": { "additionalProperties": false, "properties": { @@ -8424,16 +9055,24 @@ "description": "Count of new gas connections", "properties": { "connections": { - "additionalProperties": false, - "properties": { - "count": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "count": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + { "$ref": "#/definitions/Integer" } - }, - "required": [ - "count" ], - "type": "object" + "description": "New gas connections required" } }, "required": [ @@ -8443,37 +9082,49 @@ }, "internet": { "additionalProperties": false, - "description": "Count of new full fibre Internet connections", + "description": "Count of new full fibre internet connections", "properties": { "commercialUnits": { - "additionalProperties": false, - "properties": { - "count": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "count": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + { "$ref": "#/definitions/Integer" } - }, - "required": [ - "count" ], - "type": "object" + "description": "Number of non-residential units to have full fibre internet" }, "residentialUnits": { - "additionalProperties": false, - "properties": { - "count": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "count": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + { "$ref": "#/definitions/Integer" } - }, - "required": [ - "count" ], - "type": "object" + "description": "Number of residential units to have full fibre internet" } }, - "required": [ - "commercialUnits", - "residentialUnits" - ], "type": "object" }, "water": { @@ -8481,16 +9132,36 @@ "description": "Count of new water connections", "properties": { "connections": { - "additionalProperties": false, - "properties": { - "count": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "count": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + { "$ref": "#/definitions/Integer" } - }, - "required": [ - "count" ], - "type": "object" + "description": "New water connections required" + }, + "greyReuse": { + "description": "Grey water reuse", + "type": "boolean" + }, + "rainHarvesting": { + "description": "Rain water harvesting", + "type": "boolean" + }, + "usage": { + "description": "Internal residential water usage", + "type": "number" } }, "required": [ @@ -8506,16 +9177,24 @@ "description": "Waste management of demolition and construction materials", "properties": { "reuseRecycle": { - "additionalProperties": false, - "properties": { - "percent": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "percent": { + "type": "number" + } + }, + "required": [ + "percent" + ], + "type": "object" + }, + { "type": "number" } - }, - "required": [ - "percent" ], - "type": "object" + "description": "Percentage of construction material recycling" } }, "required": [ @@ -8819,9 +9498,54 @@ "fee": { "$ref": "#/definitions/FeeNotApplicable" }, + "housingFastTrack": { + "description": "Affordable Housing Fast Track", + "type": "boolean" + }, "leadDeveloper": { "$ref": "#/definitions/LeadDeveloper" }, + "linked": { + "additionalProperties": false, + "properties": { + "superseding": { + "additionalProperties": false, + "properties": { + "applicationNumber": { + "description": "Reference number of the original application", + "type": "string" + }, + "description": { + "description": "Description of the superseded components", + "type": "string" + }, + "partial": { + "description": "Is the original permission only partially superseded?", + "type": "boolean" + }, + "unitReference": { + "description": "Units that are being superseded", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "mobileNetworkOperators": { + "additionalProperties": false, + "properties": { + "consulted": { + "description": "Mobile network operators consulted", + "type": "boolean" + } + }, + "required": [ + "consulted" + ], + "type": "object" + }, "planningApp": { "$ref": "#/definitions/PlanningApplication" }, @@ -10172,9 +10896,54 @@ "fee": { "$ref": "#/definitions/Fee" }, + "housingFastTrack": { + "description": "Affordable Housing Fast Track", + "type": "boolean" + }, "leadDeveloper": { "$ref": "#/definitions/LeadDeveloper" }, + "linked": { + "additionalProperties": false, + "properties": { + "superseding": { + "additionalProperties": false, + "properties": { + "applicationNumber": { + "description": "Reference number of the original application", + "type": "string" + }, + "description": { + "description": "Description of the superseded components", + "type": "string" + }, + "partial": { + "description": "Is the original permission only partially superseded?", + "type": "boolean" + }, + "unitReference": { + "description": "Units that are being superseded", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "mobileNetworkOperators": { + "additionalProperties": false, + "properties": { + "consulted": { + "description": "Mobile network operators consulted", + "type": "boolean" + } + }, + "required": [ + "consulted" + ], + "type": "object" + }, "planningApp": { "$ref": "#/definitions/PlanningApplication" }, @@ -10433,6 +11202,24 @@ "materials": { "$ref": "#/definitions/Materials" }, + "ownership": { + "additionalProperties": false, + "properties": { + "status": { + "description": "Ownership status", + "enum": [ + "Public", + "Private", + "Mixed" + ], + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, "parking": { "$ref": "#/definitions/ExistingLondonParking" }, @@ -10497,24 +11284,42 @@ "$ref": "#/definitions/Region", "description": "Name of the region sourced from planning.data.gov.uk/dataset/region; \"London\" is a proxy for the Greater London Authority" }, - "titleNumber": { + "socialLandlord": { "additionalProperties": false, "properties": { - "known": { - "enum": [ - "Yes", - "No" - ], + "description": { + "description": "Lead Registered Social Landlord", "type": "string" + } + }, + "type": "object" + }, + "titleNumber": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "known": { + "enum": [ + "Yes", + "No" + ], + "type": "string" + }, + "number": { + "type": "string" + } + }, + "required": [ + "known" + ], + "type": "object" }, - "number": { + { "type": "string" } - }, - "required": [ - "known" ], - "type": "object" + "description": "Title Number" }, "type": { "$ref": "#/definitions/PropertyType" @@ -10548,6 +11353,95 @@ ], "type": "object" }, + "useClass": { + "description": "Use class", + "enum": [ + "A1", + "A2", + "A3", + "A4", + "A5", + "B1", + "B1a", + "B1b", + "B1c", + "B2", + "B8", + "C1", + "C2", + "C2a", + "C3", + "C4", + "D1", + "D2", + "SG" + ], + "type": "string" + }, + "useClassC3": { + "additionalProperties": false, + "properties": { + "GIA": { + "additionalProperties": false, + "properties": { + "existing": { + "description": "Use class C3 Gross Internal Area existing", + "type": "number" + }, + "gained": { + "description": "Use class C3 Gross Internal Area gained", + "type": "number" + }, + "lost": { + "description": "Use class C3 Gross Internal Area lost", + "type": "number" + } + }, + "required": [ + "existing", + "gained", + "lost" + ], + "type": "object" + } + }, + "required": [ + "GIA" + ], + "type": "object" + }, + "useClassC4": { + "additionalProperties": false, + "properties": { + "GIA": { + "additionalProperties": false, + "properties": { + "existing": { + "description": "Use class C4 Gross Internal Area existing", + "type": "number" + }, + "gained": { + "description": "Use class C4 Gross Internal Area gained", + "type": "number" + }, + "lost": { + "description": "Use class C4 Gross Internal Area lost", + "type": "number" + } + }, + "required": [ + "existing", + "gained", + "lost" + ], + "type": "object" + } + }, + "required": [ + "GIA" + ], + "type": "object" + }, "ward": { "description": "Name of the ward sourced from planning.data.gov.uk/dataset/ward", "type": "string" diff --git a/schemas/prototypeApplication.json b/schemas/prototypeApplication.json index 69c3d33d..0ac05bb4 100644 --- a/schemas/prototypeApplication.json +++ b/schemas/prototypeApplication.json @@ -4831,9 +4831,54 @@ "fee": { "$ref": "#/definitions/Fee" }, + "housingFastTrack": { + "description": "Affordable Housing Fast Track", + "type": "boolean" + }, "leadDeveloper": { "$ref": "#/definitions/LeadDeveloper" }, + "linked": { + "additionalProperties": false, + "properties": { + "superseding": { + "additionalProperties": false, + "properties": { + "applicationNumber": { + "description": "Reference number of the original application", + "type": "string" + }, + "description": { + "description": "Description of the superseded components", + "type": "string" + }, + "partial": { + "description": "Is the original permission only partially superseded?", + "type": "boolean" + }, + "unitReference": { + "description": "Units that are being superseded", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "mobileNetworkOperators": { + "additionalProperties": false, + "properties": { + "consulted": { + "description": "Mobile network operators consulted", + "type": "boolean" + } + }, + "required": [ + "consulted" + ], + "type": "object" + }, "planningApp": { "$ref": "#/definitions/PlanningApplication" }, @@ -6801,6 +6846,14 @@ ], "type": "object" }, + "companyName": { + "description": "Lead Developer name", + "type": "string" + }, + "overseasCompanyRegistrationNumber": { + "description": "Overseas company number", + "type": "string" + }, "type": { "enum": [ "ukCompany", @@ -6905,9 +6958,54 @@ "declaration": { "$ref": "#/definitions/Declaration" }, + "housingFastTrack": { + "description": "Affordable Housing Fast Track", + "type": "boolean" + }, "leadDeveloper": { "$ref": "#/definitions/LeadDeveloper" }, + "linked": { + "additionalProperties": false, + "properties": { + "superseding": { + "additionalProperties": false, + "properties": { + "applicationNumber": { + "description": "Reference number of the original application", + "type": "string" + }, + "description": { + "description": "Description of the superseded components", + "type": "string" + }, + "partial": { + "description": "Is the original permission only partially superseded?", + "type": "boolean" + }, + "unitReference": { + "description": "Units that are being superseded", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "mobileNetworkOperators": { + "additionalProperties": false, + "properties": { + "consulted": { + "description": "Mobile network operators consulted", + "type": "boolean" + } + }, + "required": [ + "consulted" + ], + "type": "object" + }, "planningApp": { "$ref": "#/definitions/PlanningApplication" }, @@ -6985,6 +7083,24 @@ }, "type": "array" }, + "ownership": { + "additionalProperties": false, + "properties": { + "status": { + "description": "Ownership status", + "enum": [ + "Public", + "Private", + "Mixed" + ], + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, "parking": { "$ref": "#/definitions/ExistingLondonParking" }, @@ -7049,27 +7165,134 @@ "$ref": "#/definitions/Region", "description": "Name of the region sourced from planning.data.gov.uk/dataset/region; \"London\" is a proxy for the Greater London Authority" }, - "titleNumber": { + "socialLandlord": { "additionalProperties": false, "properties": { - "known": { - "enum": [ - "Yes", - "No" - ], + "description": { + "description": "Lead Registered Social Landlord", "type": "string" + } + }, + "type": "object" + }, + "titleNumber": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "known": { + "enum": [ + "Yes", + "No" + ], + "type": "string" + }, + "number": { + "type": "string" + } + }, + "required": [ + "known" + ], + "type": "object" }, - "number": { + { "type": "string" } + ], + "description": "Title Number" + }, + "type": { + "$ref": "#/definitions/PropertyType" + }, + "useClass": { + "description": "Use class", + "enum": [ + "A1", + "A2", + "A3", + "A4", + "A5", + "B1", + "B1a", + "B1b", + "B1c", + "B2", + "B8", + "C1", + "C2", + "C2a", + "C3", + "C4", + "D1", + "D2", + "SG" + ], + "type": "string" + }, + "useClassC3": { + "additionalProperties": false, + "properties": { + "GIA": { + "additionalProperties": false, + "properties": { + "existing": { + "description": "Use class C3 Gross Internal Area existing", + "type": "number" + }, + "gained": { + "description": "Use class C3 Gross Internal Area gained", + "type": "number" + }, + "lost": { + "description": "Use class C3 Gross Internal Area lost", + "type": "number" + } + }, + "required": [ + "existing", + "gained", + "lost" + ], + "type": "object" + } }, "required": [ - "known" + "GIA" ], "type": "object" }, - "type": { - "$ref": "#/definitions/PropertyType" + "useClassC4": { + "additionalProperties": false, + "properties": { + "GIA": { + "additionalProperties": false, + "properties": { + "existing": { + "description": "Use class C4 Gross Internal Area existing", + "type": "number" + }, + "gained": { + "description": "Use class C4 Gross Internal Area gained", + "type": "number" + }, + "lost": { + "description": "Use class C4 Gross Internal Area lost", + "type": "number" + } + }, + "required": [ + "existing", + "gained", + "lost" + ], + "type": "object" + } + }, + "required": [ + "GIA" + ], + "type": "object" }, "ward": { "description": "Name of the ward sourced from planning.data.gov.uk/dataset/ward", @@ -7203,6 +7426,131 @@ "title": "Biodiversity net gain (BNG)", "type": "object" }, + "EVcharging": { + "additionalProperties": false, + "description": "Electric vehicle charging points by speed", + "properties": { + "active": { + "additionalProperties": false, + "description": "Number of active EV charging points", + "properties": { + "fast": { + "additionalProperties": false, + "description": "Number of fast EV charging points", + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "other": { + "additionalProperties": false, + "description": "Number of other EV charging points", + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "rapid": { + "additionalProperties": false, + "description": "Number of rapid EV charging points", + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "slow": { + "additionalProperties": false, + "description": "Number of slow EV charging points", + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + } + }, + "type": "object" + }, + "passive": { + "additionalProperties": false, + "description": "Number of passive EV charging points", + "properties": { + "fast": { + "additionalProperties": false, + "description": "Number of fast EV charging points", + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "other": { + "additionalProperties": false, + "description": "Number of other EV charging points", + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "rapid": { + "additionalProperties": false, + "description": "Number of rapid EV charging points", + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "slow": { + "additionalProperties": false, + "description": "Number of slow EV charging points", + "properties": { + "number": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "number" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, "access": { "additionalProperties": false, "description": "Proposed pedestrian & vehicle access, roads and rights of way, if applicable to application.type", @@ -7279,6 +7627,48 @@ "$ref": "#/definitions/GeoBoundary", "description": "Location plan boundary proposed by the user, commonly referred to as the red line boundary" }, + "buildingDetails": { + "additionalProperties": false, + "properties": { + "main": { + "additionalProperties": false, + "properties": { + "height": { + "description": "Main building maximum height", + "type": "number" + }, + "storeys": { + "$ref": "#/definitions/Integer", + "description": "Main building number of storeys" + } + }, + "type": "object" + }, + "outbuilding": { + "additionalProperties": false, + "properties": { + "height": { + "description": "Outbuilding maximum height", + "type": "number" + }, + "storeys": { + "$ref": "#/definitions/Integer", + "description": "Outbuilding number of storeys" + } + }, + "type": "object" + }, + "reference": { + "description": "Building reference", + "enum": [ + "main", + "outbuilding" + ], + "type": "string" + } + }, + "type": "object" + }, "charging": { "additionalProperties": false, "description": "Electric vehicle charing points", @@ -7519,17 +7909,24 @@ "additionalProperties": false, "properties": { "capacity": { - "additionalProperties": false, - "description": "Proposed total capacity of any on-site community-owned energy generation in megawatts (mW)", - "properties": { - "megawatts": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "megawatts": { + "type": "number" + } + }, + "required": [ + "megawatts" + ], + "type": "object" + }, + { "type": "number" } - }, - "required": [ - "megawatts" ], - "type": "object" + "description": "Proposed total capacity of any on-site community-owned energy generation in megawatts (mW), or Community Energy Capacity" } }, "required": [ @@ -7541,17 +7938,24 @@ "additionalProperties": false, "properties": { "capacity": { - "additionalProperties": false, - "description": "Proposed total capacity of any heat pumps in megawatts (mV)", - "properties": { - "megawatts": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "megawatts": { + "type": "number" + } + }, + "required": [ + "megawatts" + ], + "type": "object" + }, + { "type": "number" } - }, - "required": [ - "megawatts" ], - "type": "object" + "description": "Proposed total capacity of any heat pumps in megawatts (mV), or CHP Heat Pump Capacity" } }, "required": [ @@ -7563,17 +7967,24 @@ "additionalProperties": false, "properties": { "capacity": { - "additionalProperties": false, - "description": "Proposed total capacity of any solar energy generation in megawatts (mV)", - "properties": { - "megawatts": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "megawatts": { + "type": "number" + } + }, + "required": [ + "megawatts" + ], + "type": "object" + }, + { "type": "number" } - }, - "required": [ - "megawatts" ], - "type": "object" + "description": "Proposed total capacity of any solar energy generation in megawatts (mV), or Solar PV Capacity" } }, "required": [ @@ -7622,6 +8033,14 @@ "description": "Is the site at risk of flooding?", "type": "boolean" }, + "dischargeReduction": { + "description": "Surface Water Discharge Percentage Reduction", + "type": "number" + }, + "greenSuDS": { + "description": "Green SuDS", + "type": "boolean" + }, "increaseRiskElsewhere": { "description": "Will the proposal increase the flood risk elsewhere?", "type": "boolean" @@ -7646,6 +8065,28 @@ }, "type": "object" }, + "footprint": { + "additionalProperties": false, + "properties": { + "garden": { + "additionalProperties": false, + "properties": { + "removed": { + "description": "Does your proposal involve the loss of garden land?", + "type": "boolean" + } + }, + "required": [ + "removed" + ], + "type": "object" + } + }, + "required": [ + "garden" + ], + "type": "object" + }, "foulSewage": { "additionalProperties": false, "properties": { @@ -7676,7 +8117,15 @@ "description": "Green roof", "properties": { "area": { - "$ref": "#/definitions/Area" + "anyOf": [ + { + "$ref": "#/definitions/Area" + }, + { + "type": "number" + } + ], + "description": "Green roof area" } }, "required": [ @@ -7688,6 +8137,28 @@ "description": "Does the proposed use involve the storage of hazardous chemicals?", "type": "boolean" }, + "heating": { + "additionalProperties": false, + "properties": { + "electrical": { + "additionalProperties": false, + "properties": { + "numberHomes": { + "$ref": "#/definitions/Integer", + "description": "Homes with electrical heating" + } + }, + "required": [ + "numberHomes" + ], + "type": "object" + } + }, + "required": [ + "electrical" + ], + "type": "object" + }, "hoursOfOperation": { "description": "Hours of operation per use, or 'not applicable'", "type": "string" @@ -7700,6 +8171,55 @@ "additionalProperties": false, "description": "Changes that result in the loss, gain, or change of use of natural spaces", "properties": { + "openSpace": { + "items": { + "additionalProperties": false, + "properties": { + "access": { + "description": "Open Space access type", + "enum": [ + "restricted", + "unrestricted" + ], + "type": "string" + }, + "area": { + "description": "Open Space area", + "type": "number" + }, + "description": { + "description": "Open Space description", + "type": "string" + }, + "designation": { + "$ref": "#/definitions/OpenSpaceDesignation", + "description": "Open Space designation" + }, + "development": { + "description": "Open Space change type", + "enum": [ + "loss", + "gain", + "change" + ], + "type": "string" + }, + "swap": { + "description": "Open Space land swap", + "type": "boolean" + }, + "type": { + "$ref": "#/definitions/OpenSpaceType", + "description": "Open Space type" + } + }, + "required": [ + "development" + ], + "type": "object" + }, + "type": "array" + }, "openSpaces": { "items": { "additionalProperties": false, @@ -7758,6 +8278,47 @@ }, "type": "array" }, + "protectedSpace": { + "items": { + "additionalProperties": false, + "properties": { + "access": { + "description": "Protected Space access", + "enum": [ + "restricted", + "unrestricted" + ], + "type": "string" + }, + "area": { + "description": "Protected Space area", + "type": "number" + }, + "description": { + "description": "Protected Space description", + "type": "string" + }, + "designation": { + "$ref": "#/definitions/ProtectedSpaceDesignation", + "description": "Protected Space nature conservation designation" + }, + "development": { + "description": "Protected Space change type", + "enum": [ + "loss", + "gain", + "change" + ], + "type": "string" + } + }, + "required": [ + "development" + ], + "type": "object" + }, + "type": "array" + }, "protectedSpaces": { "items": { "additionalProperties": false, @@ -7905,10 +8466,51 @@ }, "type": "object" }, - "newStoreys": { - "$ref": "#/definitions/NewBuildingsOrStoreys", - "description": "Increasing the height of existing buildings" - }, + "newStoreys": { + "$ref": "#/definitions/NewBuildingsOrStoreys", + "description": "Increasing the height of existing buildings" + }, + "nonPermanentDwellings": { + "additionalProperties": false, + "properties": { + "gained": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer", + "description": "Non-permanent dwellings gained" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "lost": { + "additionalProperties": false, + "properties": { + "number": { + "$ref": "#/definitions/Integer", + "description": "Non-permanent dwellings lost" + } + }, + "required": [ + "number" + ], + "type": "object" + }, + "type": { + "description": "Non-permanent dwelling type", + "enum": [ + "Non-permanent dwellings", + "Traveller pitches/plots", + "Houseboat moorings" + ], + "type": "string" + } + }, + "type": "object" + }, "nonResidentialFloorspace": { "additionalProperties": false, "properties": { @@ -7925,6 +8527,18 @@ "parking": { "$ref": "#/definitions/ProposedLondonParking" }, + "phased": { + "description": "Scheme phasing", + "type": "boolean" + }, + "plannedCompletionDate": { + "$ref": "#/definitions/Date", + "description": "Intended completion date" + }, + "plannedStartDate": { + "$ref": "#/definitions/Date", + "description": "Intended commencement date" + }, "projectType": { "items": { "$ref": "#/definitions/ProjectType" @@ -7964,6 +8578,19 @@ ], "type": "object" }, + "siteArea": { + "additionalProperties": false, + "properties": { + "hectares": { + "description": "Site area", + "type": "number" + } + }, + "required": [ + "hectares" + ], + "type": "object" + }, "started": { "additionalProperties": false, "properties": { @@ -8032,6 +8659,10 @@ ], "type": "object" }, + "subdivisionDetails": { + "description": "Sub-division of building", + "type": "string" + }, "trees": { "additionalProperties": false, "properties": { @@ -8344,16 +8975,24 @@ "description": "Count of new gas connections", "properties": { "connections": { - "additionalProperties": false, - "properties": { - "count": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "count": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + { "$ref": "#/definitions/Integer" } - }, - "required": [ - "count" ], - "type": "object" + "description": "New gas connections required" } }, "required": [ @@ -8363,37 +9002,49 @@ }, "internet": { "additionalProperties": false, - "description": "Count of new full fibre Internet connections", + "description": "Count of new full fibre internet connections", "properties": { "commercialUnits": { - "additionalProperties": false, - "properties": { - "count": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "count": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + { "$ref": "#/definitions/Integer" } - }, - "required": [ - "count" ], - "type": "object" + "description": "Number of non-residential units to have full fibre internet" }, "residentialUnits": { - "additionalProperties": false, - "properties": { - "count": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "count": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + { "$ref": "#/definitions/Integer" } - }, - "required": [ - "count" ], - "type": "object" + "description": "Number of residential units to have full fibre internet" } }, - "required": [ - "commercialUnits", - "residentialUnits" - ], "type": "object" }, "water": { @@ -8401,16 +9052,36 @@ "description": "Count of new water connections", "properties": { "connections": { - "additionalProperties": false, - "properties": { - "count": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "count": { + "$ref": "#/definitions/Integer" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + { "$ref": "#/definitions/Integer" } - }, - "required": [ - "count" ], - "type": "object" + "description": "New water connections required" + }, + "greyReuse": { + "description": "Grey water reuse", + "type": "boolean" + }, + "rainHarvesting": { + "description": "Rain water harvesting", + "type": "boolean" + }, + "usage": { + "description": "Internal residential water usage", + "type": "number" } }, "required": [ @@ -8426,16 +9097,24 @@ "description": "Waste management of demolition and construction materials", "properties": { "reuseRecycle": { - "additionalProperties": false, - "properties": { - "percent": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "percent": { + "type": "number" + } + }, + "required": [ + "percent" + ], + "type": "object" + }, + { "type": "number" } - }, - "required": [ - "percent" ], - "type": "object" + "description": "Percentage of construction material recycling" } }, "required": [ @@ -8739,9 +9418,54 @@ "fee": { "$ref": "#/definitions/FeeNotApplicable" }, + "housingFastTrack": { + "description": "Affordable Housing Fast Track", + "type": "boolean" + }, "leadDeveloper": { "$ref": "#/definitions/LeadDeveloper" }, + "linked": { + "additionalProperties": false, + "properties": { + "superseding": { + "additionalProperties": false, + "properties": { + "applicationNumber": { + "description": "Reference number of the original application", + "type": "string" + }, + "description": { + "description": "Description of the superseded components", + "type": "string" + }, + "partial": { + "description": "Is the original permission only partially superseded?", + "type": "boolean" + }, + "unitReference": { + "description": "Units that are being superseded", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "mobileNetworkOperators": { + "additionalProperties": false, + "properties": { + "consulted": { + "description": "Mobile network operators consulted", + "type": "boolean" + } + }, + "required": [ + "consulted" + ], + "type": "object" + }, "planningApp": { "$ref": "#/definitions/PlanningApplication" }, @@ -10092,9 +10816,54 @@ "fee": { "$ref": "#/definitions/Fee" }, + "housingFastTrack": { + "description": "Affordable Housing Fast Track", + "type": "boolean" + }, "leadDeveloper": { "$ref": "#/definitions/LeadDeveloper" }, + "linked": { + "additionalProperties": false, + "properties": { + "superseding": { + "additionalProperties": false, + "properties": { + "applicationNumber": { + "description": "Reference number of the original application", + "type": "string" + }, + "description": { + "description": "Description of the superseded components", + "type": "string" + }, + "partial": { + "description": "Is the original permission only partially superseded?", + "type": "boolean" + }, + "unitReference": { + "description": "Units that are being superseded", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "mobileNetworkOperators": { + "additionalProperties": false, + "properties": { + "consulted": { + "description": "Mobile network operators consulted", + "type": "boolean" + } + }, + "required": [ + "consulted" + ], + "type": "object" + }, "planningApp": { "$ref": "#/definitions/PlanningApplication" }, @@ -10353,6 +11122,24 @@ "materials": { "$ref": "#/definitions/Materials" }, + "ownership": { + "additionalProperties": false, + "properties": { + "status": { + "description": "Ownership status", + "enum": [ + "Public", + "Private", + "Mixed" + ], + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, "parking": { "$ref": "#/definitions/ExistingLondonParking" }, @@ -10417,24 +11204,42 @@ "$ref": "#/definitions/Region", "description": "Name of the region sourced from planning.data.gov.uk/dataset/region; \"London\" is a proxy for the Greater London Authority" }, - "titleNumber": { + "socialLandlord": { "additionalProperties": false, "properties": { - "known": { - "enum": [ - "Yes", - "No" - ], + "description": { + "description": "Lead Registered Social Landlord", "type": "string" + } + }, + "type": "object" + }, + "titleNumber": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "known": { + "enum": [ + "Yes", + "No" + ], + "type": "string" + }, + "number": { + "type": "string" + } + }, + "required": [ + "known" + ], + "type": "object" }, - "number": { + { "type": "string" } - }, - "required": [ - "known" ], - "type": "object" + "description": "Title Number" }, "type": { "$ref": "#/definitions/PropertyType" @@ -10468,6 +11273,95 @@ ], "type": "object" }, + "useClass": { + "description": "Use class", + "enum": [ + "A1", + "A2", + "A3", + "A4", + "A5", + "B1", + "B1a", + "B1b", + "B1c", + "B2", + "B8", + "C1", + "C2", + "C2a", + "C3", + "C4", + "D1", + "D2", + "SG" + ], + "type": "string" + }, + "useClassC3": { + "additionalProperties": false, + "properties": { + "GIA": { + "additionalProperties": false, + "properties": { + "existing": { + "description": "Use class C3 Gross Internal Area existing", + "type": "number" + }, + "gained": { + "description": "Use class C3 Gross Internal Area gained", + "type": "number" + }, + "lost": { + "description": "Use class C3 Gross Internal Area lost", + "type": "number" + } + }, + "required": [ + "existing", + "gained", + "lost" + ], + "type": "object" + } + }, + "required": [ + "GIA" + ], + "type": "object" + }, + "useClassC4": { + "additionalProperties": false, + "properties": { + "GIA": { + "additionalProperties": false, + "properties": { + "existing": { + "description": "Use class C4 Gross Internal Area existing", + "type": "number" + }, + "gained": { + "description": "Use class C4 Gross Internal Area gained", + "type": "number" + }, + "lost": { + "description": "Use class C4 Gross Internal Area lost", + "type": "number" + } + }, + "required": [ + "existing", + "gained", + "lost" + ], + "type": "object" + } + }, + "required": [ + "GIA" + ], + "type": "object" + }, "ward": { "description": "Name of the ward sourced from planning.data.gov.uk/dataset/ward", "type": "string" diff --git a/types/schemas/prototypeApplication/data/ApplicationData.ts b/types/schemas/prototypeApplication/data/ApplicationData.ts index 23555f1e..1d34fe97 100644 --- a/types/schemas/prototypeApplication/data/ApplicationData.ts +++ b/types/schemas/prototypeApplication/data/ApplicationData.ts @@ -25,6 +25,10 @@ export interface LeadDeveloper { name: string; registrationNumber: string; }; + /** @description Lead Developer name */ + companyName?: string; + /** @description Overseas company number */ + overseasCompanyRegistrationNumber?: string; } /** @@ -33,6 +37,26 @@ export interface LeadDeveloper { export interface LondonApplicationData extends EnglandApplicationData { vacantBuildingCredit?: boolean; leadDeveloper?: LeadDeveloper; + /** + * @description Affordable Housing Fast Track + */ + housingFastTrack?: boolean; + linked?: { + superseding?: { + /** @description Description of the superseded components */ + description?: string; + /** @description Reference number of the original application */ + applicationNumber?: string; + /** @description Is the original permission only partially superseded? */ + partial?: boolean; + /** @description Units that are being superseded */ + unitReference?: string; + }; + }; + mobileNetworkOperators?: { + /** @description Mobile network operators consulted */ + consulted: boolean; + }; } /** diff --git a/types/schemas/prototypeApplication/data/Property.ts b/types/schemas/prototypeApplication/data/Property.ts index 7d503d10..fb3c8954 100644 --- a/types/schemas/prototypeApplication/data/Property.ts +++ b/types/schemas/prototypeApplication/data/Property.ts @@ -45,10 +45,15 @@ export type EnglandProperty = Site & { */ export type LondonProperty = Omit & { region: Extract; - titleNumber?: { - known: 'Yes' | 'No'; - number?: string; - }; + /** + * @description Title Number + */ + titleNumber?: + | { + known: 'Yes' | 'No'; + number?: string; + } + | string; /** * @title Energy Performance Certificate */ @@ -61,6 +66,57 @@ export type LondonProperty = Omit & { number?: string; }; parking?: ExistingLondonParking; + /** + * @description Use class + */ + useClass?: + | 'A1' + | 'A2' + | 'A3' + | 'A4' + | 'A5' + | 'B1' + | 'B1a' + | 'B1b' + | 'B1c' + | 'B2' + | 'B8' + | 'C1' + | 'C2' + | 'C2a' + | 'C3' + | 'C4' + | 'D1' + | 'D2' + | 'SG'; + useClassC3?: { + GIA: { + /** @description Use class C3 Gross Internal Area existing */ + existing: number; + /** @description Use class C3 Gross Internal Area gained */ + gained: number; + /** @description Use class C3 Gross Internal Area lost */ + lost: number; + }; + }; + useClassC4?: { + GIA: { + /** @description Use class C4 Gross Internal Area existing */ + existing: number; + /** @description Use class C4 Gross Internal Area gained */ + gained: number; + /** @description Use class C4 Gross Internal Area lost */ + lost: number; + }; + }; + socialLandlord?: { + /** @description Lead Registered Social Landlord */ + description?: string; + }; + ownership?: { + /** @description Ownership status */ + status: 'Public' | 'Private' | 'Mixed'; + }; }; export type PPProperty = PropertyBase & { diff --git a/types/schemas/prototypeApplication/data/Proposal.ts b/types/schemas/prototypeApplication/data/Proposal.ts index f4c6667a..20b6f930 100644 --- a/types/schemas/prototypeApplication/data/Proposal.ts +++ b/types/schemas/prototypeApplication/data/Proposal.ts @@ -303,10 +303,90 @@ interface EmployeeCounts { */ export interface LondonProposal extends Omit< EnglandProposal, - 'units' | 'parking' + 'units' | 'parking' | 'utilities' | 'flood' > { schemeName?: string; parking?: ProposedLondonParking; + /** + * @description Proposed utilities, if applicable to application.type + */ + utilities?: LondonUtilities; + /** + * @description Assessment of flood risk, if applicable to application.type + */ + flood?: LondonFlood; + /** + * @description Intended commencement date + */ + plannedStartDate?: Date; + /** + * @description Intended completion date + */ + plannedCompletionDate?: Date; + /** + * @description Scheme phasing + */ + phased?: boolean; + /** + * @description Electric vehicle charging points by speed + */ + EVcharging?: { + /** @description Number of active EV charging points */ + active?: EVChargingPoints; + /** @description Number of passive EV charging points */ + passive?: EVChargingPoints; + }; + heating?: { + electrical: { + /** @description Homes with electrical heating */ + numberHomes: Integer; + }; + }; + buildingDetails?: { + main?: { + /** @description Main building maximum height */ + height?: number; + /** @description Main building number of storeys */ + storeys?: Integer; + }; + outbuilding?: { + /** @description Outbuilding maximum height */ + height?: number; + /** @description Outbuilding number of storeys */ + storeys?: Integer; + }; + /** @description Building reference */ + reference?: 'main' | 'outbuilding'; + }; + footprint?: { + garden: { + /** @description Does your proposal involve the loss of garden land? */ + removed: boolean; + }; + }; + /** + * @description Sub-division of building + */ + subdivisionDetails?: string; + nonPermanentDwellings?: { + /** @description Non-permanent dwelling type */ + type?: + | 'Non-permanent dwellings' + | 'Traveller pitches/plots' + | 'Houseboat moorings'; + gained?: { + /** @description Non-permanent dwellings gained */ + number: Integer; + }; + lost?: { + /** @description Non-permanent dwellings lost */ + number: Integer; + }; + }; + siteArea?: { + /** @description Site area */ + hectares: number; + }; /** * @description Creating new buildings */ @@ -351,6 +431,34 @@ export interface LondonProposal extends Omit< access: 'restricted' | 'unrestricted'; area: {hectares: number}; }[]; + openSpace?: { + /** @description Open Space access type */ + access?: 'restricted' | 'unrestricted'; + /** @description Open Space area */ + area?: number; + /** @description Open Space change type */ + development: 'loss' | 'gain' | 'change'; + /** @description Open Space description */ + description?: string; + /** @description Open Space designation */ + designation?: OpenSpaceDesignation; + /** @description Open Space land swap */ + swap?: boolean; + /** @description Open Space type */ + type?: OpenSpaceType; + }[]; + protectedSpace?: { + /** @description Protected Space access */ + access?: 'restricted' | 'unrestricted'; + /** @description Protected Space area */ + area?: number; + /** @description Protected Space change type */ + development: 'loss' | 'gain' | 'change'; + /** @description Protected Space description */ + description?: string; + /** @description Protected Space nature conservation designation */ + designation?: ProtectedSpaceDesignation; + }[]; }; /** * @description Water management @@ -378,16 +486,16 @@ export interface LondonProposal extends Omit< */ type: Array<'communityOwned' | 'heatPump' | 'solar'>; communityOwned?: { - /** @description Proposed total capacity of any on-site community-owned energy generation in megawatts (mW) */ - capacity: {megawatts: number}; + /** @description Proposed total capacity of any on-site community-owned energy generation in megawatts (mW), or Community Energy Capacity */ + capacity: {megawatts: number} | number; }; heatPumps?: { - /** @description Proposed total capacity of any heat pumps in megawatts (mV) */ - capacity: {megawatts: number}; + /** @description Proposed total capacity of any heat pumps in megawatts (mV), or CHP Heat Pump Capacity */ + capacity: {megawatts: number} | number; }; solar?: { - /** @description Proposed total capacity of any solar energy generation in megawatts (mV) */ - capacity: {megawatts: number}; + /** @description Proposed total capacity of any solar energy generation in megawatts (mV), or Solar PV Capacity */ + capacity: {megawatts: number} | number; }; }; /** @@ -400,13 +508,15 @@ export interface LondonProposal extends Omit< * @description Green roof */ greenRoof?: { - area: Area; + /** @description Green roof area */ + area: Area | number; }; /** * @description Waste management of demolition and construction materials */ waste?: { - reuseRecycle: {percent: number}; + /** @description Percentage of construction material recycling */ + reuseRecycle: {percent: number} | number; }; units?: { residential: { @@ -418,6 +528,58 @@ export interface LondonProposal extends Omit< }; } +interface EVChargingPoints { + /** @description Number of fast EV charging points */ + fast?: {number: Integer}; + /** @description Number of other EV charging points */ + other?: {number: Integer}; + /** @description Number of rapid EV charging points */ + rapid?: {number: Integer}; + /** @description Number of slow EV charging points */ + slow?: {number: Integer}; +} + +type EnglandUtilities = NonNullable; + +/** + * @description Proposed utilities for project sites within the Greater London Authority (GLA) area + */ +type LondonUtilities = Omit & { + /** @description Count of new full fibre internet connections */ + internet?: { + /** @description Number of non-residential units to have full fibre internet */ + commercialUnits?: {count: Integer} | Integer; + /** @description Number of residential units to have full fibre internet */ + residentialUnits?: {count: Integer} | Integer; + }; + /** @description Count of new gas connections */ + gas?: { + /** @description New gas connections required */ + connections: {count: Integer} | Integer; + }; + /** @description Count of new water connections */ + water?: { + /** @description New water connections required */ + connections: {count: Integer} | Integer; + /** @description Grey water reuse */ + greyReuse?: boolean; + /** @description Internal residential water usage */ + usage?: number; + /** @description Rain water harvesting */ + rainHarvesting?: boolean; + }; +}; + +/** + * @description Assessment of flood risk for project sites within the Greater London Authority (GLA) area + */ +type LondonFlood = NonNullable & { + /** @description Green SuDS */ + greenSuDS?: boolean; + /** @description Surface Water Discharge Percentage Reduction */ + dischargeReduction?: number; +}; + /** * @description Details about creating new buildings or increasing the height of existing buildings */