Skip to content

Commit

Permalink
Add build files for v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicamcinchak committed Nov 28, 2023
1 parent b6e66ed commit bacacd8
Show file tree
Hide file tree
Showing 23 changed files with 26,296 additions and 0 deletions.
1,862 changes: 1,862 additions & 0 deletions v0.2.1/examples/validLawfulDevelopmentCertificateExisting.json

Large diffs are not rendered by default.

1,224 changes: 1,224 additions & 0 deletions v0.2.1/examples/validLawfulDevelopmentCertificateProposed.json

Large diffs are not rendered by default.

1,773 changes: 1,773 additions & 0 deletions v0.2.1/examples/validPlanningPermission.json

Large diffs are not rendered by default.

1,110 changes: 1,110 additions & 0 deletions v0.2.1/examples/validPriorApproval.json

Large diffs are not rendered by default.

18,623 changes: 18,623 additions & 0 deletions v0.2.1/schema.json

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions v0.2.1/types/Schema.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import {File} from './schema/File';
import {Metadata} from './schema/Metadata';
import {PreAssessment} from './schema/PreAssessment';
import {Responses} from './schema/Responses';
import {Applicant} from './schema/data/Applicant';
import {Application} from './schema/data/Application';
import {Property} from './schema/data/Property';
import {Proposal} from './schema/data/Proposal';
import {User} from './schema/data/User';

