Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
118 changes: 118 additions & 0 deletions examples/prototypeApplication/data/planningPermission/minor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -206,6 +220,10 @@ export const planningPermissionMinorPrototype: PrototypeApplication = {
officer: 'Pete the Planning Person',
summary: 'Not provided',
},
preAppAdvice: {
form: 'Yes',
reference: '0123456789',
},
},
proposal: {
projectType: ['changeOfUse'],
Expand Down Expand Up @@ -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: [
Expand Down
130 changes: 130 additions & 0 deletions examples/prototypeApplication/planningPermission/minor.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -203,6 +217,10 @@
"date": "2020-01-01",
"officer": "Pete the Planning Person",
"summary": "Not provided"
},
"preAppAdvice": {
"form": "Yes",
"reference": "0123456789"
}
},
"proposal": {
Expand Down Expand Up @@ -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
}
}
}
},
Expand Down
2 changes: 2 additions & 0 deletions schemas/application.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down Expand Up @@ -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": [
Expand Down
Loading
Loading