Skip to content

Commit

Permalink
updates per feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicamcinchak committed Jul 11, 2024
1 parent a743e2b commit 7f384b2
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 28 deletions.
98 changes: 76 additions & 22 deletions schema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -980,24 +980,6 @@
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"description": {
"const": "Prior Approval - Convert a light industrial building into a home",
"type": "string"
},
"value": {
"const": "pa.part3.classPA",
"type": "string"
}
},
"required": [
"value",
"description"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
Expand Down Expand Up @@ -1074,7 +1056,7 @@
"additionalProperties": false,
"properties": {
"description": {
"const": "Prior Approval - Part 3 Class V",
"const": "Prior Approval - Changes of use permitted under a permission granted on an application",
"type": "string"
},
"value": {
Expand Down Expand Up @@ -1304,6 +1286,42 @@
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"description": {
"const": "Prior Approval - Install or change solar equipment on domestic premises",
"type": "string"
},
"value": {
"const": "pa.part14.classA",
"type": "string"
}
},
"required": [
"value",
"description"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"description": {
"const": "Prior Approval - Install or change stand-alone solar equipment on domestic premises",
"type": "string"
},
"value": {
"const": "pa.part14.classB",
"type": "string"
}
},
"required": [
"value",
"description"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
Expand All @@ -1322,6 +1340,42 @@
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"description": {
"const": "Prior Approval - Install or change stand-alone solar equipment on non-domestic premises",
"type": "string"
},
"value": {
"const": "pa.part14.classK",
"type": "string"
}
},
"required": [
"value",
"description"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"description": {
"const": "Prior Approval - Installation of a solar canopy on non-domestic, off-street parking",
"type": "string"
},
"value": {
"const": "pa.part14.classOA",
"type": "string"
}
},
"required": [
"value",
"description"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
Expand Down Expand Up @@ -1362,7 +1416,7 @@
"additionalProperties": false,
"properties": {
"description": {
"const": "Prior Approval - Part 17 Class B",
"const": "Prior Approval - Other developments ancillary to mining operations",
"type": "string"
},
"value": {
Expand All @@ -1380,7 +1434,7 @@
"additionalProperties": false,
"properties": {
"description": {
"const": "Prior Approval - Part 17 Class C",
"const": "Prior Approval - Developments for maintenance or safety",
"type": "string"
},
"value": {
Expand All @@ -1398,7 +1452,7 @@
"additionalProperties": false,
"properties": {
"description": {
"const": "Prior Approval - Part 17 Class G",
"const": "Prior Approval - Coal mining development by the Coal Authority for maintence or safety",
"type": "string"
},
"value": {
Expand Down
21 changes: 15 additions & 6 deletions types/enums/ApplicationTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ export const ApplicationTypes = {
'Prior Approval - Convert a commercial building into a home or homes',
'pa.part3.classN':
'Prior Approval - Convert a casino or amusement arcade into a home or homes',
'pa.part3.classPA':
'Prior Approval - Convert a light industrial building into a home',
'pa.part3.classQ':
'Prior Approval - Convert an agricultural building into a home',
'pa.part3.classR':
Expand All @@ -54,7 +52,8 @@ export const ApplicationTypes = {
'Prior Approval - Convert an agricultural building to a school',
'pa.part3.classT':
'Prior Approval - Convert a commercial building to a school',
'pa.part3.classV': 'Prior Approval - Part 3 Class V',
'pa.part3.classV':
'Prior Approval - Changes of use permitted under a permission granted on an application',
'pa.part4.classBB': 'Prior Approval - Put up a temporary structure',
'pa.part4.classBC': 'Prior Approval - Develop a temporary campsite',
'pa.part4.classCA':
Expand All @@ -72,12 +71,22 @@ export const ApplicationTypes = {
'Prior Approval - Extend a school, college, university, prison or hospital',
'pa.part9.classD': 'Prior Approval - Development of toll facilities',
'pa.part11.classB': 'Prior Approval - Demolish a building',
'pa.part14.classA':
'Prior Approval - Install or change solar equipment on domestic premises',
'pa.part14.classB':
'Prior Approval - Install or change stand-alone solar equipment on domestic premises',
'pa.part14.classJ': 'Prior Approval - Install or change solar panels',
'pa.part14.classK':
'Prior Approval - Install or change stand-alone solar equipment on non-domestic premises',
'pa.part14.classOA':
'Prior Approval - Installation of a solar canopy on non-domestic, off-street parking',
'pa.part16.classA': 'Prior Approval - Install telecommunications equipment',
'pa.part17': 'Prior Approval - Coal mining',
'pa.part17.classB': 'Prior Approval - Part 17 Class B',
'pa.part17.classC': 'Prior Approval - Part 17 Class C',
'pa.part17.classG': 'Prior Approval - Part 17 Class G',
'pa.part17.classB':
'Prior Approval - Other developments ancillary to mining operations',
'pa.part17.classC': 'Prior Approval - Developments for maintenance or safety',
'pa.part17.classG':
'Prior Approval - Coal mining development by the Coal Authority for maintence or safety',
'pa.part18.classA':
'Prior Approval - Development under private acts or orders',
'pa.part19.classTA': 'Prior Approval - Development on a closed defence site',
Expand Down

0 comments on commit 7f384b2

Please sign in to comment.