/**
* @title Digital Planning Application
* @description The root specification for a planning application in England generated by a digital planning service
*/
export interface Schema {
data: {
application: Application;
user: User;
applicant: Applicant;
property: Property;
proposal: Proposal;
};
preAssessment?: PreAssessment;
responses: Responses;
files: File[];
metadata: Metadata;
}
62 changes: 62 additions & 0 deletions v0.2.1/types/enums/ApplicationTypes.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
/**
* Values of `data.application.type`
*/
export const ApplicationTypes = {
ldc: 'Lawful Development Certificate',
'ldc.proposed': 'Lawful Development Certificate - Proposed use',
'ldc.existing': 'Lawful Development Certificate - Existing use',
'ldc.existing.regularise':
'Lawful Development Certificate - Continue an existing use',
'ldc.condition':
'Lawful Development Certificate - Lawful not to comply with a condition or limitation',
pa: 'Prior Approval',
'pa.part1.classA': 'Prior Approval - Larger extension to a house',
'pa.part1.classAA': 'Prior Approval - Adding storeys to a house',
'pa.part3.classG':
'Prior Approval - Convert a commercial building to mixed use',
'pa.part3.classM':
'Prior Approval - Convert a mixed use building into a home',
'pa.part3.classMA':
'Prior Approval - Convert a commercial building into a home or homes',
'pa.part3.classN':
'Prior Approval - Convert a casino or amusement arcade into a home or homes',
'pa.part3.classQ':
'Prior Approval - Convert an agricultural building into a home',
'pa.part3.classR':
'Prior Approval - Convert an agricultural building to a commercial use',
'pa.part3.classS':
'Prior Approval - Convert an agricultural building to a school',
'pa.part3.classT':
'Prior Approval - Convert a commercial building to a school',
'pa.part4.classBB': 'Prior Approval - Put up a temporary structure',
'pa.part4.classE': 'Prior Approval - Use a building or land to shoot a film',
'pa.part6.classA':
'Prior Approval - Build new agricultural buildings on a unit of 5 hectares or more',
'pa.part6.classB':
'Prior Approval - Build new agricultural buildings on a unit of less than 5 hectares',
'pa.part6.classE': 'Prior Approval - Build new forestry buildings',
'pa.part7.classC': 'Prior Approval - Install click and collect facilities',
'pa.part7.classM':
'Prior Approval - Extend a school, college, university, prison or hospital',
'pa.part11.classB': 'Prior Approval - Demolish a building',
'pa.part14.classJ': 'Prior Approval - Install or change solar panels',
'pa.part16.classA': 'Prior Approval - Install telecommunications equipment',
'pa.part18.classA':
'Prior Approval - Specific Acts of Parliament or Local Orders',
'pa.part20.classA':
'Prior Approval - Build homes on a detached blocks of flats',
'pa.part20.classAA':
'Prior Approval - Build homes on a detached commercial building',
'pa.part20.classAB':
'Prior Approval - Build homes on an adjoining commercial or mixed use building',
'pa.part20.classAC': 'Prior Approval - Build homes on adjoining houses',
'pa.part20.classAD': 'Prior Approval - Build homes on detached houses',
'pa.part20.classZA':
'Prior Approval - Demolish buildings and build homes in their place',
pp: 'Planning Permission',
'pp.full.householder': 'Planning Permission - Full householder',
'pp.full.householder.retro':
'Planning Permission - Full householder retrospective',
'pp.full.major': 'Planning Permission - Major application',
'pp.full.minor': 'Planning Permission - Minor application',
};
45 changes: 45 additions & 0 deletions v0.2.1/types/enums/FileTypes.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/**
* Values of `file.type`
*/
export const FileTypes = {
'applicant.disability.evidence':
'Evidence for application fee exemption - disability',
'property.drawing.elevation': 'Elevations - existing',
'property.drawing.floorPlan': 'Floor plan - existing',
'property.drawing.roofPlan': 'Roof plan - existing',
'property.drawing.section': 'Sections - existing',
'property.drawing.sitePlan': 'Site plan - existing',
'property.drawing.usePlan': 'Use plan - existing',
'property.photograph': 'Photographs',
'proposal.drawing.elevation': 'Elevations - proposed',
'proposal.drawing.floorPlan': 'Floor plan - proposed',
'proposal.drawing.locationPlan': 'Location plan',
'proposal.drawing.other': 'Other - drawing',
'proposal.drawing.roofPlan': 'Roof plan - proposed',
'proposal.drawing.section': 'Sections - proposed',
'proposal.drawing.sitePlan': 'Site plan - proposed',
'proposal.drawing.unitPlan': 'Unit plan - proposed',
'proposal.drawing.usePlan': 'Use plan - proposed',
'proposal.document.bankStatement': 'Bank statement',
'proposal.document.buildingControl.certificate':
'Building control certificate',
'proposal.document.construction.invoice': 'Construction invoice',
'proposal.document.contamination': 'Contamination report',
'proposal.document.councilTaxBill': 'Council tax bill',
'proposal.document.declaration': 'Statuatory declaration',
'proposal.document.designAndAccess': 'Design and Access Statement',
'proposal.document.fireSafety': 'Fire safety report',
'proposal.document.floodRisk': 'Flood risk assessment',
'proposal.document.heritageStatement': 'Heritage Statement',
'proposal.document.noise': 'Noise assessment',
'proposal.document.other': 'Other - document',
'proposal.document.other.evidence': 'Other - correspondence',
'proposal.document.sunAndDaylight': 'Sunlight and daylight report',
'proposal.document.tenancyAgreement': 'Tenancy agreement',
'proposal.document.tenancyInvoice': 'Tenancy invoice',
'proposal.document.transport': 'Transport assessment',
'proposal.document.utility.bill': 'Utility bill',
'proposal.photograph': 'Photographs',
'proposal.photograph.evidence': 'Photographs - evidence',
'proposal.visualisation': 'Visualisations',
};
42 changes: 42 additions & 0 deletions v0.2.1/types/enums/Flags.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/**
* Flags and their flagset that make up a result
*/
export const Flags = {
'Planning permission / Immune':
'It looks like the changes may now be beyond the time limit for enforcement action. This does not apply if the changes have been deliberately concealed.',
'Planning permission / Missing information':
'There is some key information missing that will be needed to assess this application.',
'Planning permission / Permission needed':
'It looks like the proposed changes may require planning permission.',
'Planning permission / Prior approval':
'It looks like the proposed changes do not require planning permission, however the applicant must apply for Prior Approval before proceeding.',
'Planning permission / Notice':
'It looks like the proposed changes may not require planning permission, however the applicant must provide notice to the planning authority before proceeding.',
'Planning permission / Permitted development':
'It looks like the proposed changes may fall within the rules for Permitted Development and therefore would not need planning permission.',
'Planning permission / Not development':
"It looks like the proposed changes may not fall within the legal definition of 'development', and therefore would not require planning permission.",
'Listed building consent / Missing information': '',
'Listed building consent / Required': '',
'Listed building consent / De minimis': '',
'Listed building consent / Not required': '',
'Works to trees & hedges / Missing information': '',
'Works to trees & hedges / Required': '',
'Works to trees & hedges / De minimis': '',
'Works to trees & hedges / Not required': '',
'Demolition in a conservation area / Missing information': '',
'Demolition in a conservation area / Required': '',
'Demolition in a conservation area / De minimis': '',
'Demolition in a conservation area / Not required': '',
'Planning policy / Missing information': '',
'Planning policy / Fails to meet policy': '',
'Planning policy / Edge case': '',
'Planning policy / Meets policy': '',
'Community infrastructure levy / Missing information': '',
'Community infrastructure levy / Exemption void': '',
'Community infrastructure levy / Exempt': '',
'Community infrastructure levy / Relief void': '',
'Community infrastructure levy / Relief': '',
'Community infrastructure levy / Liable': '',
'Community infrastructure levy / Not liable': '',
};
27 changes: 27 additions & 0 deletions v0.2.1/types/enums/PlanningConstraints.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/**
* Values for `data.property.planning.designations`
*/
export const PlanningDesignations = {
article4: 'Article 4 Direction area',
'article4.caz': 'Central Activities Zone (CAZ)',
designated: 'Designated land',
'designated.AONB': 'Area of Outstanding Natural Beauty (AONB)',
'designated.conservationArea': 'Conservation Area',
'designated.nationalPark': 'National Park',
'designated.nationalPark.broads': 'National Park - Broads',
'designated.SPA': 'Special Protection Area (SPA)',
'designated.WHS': 'UNESCO World Heritage Site or buffer zone',
flood: 'Flood Risk Zone',
'flood.zone.1': 'Flood Risk Zone 1 - Low risk',
'flood.zone.2': 'Flood Risk Zone 2 - Medium risk',
'flood.zone.3': 'Flood Risk Zone 3 - High risk',
listed: 'Listed Building',
locallyListed: 'Locally Listed Building',
monument: 'Site of a Scheduled Monument',
'nature.ASNW': 'Ancient Semi-Natural Woodland (ASNW)',
'nature.SAC': 'Special Area of Conservation (SAC)',
'nature.SSSI': 'Site of Special Scientific Interest (SSSI)',
registeredPark: 'Historic Park or Garden',
'road.classified': 'Classified Road',
tpo: 'Tree Preservation Order (TPO) or zone',
};
Loading

0 comments on commit bacacd8

Please sign in to comment.