@planning-inspectorate/data-model 2.6.0 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/docs/appeal-document.md +8 -0
  2. package/package.json +1 -1
  3. package/pins_data_model/models/model_appeal_document.py +9 -1
  4. package/pins_data_model/models/model_appeal_event.py +1 -1
  5. package/pins_data_model/models/model_appeal_event_estimate.py +1 -1
  6. package/pins_data_model/models/model_appeal_has.py +1 -1
  7. package/pins_data_model/models/model_appeal_representation.py +1 -1
  8. package/pins_data_model/models/model_appeal_s78.py +1 -1
  9. package/pins_data_model/models/model_dart_response.py +1 -1
  10. package/pins_data_model/models/model_entraid.py +1 -1
  11. package/pins_data_model/models/model_folder.py +1 -1
  12. package/pins_data_model/models/model_gettimesheets_response.py +1 -1
  13. package/pins_data_model/models/model_listed_building.py +1 -1
  14. package/pins_data_model/models/model_listed_buildings.py +1 -1
  15. package/pins_data_model/models/model_nsip_document.py +1 -1
  16. package/pins_data_model/models/model_nsip_exam_timetable.py +1 -1
  17. package/pins_data_model/models/model_nsip_invoice.py +1 -1
  18. package/pins_data_model/models/model_nsip_meeting.py +1 -1
  19. package/pins_data_model/models/model_nsip_project.py +1 -1
  20. package/pins_data_model/models/model_nsip_project_update.py +1 -1
  21. package/pins_data_model/models/model_nsip_representation.py +1 -1
  22. package/pins_data_model/models/model_nsip_subscription.py +1 -1
  23. package/pins_data_model/models/model_pins_inspector.py +1 -1
  24. package/pins_data_model/models/model_pins_lpa.py +1 -1
  25. package/pins_data_model/models/model_s51_advice.py +1 -1
  26. package/pins_data_model/models/model_service_user.py +1 -1
  27. package/schemas/appeal-document.schema.json +8 -0
  28. package/schemas/commands/appeals-components/environmental-impact-assessment.schema.json +68 -0
  29. package/schemas/commands/appeals-components/infrastructure-levy.schema.json +40 -0
  30. package/schemas/commands/appeals-components/lpa-questionnaire-enforcement.schema.json +73 -0
  31. package/schemas/commands/appeals-components/lpa-questionnaire-s78.schema.json +1 -137
  32. package/schemas/commands/appeals-components/site-designations-protections.schema.json +50 -0
  33. package/schemas/commands/appellant-submission.schema.json +5 -0
  34. package/schemas/commands/lpa-questionnaire.schema.json +27 -2
  35. package/src/enums.cjs +8 -0
  36. package/src/enums.d.ts +8 -0
  37. package/src/enums.js +8 -0
  38. package/src/index.cjs +8 -0
  39. package/src/schemas.d.ts +142 -74
  40. package/tests/appeals/commands/enforcement-questionnaire.test.js +109 -0
@@ -0,0 +1,50 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "commands/appeals-components/site-designations-protection.schema.json",
4
+ "title": "Site designations and protection specific properties",
5
+ "description": "Schema defining site designations and protection specific properties",
6
+ "type": "object",
7
+ "additionalProperties": true,
8
+ "required": [
9
+ "affectsScheduledMonument",
10
+ "hasProtectedSpecies",
11
+ "isAonbNationalLandscape",
12
+ "designatedSitesNames",
13
+ "isGypsyOrTravellerSite"
14
+ ],
15
+ "allOf": [
16
+ {
17
+ "properties": {
18
+ "affectsScheduledMonument": {
19
+ "type": ["boolean", "null"],
20
+ "description": "Indicates that a scheduled monument is affected",
21
+ "$comment": "Only available in S78 cases"
22
+ },
23
+ "hasProtectedSpecies": {
24
+ "type": ["boolean", "null"],
25
+ "description": "Indicates the existence of protected species",
26
+ "$comment": "Only available in S78 cases"
27
+ },
28
+ "isAonbNationalLandscape": {
29
+ "type": ["boolean", "null"],
30
+ "description": "Indicates an area of outstanding beauty (National Landscape)",
31
+ "$comment": "Only available in S78 cases"
32
+ },
33
+ "designatedSitesNames": {
34
+ "type": ["array", "null"],
35
+ "items": {
36
+ "type": "string",
37
+ "examples": ["SSSI", "cSAC", "SAC", "pSPA", "SPA", "user entered value"]
38
+ },
39
+ "description": "The designated site names",
40
+ "$comment": "Only available in S78 cases"
41
+ },
42
+ "isGypsyOrTravellerSite": {
43
+ "type": ["boolean", "null"],
44
+ "description": "Indicates a traveller site",
45
+ "$comment": "Only available in S78 cases"
46
+ }
47
+ }
48
+ }
49
+ ]
50
+ }
@@ -134,6 +134,11 @@
134
134
  "groundESupporting",
