diff --git a/schemas/digitalPlanningApplication.json b/schemas/digitalPlanningApplication.json index 87240b65..82f9db81 100644 --- a/schemas/digitalPlanningApplication.json +++ b/schemas/digitalPlanningApplication.json @@ -5636,7 +5636,7 @@ "additionalProperties": false, "properties": { "description": { - "const": "Student accomodation", + "const": "Student accommodation", "type": "string" }, "value": { @@ -11050,7 +11050,7 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install an aerial antennea", + "const": "Install an aerial antennae", "type": "string" }, "value": { @@ -11086,7 +11086,7 @@ "additionalProperties": false, "properties": { "description": { - "const": "Install a barbeque", + "const": "Install a barbecue", "type": "string" }, "value": { @@ -12652,7 +12652,7 @@ "additionalProperties": false, "properties": { "description": { - "const": "Replace door with winoow on the rear of a building", + "const": "Replace door with window on the rear of a building", "type": "string" }, "value": { @@ -13822,7 +13822,7 @@ "additionalProperties": false, "properties": { "description": { - "const": "Total demolition of a isted building", + "const": "Total demolition of a listed building", "type": "string" }, "value": { @@ -15860,7 +15860,7 @@ "type": "string" }, "value": { - "const": "commercial.ancilliary", + "const": "commercial.ancillary", "type": "string" } }, @@ -16040,7 +16040,7 @@ "type": "string" }, "value": { - "const": "commercial.community.cemetary", + "const": "commercial.community.cemetery", "type": "string" } }, @@ -16058,7 +16058,7 @@ "type": "string" }, "value": { - "const": "commercial.community.cemetary.columbarium", + "const": "commercial.community.cemetery.columbarium", "type": "string" } }, @@ -16076,7 +16076,7 @@ "type": "string" }, "value": { - "const": "commercial.community.cemetary.crematorium", + "const": "commercial.community.cemetery.crematorium", "type": "string" } }, @@ -16094,7 +16094,7 @@ "type": "string" }, "value": { - "const": "commercial.community.cemetary.chapelOfRest", + "const": "commercial.community.cemetery.chapelOfRest", "type": "string" } }, @@ -16112,7 +16112,7 @@ "type": "string" }, "value": { - "const": "commercial.community.cemetary.cemetary", + "const": "commercial.community.cemetery.cemetery", "type": "string" } }, @@ -16130,7 +16130,7 @@ "type": "string" }, "value": { - "const": "commercial.community.cemetary.military", + "const": "commercial.community.cemetery.military", "type": "string" } }, @@ -16148,7 +16148,7 @@ "type": "string" }, "value": { - "const": "commercial.community.cemetary.mortuary", + "const": "commercial.community.cemetery.mortuary", "type": "string" } }, @@ -16648,7 +16648,7 @@ "additionalProperties": false, "properties": { "description": { - "const": "Holiday Let/Accomodation/Short-Term Let Other Than CH01", + "const": "Holiday Let/Accommodation/Short-Term Let Other Than CH01", "type": "string" }, "value": { @@ -17390,7 +17390,7 @@ "type": "string" }, "value": { - "const": "commercial.industrial.distribution.solidFueld", + "const": "commercial.industrial.distribution.solidFuel", "type": "string" } }, @@ -20702,7 +20702,7 @@ "type": "string" }, "value": { - "const": "commercial.utility.telecoms.exhange", + "const": "commercial.utility.telecoms.exchange", "type": "string" } }, @@ -22642,7 +22642,7 @@ "additionalProperties": false, "properties": { "description": { - "const": "Picnic / Barbeque Site", + "const": "Picnic / Barbecue Site", "type": "string" }, "value": { diff --git a/types/schemas/digitalPlanningApplication/enums/PlanningConstraints.ts b/types/schemas/digitalPlanningApplication/enums/PlanningConstraints.ts index 669476e1..5125b12a 100644 --- a/types/schemas/digitalPlanningApplication/enums/PlanningConstraints.ts +++ b/types/schemas/digitalPlanningApplication/enums/PlanningConstraints.ts @@ -34,15 +34,15 @@ export const PlanningDesignations = { tpo: 'Tree Preservation Order (TPO) or zone', }; -type PlanningDesigationKeys = keyof typeof PlanningDesignations; +type PlanningDesignationKeys = keyof typeof PlanningDesignations; -type GenericPlanningDesignation = { +type GenericPlanningDesignation = { value: TKey; description: (typeof PlanningDesignations)[TKey]; }; type PlanningDesignationMap = { - [K in PlanningDesigationKeys]: GenericPlanningDesignation; + [K in PlanningDesignationKeys]: GenericPlanningDesignation; }; type BasePlanningDesignation = diff --git a/types/schemas/digitalPlanningApplication/enums/ProjectTypes.ts b/types/schemas/digitalPlanningApplication/enums/ProjectTypes.ts index ef5bebc8..019828b7 100644 --- a/types/schemas/digitalPlanningApplication/enums/ProjectTypes.ts +++ b/types/schemas/digitalPlanningApplication/enums/ProjectTypes.ts @@ -54,9 +54,9 @@ 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.aerial': 'Install an aerial antennae', 'alter.equipment.antennae.dish': 'Install a satellite dish', - 'alter.equipment.bbq': 'Install a barbeque', + 'alter.equipment.bbq': 'Install a barbecue', 'alter.equipment.biomass': 'Install a flue with a biomass burner', 'alter.equipment.cctv': 'Install CCTV cameras', 'alter.equipment.charging': 'Install a car charging point', @@ -165,7 +165,7 @@ export const ProjectTypes = { 'alter.replace.doorsToWindows.front': 'Replace door with window on the front of a building', 'alter.replace.doorsToWindows.rear': - 'Replace door with winoow on the rear of a building', + 'Replace door with window on the rear of a building', 'alter.replace.doorsToWindows.side': 'Replace door with window on the side of a building', 'alter.replace.windowsToDoors': 'Replace window with door', @@ -239,7 +239,7 @@ export const ProjectTypes = { 'demolish.full': 'Total demolition of a building', 'demolish.internal': 'Demolish internal walls', 'demolish.listed': 'Demolish a listed building', - 'demolish.listed.full': 'Total demolition of a isted building', + 'demolish.listed.full': 'Total demolition of a listed building', 'demolish.listed.part': 'Demolish part of a listed building', 'demolish.outbuilding': 'Demolish an outbuilding (such as a garage or barn)', 'demolish.outbuilding.full': diff --git a/types/schemas/digitalPlanningApplication/enums/PropertyTypes.ts b/types/schemas/digitalPlanningApplication/enums/PropertyTypes.ts index 6221ff58..b29b8df8 100644 --- a/types/schemas/digitalPlanningApplication/enums/PropertyTypes.ts +++ b/types/schemas/digitalPlanningApplication/enums/PropertyTypes.ts @@ -15,7 +15,7 @@ export const PropertyTypes = { 'commercial.horticulture.vineyard': 'Vineyard', 'commercial.horticulture.watercress': 'Watercress Bed', 'commercial.abattoir': 'Slaughter House / Abattoir', - 'commercial.ancilliary': 'Ancillary Building', + 'commercial.ancillary': 'Ancillary Building', 'commercial.community': 'Community Services', 'commercial.community.court': 'Law Court', 'commercial.community.prison': 'Prison', @@ -27,14 +27,14 @@ export const PropertyTypes = { 'Public / Village Hall / Other Community Facility', 'commercial.community.hall.club': 'Youth Recreational / Social Club', 'commercial.community.wc': 'Public Convenience', - 'commercial.community.cemetary': + 'commercial.community.cemetery': 'Cemetery / Crematorium / Graveyard. In Current Use.', - 'commercial.community.cemetary.columbarium': 'Columbarium', - 'commercial.community.cemetary.crematorium': 'Crematorium', - 'commercial.community.cemetary.chapelOfRest': 'Chapel Of Rest', - 'commercial.community.cemetary.cemetary': 'Cemetery', - 'commercial.community.cemetary.military': 'Military Cemetery', - 'commercial.community.cemetary.mortuary': 'Mortuary', + 'commercial.community.cemetery.columbarium': 'Columbarium', + 'commercial.community.cemetery.crematorium': 'Crematorium', + 'commercial.community.cemetery.chapelOfRest': 'Chapel Of Rest', + 'commercial.community.cemetery.cemetery': 'Cemetery', + 'commercial.community.cemetery.military': 'Military Cemetery', + 'commercial.community.cemetery.mortuary': 'Mortuary', 'commercial.community.religious': 'Church Hall / Religious Meeting Place / Hall', 'commercial.community.services': 'Community Service Centre / Office', @@ -67,7 +67,7 @@ export const PropertyTypes = { 'Boarding / Guest House / Bed And Breakfast / Youth Hostel', 'commercial.guest.hostel.youth': 'Youth Hostel', 'commercial.guest.shortLet': - 'Holiday Let/Accomodation/Short-Term Let Other Than CH01', + 'Holiday Let/Accommodation/Short-Term Let Other Than CH01', 'commercial.guest.hotel': 'Hotel/Motel', 'commercial.industrial': 'Industrial Applicable to manufacturing, engineering, maintenance, storage / wholesale distribution and extraction sites', @@ -111,7 +111,7 @@ export const PropertyTypes = { 'commercial.industrial.light.storage.solidFuel': 'Solid Fuel Storage', 'commercial.industrial.light.storage.timber': 'Timber Storage', 'commercial.industrial.distribution': 'Wholesale Distribution', - 'commercial.industrial.distribution.solidFueld': 'Solid Fuel Distribution', + 'commercial.industrial.distribution.solidFuel': 'Solid Fuel Distribution', 'commercial.industrial.distribution.timber': 'Timber Distribution', 'commercial.industrial.recycling': 'Recycling Plant', 'commercial.industrial.incineration': 'Incinerator / Waste Transfer Station', @@ -309,7 +309,7 @@ export const PropertyTypes = { 'commercial.utility.water.waste': 'Waste Water Distribution / Pumping', 'commercial.utility.telecoms': 'Telecommunication', 'commercial.utility.telecoms.mast': 'Telecommunications Mast', - 'commercial.utility.telecoms.exhange': 'Telephone Exchange', + 'commercial.utility.telecoms.exchange': 'Telephone Exchange', 'commercial.utility.waterTreatment': 'Water / Waste Water / Sewage Treatment Works', 'commercial.utility.waterTreatment.waste': 'Waste Water Treatment', @@ -425,7 +425,7 @@ export const PropertyTypes = { 'other.transport.road.infrastructure': 'Road Infrastructure Services', 'other.unsupported': 'Unsupported Site', 'other.unsupported.cycleParking': 'Cycle Parking Facility', - 'other.unsupported.picnic': 'Picnic / Barbeque Site', + 'other.unsupported.picnic': 'Picnic / Barbecue Site', 'other.unsupported.travellingPersons': 'Travelling Persons Site', 'other.unsupported.shelter': 'Shelter (Not Including Bus Shelter)', 'parent.street': 'Street Record', diff --git a/types/schemas/digitalPlanningApplication/enums/ResidentialUnitTypes.ts b/types/schemas/digitalPlanningApplication/enums/ResidentialUnitTypes.ts index c8fb3e41..2e43f556 100644 --- a/types/schemas/digitalPlanningApplication/enums/ResidentialUnitTypes.ts +++ b/types/schemas/digitalPlanningApplication/enums/ResidentialUnitTypes.ts @@ -17,7 +17,7 @@ export const GLAResidentialUnitTypes = { LW: 'Live/work unit', other: 'Other', semiDetached: 'Semi-detached home', - student: 'Student accomodation', + student: 'Student accommodation', studio: 'Studio or bedsit', terraced: 'Terraced home', };