From c1b81a2ca513e009b28dc116cc88c1562215a2c7 Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Mon, 16 Oct 2023 21:38:25 +0100 Subject: [PATCH 1/2] fix: add more granular `ProjectType` values (#55) --- examples/data/planningPermission.ts | 4 +- examples/validPlanningPermission.json | 4 +- schema/schema.json | 1808 ++++++++++++++++++++++--- types/enums/ApplicationTypes.ts | 5 +- types/enums/FileTypes.ts | 1 + types/enums/ProjectTypes.ts | 91 +- 6 files changed, 1702 insertions(+), 211 deletions(-) diff --git a/examples/data/planningPermission.ts b/examples/data/planningPermission.ts index 58fb70f7..9e565460 100644 --- a/examples/data/planningPermission.ts +++ b/examples/data/planningPermission.ts @@ -5,7 +5,7 @@ export const validPlanningPermission: Schema = { application: { type: { value: 'pp.full.householder', - description: 'Planning Permission', + description: 'Planning Permission - Full householder', }, fee: { calculated: 206, @@ -221,7 +221,7 @@ export const validPlanningPermission: Schema = { projectType: [ { value: 'extend.roof.dormer', - description: 'Add roof dormers', + description: 'Add a roof dormer', }, ], description: diff --git a/examples/validPlanningPermission.json b/examples/validPlanningPermission.json index 2dd55581..f59b765b 100644 --- a/examples/validPlanningPermission.json +++ b/examples/validPlanningPermission.json @@ -3,7 +3,7 @@ "application": { "type": { "value": "pp.full.householder", - "description": "Planning Permission" + "description": "Planning Permission - Full householder" }, "fee": { "calculated": 206, @@ -236,7 +236,7 @@ "projectType": [ { "value": "extend.roof.dormer", - "description": "Add roof dormers" + "description": "Add a roof dormer" } ], "description": "Roof extension to the rear of the property, incorporating starship launchpad.", diff --git a/schema/schema.json b/schema/schema.json index ccd1b363..b65722fd 100644 --- a/schema/schema.json +++ b/schema/schema.json @@ -845,7 +845,7 @@ "additionalProperties": false, "properties": { "description": { - "const": "Planning Permission", + "const": "Planning Permission - Full householder", "type": "string" }, "value": { @@ -863,7 +863,7 @@ "additionalProperties": false, "properties": { "description": { - "const": "Planning Permission - Retrospective", + "const": "Planning Permission - Full householder retrospective", "type": "string" }, "value": { @@ -1486,6 +1486,24 @@ ], "type": "object" }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Fire safety report", + "type": "string" + }, + "value": { + "const": "proposal.document.fireSafety", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, { "additionalProperties": false, "properties": { @@ -4841,11 +4859,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Remove a bay window", + "const": "Add a bay window to the rear of the building", "type": "string" }, "value": { - "const": "alter.bayWindow.remove", + "const": "alter.bayWindow.rear", "type": "string" } }, @@ -4859,11 +4877,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Changes to a fence, wall or gate", + "const": "Remove a bay window", "type": "string" }, "value": { - "const": "alter.boundary", + "const": "alter.bayWindow.remove", "type": "string" } }, @@ -4877,11 +4895,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install underground cables", + "const": "Changes to a fence, wall or gate", "type": "string" }, "value": { - "const": "alter.cables", + "const": "alter.boundary", "type": "string" } }, @@ -4895,11 +4913,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Change chimneys", + "const": "Add a new fence, wall or gate", "type": "string" }, "value": { - "const": "alter.chimneys", + "const": "alter.boundary.add", "type": "string" } }, @@ -4913,11 +4931,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add a chimney", + "const": "Add a new fence", "type": "string" }, "value": { - "const": "alter.chimneys.add", + "const": "alter.boundary.add.fence", "type": "string" } }, @@ -4931,11 +4949,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Replace a chimney", + "const": "Add a new gate", "type": "string" }, "value": { - "const": "alter.chimneys.replace", + "const": "alter.boundary.add.gate", "type": "string" } }, @@ -4949,11 +4967,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add a verandah or deck", + "const": "Add a new boundary wall", "type": "string" }, "value": { - "const": "alter.deck", + "const": "alter.boundary.add.wall", "type": "string" } }, @@ -4967,11 +4985,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Work on drains", + "const": "Repair a fence, wall or gate", "type": "string" }, "value": { - "const": "alter.drains", + "const": "alter.boundary.repair", "type": "string" } }, @@ -4985,11 +5003,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install an air conditioning unit", + "const": "Repair a fence", "type": "string" }, "value": { - "const": "alter.equipment.airConditioning", + "const": "alter.boundary.repair.fence", "type": "string" } }, @@ -5003,11 +5021,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install a security alarm", + "const": "Repair a gate", "type": "string" }, "value": { - "const": "alter.equipment.alarm", + "const": "alter.boundary.repair.gate", "type": "string" } }, @@ -5021,11 +5039,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install a satellite dish or aerial", + "const": "Repair a wall", "type": "string" }, "value": { - "const": "alter.equipment.antennae", + "const": "alter.boundary.repair.wall", "type": "string" } }, @@ -5039,11 +5057,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install a flue with a biomass burner", + "const": "Replace a fence, wall or gate", "type": "string" }, "value": { - "const": "alter.equipment.biomass", + "const": "alter.boundary.replace", "type": "string" } }, @@ -5057,11 +5075,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install CCTV cameras", + "const": "Replace a fence", "type": "string" }, "value": { - "const": "alter.equipment.cctv", + "const": "alter.boundary.replace.fence", "type": "string" } }, @@ -5075,11 +5093,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install a car charging point", + "const": "Replace a gate", "type": "string" }, "value": { - "const": "alter.equipment.charging", + "const": "alter.boundary.replace.gate", "type": "string" } }, @@ -5093,11 +5111,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install a heat pump", + "const": "Replace a wall", "type": "string" }, "value": { - "const": "alter.equipment.heatPump", + "const": "alter.boundary.replace.wall", "type": "string" } }, @@ -5111,11 +5129,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install outdoor lights", + "const": "Install underground cables", "type": "string" }, "value": { - "const": "alter.equipment.lighting", + "const": "alter.cables", "type": "string" } }, @@ -5129,11 +5147,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install solar panels", + "const": "Change chimneys", "type": "string" }, "value": { - "const": "alter.equipment.solar", + "const": "alter.chimneys", "type": "string" } }, @@ -5147,11 +5165,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install solar photovoltaics (PV)", + "const": "Add a chimney", "type": "string" }, "value": { - "const": "alter.equipment.solar.pv", + "const": "alter.chimneys.add", "type": "string" } }, @@ -5165,11 +5183,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install solar thermal equipment", + "const": "Replace a chimney", "type": "string" }, "value": { - "const": "alter.equipment.solar.thermal", + "const": "alter.chimneys.replace", "type": "string" } }, @@ -5183,11 +5201,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install an outdoor tank (for example a water tank)", + "const": "Add a verandah or deck", "type": "string" }, "value": { - "const": "alter.equipment.tank", + "const": "alter.deck", "type": "string" } }, @@ -5201,11 +5219,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install a wind turbine", + "const": "Work on drains", "type": "string" }, "value": { - "const": "alter.equipment.wind", + "const": "alter.drains", "type": "string" } }, @@ -5219,11 +5237,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Change the material or colour of the external walls", + "const": "Install an air conditioning unit", "type": "string" }, "value": { - "const": "alter.facades", + "const": "alter.equipment.airConditioning", "type": "string" } }, @@ -5237,11 +5255,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Changes to a public road, pavement or path (including drop kerb)", + "const": "Install a security alarm", "type": "string" }, "value": { - "const": "alter.highways", + "const": "alter.equipment.alarm", "type": "string" } }, @@ -5255,11 +5273,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Landscaping works", + "const": "Install a satellite dish or aerial", "type": "string" }, "value": { - "const": "alter.landscape", + "const": "alter.equipment.antennae", "type": "string" } }, @@ -5273,11 +5291,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add or remove a pond", + "const": "Install an aerial antennea", "type": "string" }, "value": { - "const": "alter.landscape.ponds", + "const": "alter.equipment.antennae.aerial", "type": "string" } }, @@ -5291,11 +5309,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add one or more new doorways", + "const": "Install a satellite dish", "type": "string" }, "value": { - "const": "alter.openings.add.door", + "const": "alter.equipment.antennae.dish", "type": "string" } }, @@ -5309,11 +5327,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add one or more new windows", + "const": "Install a barbeque", "type": "string" }, "value": { - "const": "alter.openings.add.window", + "const": "alter.equipment.bbq", "type": "string" } }, @@ -5327,11 +5345,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add doorways or new windows - 1.7m or higher", + "const": "Install a flue with a biomass burner", "type": "string" }, "value": { - "const": "alter.openings.add.windows.high", + "const": "alter.equipment.biomass", "type": "string" } }, @@ -5345,11 +5363,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Change the size of doorways or windows", + "const": "Install CCTV cameras", "type": "string" }, "value": { - "const": "alter.openings.alter", + "const": "alter.equipment.cctv", "type": "string" } }, @@ -5363,11 +5381,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Convert a doorway into a window", + "const": "Install a car charging point", "type": "string" }, "value": { - "const": "alter.openings.alter.convert.doorToWindow", + "const": "alter.equipment.charging", "type": "string" } }, @@ -5381,11 +5399,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Convert a window into a doorway", + "const": "Install a heat pump", "type": "string" }, "value": { - "const": "alter.openings.alter.convert.windowToDoor", + "const": "alter.equipment.heatPump", "type": "string" } }, @@ -5399,11 +5417,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Enlarge a door opening", + "const": "Install an air heat pump", "type": "string" }, "value": { - "const": "alter.openings.alter.enlarge.door", + "const": "alter.equipment.heatPump.air", "type": "string" } }, @@ -5417,11 +5435,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Enlarge a window opening", + "const": "Install a ground heat pump", "type": "string" }, "value": { - "const": "alter.openings.alter.enlarge.window", + "const": "alter.equipment.heatPump.ground", "type": "string" } }, @@ -5435,11 +5453,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Reduce the size of a door opening", + "const": "Install a water heat pump", "type": "string" }, "value": { - "const": "alter.openings.alter.reduce.door", + "const": "alter.equipment.heatPump.water", "type": "string" } }, @@ -5453,11 +5471,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Reduce the size of a window opening", + "const": "Install industrial equipment", "type": "string" }, "value": { - "const": "alter.openings.alter.reduce.window", + "const": "alter.equipment.industrial", "type": "string" } }, @@ -5471,11 +5489,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Block up doorways or windows", + "const": "Install outdoor lights", "type": "string" }, "value": { - "const": "alter.openings.remove", + "const": "alter.equipment.lighting", "type": "string" } }, @@ -5489,11 +5507,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Remove part of a building (such as a decorative feature)", + "const": "Install solar panels", "type": "string" }, "value": { - "const": "alter.remove", + "const": "alter.equipment.solar", "type": "string" } }, @@ -5507,11 +5525,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Remove a chimney", + "const": "Install solar photovoltaics (PV)", "type": "string" }, "value": { - "const": "alter.remove.chimney", + "const": "alter.equipment.solar.pv", "type": "string" } }, @@ -5525,11 +5543,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Remove energy equipment", + "const": "Install solar thermal equipment", "type": "string" }, "value": { - "const": "alter.remove.equipment", + "const": "alter.equipment.solar.thermal", "type": "string" } }, @@ -5543,11 +5561,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Repair windows or doors", + "const": "Install an outdoor tank (for example a water tank)", "type": "string" }, "value": { - "const": "alter.repair", + "const": "alter.equipment.tank", "type": "string" } }, @@ -5561,11 +5579,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Replace windows or doors", + "const": "Install a wind turbine", "type": "string" }, "value": { - "const": "alter.replace", + "const": "alter.equipment.wind", "type": "string" } }, @@ -5579,11 +5597,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Replace door with door", + "const": "Change the material or colour of the external walls", "type": "string" }, "value": { - "const": "alter.replace.doorsToDoors", + "const": "alter.facades", "type": "string" } }, @@ -5597,11 +5615,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Replace door with window", + "const": "Paint the facade", "type": "string" }, "value": { - "const": "alter.replace.doorsToWindows", + "const": "alter.facades.paint", "type": "string" } }, @@ -5615,11 +5633,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Replace window with door", + "const": "Change the material or colour of the external walls to the rear of the building", "type": "string" }, "value": { - "const": "alter.replace.windowsToDoors", + "const": "alter.facades.rear", "type": "string" } }, @@ -5633,11 +5651,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Replace window with window", + "const": "Change the cladding of the facade", "type": "string" }, "value": { - "const": "alter.replace.windowsToWindows", + "const": "alter.facades.reclad", "type": "string" } }, @@ -5651,11 +5669,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Replace or change the roof materials", + "const": "Changes to a public road, pavement or path (including drop kerb)", "type": "string" }, "value": { - "const": "alter.roof.materials", + "const": "alter.highways", "type": "string" } }, @@ -5669,11 +5687,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add a roof terrace", + "const": "Create a point of access to a highway", "type": "string" }, "value": { - "const": "alter.roof.roofTerrace", + "const": "alter.highways.access", "type": "string" } }, @@ -5687,11 +5705,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Change the shape of a roof", + "const": "Create a point of access to an unclassified road", "type": "string" }, "value": { - "const": "alter.roof.shape", + "const": "alter.highways.access.unclassified", "type": "string" } }, @@ -5705,11 +5723,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add skylights to an existing roof", + "const": "Changes to a dropped kerb", "type": "string" }, "value": { - "const": "alter.rooflight", + "const": "alter.highways.droppedKerb", "type": "string" } }, @@ -5723,11 +5741,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add secondary glazing to a window", + "const": "Add a dropped kerb", "type": "string" }, "value": { - "const": "alter.secondaryGlazing", + "const": "alter.highways.droppedKerb.add", "type": "string" } }, @@ -5741,11 +5759,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add or alter shop fronts", + "const": "Remove a dropped kerb", "type": "string" }, "value": { - "const": "alter.shopfronts", + "const": "alter.highways.droppedKerb.remove", "type": "string" } }, @@ -5759,11 +5777,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add or alter shutters", + "const": "Landscaping works", "type": "string" }, "value": { - "const": "alter.shutters", + "const": "alter.landscape", "type": "string" } }, @@ -5777,11 +5795,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add or replace a soil pipe", + "const": "Add or remove a residential lawn or garden", "type": "string" }, "value": { - "const": "alter.soilPipes", + "const": "alter.landscape.gardens", "type": "string" } }, @@ -5795,11 +5813,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add or change an external staircase", + "const": "Add or remove a pond", "type": "string" }, "value": { - "const": "alter.staircase", + "const": "alter.landscape.ponds", "type": "string" } }, @@ -5813,11 +5831,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add a decked area or patio", + "const": "Change a door or window opening", "type": "string" }, "value": { - "const": "alter.surfaces", + "const": "alter.openings", "type": "string" } }, @@ -5831,11 +5849,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add a driveway or parking area", + "const": "Add a door or window opening", "type": "string" }, "value": { - "const": "alter.surfaces.parking", + "const": "alter.openings.add", "type": "string" } }, @@ -5849,11 +5867,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install a swimming pool", + "const": "Add one or more new doorways", "type": "string" }, "value": { - "const": "alter.swimmingPool", + "const": "alter.openings.add.door", "type": "string" } }, @@ -5867,11 +5885,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Changes to trees or hedges", + "const": "Add new doorways to the front of the building", "type": "string" }, "value": { - "const": "alter.trees", + "const": "alter.openings.add.door.front", "type": "string" } }, @@ -5885,11 +5903,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Convert a building to a different use", + "const": "Add new doorways to the rear of the building", "type": "string" }, "value": { - "const": "changeOfUse", + "const": "alter.openings.add.door.rear", "type": "string" } }, @@ -5903,11 +5921,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Convert part of the property into a granny flat (residential annexe)", + "const": "Add new doorways to the side of the building", "type": "string" }, "value": { - "const": "changeofUse.annexe", + "const": "alter.openings.add.door.side", "type": "string" } }, @@ -5921,11 +5939,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Use a caravan or mobile home on the property", + "const": "Add one or more new windows", "type": "string" }, "value": { - "const": "changeOfUse.caravans", + "const": "alter.openings.add.window", "type": "string" } }, @@ -5939,11 +5957,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Convert a garage", + "const": "Add new windows to the front of the building", "type": "string" }, "value": { - "const": "changeOfUse.garage", + "const": "alter.openings.add.window.front", "type": "string" } }, @@ -5957,11 +5975,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Let a part of the property", + "const": "Add new windows 1.7m up or higher", "type": "string" }, "value": { - "const": "changeOfUse.let.part", + "const": "alter.openings.add.window.high", "type": "string" } }, @@ -5975,11 +5993,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Let the property", + "const": "Add new windows to the rear of the building", "type": "string" }, "value": { - "const": "changeOfUse.let.whole", + "const": "alter.openings.add.window.rear", "type": "string" } }, @@ -5993,11 +6011,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Convert or change the use of an outbuilding (such as a shed, garage or barn)", + "const": "Add new shutters to windows", "type": "string" }, "value": { - "const": "changeOfUse.outbuilding", + "const": "alter.openings.add.window.shutters", "type": "string" } }, @@ -6011,11 +6029,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Convert or change the use of part of a building", + "const": "Add new windows to the side of the building", "type": "string" }, "value": { - "const": "changeOfUse.part", + "const": "alter.openings.add.window.side", "type": "string" } }, @@ -6029,11 +6047,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Convert a home to bedsits or a shared home", + "const": "Change the size of doorways or windows", "type": "string" }, "value": { - "const": "changeOfUse.whole.homeToHMO", + "const": "alter.openings.alter", "type": "string" } }, @@ -6047,11 +6065,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Change the use of a property", + "const": "Convert a doorway into a window", "type": "string" }, "value": { - "const": "changeOfUse.whole", + "const": "alter.openings.alter.convert.doorToWindow", "type": "string" } }, @@ -6065,11 +6083,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Work from home", + "const": "Convert a window into a doorway", "type": "string" }, "value": { - "const": "changeOfUse.workFromHome", + "const": "alter.openings.alter.convert.windowToDoor", "type": "string" } }, @@ -6083,11 +6101,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Demolish a building", + "const": "Enlarge a door opening", "type": "string" }, "value": { - "const": "demolish", + "const": "alter.openings.alter.enlarge.door", "type": "string" } }, @@ -6101,11 +6119,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Demolish a fence, gate or boundary wall", + "const": "Enlarge a window opening", "type": "string" }, "value": { - "const": "demolish.boundary", + "const": "alter.openings.alter.enlarge.window", "type": "string" } }, @@ -6119,11 +6137,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Demolish a building", + "const": "Reduce the size of a door opening", "type": "string" }, "value": { - "const": "demolish.full", + "const": "alter.openings.alter.reduce.door", "type": "string" } }, @@ -6137,11 +6155,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Demolish an outbuilding (such as a garage or barn)", + "const": "Reduce the size of a window opening", "type": "string" }, "value": { - "const": "demolish.outbuildings", + "const": "alter.openings.alter.reduce.window", "type": "string" } }, @@ -6155,11 +6173,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Demolish part of a building (such as an extension)", + "const": "Block up doorways or windows", "type": "string" }, "value": { - "const": "demolish.part", + "const": "alter.openings.remove", "type": "string" } }, @@ -6173,11 +6191,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Demolish a building and build homes in its place", + "const": "Install pipes", "type": "string" }, "value": { - "const": "demolish.replace", + "const": "alter.pipes", "type": "string" } }, @@ -6191,11 +6209,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add a basement extension", + "const": "Remove part of a building (such as a decorative feature)", "type": "string" }, "value": { - "const": "extend.basement", + "const": "alter.remove", "type": "string" } }, @@ -6209,11 +6227,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add a front extension", + "const": "Remove a chimney", "type": "string" }, "value": { - "const": "extend.front", + "const": "alter.remove.chimney", "type": "string" } }, @@ -6227,11 +6245,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add an outbuilding (such as a shed, garage or garden office)", + "const": "Remove a deck", "type": "string" }, "value": { - "const": "extend.outbuildings", + "const": "alter.remove.deck", "type": "string" } }, @@ -6245,11 +6263,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add an outbuilding - animal enclosure, aviary or beehive", + "const": "Remove energy equipment", "type": "string" }, "value": { - "const": "extend.outbuildings.animals", + "const": "alter.remove.equipment", "type": "string" } }, @@ -6263,11 +6281,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add an outbuilding - residential (or \"granny\") annexe", + "const": "Remove part of a facade", "type": "string" }, "value": { - "const": "extend.outbuildings.annexe", + "const": "alter.remove.facade", "type": "string" } }, @@ -6281,11 +6299,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add an outbuilding - bedroom or guest room", + "const": "Remove a soil pipe", "type": "string" }, "value": { - "const": "extend.outbuildings.bedroom", + "const": "alter.remove.soilPipe", "type": "string" } }, @@ -6299,11 +6317,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add an outbuilding - games room", + "const": "Remove a hard surface", "type": "string" }, "value": { - "const": "extend.outbuildings.games", + "const": "alter.remove.surface", "type": "string" } }, @@ -6317,11 +6335,1163 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add an outbuilding - garage", + "const": "Repair windows or doors", + "type": "string" + }, + "value": { + "const": "alter.repair", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Repair doors", + "type": "string" + }, + "value": { + "const": "alter.repair.doors", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Repair windows", + "type": "string" + }, + "value": { + "const": "alter.repair.windows", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Replace windows or doors", + "type": "string" + }, + "value": { + "const": "alter.replace", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Replace door with door", + "type": "string" + }, + "value": { + "const": "alter.replace.doorsToDoors", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Replace door with window", + "type": "string" + }, + "value": { + "const": "alter.replace.doorsToWindows", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Replace window with door", + "type": "string" + }, + "value": { + "const": "alter.replace.windowsToDoors", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Replace window with window", + "type": "string" + }, + "value": { + "const": "alter.replace.windowsToWindows", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Change the roof", + "type": "string" + }, + "value": { + "const": "alter.roof", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Replace or change the roof materials", + "type": "string" + }, + "value": { + "const": "alter.roof.materials", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add or change a roof parapet", + "type": "string" + }, + "value": { + "const": "alter.roof.parapet", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add a roof terrace", + "type": "string" + }, + "value": { + "const": "alter.roof.roofTerrace", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Change the shape of a roof", + "type": "string" + }, + "value": { + "const": "alter.roof.shape", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add skylights to an existing roof", + "type": "string" + }, + "value": { + "const": "alter.rooflight", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add secondary glazing to a window", + "type": "string" + }, + "value": { + "const": "alter.secondaryGlazing", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add or alter shop fronts", + "type": "string" + }, + "value": { + "const": "alter.shopfronts", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add or alter shutters", + "type": "string" + }, + "value": { + "const": "alter.shutters", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add an advert or sign", + "type": "string" + }, + "value": { + "const": "alter.sign", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add or replace a soil pipe", + "type": "string" + }, + "value": { + "const": "alter.soilPipes", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add or change an external staircase", + "type": "string" + }, + "value": { + "const": "alter.staircase", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add a decked area or patio", + "type": "string" + }, + "value": { + "const": "alter.surfaces", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add a driveway or parking area", + "type": "string" + }, + "value": { + "const": "alter.surfaces.parking", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Install a swimming pool", + "type": "string" + }, + "value": { + "const": "alter.swimmingPool", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Install an indoor swimming pool", + "type": "string" + }, + "value": { + "const": "alter.swimmingPool.indoor", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Install an outdoor swimming pool", + "type": "string" + }, + "value": { + "const": "alter.swimmingPool.outdoor", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Changes to trees or hedges", + "type": "string" + }, + "value": { + "const": "alter.trees", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Convert a building to a different use", + "type": "string" + }, + "value": { + "const": "changeOfUse", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Convert part of the property into a granny flat (residential annexe)", + "type": "string" + }, + "value": { + "const": "changeofUse.annexe", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Use a caravan or mobile home on the property", + "type": "string" + }, + "value": { + "const": "changeOfUse.caravans", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Convert a garage", + "type": "string" + }, + "value": { + "const": "changeOfUse.garage", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Let a part of the property", + "type": "string" + }, + "value": { + "const": "changeOfUse.let.part", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Let the property", + "type": "string" + }, + "value": { + "const": "changeOfUse.let.whole", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Convert or change the use of an outbuilding (such as a shed, garage or barn)", + "type": "string" + }, + "value": { + "const": "changeOfUse.outbuilding", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Convert or change the use of part of a building", + "type": "string" + }, + "value": { + "const": "changeOfUse.part", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Convert a home to bedsits or a shared home", + "type": "string" + }, + "value": { + "const": "changeOfUse.whole.homeToHMO", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Change the use of a property", + "type": "string" + }, + "value": { + "const": "changeOfUse.whole", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Work from home", + "type": "string" + }, + "value": { + "const": "changeOfUse.workFromHome", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Demolish a building", + "type": "string" + }, + "value": { + "const": "demolish", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Demolish a fence, gate or boundary wall", + "type": "string" + }, + "value": { + "const": "demolish.boundary", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Demolish a building", + "type": "string" + }, + "value": { + "const": "demolish.full", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Demolish an outbuilding (such as a garage or barn)", + "type": "string" + }, + "value": { + "const": "demolish.outbuildings", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Demolish part of a building (such as an extension)", + "type": "string" + }, + "value": { + "const": "demolish.part", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Demolish a building and build homes in its place", + "type": "string" + }, + "value": { + "const": "demolish.replace", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add a basement extension", + "type": "string" + }, + "value": { + "const": "extend.basement", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Enlarge a basement", + "type": "string" + }, + "value": { + "const": "extend.basement.extend", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add a lightwell", + "type": "string" + }, + "value": { + "const": "extend.basement.lightwell", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add a front extension", + "type": "string" + }, + "value": { + "const": "extend.front", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add an outbuilding (such as a shed, garage or garden office)", + "type": "string" + }, + "value": { + "const": "extend.outbuildings", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add an outbuilding - animal enclosure, aviary or beehive", + "type": "string" + }, + "value": { + "const": "extend.outbuildings.animals", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add an outbuilding - residential (or \"granny\") annexe", + "type": "string" + }, + "value": { + "const": "extend.outbuildings.annexe", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add an outbuilding - bedroom or guest room", + "type": "string" + }, + "value": { + "const": "extend.outbuildings.bedroom", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add an outbuilding - games room", + "type": "string" + }, + "value": { + "const": "extend.outbuildings.games", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add an outbuilding - garage", + "type": "string" + }, + "value": { + "const": "extend.outbuildings.garage", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add an outbuilding - greenhouse", + "type": "string" + }, + "value": { + "const": "extend.outbuildings.greenhouse", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add an outbuilding - gym", + "type": "string" + }, + "value": { + "const": "extend.outbuildings.gym", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add an outbuilding - office", + "type": "string" + }, + "value": { + "const": "extend.outbuildings.office", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add an outbuilding - something else", + "type": "string" + }, + "value": { + "const": "extend.outbuildings.other", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add an outbuilding - sauna", + "type": "string" + }, + "value": { + "const": "extend.outbuildings.sauna", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add an outbuilding - shed", + "type": "string" + }, + "value": { + "const": "extend.outbuildings.shed", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add an outbuilding - car parking or smoking shelter", + "type": "string" + }, + "value": { + "const": "extend.outbuildings.shelter", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add an outbuilding - storage", + "type": "string" + }, + "value": { + "const": "extend.outbuildings.store", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add an outbuilding - studio", + "type": "string" + }, + "value": { + "const": "extend.outbuildings.studio", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add an outbuilding - summer house", + "type": "string" + }, + "value": { + "const": "extend.outbuildings.summerHouse", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add an outbuilding - swimming pool", + "type": "string" + }, + "value": { + "const": "extend.outbuildings.swimmingPool", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add an outbuilding - tank", "type": "string" }, "value": { - "const": "extend.outbuildings.garage", + "const": "extend.outbuildings.tank", "type": "string" } }, @@ -6335,11 +7505,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add an outbuilding - greenhouse", + "const": "Add an outbuilding - workshop", "type": "string" }, "value": { - "const": "extend.outbuildings.greenhouse", + "const": "extend.outbuildings.workshop", "type": "string" } }, @@ -6353,11 +7523,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add an outbuilding - gym", + "const": "Add a porch", "type": "string" }, "value": { - "const": "extend.outbuildings.gym", + "const": "extend.porch", "type": "string" } }, @@ -6371,11 +7541,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add an outbuilding - office", + "const": "Add a porch to the front of the building", "type": "string" }, "value": { - "const": "extend.outbuildings.office", + "const": "extend.porch.front", "type": "string" } }, @@ -6389,11 +7559,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add an outbuilding - something else", + "const": "Add a porch to the rear of the building", "type": "string" }, "value": { - "const": "extend.outbuildings.other", + "const": "extend.porch.rear", "type": "string" } }, @@ -6407,11 +7577,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add an outbuilding - sauna", + "const": "Add a porch to the side of the building", "type": "string" }, "value": { - "const": "extend.outbuildings.sauna", + "const": "extend.porch.side", "type": "string" } }, @@ -6425,11 +7595,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add an outbuilding - shed", + "const": "Add a rear or side extension (or conservatory)", "type": "string" }, "value": { - "const": "extend.outbuildings.shed", + "const": "extend.rear", "type": "string" } }, @@ -6443,11 +7613,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add an outbuilding - car parking or smoking shelter", + "const": "Add a rear extension", "type": "string" }, "value": { - "const": "extend.outbuildings.shelter", + "const": "extend.rear.rear", "type": "string" } }, @@ -6461,11 +7631,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add an outbuilding - storage", + "const": "Add a side extension", "type": "string" }, "value": { - "const": "extend.outbuildings.store", + "const": "extend.rear.side", "type": "string" } }, @@ -6479,11 +7649,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add an outbuilding - studio", + "const": "Add a roof extension", "type": "string" }, "value": { - "const": "extend.outbuildings.studio", + "const": "extend.roof", "type": "string" } }, @@ -6497,11 +7667,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add an outbuilding - summer house", + "const": "Add a roof dormer", "type": "string" }, "value": { - "const": "extend.outbuildings.summerHouse", + "const": "extend.roof.dormer", "type": "string" } }, @@ -6515,11 +7685,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add an outbuilding - swimming pool", + "const": "Add a roof dormer to the front of the building", "type": "string" }, "value": { - "const": "extend.outbuildings.swimmingPool", + "const": "extend.roof.dormer.front", "type": "string" } }, @@ -6533,11 +7703,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add an outbuilding - tank", + "const": "Add a roof dormer to the front and rear of the building", "type": "string" }, "value": { - "const": "extend.outbuildings.tank", + "const": "extend.roof.dormer.frontAndRear", "type": "string" } }, @@ -6551,11 +7721,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add an outbuilding - workshop", + "const": "Add a mansard roof", "type": "string" }, "value": { - "const": "extend.outbuildings.workshop", + "const": "extend.roof.dormer.mansard", "type": "string" } }, @@ -6569,11 +7739,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add a porch", + "const": "Add a roof dormer to the rear of the building", "type": "string" }, "value": { - "const": "extend.porch", + "const": "extend.roof.dormer.rear", "type": "string" } }, @@ -6587,11 +7757,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add a rear or side extension (or conservatory)", + "const": "Add a roof dormer to the side of the building", "type": "string" }, "value": { - "const": "extend.rear", + "const": "extend.roof.dormer.side", "type": "string" } }, @@ -6605,11 +7775,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add a roof extension", + "const": "Hip-to-gable roof enlargement", "type": "string" }, "value": { - "const": "extend.roof", + "const": "extend.roof.hipToGable", "type": "string" } }, @@ -6623,11 +7793,29 @@ "additionalProperties": false, "properties": { "description": { - "const": "Add roof dormers", + "const": "Add one or more new storeys", "type": "string" }, "value": { - "const": "extend.roof.dormer", + "const": "exend.roof.newStorey", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Add an upper storey extension", + "type": "string" + }, + "value": { + "const": "extend.upperStorey", "type": "string" } }, @@ -6655,6 +7843,60 @@ ], "type": "object" }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Alter internal doors", + "type": "string" + }, + "value": { + "const": "internal.doorways", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Alter internal finishes", + "type": "string" + }, + "value": { + "const": "internal.finishes", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Alter internal floors", + "type": "string" + }, + "value": { + "const": "internal.floors", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, { "additionalProperties": false, "properties": { @@ -6691,6 +7933,60 @@ ], "type": "object" }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Alter internal staircases", + "type": "string" + }, + "value": { + "const": "internal.staircases", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Alter internal walls", + "type": "string" + }, + "value": { + "const": "internal.walls", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Alter internal window openings", + "type": "string" + }, + "value": { + "const": "internal.windows.openings", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, { "additionalProperties": false, "properties": { @@ -6727,6 +8023,78 @@ ], "type": "object" }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Agricultural buildings - glass house", + "type": "string" + }, + "value": { + "const": "new.agriculture.glassHouse", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Agricultural buildings - mining", + "type": "string" + }, + "value": { + "const": "new.agriculture.mining", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Agricultural buildings - pigs", + "type": "string" + }, + "value": { + "const": "new.agriculture.pigs", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Agricultural buildings - poultry", + "type": "string" + }, + "value": { + "const": "new agriculture.poultry", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, { "additionalProperties": false, "properties": { @@ -6763,6 +8131,42 @@ ], "type": "object" }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "New flats", + "type": "string" + }, + "value": { + "const": "new.dwelling.flat", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "New houses", + "type": "string" + }, + "value": { + "const": "new.dwelling.house", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, { "additionalProperties": false, "properties": { diff --git a/types/enums/ApplicationTypes.ts b/types/enums/ApplicationTypes.ts index 977e824a..304b4464 100644 --- a/types/enums/ApplicationTypes.ts +++ b/types/enums/ApplicationTypes.ts @@ -48,6 +48,7 @@ export const ApplicationTypes = { 'pa.part20.classZA': 'Prior Approval - Demolish buildings and build homes in their place', pp: 'Planning Permission', - 'pp.full.householder': 'Planning Permission', - 'pp.full.householder.retro': 'Planning Permission - Retrospective', + 'pp.full.householder': 'Planning Permission - Full householder', + 'pp.full.householder.retro': + 'Planning Permission - Full householder retrospective', }; diff --git a/types/enums/FileTypes.ts b/types/enums/FileTypes.ts index 95744212..f53fc433 100644 --- a/types/enums/FileTypes.ts +++ b/types/enums/FileTypes.ts @@ -26,6 +26,7 @@ export const FileTypes = { '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', diff --git a/types/enums/ProjectTypes.ts b/types/enums/ProjectTypes.ts index dad48ad1..e40e79d5 100644 --- a/types/enums/ProjectTypes.ts +++ b/types/enums/ProjectTypes.ts @@ -5,8 +5,21 @@ export const ProjectTypes = { 'alter.balcony': 'Add or alter a balcony', 'alter.bayWindow': 'Add or remove a bay window', 'alter.bayWindow.add': 'Add a bay window', + 'alter.bayWindow.rear': 'Add a bay window to the rear of the building', 'alter.bayWindow.remove': 'Remove a bay window', 'alter.boundary': 'Changes to a fence, wall or gate', + 'alter.boundary.add': 'Add a new fence, wall or gate', + 'alter.boundary.add.fence': 'Add a new fence', + 'alter.boundary.add.gate': 'Add a new gate', + 'alter.boundary.add.wall': 'Add a new boundary wall', + 'alter.boundary.repair': 'Repair a fence, wall or gate', + 'alter.boundary.repair.fence': 'Repair a fence', + 'alter.boundary.repair.gate': 'Repair a gate', + 'alter.boundary.repair.wall': 'Repair a wall', + 'alter.boundary.replace': 'Replace a fence, wall or gate', + 'alter.boundary.replace.fence': 'Replace a fence', + 'alter.boundary.replace.gate': 'Replace a gate', + 'alter.boundary.replace.wall': 'Replace a wall', 'alter.cables': 'Install underground cables', 'alter.chimneys': 'Change chimneys', 'alter.chimneys.add': 'Add a chimney', @@ -16,10 +29,17 @@ export const ProjectTypes = { 'alter.equipment.airConditioning': 'Install an air conditioning unit', 'alter.equipment.alarm': 'Install a security alarm', 'alter.equipment.antennae': 'Install a satellite dish or aerial', + 'alter.equipment.antennae.aerial': 'Install an aerial antennea', + 'alter.equipment.antennae.dish': 'Install a satellite dish', + 'alter.equipment.bbq': 'Install a barbeque', 'alter.equipment.biomass': 'Install a flue with a biomass burner', 'alter.equipment.cctv': 'Install CCTV cameras', 'alter.equipment.charging': 'Install a car charging point', 'alter.equipment.heatPump': 'Install a heat pump', + 'alter.equipment.heatPump.air': 'Install an air heat pump', + 'alter.equipment.heatPump.ground': 'Install a ground heat pump', + 'alter.equipment.heatPump.water': 'Install a water heat pump', + 'alter.equipment.industrial': 'Install industrial equipment', 'alter.equipment.lighting': 'Install outdoor lights', 'alter.equipment.solar': 'Install solar panels', 'alter.equipment.solar.pv': 'Install solar photovoltaics (PV)', @@ -27,14 +47,39 @@ export const ProjectTypes = { 'alter.equipment.tank': 'Install an outdoor tank (for example a water tank)', 'alter.equipment.wind': 'Install a wind turbine', 'alter.facades': 'Change the material or colour of the external walls', + 'alter.facades.paint': 'Paint the facade', + 'alter.facades.rear': + 'Change the material or colour of the external walls to the rear of the building', + 'alter.facades.reclad': 'Change the cladding of the facade', 'alter.highways': 'Changes to a public road, pavement or path (including drop kerb)', + 'alter.highways.access': 'Create a point of access to a highway', + 'alter.highways.access.unclassified': + 'Create a point of access to an unclassified road', + 'alter.highways.droppedKerb': 'Changes to a dropped kerb', + 'alter.highways.droppedKerb.add': 'Add a dropped kerb', + 'alter.highways.droppedKerb.remove': 'Remove a dropped kerb', 'alter.landscape': 'Landscaping works', + 'alter.landscape.gardens': 'Add or remove a residential lawn or garden', 'alter.landscape.ponds': 'Add or remove a pond', + 'alter.openings': 'Change a door or window opening', + 'alter.openings.add': 'Add a door or window opening', 'alter.openings.add.door': 'Add one or more new doorways', + 'alter.openings.add.door.front': + 'Add new doorways to the front of the building', + 'alter.openings.add.door.rear': + 'Add new doorways to the rear of the building', + 'alter.openings.add.door.side': + 'Add new doorways to the side of the building', 'alter.openings.add.window': 'Add one or more new windows', - 'alter.openings.add.windows.high': - 'Add doorways or new windows - 1.7m or higher', + 'alter.openings.add.window.front': + 'Add new windows to the front of the building', + 'alter.openings.add.window.high': 'Add new windows 1.7m up or higher', + 'alter.openings.add.window.rear': + 'Add new windows to the rear of the building', + 'alter.openings.add.window.shutters': 'Add new shutters to windows', + 'alter.openings.add.window.side': + 'Add new windows to the side of the building', 'alter.openings.alter': 'Change the size of doorways or windows', 'alter.openings.alter.convert.doorToWindow': 'Convert a doorway into a window', @@ -45,27 +90,39 @@ export const ProjectTypes = { 'alter.openings.alter.reduce.door': 'Reduce the size of a door opening', 'alter.openings.alter.reduce.window': 'Reduce the size of a window opening', 'alter.openings.remove': 'Block up doorways or windows', + 'alter.pipes': 'Install pipes', 'alter.remove': 'Remove part of a building (such as a decorative feature)', 'alter.remove.chimney': 'Remove a chimney', + 'alter.remove.deck': 'Remove a deck', 'alter.remove.equipment': 'Remove energy equipment', + 'alter.remove.facade': 'Remove part of a facade', + 'alter.remove.soilPipe': 'Remove a soil pipe', + 'alter.remove.surface': 'Remove a hard surface', 'alter.repair': 'Repair windows or doors', + 'alter.repair.doors': 'Repair doors', + 'alter.repair.windows': 'Repair windows', 'alter.replace': 'Replace windows or doors', 'alter.replace.doorsToDoors': 'Replace door with door', 'alter.replace.doorsToWindows': 'Replace door with window', 'alter.replace.windowsToDoors': 'Replace window with door', 'alter.replace.windowsToWindows': 'Replace window with window', + 'alter.roof': 'Change the roof', 'alter.roof.materials': 'Replace or change the roof materials', + 'alter.roof.parapet': 'Add or change a roof parapet', 'alter.roof.roofTerrace': 'Add a roof terrace', 'alter.roof.shape': 'Change the shape of a roof', 'alter.rooflight': 'Add skylights to an existing roof', 'alter.secondaryGlazing': 'Add secondary glazing to a window', 'alter.shopfronts': 'Add or alter shop fronts', 'alter.shutters': 'Add or alter shutters', + 'alter.sign': 'Add an advert or sign', 'alter.soilPipes': 'Add or replace a soil pipe', 'alter.staircase': 'Add or change an external staircase', 'alter.surfaces': 'Add a decked area or patio', 'alter.surfaces.parking': 'Add a driveway or parking area', 'alter.swimmingPool': 'Install a swimming pool', + 'alter.swimmingPool.indoor': 'Install an indoor swimming pool', + 'alter.swimmingPool.outdoor': 'Install an outdoor swimming pool', 'alter.trees': 'Changes to trees or hedges', changeOfUse: 'Convert a building to a different use', 'changeofUse.annexe': @@ -87,6 +144,8 @@ export const ProjectTypes = { 'demolish.part': 'Demolish part of a building (such as an extension)', 'demolish.replace': 'Demolish a building and build homes in its place', 'extend.basement': 'Add a basement extension', + 'extend.basement.extend': 'Enlarge a basement', + 'extend.basement.lightwell': 'Add a lightwell', 'extend.front': 'Add a front extension', 'extend.outbuildings': 'Add an outbuilding (such as a shed, garage or garden office)', @@ -112,16 +171,42 @@ export const ProjectTypes = { 'extend.outbuildings.tank': 'Add an outbuilding - tank', 'extend.outbuildings.workshop': 'Add an outbuilding - workshop', 'extend.porch': 'Add a porch', + 'extend.porch.front': 'Add a porch to the front of the building', + 'extend.porch.rear': 'Add a porch to the rear of the building', + 'extend.porch.side': 'Add a porch to the side of the building', 'extend.rear': 'Add a rear or side extension (or conservatory)', + 'extend.rear.rear': 'Add a rear extension', + 'extend.rear.side': 'Add a side extension', 'extend.roof': 'Add a roof extension', - 'extend.roof.dormer': 'Add roof dormers', + 'extend.roof.dormer': 'Add a roof dormer', + 'extend.roof.dormer.front': 'Add a roof dormer to the front of the building', + 'extend.roof.dormer.frontAndRear': + 'Add a roof dormer to the front and rear of the building', + 'extend.roof.dormer.mansard': 'Add a mansard roof', + 'extend.roof.dormer.rear': 'Add a roof dormer to the rear of the building', + 'extend.roof.dormer.side': 'Add a roof dormer to the side of the building', + 'extend.roof.hipToGable': 'Hip-to-gable roof enlargement', + 'exend.roof.newStorey': 'Add one or more new storeys', + 'extend.upperStorey': 'Add an upper storey extension', internal: 'Internal building works, such as change the internal layout', + 'internal.doorways': 'Alter internal doors', + 'internal.finishes': 'Alter internal finishes', + 'internal.floors': 'Alter internal floors', 'internal.loft': 'Convert a loft', 'internal.mezzanine': 'Add a mezzanine floor', + 'internal.staircases': 'Alter internal staircases', + 'internal.walls': 'Alter internal walls', + 'internal.windows.openings': 'Alter internal window openings', new: 'Another type of building', 'new.agriculture': 'Agricultural buildings', + 'new.agriculture.glassHouse': 'Agricultural buildings - glass house', + 'new.agriculture.mining': 'Agricultural buildings - mining', + 'new.agriculture.pigs': 'Agricultural buildings - pigs', + 'new agriculture.poultry': 'Agricultural buildings - poultry', 'new.clickCollect': 'Install click and collect facilities', 'new.dwelling': 'New, self-contained dwelling', + 'new.dwelling.flat': 'New flats', + 'new.dwelling.house': 'New houses', 'new.forestry': 'Build new forestry buildings', 'new.industrial': 'Industrial premises', 'new.leisure': 'Leisure premises', From 11273549b403c3d25b1d0144f62557edc5c7fbe6 Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Tue, 17 Oct 2023 16:38:27 +0100 Subject: [PATCH 2/2] fix: drop `metadata.service.publishedFlowId` (#57) --- examples/data/ldcE.ts | 1 - examples/data/ldcP.ts | 1 - examples/data/planningPermission.ts | 1 - examples/data/priorApproval.ts | 1 - examples/validLawfulDevelopmentCertificateExisting.json | 1 - examples/validLawfulDevelopmentCertificateProposed.json | 1 - examples/validPlanningPermission.json | 1 - examples/validPriorApproval.json | 1 - schema/schema.json | 4 ---- types/schema/Metadata.ts | 1 - 10 files changed, 13 deletions(-) diff --git a/examples/data/ldcE.ts b/examples/data/ldcE.ts index 5d7c91c5..707bf7db 100644 --- a/examples/data/ldcE.ts +++ b/examples/data/ldcE.ts @@ -1604,7 +1604,6 @@ export const validLDCE: Schema = { metadata: { service: { flowId: '824628b2-deeb-48b0-92b1-2ca7f3b17163', - publishedFlowId: 1, name: 'Apply for a lawful development certificate', owner: 'Buckinghamshire', url: 'https://www.editor.planx.dev/buckinghamshire/apply-for-a-lawful-development-certificate/preview', diff --git a/examples/data/ldcP.ts b/examples/data/ldcP.ts index 00fc7a86..ec630c35 100644 --- a/examples/data/ldcP.ts +++ b/examples/data/ldcP.ts @@ -1117,7 +1117,6 @@ export const validLDCP: Schema = { metadata: { service: { flowId: '824628b2-deeb-48b0-92b1-2ca7f3b17163', - publishedFlowId: 1, name: 'Apply for a lawful development certificate', owner: 'Buckinghamshire', url: 'https://www.editor.planx.dev/buckinghamshire/apply-for-a-lawful-development-certificate/preview', diff --git a/examples/data/planningPermission.ts b/examples/data/planningPermission.ts index 9e565460..5c27532b 100644 --- a/examples/data/planningPermission.ts +++ b/examples/data/planningPermission.ts @@ -1698,7 +1698,6 @@ export const validPlanningPermission: Schema = { metadata: { service: { flowId: '01e38c5d-e701-4e44-acdc-4d6b5cc3b854', - publishedFlowId: 1, name: 'Apply for planning permission', owner: 'Lambeth', url: 'https://www.editor.planx.dev/lambeth/apply-for-planning-permission/preview', diff --git a/examples/data/priorApproval.ts b/examples/data/priorApproval.ts index 244b32d5..fadd11ee 100644 --- a/examples/data/priorApproval.ts +++ b/examples/data/priorApproval.ts @@ -1032,7 +1032,6 @@ export const validPriorApproval: Schema = { metadata: { service: { flowId: 'c6628103-c648-4663-81e1-bfa0a1a18340', - publishedFlowId: 1, name: 'Apply for prior approval', owner: 'Southwark', url: 'https://www.editor.planx.dev/southwark/apply-for-prior-approval/preview', diff --git a/examples/validLawfulDevelopmentCertificateExisting.json b/examples/validLawfulDevelopmentCertificateExisting.json index 315cfd60..30691ebc 100644 --- a/examples/validLawfulDevelopmentCertificateExisting.json +++ b/examples/validLawfulDevelopmentCertificateExisting.json @@ -1799,7 +1799,6 @@ "metadata": { "service": { "flowId": "824628b2-deeb-48b0-92b1-2ca7f3b17163", - "publishedFlowId": 1, "name": "Apply for a lawful development certificate", "owner": "Buckinghamshire", "url": "https://www.editor.planx.dev/buckinghamshire/apply-for-a-lawful-development-certificate/preview" diff --git a/examples/validLawfulDevelopmentCertificateProposed.json b/examples/validLawfulDevelopmentCertificateProposed.json index dc616f90..b00ac85f 100644 --- a/examples/validLawfulDevelopmentCertificateProposed.json +++ b/examples/validLawfulDevelopmentCertificateProposed.json @@ -1179,7 +1179,6 @@ "metadata": { "service": { "flowId": "824628b2-deeb-48b0-92b1-2ca7f3b17163", - "publishedFlowId": 1, "name": "Apply for a lawful development certificate", "owner": "Buckinghamshire", "url": "https://www.editor.planx.dev/buckinghamshire/apply-for-a-lawful-development-certificate/preview" diff --git a/examples/validPlanningPermission.json b/examples/validPlanningPermission.json index f59b765b..3656f8cb 100644 --- a/examples/validPlanningPermission.json +++ b/examples/validPlanningPermission.json @@ -1719,7 +1719,6 @@ "metadata": { "service": { "flowId": "01e38c5d-e701-4e44-acdc-4d6b5cc3b854", - "publishedFlowId": 1, "name": "Apply for planning permission", "owner": "Lambeth", "url": "https://www.editor.planx.dev/lambeth/apply-for-planning-permission/preview" diff --git a/examples/validPriorApproval.json b/examples/validPriorApproval.json index 1b78e572..cf1a7ad9 100644 --- a/examples/validPriorApproval.json +++ b/examples/validPriorApproval.json @@ -1072,7 +1072,6 @@ "metadata": { "service": { "flowId": "c6628103-c648-4663-81e1-bfa0a1a18340", - "publishedFlowId": 1, "name": "Apply for prior approval", "owner": "Southwark", "url": "https://www.editor.planx.dev/southwark/apply-for-prior-approval/preview" diff --git a/schema/schema.json b/schema/schema.json index b65722fd..2a2fbed6 100644 --- a/schema/schema.json +++ b/schema/schema.json @@ -2510,16 +2510,12 @@ "owner": { "type": "string" }, - "publishedFlowId": { - "type": "number" - }, "url": { "$ref": "#/definitions/URL" } }, "required": [ "flowId", - "publishedFlowId", "name", "owner", "url" diff --git a/types/schema/Metadata.ts b/types/schema/Metadata.ts index 318332b5..47b1813a 100644 --- a/types/schema/Metadata.ts +++ b/types/schema/Metadata.ts @@ -7,7 +7,6 @@ export interface Metadata { */ service: { flowId: UUID | string; // @todo temp fix for failing UUID validation, sort out and tighten - publishedFlowId: number; name: string; owner: string; url: URL;