@planning-inspectorate/data-model 2.7.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 (39) 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/lpa-questionnaire.schema.json +27 -2
  34. package/src/enums.cjs +8 -0
  35. package/src/enums.d.ts +8 -0
  36. package/src/enums.js +8 -0
  37. package/src/index.cjs +8 -0
  38. package/src/schemas.d.ts +137 -74
  39. 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
+ }
@@ -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
@@ -4235,45 +4243,89 @@ export type LPAQHASSubmissionProperties = {
4235
4243
  */
4236
4244
  export type LPAQS78SubmissionProperties = {
4237
4245
  /**
4238
- * A list of changed listed building IDs from Historic England
4246
+ * Indicates that a scheduled monument is affected
4239
4247
  */
4240
- changedListedBuildingNumbers?: string[] | null;
4248
+ affectsScheduledMonument?: boolean | null;
4241
4249
  /**
4242
- * A grant or loan has been made to preserve the listed building
4250
+ * Indicates a TPO (tree preservation order)
4243
4251
  */
4244
- preserveGrantLoan?: boolean | null;
4252
+ hasTreePreservationOrder?: boolean | null;
4245
4253
  /**
4246
- * Are Historic England to be consulted?
4254
+ * Indicates a PROW (public right of way)
4247
4255
  */
4248
- consultHistoricEngland?: boolean | null;
4256
+ isPublicRightOfWay?: boolean | null;
4249
4257
  /**
4250
- * Indicates that a scheduled monument is affected
4258
+ * Indicates statutory consultees
4251
4259
  */
4252
- affectsScheduledMonument?: boolean | null;
4260
+ hasStatutoryConsultees?: boolean | null;
4253
4261
  /**
4254
- * Indicates the existence of protected species
4262
+ * The details of the bodies consulted
4255
4263
  */
4256
- hasProtectedSpecies?: boolean | null;
4264
+ consultedBodiesDetails?: string | null;
4257
4265
  /**
4258
- * Indicates an area of outstanding beauty (National Landscape)
4266
+ * Indicates consultation responses
4259
4267
  */
4260
- isAonbNationalLandscape?: boolean | null;
4268
+ hasConsultationResponses?: boolean | null;
4261
4269
  /**
4262
- * The designated site names
4270
+ * Indicates emerging plans
4263
4271
  */
4264
- designatedSitesNames?: string[] | null;
4272
+ hasEmergingPlan?: boolean | null;
4265
4273
  /**
4266
- * Indicates a TPO (tree preservation order)
4274
+ * Indicates supplementary planning documents
4267
4275
  */
4268
- hasTreePreservationOrder?: boolean | null;
4276
+ hasSupplementaryPlanningDocs?: boolean | null;
4277
+ };
4278
+ /**
4279
+ * Schema defining LPA procedure preference properties
4280
+ */
4281
+ export type LPAProcedurePreferenceProperties = {
4269
4282
  /**
4270
- * Indicates a traveller site
4283
+ * The procedure preference indicated by the LPA
4271
4284
  */
4272
- isGypsyOrTravellerSite?: boolean | null;
4285
+ lpaProcedurePreference?: 'written' | 'hearing' | 'inquiry' | null;
4273
4286
  /**
4274
- * Indicates a PROW (public right of way)
4287
+ * The procedure details preference indicated by the LPA
4275
4288
  */
4276
- 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 = {
4277
4329
  /**
4278
4330
  * The impact schedule from EIA
4279
4331
  */
@@ -4316,68 +4368,31 @@ export type LPAQS78SubmissionProperties = {
4316
4368
  * EIA completed environmental statement required
4317
4369
  */
4318
4370
  eiaCompletedEnvironmentalStatement?: boolean | null;
4319
- /**
4320
- * Indicates statutory consultees
4321
- */
4322
- hasStatutoryConsultees?: boolean | null;
4323
- /**
4324
- * The details of the bodies consulted
4325
- */
4326
- consultedBodiesDetails?: string | null;
4327
- /**
4328
- * Indicates consultation responses
4329
- */
4330
- hasConsultationResponses?: boolean | null;
4331
- /**
4332
- * Indicates emerging plans
4333
- */
4334
- hasEmergingPlan?: boolean | null;
4335
- /**
4336
- * Indicates supplementary planning documents
4337
- */
4338
- hasSupplementaryPlanningDocs?: boolean | null;
4339
- /**
4340
- * Indicates the existence of an infrastructure levy
4341
- */
4342
- hasInfrastructureLevy?: boolean | null;
4343
- /**
4344
- * Indicates if the infrastructure levy is formally adopted
4345
- */
4346
- isInfrastructureLevyFormallyAdopted?: boolean | null;
4347
- /**
4348
- * The date of the infrastructure levy adoption
4349
- */
4350
- infrastructureLevyAdoptedDate?: string | null;
4351
- /**
4352
- * The expected date of the infrastructure levy
4353
- */
4354
- infrastructureLevyExpectedDate?: string | null;
4355
4371
  };
4356
4372
  /**
4357
- * Schema defining LPA procedure preference properties
4373
+ * Schema defining site designations and protection specific properties
4358
4374
  */
4359
- export type LPAProcedurePreferenceProperties = {
4375
+ export type SiteDesignationsAndProtectionSpecificProperties = {
4360
4376
  /**
4361
- * The procedure preference indicated by the LPA
4377
+ * Indicates that a scheduled monument is affected
4362
4378
  */
4363
- lpaProcedurePreference?: 'written' | 'hearing' | 'inquiry' | null;
4379
+ affectsScheduledMonument?: boolean | null;
4364
4380
  /**
4365
- * The procedure details preference indicated by the LPA
4381
+ * Indicates the existence of protected species
4366
4382
  */
4367
- lpaProcedurePreferenceDetails?: string | null;
4383
+ hasProtectedSpecies?: boolean | null;
4368
4384
  /**
4369
- * The duration of enquiry indicated by the LPA
4385
+ * Indicates an area of outstanding beauty (National Landscape)
4370
4386
  */
4371
- lpaProcedurePreferenceDuration?: number | null;
4372
- };
4373
- /**
4374
- * Schema defining changed-listed-building-numbers
4375
- */
4376
- export type ChangedListedBuildingNumbersProperties = {
4387
+ isAonbNationalLandscape?: boolean | null;
4377
4388
  /**
4378
- * A list of changed listed building IDs from Historic England
4389
+ * The designated site names
4379
4390
  */
4380
- changedListedBuildingNumbers?: string[] | null;
4391
+ designatedSitesNames?: string[] | null;
4392
+ /**
4393
+ * Indicates a traveller site
4394
+ */
4395
+ isGypsyOrTravellerSite?: boolean | null;
4381
4396
  };
4382
4397
  /**
4383
4398
  * Schema defining any advert specific properties for LPAQ submissions
@@ -4424,6 +4439,33 @@ export type LPAQCasAdvertSubmissionProperties = {
4424
4439
  */
4425
4440
  didAppellantSubmitCompletePhotosAndPlans?: boolean | null;
4426
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
+ };
4427
4469
 
4428
4470
  /**
4429
4471
  * Schema defining the data produced by the Front-Office when an LPA Questionnaire is submitted
@@ -4440,7 +4482,10 @@ export interface LPAQuestionnaireCommand {
4440
4482
  LPAQHASSubmissionProperties &
4441
4483
  LPAQS78SubmissionProperties &
4442
4484
  LPAProcedurePreferenceProperties &
4443
- ChangedListedBuildingNumbersProperties)
4485
+ ChangedListedBuildingNumbersProperties &
4486
+ InfrastructureLevyProperties &
4487
+ EnvironmentalImpactAssessmentProperties &
4488
+ SiteDesignationsAndProtectionSpecificProperties)
4444
4489
  | ({
4445
4490
  caseType?: 'ZA';
4446
4491
  } & LPAQCommonSubmissionProperties &
@@ -4453,7 +4498,17 @@ export interface LPAQuestionnaireCommand {
4453
4498
  LPAQHASSubmissionProperties &
4454
4499
  LPAQCasAdvertSubmissionProperties &
4455
4500
  LPAProcedurePreferenceProperties &
4456
- ChangedListedBuildingNumbersProperties);
4501
+ ChangedListedBuildingNumbersProperties)
4502
+ | ({
4503
+ caseType?: 'C';
4504
+ } & LPAQCommonSubmissionProperties &
4505
+ LPAQHASSubmissionProperties &
4506
+ LPAProcedurePreferenceProperties &
4507
+ ChangedListedBuildingNumbersProperties &
4508
+ InfrastructureLevyProperties &
4509
+ EnvironmentalImpactAssessmentProperties &
4510
+ SiteDesignationsAndProtectionSpecificProperties &
4511
+ LPAQEnforcementSubmissionProperties);
4457
4512
  documents: {
4458
4513
  /**
4459
4514
  * The unique identifier for the document
@@ -4513,7 +4568,15 @@ export interface LPAQuestionnaireCommand {
4513
4568
  | 'eiaScopingOpinion'
4514
4569
  | 'communityInfrastructureLevy'
4515
4570
  | 'definitiveMapStatement'
4516
- | 'historicEnglandConsultation';
4571
+ | 'historicEnglandConsultation'
4572
+ | 'stopNotice'
4573
+ | 'article4Direction'
4574
+ | 'enforcementList'
4575
+ | 'localDevelopmentOrder'
4576
+ | 'planningPermission'
4577
+ | 'enforcementNotice'
4578
+ | 'enforcementNoticePlan'
4579
+ | 'planningContraventionNotice';
4517
4580
  [k: string]: unknown;
4518
4581
  }[];
4519
4582
  [k: string]: unknown;