Skip to content

Commit aba3ec2

Browse files
feat: add changeOfUse.land Project Types (#142)
1 parent d1ae2fc commit aba3ec2

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

schema/schema.json

+36
Original file line numberDiff line numberDiff line change
@@ -11419,6 +11419,24 @@
1141911419
],
1142011420
"type": "object"
1142111421
},
11422+
{
11423+
"additionalProperties": false,
11424+
"properties": {
11425+
"description": {
11426+
"const": "Change the use of land",
11427+
"type": "string"
11428+
},
11429+
"value": {
11430+
"const": "changeOfUse.land",
11431+
"type": "string"
11432+
}
11433+
},
11434+
"required": [
11435+
"value",
11436+
"description"
11437+
],
11438+
"type": "object"
11439+
},
1142211440
{
1142311441
"additionalProperties": false,
1142411442
"properties": {
@@ -11498,6 +11516,24 @@
1149811516
"const": "Change the use of a property",
1149911517
"type": "string"
1150011518
},
11519+
"value": {
11520+
"const": "changeOfUse.property",
11521+
"type": "string"
11522+
}
11523+
},
11524+
"required": [
11525+
"value",
11526+
"description"
11527+
],
11528+
"type": "object"
11529+
},
11530+
{
11531+
"additionalProperties": false,
11532+
"properties": {
11533+
"description": {
11534+
"const": "Convert or change the use of a whole building",
11535+
"type": "string"
11536+
},
1150111537
"value": {
1150211538
"const": "changeOfUse.whole",
1150311539
"type": "string"

types/enums/ProjectTypes.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -201,12 +201,14 @@ export const ProjectTypes = {
201201
'changeOfUse.caravans': 'Use a caravan or mobile home on the property',
202202
'changeOfUse.extension': 'Convert an extension',
203203
'changeOfUse.garage': 'Convert a garage',
204+
'changeOfUse.land': 'Change the use of land',
204205
'changeOfUse.let.part': 'Let a part of the property',
205206
'changeOfUse.let.whole': 'Let the property',
206207
'changeOfUse.outbuilding':
207208
'Convert or change the use of an outbuilding (such as a shed, garage or barn)',
208209
'changeOfUse.part': 'Convert or change the use of part of a building',
209-
'changeOfUse.whole': 'Change the use of a property',
210+
'changeOfUse.property': 'Change the use of a property',
211+
'changeOfUse.whole': 'Convert or change the use of a whole building',
210212
'changeOfUse.whole.homeToHMO': 'Convert a home to bedsits or a shared home',
211213
'changeOfUse.workFromHome': 'Work from home',
212214
demolish: 'Demolish a building',

0 commit comments

Comments
 (0)