Skip to content

Commit

Permalink
add major and minor full pp application types
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicamcinchak committed Nov 16, 2023
1 parent b9216c2 commit 624bc8b
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 2 deletions.
36 changes: 36 additions & 0 deletions schema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 4 additions & 2 deletions types/enums/ApplicationTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
};

0 comments on commit 624bc8b

Please sign in to comment.