From 651557a50509f38754bc7f08c67a873bc7db9c56 Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Fri, 17 Nov 2023 10:51:21 +0000 Subject: [PATCH] chore: add `pp.full.major` and `pp.full.minor` ApplicationTypes (#72) --- schema/schema.json | 36 +++++++++++++++++++++++++++++++++ types/enums/ApplicationTypes.ts | 6 ++++-- 2 files changed, 40 insertions(+), 2 deletions(-) diff --git a/schema/schema.json b/schema/schema.json index 58d0b3a2..7b075e1a 100644 --- a/schema/schema.json +++ b/schema/schema.json @@ -980,6 +980,42 @@ "description" ], "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Planning Permission - Major application", + "type": "string" + }, + "value": { + "const": "pp.full.major", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Planning Permission - Minor application", + "type": "string" + }, + "value": { + "const": "pp.full.minor", + "type": "string" + } + }, + "required": [ + "value", + "description" + ], + "type": "object" } ], "description": "Planning application types" diff --git a/types/enums/ApplicationTypes.ts b/types/enums/ApplicationTypes.ts index bb312029..c8403145 100644 --- a/types/enums/ApplicationTypes.ts +++ b/types/enums/ApplicationTypes.ts @@ -54,7 +54,9 @@ export const ApplicationTypes = { 'pa.part20.classZA': 'Prior Approval - Demolish buildings and build homes in their place', pp: 'Planning Permission', - 'pp.full.householder': 'Planning Permission - Full householder', // "Planning permission for a home" + 'pp.full.householder': 'Planning Permission - Full householder', 'pp.full.householder.retro': - 'Planning Permission - Full householder retrospective', // "Retrospective planning permission for a home" + 'Planning Permission - Full householder retrospective', + 'pp.full.major': 'Planning Permission - Major application', + 'pp.full.minor': 'Planning Permission - Minor application', };