From 849cb3215ad6596749db1f0d9a555e6b0446b3c8 Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Mon, 8 Jul 2024 21:43:54 +0200 Subject: [PATCH] match Notion --- schema/schema.json | 250 ++++++++++++++++++++++++++------ types/enums/ApplicationTypes.ts | 46 ++++-- 2 files changed, 236 insertions(+), 60 deletions(-) diff --git a/schema/schema.json b/schema/schema.json index f9947655..09a775fe 100644 --- a/schema/schema.json +++ b/schema/schema.json @@ -512,6 +512,60 @@ ], "type": "object" }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Planning approval", + "type": "string" + }, + "value": { + "const": "approval", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Approval of reserved matters", + "type": "string" + }, + "value": { + "const": "approval.reservedMatters", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Written confirmation of compliance with a planning condition", + "type": "string" + }, + "value": { + "const": "complianceConfirmation", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, { "additionalProperties": false, "properties": { @@ -732,7 +786,7 @@ "additionalProperties": false, "properties": { "description": { - "const": "Notification of Completion", + "const": "Notification of completion", "type": "string" }, "value": { @@ -746,6 +800,60 @@ ], "type": "object" }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Planning obligation", + "type": "string" + }, + "value": { + "const": "obligation", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Discharge a planning obligation", + "type": "string" + }, + "value": { + "const": "obligation.discharge", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Modify a planning obligation", + "type": "string" + }, + "value": { + "const": "obligation.modify", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, { "additionalProperties": false, "properties": { @@ -1452,11 +1560,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Permission in Principle - Consent for the principle of a project with less than 1,000 square metres floor area on a site of less than 1 hectare", + "const": "Planning Permission", "type": "string" }, "value": { - "const": "pip", + "const": "pp", "type": "string" } }, @@ -1470,11 +1578,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Permission in Principle - Approval of technical details", + "const": "Planning Permission for development, including all householder, minor, and major applications", "type": "string" }, "value": { - "const": "pip.technicalDetails", + "const": "pp.full", "type": "string" } }, @@ -1488,11 +1596,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Planning Permission", + "const": "Full Planning Permission and consent to display an advert", "type": "string" }, "value": { - "const": "pp", + "const": "pp.full.advertConsent", "type": "string" } }, @@ -1506,11 +1614,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Planning Permission for development, including all householder, minor, and major applications", + "const": "Full Planning Permission including demolition in a Conservation Area", "type": "string" }, "value": { - "const": "pp.full", + "const": "pp.full.demolition", "type": "string" } }, @@ -1524,11 +1632,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Full Planning Permission and consent to display an advert", + "const": "Full Planning Permission - Fast track for the purposes of Affordable Housing", "type": "string" }, "value": { - "const": "pp.full.advertConsent", + "const": "pp.full.fastTrack.affordable", "type": "string" } }, @@ -1542,11 +1650,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Full Planning Permission including demolition in a Conservation Area", + "const": "Planning Permission - Full householder", "type": "string" }, "value": { - "const": "pp.full.demolition", + "const": "pp.full.householder", "type": "string" } }, @@ -1560,11 +1668,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Full Planning Permission - Fast track for the purposes of Affordable Housing", + "const": "Planning Permission - Full householder with consent to do works to a Listed Building", "type": "string" }, "value": { - "const": "pp.full.fastTrack.affordable", + "const": "pp.full.householder.listed", "type": "string" } }, @@ -1578,11 +1686,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Planning Permission - Full householder", + "const": "Planning Permission - Full householder retrospective", "type": "string" }, "value": { - "const": "pp.full.householder", + "const": "pp.full.householder.retro", "type": "string" } }, @@ -1596,11 +1704,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Planning Permission - Full householder with consent to do works to a Listed Building", + "const": "Planning Permission - Major application", "type": "string" }, "value": { - "const": "pp.full.householder.listed", + "const": "pp.full.major", "type": "string" } }, @@ -1614,11 +1722,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Planning Permission - Full householder retrospective", + "const": "Planning Permission - Technical details consent for major development", "type": "string" }, "value": { - "const": "pp.full.householder.retro", + "const": "pp.full.major.technicalDetails", "type": "string" } }, @@ -1632,11 +1740,29 @@ "additionalProperties": false, "properties": { "description": { - "const": "Planning Permission - Major application", + "const": "Planning Permission - Technical details consent for waste development", "type": "string" }, "value": { - "const": "pp.full.major", + "const": "pp.full.major.technicalDetails.waste", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Planning Permission - Full planning permission for waste development", + "type": "string" + }, + "value": { + "const": "pp.full.major.waste", "type": "string" } }, @@ -1682,6 +1808,24 @@ ], "type": "object" }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Planning Permission - Technical details consent for minor development", + "type": "string" + }, + "value": { + "const": "pp.full.minor.technicalDetails", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, { "additionalProperties": false, "properties": { @@ -1744,7 +1888,7 @@ "type": "string" }, "value": { - "const": "pp.outline.allReserved", + "const": "pp.outline.all", "type": "string" } }, @@ -1758,11 +1902,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Outline Planning Permission - Approval of reserved matters", + "const": "Outline Planning Permission - Consent for the principle of a project specifying some details", "type": "string" }, "value": { - "const": "pp.outline.reservedMatters", + "const": "pp.outline.some", "type": "string" } }, @@ -1776,11 +1920,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Outline Planning Permission - Consent for the principle of a project specifying some details", + "const": "Planning permission - Outline for proposed development (minor)", "type": "string" }, "value": { - "const": "pp.outline.someReserved", + "const": "pp.outline.minor", "type": "string" } }, @@ -1794,11 +1938,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Planning permission - Outline for proposed development (minor)", + "const": "Outline Planning Permission - Consent for the principle of a project witholding all details (minor)", "type": "string" }, "value": { - "const": "pp.outline.minor", + "const": "pp.outline.minor.all", "type": "string" } }, @@ -1812,11 +1956,29 @@ "additionalProperties": false, "properties": { "description": { - "const": "Outline Planning Permission - Consent for the principle of a project witholding all details (minor)", + "const": "Outline Planning Permission - Consent for the principle of a project specifying some details (minor)", + "type": "string" + }, + "value": { + "const": "pp.outline.minor.some", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Planning permission - Outline for proposed development (major)", "type": "string" }, "value": { - "const": "pp.outline.minor.allReserved", + "const": "pp.outline.major", "type": "string" } }, @@ -1830,11 +1992,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Outline Planning Permission - Approval of reserved matters (minor)", + "const": "Outline Planning Permission - Consent for the principle of a project witholding all details (major)", "type": "string" }, "value": { - "const": "pp.outline.minor.reservedMatters", + "const": "pp.outline.major.all", "type": "string" } }, @@ -1848,11 +2010,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Outline Planning Permission - Consent for the principle of a project specifying some details (minor)", + "const": "Outline Planning Permission - Consent for the principle of waste development witholding all details", "type": "string" }, "value": { - "const": "pp.outline.minor.someReserved", + "const": "pp.outline.major.all.waste", "type": "string" } }, @@ -1866,11 +2028,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Planning permission - Outline for proposed development (major)", + "const": "Outline Planning Permission - Consent for the principle of a project specifying some details (major)", "type": "string" }, "value": { - "const": "pp.outline.major", + "const": "pp.outline.major.some", "type": "string" } }, @@ -1884,11 +2046,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Outline Planning Permission - Consent for the principle of a project witholding all details (major)", + "const": "Outline Planning Permission - Consent for the principle of waste development witholding all details", "type": "string" }, "value": { - "const": "pp.outline.major.allReserved", + "const": "pp.outline.major.some.waste", "type": "string" } }, @@ -1902,11 +2064,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Outline Planning Permission - Approval of reserved matters (major)", + "const": "Permission in Principle - Consent for the principle of a project with less than 1,000 square metres floor area on a site of less than 1 hectare", "type": "string" }, "value": { - "const": "pp.outline.major.reservedMatters", + "const": "pp.pip", "type": "string" } }, @@ -1920,11 +2082,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Outline Planning Permission - Consent for the principle of a project specifying some details (major)", + "const": "Permission in Principle - Approval of technical details", "type": "string" }, "value": { - "const": "pp.outline.major.someReserved", + "const": "pp.pip.technicalDetails", "type": "string" } }, diff --git a/types/enums/ApplicationTypes.ts b/types/enums/ApplicationTypes.ts index 6b21e53a..2713d63a 100644 --- a/types/enums/ApplicationTypes.ts +++ b/types/enums/ApplicationTypes.ts @@ -9,6 +9,10 @@ export const ApplicationTypes = { 'Consent to make small (minor material) changes to a project with Planning Permission', 'amendment.nonMaterial': 'Consent to make small (non-material) changes to a project with Planning Permission', + approval: 'Planning approval', + 'approval.reservedMatters': 'Approval of reserved matters', + complianceConfirmation: + 'Written confirmation of compliance with a planning condition', environmnentalImpact: 'Environmental Impact Decision', 'environmentalImpact.scoping': 'Environmental Impact Decision - Scoping', 'environmentalImpact.screening': 'Environmental Impact Decision - Screening', @@ -25,7 +29,10 @@ export const ApplicationTypes = { 'ldc.condition': 'Lawful Development Certificate - Lawful not to comply with a condition or limitation', listed: 'Consent to do works to a Listed Building', - notifyCompletion: 'Notification of Completion', + notifyCompletion: 'Notification of completion', + obligation: 'Planning obligation', + 'obligation.discharge': 'Discharge a planning obligation', + 'obligation.modify': 'Modify a planning obligation', pa: 'Prior Approval', 'pa.part1.classA': 'Prior Approval - Larger extension to a house', 'pa.part1.classAA': 'Prior Approval - Adding storeys to a house', @@ -84,9 +91,6 @@ export const ApplicationTypes = { 'pa.part20.classAD': 'Prior Approval - Build homes on detached houses', 'pa.part20.classZA': 'Prior Approval - Demolish buildings and build homes in their place', - pip: 'Permission in Principle - Consent for the principle of a project with less than 1,000 square metres floor area on a site of less than 1 hectare', - 'pip.technicalDetails': - 'Permission in Principle - Approval of technical details', pp: 'Planning Permission', 'pp.full': 'Planning Permission for development, including all householder, minor, and major applications', @@ -102,36 +106,46 @@ export const ApplicationTypes = { 'pp.full.householder.retro': 'Planning Permission - Full householder retrospective', 'pp.full.major': 'Planning Permission - Major application', + 'pp.full.major.technicalDetails': + 'Planning Permission - Technical details consent for major development', + 'pp.full.major.technicalDetails.waste': + 'Planning Permission - Technical details consent for waste development', + 'pp.full.major.waste': + 'Planning Permission - Full planning permission for waste development', 'pp.full.minor': 'Planning Permission - Minor application', 'pp.full.minor.listed': 'Planning Permission - Minor application and consent to do works to a Listed Building', + 'pp.full.minor.technicalDetails': + 'Planning Permission - Technical details consent for minor development', 'pp.mineralExtraction': 'Planning Permission - Consent to extract minerals and related development, such as temporary buildings and roads', 'pp.onshoreExtractionOilAndGas': 'Planning Permission - Consent to extract oil and gas', 'pp.outline': 'Planning permission - Outline for proposed development', - 'pp.outline.allReserved': + 'pp.outline.all': 'Outline Planning Permission - Consent for the principle of a project witholding all details', - 'pp.outline.reservedMatters': - 'Outline Planning Permission - Approval of reserved matters', - 'pp.outline.someReserved': + 'pp.outline.some': 'Outline Planning Permission - Consent for the principle of a project specifying some details', 'pp.outline.minor': 'Planning permission - Outline for proposed development (minor)', - 'pp.outline.minor.allReserved': + 'pp.outline.minor.all': 'Outline Planning Permission - Consent for the principle of a project witholding all details (minor)', - 'pp.outline.minor.reservedMatters': - 'Outline Planning Permission - Approval of reserved matters (minor)', - 'pp.outline.minor.someReserved': + 'pp.outline.minor.some': 'Outline Planning Permission - Consent for the principle of a project specifying some details (minor)', 'pp.outline.major': 'Planning permission - Outline for proposed development (major)', - 'pp.outline.major.allReserved': + 'pp.outline.major.all': 'Outline Planning Permission - Consent for the principle of a project witholding all details (major)', - 'pp.outline.major.reservedMatters': - 'Outline Planning Permission - Approval of reserved matters (major)', - 'pp.outline.major.someReserved': + 'pp.outline.major.all.waste': + 'Outline Planning Permission - Consent for the principle of waste development witholding all details', + 'pp.outline.major.some': 'Outline Planning Permission - Consent for the principle of a project specifying some details (major)', + 'pp.outline.major.some.waste': + 'Outline Planning Permission - Consent for the principle of waste development witholding all details', + 'pp.pip': + 'Permission in Principle - Consent for the principle of a project with less than 1,000 square metres floor area on a site of less than 1 hectare', + 'pp.pip.technicalDetails': + 'Permission in Principle - Approval of technical details', rightsOfWayOrder: 'Rights of Way Order - Apply to move or close a path', wtt: 'Works to trees', 'wtt.consent':