Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wip: start adding new variables from planning-permission service development #120

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
312 changes: 312 additions & 0 deletions schema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1563,6 +1563,72 @@
"BaseDetails": {
"additionalProperties": false,
"properties": {
"access": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"public": {
"description": "Is the property accessible from public land?",
"type": "boolean"
},
"type": {
"items": {
"enum": [
"vehicle",
"parking",
"newRoad",
"rightsOfWay.newPublic",
"rightsOfWay.changeOfUse"
],
"type": "string"
},
"maxItems": 1,
"minItems": 1,
"type": "array"
}
},
"required": [
"type",
"description"
],
"type": "object"
},
"demolish": {
"additionalProperties": false,
"properties": {
"asbestosAffected": {
"description": "Are materials containing asbestos affected by the demolition?",
"type": "boolean"
},
"dangerousStructure": {
"description": "Is a dangerous structure being demolished?",
"type": "boolean"
},
"reason": {
"type": "string"
},
"remediationPlan": {
"type": "string"
}
},
"type": "object"
},
"ecology": {
"additionalProperties": false,
"properties": {
"livestock": {
"description": "Is the development housing livestock?",
"type": "boolean"
},
"otherSpecies": {
"description": "Are known species inhabiting the site?",
"type": "boolean"
}
},
"type": "object"
},
"extend": {
"additionalProperties": false,
"properties": {
Expand All @@ -1575,6 +1641,40 @@
],
"type": "object"
},
"flood": {
"additionalProperties": false,
"properties": {
"surfaceWaterDisposal": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"type": {
"items": {
"enum": [
"drainageSystem",
"soakaway",
"sewer",
"watercourse",
"pondOrLake"
],
"type": "string"
},
"maxItems": 1,
"minItems": 1,
"type": "array"
}
},
"required": [
"type",
"description"
],
"type": "object"
}
},
"type": "object"
},
"new": {
"additionalProperties": false,
"properties": {
Expand All @@ -1601,6 +1701,53 @@
"area"
],
"type": "object"
},
"trees": {
"additionalProperties": false,
"properties": {
"affected": {
"description": "Are trees or hedges being cut down or pruned?",
"type": "boolean"
}
},
"type": "object"
},
"utilities": {
"additionalProperties": false,
"properties": {
"buildOver": {
"description": "Is the development building over existing utilities?",
"type": "boolean"
},
"foulSewageDisposal": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"type": {
"items": {
"enum": [
"sewer",
"tank",
"plant",
"pit"
],
"type": "string"
},
"maxItems": 1,
"minItems": 1,
"type": "array"
}
},
"required": [
"type",
"description"
],
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
Expand Down Expand Up @@ -3094,6 +3241,24 @@
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"description": {
"const": "Tree survey",
"type": "string"
},
"value": {
"const": "treeSurvey",
"type": "string"
}
},
"required": [
"value",
"description"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
Expand Down Expand Up @@ -3384,6 +3549,72 @@
"additionalProperties": false,
"description": "Proposal details for project sites within the Greater London Authority (GLA) area",
"properties": {
"access": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"public": {
"description": "Is the property accessible from public land?",
"type": "boolean"
},
"type": {
"items": {
"enum": [
"vehicle",
"parking",
"newRoad",
"rightsOfWay.newPublic",
"rightsOfWay.changeOfUse"
],
"type": "string"
},
"maxItems": 1,
"minItems": 1,
"type": "array"
}
},
"required": [
"type",
"description"
],
"type": "object"
},
"demolish": {
"additionalProperties": false,
"properties": {
"asbestosAffected": {
"description": "Are materials containing asbestos affected by the demolition?",
"type": "boolean"
},
"dangerousStructure": {
"description": "Is a dangerous structure being demolished?",
"type": "boolean"
},
"reason": {
"type": "string"
},
"remediationPlan": {
"type": "string"
}
},
"type": "object"
},
"ecology": {
"additionalProperties": false,
"properties": {
"livestock": {
"description": "Is the development housing livestock?",
"type": "boolean"
},
"otherSpecies": {
"description": "Are known species inhabiting the site?",
"type": "boolean"
}
},
"type": "object"
},
"extend": {
"additionalProperties": false,
"properties": {
Expand All @@ -3396,6 +3627,40 @@
],
"type": "object"
},
"flood": {
"additionalProperties": false,
"properties": {
"surfaceWaterDisposal": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"type": {
"items": {
"enum": [
"drainageSystem",
"soakaway",
"sewer",
"watercourse",
"pondOrLake"
],
"type": "string"
},
"maxItems": 1,
"minItems": 1,
"type": "array"
}
},
"required": [
"type",
"description"
],
"type": "object"
}
},
"type": "object"
},
"new": {
"additionalProperties": false,
"properties": {
Expand Down Expand Up @@ -3423,6 +3688,53 @@
],
"type": "object"
},
"trees": {
"additionalProperties": false,
"properties": {
"affected": {
"description": "Are trees or hedges being cut down or pruned?",
"type": "boolean"
}
},
"type": "object"
},
"utilities": {
"additionalProperties": false,
"properties": {
"buildOver": {
"description": "Is the development building over existing utilities?",
"type": "boolean"
},
"foulSewageDisposal": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"type": {
"items": {
"enum": [
"sewer",
"tank",
"plant",
"pit"
],
"type": "string"
},
"maxItems": 1,
"minItems": 1,
"type": "array"
}
},
"required": [
"type",
"description"
],
"type": "object"
}
},
"type": "object"
},
"vehicleParking": {
"additionalProperties": false,
"properties": {
Expand Down
1 change: 1 addition & 0 deletions types/enums/FileTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export const FileTypes = {
treeCanopyCalculator: 'Tree canopy calculator',
treeConditionReport: 'Tree condition report',
treesReport: 'Trees report',
treeSurvey: 'Tree survey',
'unitPlan.existing': 'Unit plan - existing',
'unitPlan.proposed': 'Unit plan - proposed',
'usePlan.existing': 'Use plan - existing',
Expand Down
Loading
Loading