From 8ebd0f107a36c740be0971407430f58581a7e335 Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Wed, 21 Feb 2024 07:55:53 +0100 Subject: [PATCH] tidy project enum post service cleanup --- examples/data/ldcE.ts | 2 +- schema/schema.json | 378 ------------------------------------------ 2 files changed, 1 insertion(+), 379 deletions(-) diff --git a/examples/data/ldcE.ts b/examples/data/ldcE.ts index bcab3b2e..1f3bdc56 100644 --- a/examples/data/ldcE.ts +++ b/examples/data/ldcE.ts @@ -280,7 +280,7 @@ export const validLDCE: Schema = { proposal: { projectType: [ { - value: 'extend.outbuildings.studio', + value: 'extend.outbuilding.studio', description: 'Add an outbuilding - studio', }, ], diff --git a/schema/schema.json b/schema/schema.json index 1a978387..e866a5e9 100644 --- a/schema/schema.json +++ b/schema/schema.json @@ -10974,24 +10974,6 @@ ], "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": { @@ -11532,366 +11514,6 @@ ], "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 - play house", - "type": "string" - }, - "value": { - "const": "extend.outbuildings.play", - "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.tank", - "type": "string" - } - }, - "required": [ - "value", - "description" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add an outbuilding - workshop", - "type": "string" - }, - "value": { - "const": "extend.outbuildings.workshop", - "type": "string" - } - }, - "required": [ - "value", - "description" - ], - "type": "object" - }, { "additionalProperties": false, "properties": {