135
135
  "groundFSupporting",
136
136
  "groundGSupporting",
137
+ "groundHSupporting",
138
+ "groundISupporting",
139
+ "groundJSupporting",
140
+ "groundKSupporting",
141
+ "applicationFeeReceipt",
137
142
  null,
138
143
  "environmentalAssessment"
139
144
  ],
@@ -28,7 +28,10 @@
28
28
  { "$ref": "appeals-components/lpa-questionnaire-has.schema.json" },
29
29
  { "$ref": "appeals-components/lpa-questionnaire-s78.schema.json" },
30
30
  { "$ref": "appeals-components/lpa-procedure-preference.schema.json" },
31
- { "$ref": "appeals-components/changed-listed-building-number.schema.json" }
31
+ { "$ref": "appeals-components/changed-listed-building-number.schema.json" },
32
+ { "$ref": "appeals-components/infrastructure-levy.schema.json" },
33
+ { "$ref": "appeals-components/environmental-impact-assessment.schema.json" },
34
+ { "$ref": "appeals-components/site-designations-protection.schema.json" }
32
35
  ]
33
36
  },
34
37
  {
@@ -51,6 +54,20 @@
51
54
  { "$ref": "appeals-components/lpa-procedure-preference.schema.json" },
52
55
  { "$ref": "appeals-components/changed-listed-building-number.schema.json" }
53
56
  ]
57
+ },
58
+ {
59
+ "$comment": "Enforcement",
60
+ "allOf": [
61
+ { "properties": { "caseType": { "enum": ["C"] } } },
62
+ { "$ref": "appeals-components/lpa-questionnaire-common.schema.json" },
63
+ { "$ref": "appeals-components/lpa-questionnaire-has.schema.json" },
64
+ { "$ref": "appeals-components/lpa-procedure-preference.schema.json" },
65
+ { "$ref": "appeals-components/changed-listed-building-number.schema.json" },
66
+ { "$ref": "appeals-components/infrastructure-levy.schema.json" },
67
+ { "$ref": "appeals-components/environmental-impact-assessment.schema.json" },
68
+ { "$ref": "appeals-components/site-designations-protection.schema.json" },
69
+ { "$ref": "appeals-components/lpa-questionnaire-enforcement.schema.json" }
70
+ ]
54
71
  }
55
72
  ]
56
73
  },
@@ -128,7 +145,15 @@
128
145
  "eiaScopingOpinion",
129
146
  "communityInfrastructureLevy",
130
147
  "definitiveMapStatement",
131
- "historicEnglandConsultation"
148
+ "historicEnglandConsultation",
149
+ "stopNotice",
150
+ "article4Direction",
151
+ "enforcementList",
152
+ "localDevelopmentOrder",
153
+ "planningPermission",
154
+ "lpaEnforcementNotice",
155
+ "lpaEnforcementNoticePlan",
156
+ "planningContraventionNotice"
132
157
  ],
133
158
  "description": "The type of document, used for exchange, migrations and consumption from the appeal back-office system"
134
159
  }
