From 767d8e43d7c8aaba9a20835c91cd5d8b819ceada Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Wed, 10 Jul 2024 12:27:04 +0200 Subject: [PATCH] sync to prior approval template --- schema/schema.json | 58 +++++++++++++++++++++++++++++++++++-- types/enums/FileTypes.ts | 1 + types/enums/ProjectTypes.ts | 4 ++- 3 files changed, 60 insertions(+), 3 deletions(-) diff --git a/schema/schema.json b/schema/schema.json index 09a775fe..3ba910e4 100644 --- a/schema/schema.json +++ b/schema/schema.json @@ -4706,6 +4706,24 @@ ], "type": "object" }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Tree plan", + "type": "string" + }, + "value": { + "const": "treePlan", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, { "additionalProperties": false, "properties": { @@ -10727,6 +10745,24 @@ ], "type": "object" }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Install machinery", + "type": "string" + }, + "value": { + "const": "alter.equipment.machinery", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, { "additionalProperties": false, "properties": { @@ -10799,6 +10835,24 @@ ], "type": "object" }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Install ventilation", + "type": "string" + }, + "value": { + "const": "alter.equipment.ventilation", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, { "additionalProperties": false, "properties": { @@ -14493,11 +14547,11 @@ "additionalProperties": false, "properties": { "description": { - "const": "New agricultural buildings - glass house", + "const": "New agricultural buildings - glasshouse", "type": "string" }, "value": { - "const": "new.agriculture.glassHouse", + "const": "new.agriculture.glasshouse", "type": "string" } }, diff --git a/types/enums/FileTypes.ts b/types/enums/FileTypes.ts index fb29bfe2..579fd682 100644 --- a/types/enums/FileTypes.ts +++ b/types/enums/FileTypes.ts @@ -94,6 +94,7 @@ export const FileTypes = { treeAndHedgeRemovedOrPruned: 'Removed or pruned trees and hedges', treeCanopyCalculator: 'Tree canopy calculator', treeConditionReport: 'Tree condition report', + treePlan: 'Tree plan', treesReport: 'Trees report', 'unitPlan.existing': 'Unit plan - existing', 'unitPlan.proposed': 'Unit plan - proposed', diff --git a/types/enums/ProjectTypes.ts b/types/enums/ProjectTypes.ts index 5b4d5c02..1918a61b 100644 --- a/types/enums/ProjectTypes.ts +++ b/types/enums/ProjectTypes.ts @@ -66,10 +66,12 @@ export const ProjectTypes = { 'alter.equipment.heatPump.water': 'Install a water heat pump', 'alter.equipment.industrial': 'Install industrial equipment', 'alter.equipment.lighting': 'Install outdoor lights', + 'alter.equipment.machinery': 'Install machinery', 'alter.equipment.solar': 'Install solar panels', 'alter.equipment.solar.pv': 'Install solar photovoltaics (PV)', 'alter.equipment.solar.thermal': 'Install solar thermal equipment', 'alter.equipment.tank': 'Install an outdoor tank (for example a water tank)', + 'alter.equipment.ventilation': 'Install ventilation', 'alter.equipment.wifi': 'Install internet equipment', 'alter.equipment.wind': 'Install a wind turbine', 'alter.facades': 'Change the material or colour of the external walls', @@ -313,7 +315,7 @@ export const ProjectTypes = { 'internal.windows.openings': 'Alter internal window openings', new: 'Add a new separate building or self-contained units', 'new.agriculture': 'New agricultural buildings', - 'new.agriculture.glassHouse': 'New agricultural buildings - glass house', + 'new.agriculture.glasshouse': 'New agricultural buildings - glasshouse', 'new.agriculture.mining': 'New agricultural buildings - mining', 'new.agriculture.pigs': 'New agricultural buildings - pigs', 'new agriculture.poultry': 'New agricultural buildings - poultry',