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": { diff --git a/types/enums/ProjectTypes.ts b/types/enums/ProjectTypes.ts index 175f6796..73599487 100644 --- a/types/enums/ProjectTypes.ts +++ b/types/enums/ProjectTypes.ts @@ -213,7 +213,6 @@ export const ProjectTypes = { 'demolish.boundary': 'Demolish a fence, gate or boundary wall', 'demolish.full': 'Demolish a building', 'demolish.outbuilding': 'Demolish an outbuilding (such as a garage or barn)', - 'demolish.outbuildings': 'Demolish an outbuilding (such as a garage or barn)', 'demolish.part': 'Demolish part of a building (such as an extension)', 'demolish.part.conservatory': 'Demolish part of a conservatory', 'demolish.replace': 'Demolish a building and build homes in its place', @@ -248,30 +247,6 @@ export const ProjectTypes = { 'extend.outbuilding.swimmingPool': 'Add an outbuilding - swimming pool', 'extend.outbuilding.tank': 'Add an outbuilding - tank', 'extend.outbuilding.workshop': 'Add an outbuilding - workshop', - 'extend.outbuildings': - 'Add an outbuilding (such as a shed, garage or garden office)', - 'extend.outbuildings.animals': - 'Add an outbuilding - animal enclosure, aviary or beehive', - 'extend.outbuildings.annexe': - 'Add an outbuilding - residential (or "granny") annexe', - 'extend.outbuildings.bedroom': 'Add an outbuilding - bedroom or guest room', - 'extend.outbuildings.games': 'Add an outbuilding - games room', - 'extend.outbuildings.garage': 'Add an outbuilding - garage', - 'extend.outbuildings.greenhouse': 'Add an outbuilding - greenhouse', - 'extend.outbuildings.gym': 'Add an outbuilding - gym', - 'extend.outbuildings.office': 'Add an outbuilding - office', - 'extend.outbuildings.other': 'Add an outbuilding - something else', - 'extend.outbuildings.play': 'Add an outbuilding - play house', - 'extend.outbuildings.sauna': 'Add an outbuilding - sauna', - 'extend.outbuildings.shed': 'Add an outbuilding - shed', - 'extend.outbuildings.shelter': - 'Add an outbuilding - car parking or smoking shelter', - 'extend.outbuildings.store': 'Add an outbuilding - storage', - 'extend.outbuildings.studio': 'Add an outbuilding - studio', - 'extend.outbuildings.summerHouse': 'Add an outbuilding - summer house', - 'extend.outbuildings.swimmingPool': 'Add an outbuilding - swimming pool', - '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',