package/src/enums.cjs CHANGED
@@ -133,6 +133,7 @@ const APPEAL_DOCUMENT_TYPE = Object.freeze({
133
133
  APPELLANT_STATEMENT: 'appellantStatement',
134
134
  APPELLANT_WITNESSES_EVIDENCE: 'appellantWitnessesEvidence',
135
135
  APPLICATION_DECISION_LETTER: 'applicationDecisionLetter',
136
+ ARTICLE_4_DIRECTION: 'article4Direction',
136
137
  CASE_DECISION_LETTER: 'caseDecisionLetter',
137
138
  CHANGED_DESCRIPTION: 'changedDescription',
138
139
  COMMUNITY_INFRASTRUCTURE_LEVY: 'communityInfrastructureLevy',
@@ -147,15 +148,19 @@ const APPEAL_DOCUMENT_TYPE = Object.freeze({
147
148
  EIA_SCREENING_DIRECTION: 'eiaScreeningDirection',
148
149
  EIA_SCREENING_OPINION: 'eiaScreeningOpinion',
149
150
  EMERGING_PLAN: 'emergingPlan',
151
+ ENFORCEMENT_LIST: 'enforcementList',
150
152
  ENVIRONMENTAL_ASSESSMENT: 'environmentalAssessment',
151
153
  HISTORIC_ENGLAND_CONSULTATION: 'historicEnglandConsultation',
152
154
  INSPECTOR_CORRESPONDENCE: 'inspectorCorrespondence',
153
155
  INTERESTED_PARTY_COMMENT: 'interestedPartyComment',
156
+ LOCAL_DEVELOPMENT_ORDER: 'localDevelopmentOrder',
154
157
  LPA_CASE_CORRESPONDENCE: 'lpaCaseCorrespondence',
155
158
  LPA_COSTS_APPLICATION: 'lpaCostsApplication',
156
159
  LPA_COSTS_CORRESPONDENCE: 'lpaCostsCorrespondence',
157
160
  LPA_COSTS_DECISION_LETTER: 'lpaCostsDecisionLetter',
158
161
  LPA_COSTS_WITHDRAWAL: 'lpaCostsWithdrawal',
162
+ LPA_ENFORCEMENT_NOTICE: 'lpaEnforcementNotice',
163
+ LPA_ENFORCEMENT_NOTICE_PLAN: 'lpaEnforcementNoticePlan',
159
164
  LPA_FINAL_COMMENT: 'lpaFinalComment',
160
165
  LPA_PROOF_OF_EVIDENCE: 'lpaProofOfEvidence',
161
166
  LPA_STATEMENT: 'lpaStatement',
@@ -167,13 +172,16 @@ const APPEAL_DOCUMENT_TYPE = Object.freeze({
167
172
  OTHER_PARTY_REPRESENTATIONS: 'otherPartyRepresentations',
168
173
  OTHER_RELEVANT_POLICIES: 'otherRelevantPolicies',
169
174
  OWNERSHIP_CERTIFICATE: 'ownershipCertificate',
175
+ PLANNING_CONTRAVENTION_NOTICE: 'planningContraventionNotice',
170
176
  PLANNING_OBLIGATION: 'planningObligation',
171
177
  PLANNING_OFFICER_REPORT: 'planningOfficerReport',
178
+ PLANNING_PERMISSION: 'planningPermission',
172
179
  PLANS_DRAWINGS: 'plansDrawings',
173
180
  RULE_6_PROOF_OF_EVIDENCE: 'rule6ProofOfEvidence',
174
181
  RULE_6_STATEMENT: 'rule6Statement',
175
182
  RULE_6_WITNESSES_EVIDENCE: 'rule6WitnessesEvidence',
176
183
  STATEMENT_COMMON_GROUND: 'statementCommonGround',
184
+ STOP_NOTICE: 'stopNotice',
177
185
  SUPPLEMENTARY_PLANNING: 'supplementaryPlanning',
178
186
  TREE_PRESERVATION_PLAN: 'treePreservationPlan',
179
187
  UNCATEGORISED: 'uncategorised',
package/src/enums.d.ts CHANGED
@@ -131,6 +131,7 @@ export const APPEAL_DOCUMENT_TYPE = {
131
131
  APPELLANT_STATEMENT: 'appellantStatement',
132
132
  APPELLANT_WITNESSES_EVIDENCE: 'appellantWitnessesEvidence',
133
133
  APPLICATION_DECISION_LETTER: 'applicationDecisionLetter',
134
+ ARTICLE_4_DIRECTION: 'article4Direction',
134
135
  CASE_DECISION_LETTER: 'caseDecisionLetter',
135
136
  CHANGED_DESCRIPTION: 'changedDescription',
136
137
  COMMUNITY_INFRASTRUCTURE_LEVY: 'communityInfrastructureLevy',
@@ -145,15 +146,19 @@ export const APPEAL_DOCUMENT_TYPE = {
145
146
  EIA_SCREENING_DIRECTION: 'eiaScreeningDirection',
146
147
  EIA_SCREENING_OPINION: 'eiaScreeningOpinion',
147
148
  EMERGING_PLAN: 'emergingPlan',
149
+ ENFORCEMENT_LIST: 'enforcementList',
148
150
  ENVIRONMENTAL_ASSESSMENT: 'environmentalAssessment',
149
151
  HISTORIC_ENGLAND_CONSULTATION: 'historicEnglandConsultation',
150
152
  INSPECTOR_CORRESPONDENCE: 'inspectorCorrespondence',
151
153
  INTERESTED_PARTY_COMMENT: 'interestedPartyComment',
154
+ LOCAL_DEVELOPMENT_ORDER: 'localDevelopmentOrder',
152
155
  LPA_CASE_CORRESPONDENCE: 'lpaCaseCorrespondence',
153
156
  LPA_COSTS_APPLICATION: 'lpaCostsApplication',
154
157
  LPA_COSTS_CORRESPONDENCE: 'lpaCostsCorrespondence',
155
158
  LPA_COSTS_DECISION_LETTER: 'lpaCostsDecisionLetter',
156
159
  LPA_COSTS_WITHDRAWAL: 'lpaCostsWithdrawal',
160
+ LPA_ENFORCEMENT_NOTICE: 'lpaEnforcementNotice',
161
+ LPA_ENFORCEMENT_NOTICE_PLAN: 'lpaEnforcementNoticePlan',
157
162
  LPA_FINAL_COMMENT: 'lpaFinalComment',
158
163
  LPA_PROOF_OF_EVIDENCE: 'lpaProofOfEvidence',
159
164
  LPA_STATEMENT: 'lpaStatement',
@@ -165,13 +170,16 @@ export const APPEAL_DOCUMENT_TYPE = {
165
170
  OTHER_PARTY_REPRESENTATIONS: 'otherPartyRepresentations',
166
171
  OTHER_RELEVANT_POLICIES: 'otherRelevantPolicies',
167
172
  OWNERSHIP_CERTIFICATE: 'ownershipCertificate',
173
+ PLANNING_CONTRAVENTION_NOTICE: 'planningContraventionNotice',
168
174
  PLANNING_OBLIGATION: 'planningObligation',
169
175
  PLANNING_OFFICER_REPORT: 'planningOfficerReport',
176
+ PLANNING_PERMISSION: 'planningPermission',
170
177
  PLANS_DRAWINGS: 'plansDrawings',
171
178
  RULE_6_PROOF_OF_EVIDENCE: 'rule6ProofOfEvidence',
172
179
  RULE_6_STATEMENT: 'rule6Statement',
173
180
  RULE_6_WITNESSES_EVIDENCE: 'rule6WitnessesEvidence',
174
181
  STATEMENT_COMMON_GROUND: 'statementCommonGround',
182
+ STOP_NOTICE: 'stopNotice',
175
183
  SUPPLEMENTARY_PLANNING: 'supplementaryPlanning',
176
184
  TREE_PRESERVATION_PLAN: 'treePreservationPlan',
177
185
  UNCATEGORISED: 'uncategorised',
package/src/enums.js CHANGED
@@ -131,6 +131,7 @@ export const APPEAL_DOCUMENT_TYPE = Object.freeze({
131
131
  APPELLANT_STATEMENT: 'appellantStatement',
132
132
  APPELLANT_WITNESSES_EVIDENCE: 'appellantWitnessesEvidence',
133
133
  APPLICATION_DECISION_LETTER: 'applicationDecisionLetter',
134
+ ARTICLE_4_DIRECTION: 'article4Direction',
134
135
  CASE_DECISION_LETTER: 'caseDecisionLetter',
135
136
  CHANGED_DESCRIPTION: 'changedDescription',
136
137
  COMMUNITY_INFRASTRUCTURE_LEVY: 'communityInfrastructureLevy',
@@ -145,15 +146,19 @@ export const APPEAL_DOCUMENT_TYPE = Object.freeze({
145
146
  EIA_SCREENING_DIRECTION: 'eiaScreeningDirection',
146
147
  EIA_SCREENING_OPINION: 'eiaScreeningOpinion',
147
148
  EMERGING_PLAN: 'emergingPlan',
149
+ ENFORCEMENT_LIST: 'enforcementList',
148
150
  ENVIRONMENTAL_ASSESSMENT: 'environmentalAssessment',
149
151
  HISTORIC_ENGLAND_CONSULTATION: 'historicEnglandConsultation',
150
152
  INSPECTOR_CORRESPONDENCE: 'inspectorCorrespondence',
151
153
  INTERESTED_PARTY_COMMENT: 'interestedPartyComment',
154
+ LOCAL_DEVELOPMENT_ORDER: 'localDevelopmentOrder',
152
155
  LPA_CASE_CORRESPONDENCE: 'lpaCaseCorrespondence',
153
156
  LPA_COSTS_APPLICATION: 'lpaCostsApplication',
154
157
  LPA_COSTS_CORRESPONDENCE: 'lpaCostsCorrespondence',
155
158
  LPA_COSTS_DECISION_LETTER: 'lpaCostsDecisionLetter',
156
159
  LPA_COSTS_WITHDRAWAL: 'lpaCostsWithdrawal',
160
+ LPA_ENFORCEMENT_NOTICE: 'lpaEnforcementNotice',
161
+ LPA_ENFORCEMENT_NOTICE_PLAN: 'lpaEnforcementNoticePlan',
157
162
  LPA_FINAL_COMMENT: 'lpaFinalComment',
158
163
  LPA_PROOF_OF_EVIDENCE: 'lpaProofOfEvidence',
159
164
  LPA_STATEMENT: 'lpaStatement',
@@ -165,13 +170,16 @@ export const APPEAL_DOCUMENT_TYPE = Object.freeze({
165
170
  OTHER_PARTY_REPRESENTATIONS: 'otherPartyRepresentations',
166
171
  OTHER_RELEVANT_POLICIES: 'otherRelevantPolicies',
167
172
  OWNERSHIP_CERTIFICATE: 'ownershipCertificate',
173
+ PLANNING_CONTRAVENTION_NOTICE: 'planningContraventionNotice',
168
174
  PLANNING_OBLIGATION: 'planningObligation',
169
175
  PLANNING_OFFICER_REPORT: 'planningOfficerReport',
176
+ PLANNING_PERMISSION: 'planningPermission',
170
177
  PLANS_DRAWINGS: 'plansDrawings',
171
178
  RULE_6_PROOF_OF_EVIDENCE: 'rule6ProofOfEvidence',
172
179
  RULE_6_STATEMENT: 'rule6Statement',
173
180
  RULE_6_WITNESSES_EVIDENCE: 'rule6WitnessesEvidence',
174
181
  STATEMENT_COMMON_GROUND: 'statementCommonGround',
182
+ STOP_NOTICE: 'stopNotice',
175
183
  SUPPLEMENTARY_PLANNING: 'supplementaryPlanning',
176
184
  TREE_PRESERVATION_PLAN: 'treePreservationPlan',
177
185
  UNCATEGORISED: 'uncategorised',
package/src/index.cjs CHANGED
@@ -214,6 +214,7 @@ const APPEAL_DOCUMENT_TYPE = Object.freeze({
214
214
  APPELLANT_STATEMENT: 'appellantStatement',
215
215
  APPELLANT_WITNESSES_EVIDENCE: 'appellantWitnessesEvidence',
216
216
  APPLICATION_DECISION_LETTER: 'applicationDecisionLetter',
217
+ ARTICLE_4_DIRECTION: 'article4Direction',
217
218
  CASE_DECISION_LETTER: 'caseDecisionLetter',
218
219
  CHANGED_DESCRIPTION: 'changedDescription',
219
220
  COMMUNITY_INFRASTRUCTURE_LEVY: 'communityInfrastructureLevy',
@@ -228,15 +229,19 @@ const APPEAL_DOCUMENT_TYPE = Object.freeze({
228
229
  EIA_SCREENING_DIRECTION: 'eiaScreeningDirection',
229
230
  EIA_SCREENING_OPINION: 'eiaScreeningOpinion',
230
231
  EMERGING_PLAN: 'emergingPlan',
232
+ ENFORCEMENT_LIST: 'enforcementList',
231
233
  ENVIRONMENTAL_ASSESSMENT: 'environmentalAssessment',
232
234
  HISTORIC_ENGLAND_CONSULTATION: 'historicEnglandConsultation',
233
235
  INSPECTOR_CORRESPONDENCE: 'inspectorCorrespondence',
234
236
  INTERESTED_PARTY_COMMENT: 'interestedPartyComment',
237
+ LOCAL_DEVELOPMENT_ORDER: 'localDevelopmentOrder',
235
238
  LPA_CASE_CORRESPONDENCE: 'lpaCaseCorrespondence',
236
239
  LPA_COSTS_APPLICATION: 'lpaCostsApplication',
237
240
  LPA_COSTS_CORRESPONDENCE: 'lpaCostsCorrespondence',
238
241
  LPA_COSTS_DECISION_LETTER: 'lpaCostsDecisionLetter',
239
242
  LPA_COSTS_WITHDRAWAL: 'lpaCostsWithdrawal',
243
+ LPA_ENFORCEMENT_NOTICE: 'lpaEnforcementNotice',
244
+ LPA_ENFORCEMENT_NOTICE_PLAN: 'lpaEnforcementNoticePlan',
240
245
  LPA_FINAL_COMMENT: 'lpaFinalComment',
241
246
  LPA_PROOF_OF_EVIDENCE: 'lpaProofOfEvidence',
242
247
  LPA_STATEMENT: 'lpaStatement',
@@ -248,13 +253,16 @@ const APPEAL_DOCUMENT_TYPE = Object.freeze({
248
253
  OTHER_PARTY_REPRESENTATIONS: 'otherPartyRepresentations',
249
254
  OTHER_RELEVANT_POLICIES: 'otherRelevantPolicies',
250
255
  OWNERSHIP_CERTIFICATE: 'ownershipCertificate',
256
+ PLANNING_CONTRAVENTION_NOTICE: 'planningContraventionNotice',
251
257
  PLANNING_OBLIGATION: 'planningObligation',
252
258
  PLANNING_OFFICER_REPORT: 'planningOfficerReport',
259
+ PLANNING_PERMISSION: 'planningPermission',
253
260
  PLANS_DRAWINGS: 'plansDrawings',
254
261
  RULE_6_PROOF_OF_EVIDENCE: 'rule6ProofOfEvidence',
255
262
  RULE_6_STATEMENT: 'rule6Statement',
256
263
  RULE_6_WITNESSES_EVIDENCE: 'rule6WitnessesEvidence',
257
264
  STATEMENT_COMMON_GROUND: 'statementCommonGround',
265
+ STOP_NOTICE: 'stopNotice',
258
266
  SUPPLEMENTARY_PLANNING: 'supplementaryPlanning',
259
267
  TREE_PRESERVATION_PLAN: 'treePreservationPlan',
260
268
  UNCATEGORISED: 'uncategorised',
package/src/schemas.d.ts CHANGED
@@ -145,6 +145,14 @@ export interface AppealDocument {
145
145
  | 'environmentalAssessment'
146
146
  | 'appealNotification'
147
147
  | 'historicEnglandConsultation'
148
+ | 'stopNotice'
149
+ | 'article4Direction'
150
+ | 'enforcementList'
151
+ | 'localDevelopmentOrder'
152
+ | 'planningPermission'
153
+ | 'lpaEnforcementNotice'
154
+ | 'lpaEnforcementNoticePlan'
155
+ | 'planningContraventionNotice'
148
156
  | null;
149
157
  /**
150
158
  * The system mastering the metadata for the current document
@@ -4046,6 +4054,11 @@ export interface AppellantSubmissionCommand {
4046
4054
  | 'groundESupporting'
4047
4055
  | 'groundFSupporting'
4048
4056
  | 'groundGSupporting'
4057
+ | 'groundHSupporting'
4058
+ | 'groundISupporting'
4059
+ | 'groundJSupporting'
4060
+ | 'groundKSupporting'
4061
+ | 'applicationFeeReceipt'
4049
4062
  | null
4050
4063
  | 'environmentalAssessment';
4051
4064
  [k: string]: unknown;
@@ -4230,45 +4243,89 @@ export type LPAQHASSubmissionProperties = {
4230
4243
  */
4231
4244
  export type LPAQS78SubmissionProperties = {
4232
4245
  /**
4233
- * A list of changed listed building IDs from Historic England
4246
+ * Indicates that a scheduled monument is affected
4234
4247
  */
4235
- changedListedBuildingNumbers?: string[] | null;
4248
+ affectsScheduledMonument?: boolean | null;
4236
4249
  /**
4237
- * A grant or loan has been made to preserve the listed building
4250
+ * Indicates a TPO (tree preservation order)
4238
4251
  */
4239
- preserveGrantLoan?: boolean | null;
4252
+ hasTreePreservationOrder?: boolean | null;
4240
4253
  /**
4241
- * Are Historic England to be consulted?
4254
+ * Indicates a PROW (public right of way)
4242
4255
  */
4243
- consultHistoricEngland?: boolean | null;
4256
+ isPublicRightOfWay?: boolean | null;
4244
4257
  /**
4245
- * Indicates that a scheduled monument is affected
4258
+ * Indicates statutory consultees
4246
4259
  */
4247
- affectsScheduledMonument?: boolean | null;
4260
+ hasStatutoryConsultees?: boolean | null;
4248
4261
  /**
4249
- * Indicates the existence of protected species
4262
+ * The details of the bodies consulted
4250
4263
  */
4251
- hasProtectedSpecies?: boolean | null;
4264
+ consultedBodiesDetails?: string | null;
4252
4265
  /**
4253
- * Indicates an area of outstanding beauty (National Landscape)
4266
+ * Indicates consultation responses
4254
4267
  */
4255
- isAonbNationalLandscape?: boolean | null;
4268
+ hasConsultationResponses?: boolean | null;
4256
4269
  /**
4257
- * The designated site names
4270
+ * Indicates emerging plans
4258
4271
  */
4259
- designatedSitesNames?: string[] | null;
4272
+ hasEmergingPlan?: boolean | null;
4260
4273
  /**
4261
- * Indicates a TPO (tree preservation order)
4274
+ * Indicates supplementary planning documents
4262
4275
  */
4263
- hasTreePreservationOrder?: boolean | null;
4276
+ hasSupplementaryPlanningDocs?: boolean | null;
4277
+ };
4278
+ /**
4279
+ * Schema defining LPA procedure preference properties
4280
+ */
4281
+ export type LPAProcedurePreferenceProperties = {
4264
4282
  /**
4265
- * Indicates a traveller site
4283
+ * The procedure preference indicated by the LPA
4266
4284
  */
4267
- isGypsyOrTravellerSite?: boolean | null;
4285
+ lpaProcedurePreference?: 'written' | 'hearing' | 'inquiry' | null;
4268
4286
  /**
4269
- * Indicates a PROW (public right of way)
4287
+ * The procedure details preference indicated by the LPA
4270
4288
  */
4271
- isPublicRightOfWay?: boolean | null;
4289
+ lpaProcedurePreferenceDetails?: string | null;
4290
+ /**
4291
+ * The duration of enquiry indicated by the LPA
4292
+ */
4293
+ lpaProcedurePreferenceDuration?: number | null;
4294
+ };
4295
+ /**
4296
+ * Schema defining changed-listed-building-numbers
4297
+ */
4298
+ export type ChangedListedBuildingNumbersProperties = {
4299
+ /**
4300
+ * A list of changed listed building IDs from Historic England
4301
+ */
4302
+ changedListedBuildingNumbers?: string[] | null;
4303
+ };
4304
+ /**
4305
+ * Schema defining infrastructure levy properties
4306
+ */
4307
+ export type InfrastructureLevyProperties = {
4308
+ /**
4309
+ * Indicates the existence of an infrastructure levy
4310
+ */
4311
+ hasInfrastructureLevy?: boolean | null;
4312
+ /**
4313
+ * Indicates if the infrastructure levy is formally adopted
4314
+ */
4315
+ isInfrastructureLevyFormallyAdopted?: boolean | null;
4316
+ /**
4317
+ * The date of the infrastructure levy adoption
4318
+ */
4319
+ infrastructureLevyAdoptedDate?: string | null;
4320
+ /**
4321
+ * The expected date of the infrastructure levy
4322
+ */
4323
+ infrastructureLevyExpectedDate?: string | null;
4324
+ };
4325
+ /**
4326
+ * Schema defining environmental impact assessment properties
4327
+ */
4328
+ export type EnvironmentalImpactAssessmentProperties = {
4272
4329
  /**
4273
4330
  * The impact schedule from EIA
4274
4331
  */
@@ -4311,68 +4368,31 @@ export type LPAQS78SubmissionProperties = {
4311
4368
  * EIA completed environmental statement required
4312
4369
  */
4313
4370
  eiaCompletedEnvironmentalStatement?: boolean | null;
4314
- /**
4315
- * Indicates statutory consultees
4316
- */
4317
- hasStatutoryConsultees?: boolean | null;
4318
- /**
4319
- * The details of the bodies consulted
4320
- */
4321
- consultedBodiesDetails?: string | null;
4322
- /**
4323
- * Indicates consultation responses
4324
- */
4325
- hasConsultationResponses?: boolean | null;
4326
- /**
4327
- * Indicates emerging plans
4328
- */
4329
- hasEmergingPlan?: boolean | null;
4330
- /**
4331
- * Indicates supplementary planning documents
4332
- */
4333
- hasSupplementaryPlanningDocs?: boolean | null;
4334
- /**
4335
- * Indicates the existence of an infrastructure levy
4336
- */
4337
- hasInfrastructureLevy?: boolean | null;
4338
- /**
4339
- * Indicates if the infrastructure levy is formally adopted
4340
- */
4341
- isInfrastructureLevyFormallyAdopted?: boolean | null;
4342
- /**
4343
- * The date of the infrastructure levy adoption
4344
- */
4345
- infrastructureLevyAdoptedDate?: string | null;
4346
- /**
4347
- * The expected date of the infrastructure levy
4348
- */
4349
- infrastructureLevyExpectedDate?: string | null;
4350
4371
  };
4351
4372
  /**
4352
- * Schema defining LPA procedure preference properties
4373
+ * Schema defining site designations and protection specific properties
4353
4374
  */
4354
- export type LPAProcedurePreferenceProperties = {
4375
+ export type SiteDesignationsAndProtectionSpecificProperties = {
4355
4376
  /**
4356
- * The procedure preference indicated by the LPA
4377
+ * Indicates that a scheduled monument is affected
4357
4378
  */
4358
- lpaProcedurePreference?: 'written' | 'hearing' | 'inquiry' | null;
4379
+ affectsScheduledMonument?: boolean | null;
4359
4380
  /**
4360
- * The procedure details preference indicated by the LPA
4381
+ * Indicates the existence of protected species
4361
4382
  */
4362
- lpaProcedurePreferenceDetails?: string | null;
4383
+ hasProtectedSpecies?: boolean | null;
4363
4384
  /**
4364
- * The duration of enquiry indicated by the LPA
4385
+ * Indicates an area of outstanding beauty (National Landscape)
4365
4386
  */
4366
- lpaProcedurePreferenceDuration?: number | null;
4367
- };
4368
- /**
4369
- * Schema defining changed-listed-building-numbers
4370
- */
4371
- export type ChangedListedBuildingNumbersProperties = {
4387
+ isAonbNationalLandscape?: boolean | null;
4372
4388
  /**
4373
- * A list of changed listed building IDs from Historic England
4389
+ * The designated site names
4374
4390
  */
4375
- changedListedBuildingNumbers?: string[] | null;
4391
+ designatedSitesNames?: string[] | null;
4392
+ /**
4393
+ * Indicates a traveller site
4394
+ */
4395
+ isGypsyOrTravellerSite?: boolean | null;
4376
4396
  };
4377
4397
  /**
4378
4398
  * Schema defining any advert specific properties for LPAQ submissions
@@ -4419,6 +4439,33 @@ export type LPAQCasAdvertSubmissionProperties = {
4419
4439
  */
4420
4440
  didAppellantSubmitCompletePhotosAndPlans?: boolean | null;
4421
4441
  };
4442
+ /**
4443
+ * Schema defining any enfrocement specific properties for LPAQ submissions
4444
+ */
4445
+ export type LPAQEnforcementSubmissionProperties = {
4446
+ noticeRelatesToBuildingEngineeringMiningOther?: boolean | null;
4447
+ /**
4448
+ * The site area, in square meters
4449
+ */
4450
+ siteAreaSquareMetres?: number | null;
4451
+ hasAllegedBreachArea?: boolean | null;
4452
+ doesAllegedBreachCreateFloorSpace?: boolean | null;
4453
+ changeOfUseRefuseOrWaste?: boolean | null;
4454
+ changeOfUseMineralExtraction?: boolean | null;
4455
+ changeOfUseMineralStorage?: boolean | null;
4456
+ relatesToErectionOfBuildingOrBuildings?: boolean | null;
4457
+ relatesToBuildingWithAgriculturalPurpose?: boolean | null;
4458
+ relatesToBuildingSingleDwellingHouse?: boolean | null;
4459
+ /**
4460
+ * Name of trunk road within 67M of site
4461
+ */
4462
+ affectedTrunkRoadName?: string | null;
4463
+ isSiteOnCrownLand?: boolean | null;
4464
+ /**
4465
+ * What permitted develpoment rights are affected by the Article 4 Direction
4466
+ */
4467
+ article4AffectedDevelopmentRights?: string | null;
4468
+ };
4422
4469
 
4423
4470
  /**
4424
4471
  * Schema defining the data produced by the Front-Office when an LPA Questionnaire is submitted
@@ -4435,7 +4482,10 @@ export interface LPAQuestionnaireCommand {
4435
4482
  LPAQHASSubmissionProperties &
4436
4483
  LPAQS78SubmissionProperties &
4437
4484
  LPAProcedurePreferenceProperties &
4438
- ChangedListedBuildingNumbersProperties)
4485
+ ChangedListedBuildingNumbersProperties &
4486
+ InfrastructureLevyProperties &
4487
+ EnvironmentalImpactAssessmentProperties &
4488
+ SiteDesignationsAndProtectionSpecificProperties)
4439
4489
  | ({
4440
4490
  caseType?: 'ZA';
4441
4491
  } & LPAQCommonSubmissionProperties &
@@ -4448,7 +4498,17 @@ export interface LPAQuestionnaireCommand {
4448
4498
  LPAQHASSubmissionProperties &
4449
4499
  LPAQCasAdvertSubmissionProperties &
4450
4500
  LPAProcedurePreferenceProperties &
4451
- ChangedListedBuildingNumbersProperties);
4501
+ ChangedListedBuildingNumbersProperties)
4502
+ | ({
4503
+ caseType?: 'C';
4504
+ } & LPAQCommonSubmissionProperties &
4505
+ LPAQHASSubmissionProperties &
4506
+ LPAProcedurePreferenceProperties &
4507
+ ChangedListedBuildingNumbersProperties &
4508
+ InfrastructureLevyProperties &
4509
+ EnvironmentalImpactAssessmentProperties &
4510
+ SiteDesignationsAndProtectionSpecificProperties &
4511
+ LPAQEnforcementSubmissionProperties);
4452
4512
  documents: {
4453
4513
  /**
4454
4514
  * The unique identifier for the document
@@ -4508,7 +4568,15 @@ export interface LPAQuestionnaireCommand {
4508
4568
  | 'eiaScopingOpinion'
4509
4569
  | 'communityInfrastructureLevy'
4510
4570
  | 'definitiveMapStatement'
4511
- | 'historicEnglandConsultation';
4571
+ | 'historicEnglandConsultation'
4572
+ | 'stopNotice'
4573
+ | 'article4Direction'
4574
+ | 'enforcementList'
4575
+ | 'localDevelopmentOrder'
4576
+ | 'planningPermission'
4577
+ | 'enforcementNotice'
4578
+ | 'enforcementNoticePlan'
4579
+ | 'planningContraventionNotice';
4512
4580
  [k: string]: unknown;
4513
4581
  }[];
4514
4582
  [k: string]: unknown;