@planning-inspectorate/data-model 2.10.2 → 2.11.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 (29) hide show
  1. package/docs/appeal-document.md +2 -0
  2. package/docs/appeal-has.md +1 -0
  3. package/docs/appeal-s78.md +118 -0
  4. package/package.json +1 -1
  5. package/pins_data_model/models/model_appeal_document.py +3 -1
  6. package/pins_data_model/models/model_appeal_has.py +2 -1
  7. package/pins_data_model/models/model_appeal_s78.py +38 -1
  8. package/schemas/appeal-document.schema.json +2 -0
  9. package/schemas/appeal-has.schema.json +1 -0
  10. package/schemas/appeal-s78.schema.json +20 -0
  11. package/schemas/commands/appeals-components/appeal-common-planning.schema.json +54 -0
  12. package/schemas/commands/appeals-components/appeal-common-submission.schema.json +7 -81
  13. package/schemas/commands/appeals-components/appeal-land-ownership.schema.json +48 -0
  14. package/schemas/commands/appeals-components/appeal-ldc.submission.schema.json +19 -0
  15. package/schemas/commands/appeals-components/appeal-site-area.schema.json +21 -0
  16. package/schemas/commands/appeals-components/lpa-questionnaire-common.schema.json +6 -1
  17. package/schemas/commands/appeals-components/lpa-questionnaire-has.schema.json +0 -5
  18. package/schemas/commands/appeals-components/lpa-questionnaire-ldc.schema.json +31 -0
  19. package/schemas/commands/appellant-submission.schema.json +20 -4
  20. package/schemas/commands/lpa-questionnaire.schema.json +13 -1
  21. package/src/enums.cjs +17 -0
  22. package/src/enums.d.ts +15 -0
  23. package/src/enums.js +15 -0
  24. package/src/index.cjs +17 -0
  25. package/src/schemas.d.ts +139 -89
  26. package/tests/appeals/appeal-s78.test.js +16 -1
  27. package/tests/appeals/commands/ldc-questionnaire.test.js +83 -0
  28. package/tests/appeals/commands/ldc-submission.test.js +172 -0
  29. package/schemas/commands/appeals-components/appeal-has-submission.schema.json +0 -81
@@ -18,7 +18,9 @@
18
18
  "allOf": [
19
19
  { "properties": { "caseType": { "enum": ["D", "ZP"] } } },
20
20
  { "$ref": "appeals-components/appeal-common-submission.schema.json" },
21
- { "$ref": "appeals-components/appeal-has-submission.schema.json" }
21
+ { "$ref": "appeals-components/appeal-common-planning.schema.json" },
22
+ { "$ref": "appeals-components/appeal-site-area.schema.json" },
23
+ { "$ref": "appeals-components/appeal-land-ownership.schema.json" }
22
24
  ]
23
25
  },
24
26
  {
@@ -26,7 +28,9 @@
26
28
  "allOf": [
27
29
  { "properties": { "caseType": { "enum": ["W", "Y"] } } },
28
30
  { "$ref": "appeals-components/appeal-common-submission.schema.json" },
29
- { "$ref": "appeals-components/appeal-has-submission.schema.json" },
31
+ { "$ref": "appeals-components/appeal-common-planning.schema.json" },
32
+ { "$ref": "appeals-components/appeal-site-area.schema.json" },
33
+ { "$ref": "appeals-components/appeal-land-ownership.schema.json" },
30
34
  { "$ref": "appeals-components/appeal-s78-submission.schema.json" },
31
35
  { "$ref": "appeals-components/appellant-procedure-preference.schema.json" }
32
36
  ]
@@ -36,7 +40,8 @@
36
40
  "allOf": [
37
41
  { "properties": { "caseType": { "enum": ["ZA"] } } },
38
42
  { "$ref": "appeals-components/appeal-common-submission.schema.json" },
39
- { "$ref": "appeals-components/appeal-has-submission.schema.json" },
43
+ { "$ref": "appeals-components/appeal-common-planning.schema.json" },
44
+ { "$ref": "appeals-components/appeal-land-ownership.schema.json" },
40
45
  { "$ref": "appeals-components/appeal-advert.submission.schema.json" }
41
46
  ]
42
47
  },
@@ -45,7 +50,8 @@
45
50
  "allOf": [
46
51
  { "properties": { "caseType": { "enum": ["H"] } } },
47
52
  { "$ref": "appeals-components/appeal-common-submission.schema.json" },
48
- { "$ref": "appeals-components/appeal-has-submission.schema.json" },
53
+ { "$ref": "appeals-components/appeal-common-planning.schema.json" },
54
+ { "$ref": "appeals-components/appeal-land-ownership.schema.json" },
49
55
  { "$ref": "appeals-components/appeal-advert.submission.schema.json" },
50
56
  { "$ref": "appeals-components/appellant-procedure-preference.schema.json" }
51
57
  ]
@@ -57,6 +63,16 @@
57
63
  { "$ref": "appeals-components/appeal-enforcement-submission.schema.json" },
58
64
  { "$ref": "appeals-components/appellant-procedure-preference.schema.json" }
59
65
  ]
66
+ },
67
+ {
68
+ "$comment": "Lawful development certificate",
69
+ "allOf": [
70
+ { "properties": { "caseType": { "enum": ["X"] } } },
71
+ { "$ref": "appeals-components/appeal-common-submission.schema.json" },
72
+ { "$ref": "appeals-components/appeal-common-planning.schema.json" },
73
+ { "$ref": "appeals-components/appellant-procedure-preference.schema.json" },
74
+ { "$ref": "appeals-components/appeal-ldc.submission.schema.json" }
75
+ ]
60
76
  }
61
77
  ]
62
78
  },
@@ -83,6 +83,16 @@
83
83
  { "$ref": "appeals-components/site-designations-protection.schema.json" },
84
84
  { "$ref": "appeals-components/lpa-questionnaire-enforcement.schema.json" }
85
85
  ]
86
+ },
87
+ {
88
+ "$comment": "Lawful Development Certificate",
89
+ "allOf": [
90
+ { "properties": { "caseType": { "enum": ["X"] } } },
91
+ { "$ref": "appeals-components/lpa-questionnaire-common.schema.json" },
92
+ { "$ref": "appeals-components/lpa-procedure-preference.schema.json" },
93
+ { "$ref": "appeals-components/infrastructure-levy.schema.json" },
94
+ { "$ref": "appeals-components/lpa-questionnaire-ldc.schema.json" }
95
+ ]
86
96
  }
87
97
  ]
88
98
  },
@@ -168,7 +178,9 @@
168
178
  "planningPermission",
169
179
  "lpaEnforcementNotice",
170
180
  "lpaEnforcementNoticePlan",
171
- "planningContraventionNotice"
181
+ "planningContraventionNotice",
182
+ "relatedApplications",
183
+ "otherRelevantMatters"
172
184
  ],
173
185
  "description": "The type of document, used for exchange, migrations and consumption from the appeal back-office system"
174
186
  }
package/src/enums.cjs CHANGED
@@ -11,6 +11,12 @@ const APPEAL_ALLOCATION_LEVEL = Object.freeze({
11
11
  H: 'H',
12
12
  });
13
13
 
14
+ const APPEAL_APPEAL_UNDER_ACT_SECTION = Object.freeze({
15
+ EXISTING_DEVELOPMENT: 'existing-development',
16
+ PROPOSED_CHANGES_TO_A_LISTED_BUILDING: 'proposed-changes-to-a-listed-building',
17
+ PROPOSED_USE_OF_A_DEVELOPMENT: 'proposed-use-of-a-development',
18
+ });
19
+
14
20
  const APPEAL_APPELLANT_PROCEDURE_PREFERENCE = Object.freeze({
15
21
  HEARING: 'hearing',
16
22
  INQUIRY: 'inquiry',
@@ -23,6 +29,12 @@ const APPEAL_APPLICATION_DECISION = Object.freeze({
23
29
  REFUSED: 'refused',
24
30
  });
25
31
 
32
+ const APPEAL_APPLICATION_MADE_UNDER_ACT_SECTION = Object.freeze({
33
+ EXISTING_DEVELOPMENT: 'existing-development',
34
+ PROPOSED_CHANGES_TO_A_LISTED_BUILDING: 'proposed-changes-to-a-listed-building',
35
+ PROPOSED_USE_OF_A_DEVELOPMENT: 'proposed-use-of-a-development',
36
+ });
37
+
26
38
  const APPEAL_APPLICATION_PART_OR_WHOLE_DEVELOPMENT = Object.freeze({
27
39
  ALL_OF_THE_DEVELOPMENT: 'all-of-the-development',
28
40
  PART_OF_THE_DEVELOPMENT: 'part-of-the-development',
@@ -183,6 +195,7 @@ const APPEAL_DOCUMENT_TYPE = Object.freeze({
183
195
  ORIGINAL_APPLICATION_FORM: 'originalApplicationForm',
184
196
  OTHER_NEW_DOCUMENTS: 'otherNewDocuments',
185
197
  OTHER_PARTY_REPRESENTATIONS: 'otherPartyRepresentations',
198
+ OTHER_RELEVANT_MATTERS: 'otherRelevantMatters',
186
199
  OTHER_RELEVANT_POLICIES: 'otherRelevantPolicies',
187
200
  OWNERSHIP_CERTIFICATE: 'ownershipCertificate',
188
201
  PLAN_SHOWING_EXTENT_OF_ORDER: 'planShowingExtentOfOrder',
@@ -192,6 +205,7 @@ const APPEAL_DOCUMENT_TYPE = Object.freeze({
192
205
  PLANNING_PERMISSION: 'planningPermission',
193
206
  PLANS_DRAWINGS: 'plansDrawings',
194
207
  PRIOR_CORRESPONDENCE_WITH_PINS: 'priorCorrespondenceWithPINS',
208
+ RELATED_APPLICATIONS: 'relatedApplications',
195
209
  RULE_6_PROOF_OF_EVIDENCE: 'rule6ProofOfEvidence',
196
210
  RULE_6_STATEMENT: 'rule6Statement',
197
211
  RULE_6_WITNESSES_EVIDENCE: 'rule6WitnessesEvidence',
@@ -344,6 +358,7 @@ const APPEAL_TYPE_OF_PLANNING_APPLICATION = Object.freeze({
344
358
  ADVERTISEMENT: 'advertisement',
345
359
  FULL_APPEAL: 'full-appeal',
346
360
  HOUSEHOLDER_PLANNING: 'householder-planning',
361
+ LAWFUL_DEVELOPMENT_CERTIFICATE: 'lawful-development-certificate',
347
362
  LISTED_BUILDING: 'listed-building',
348
363
  MINOR_COMMERCIAL_DEVELOPMENT: 'minor-commercial-development',
349
364
  OUTLINE_PLANNING: 'outline-planning',
@@ -720,8 +735,10 @@ const STATUS = Object.freeze({
720
735
  });
721
736
 
722
737
  exports.APPEAL_ALLOCATION_LEVEL = APPEAL_ALLOCATION_LEVEL;
738
+ exports.APPEAL_APPEAL_UNDER_ACT_SECTION = APPEAL_APPEAL_UNDER_ACT_SECTION;
723
739
  exports.APPEAL_APPELLANT_PROCEDURE_PREFERENCE = APPEAL_APPELLANT_PROCEDURE_PREFERENCE;
724
740
  exports.APPEAL_APPLICATION_DECISION = APPEAL_APPLICATION_DECISION;
741
+ exports.APPEAL_APPLICATION_MADE_UNDER_ACT_SECTION = APPEAL_APPLICATION_MADE_UNDER_ACT_SECTION;
725
742
  exports.APPEAL_APPLICATION_PART_OR_WHOLE_DEVELOPMENT = APPEAL_APPLICATION_PART_OR_WHOLE_DEVELOPMENT;
726
743
  exports.APPEAL_CASE_DECISION_OUTCOME = APPEAL_CASE_DECISION_OUTCOME;
727
744
  exports.APPEAL_CASE_PROCEDURE = APPEAL_CASE_PROCEDURE;
package/src/enums.d.ts CHANGED
@@ -9,6 +9,12 @@ export const APPEAL_ALLOCATION_LEVEL = {
9
9
  H: 'H',
10
10
  } as const;
11
11
 
12
+ export const APPEAL_APPEAL_UNDER_ACT_SECTION = {
13
+ EXISTING_DEVELOPMENT: 'existing-development',
14
+ PROPOSED_CHANGES_TO_A_LISTED_BUILDING: 'proposed-changes-to-a-listed-building',
15
+ PROPOSED_USE_OF_A_DEVELOPMENT: 'proposed-use-of-a-development',
16
+ } as const;
17
+
12
18
  export const APPEAL_APPELLANT_PROCEDURE_PREFERENCE = {
13
19
  HEARING: 'hearing',
14
20
  INQUIRY: 'inquiry',
@@ -21,6 +27,12 @@ export const APPEAL_APPLICATION_DECISION = {
21
27
  REFUSED: 'refused',
22
28
  } as const;
23
29
 
30
+ export const APPEAL_APPLICATION_MADE_UNDER_ACT_SECTION = {
31
+ EXISTING_DEVELOPMENT: 'existing-development',
32
+ PROPOSED_CHANGES_TO_A_LISTED_BUILDING: 'proposed-changes-to-a-listed-building',
33
+ PROPOSED_USE_OF_A_DEVELOPMENT: 'proposed-use-of-a-development',
34
+ } as const;
35
+
24
36
  export const APPEAL_APPLICATION_PART_OR_WHOLE_DEVELOPMENT = {
25
37
  ALL_OF_THE_DEVELOPMENT: 'all-of-the-development',
26
38
  PART_OF_THE_DEVELOPMENT: 'part-of-the-development',
@@ -181,6 +193,7 @@ export const APPEAL_DOCUMENT_TYPE = {
181
193
  ORIGINAL_APPLICATION_FORM: 'originalApplicationForm',
182
194
  OTHER_NEW_DOCUMENTS: 'otherNewDocuments',
183
195
  OTHER_PARTY_REPRESENTATIONS: 'otherPartyRepresentations',
196
+ OTHER_RELEVANT_MATTERS: 'otherRelevantMatters',
184
197
  OTHER_RELEVANT_POLICIES: 'otherRelevantPolicies',
185
198
  OWNERSHIP_CERTIFICATE: 'ownershipCertificate',
186
199
  PLAN_SHOWING_EXTENT_OF_ORDER: 'planShowingExtentOfOrder',
@@ -190,6 +203,7 @@ export const APPEAL_DOCUMENT_TYPE = {
190
203
  PLANNING_PERMISSION: 'planningPermission',
191
204
  PLANS_DRAWINGS: 'plansDrawings',
192
205
  PRIOR_CORRESPONDENCE_WITH_PINS: 'priorCorrespondenceWithPINS',
206
+ RELATED_APPLICATIONS: 'relatedApplications',
193
207
  RULE_6_PROOF_OF_EVIDENCE: 'rule6ProofOfEvidence',
194
208
  RULE_6_STATEMENT: 'rule6Statement',
195
209
  RULE_6_WITNESSES_EVIDENCE: 'rule6WitnessesEvidence',
@@ -342,6 +356,7 @@ export const APPEAL_TYPE_OF_PLANNING_APPLICATION = {
342
356
  ADVERTISEMENT: 'advertisement',
343
357
  FULL_APPEAL: 'full-appeal',
344
358
  HOUSEHOLDER_PLANNING: 'householder-planning',
359
+ LAWFUL_DEVELOPMENT_CERTIFICATE: 'lawful-development-certificate',
345
360
  LISTED_BUILDING: 'listed-building',
346
361
  MINOR_COMMERCIAL_DEVELOPMENT: 'minor-commercial-development',
347
362
  OUTLINE_PLANNING: 'outline-planning',
package/src/enums.js CHANGED
@@ -9,6 +9,12 @@ export const APPEAL_ALLOCATION_LEVEL = Object.freeze({
9
9
  H: 'H',
10
10
  });
11
11
 
12
+ export const APPEAL_APPEAL_UNDER_ACT_SECTION = Object.freeze({
13
+ EXISTING_DEVELOPMENT: 'existing-development',
14
+ PROPOSED_CHANGES_TO_A_LISTED_BUILDING: 'proposed-changes-to-a-listed-building',
15
+ PROPOSED_USE_OF_A_DEVELOPMENT: 'proposed-use-of-a-development',
16
+ });
17
+
12
18
  export const APPEAL_APPELLANT_PROCEDURE_PREFERENCE = Object.freeze({
13
19
  HEARING: 'hearing',
14
20
  INQUIRY: 'inquiry',
@@ -21,6 +27,12 @@ export const APPEAL_APPLICATION_DECISION = Object.freeze({
21
27
  REFUSED: 'refused',
22
28
  });
23
29
 
30
+ export const APPEAL_APPLICATION_MADE_UNDER_ACT_SECTION = Object.freeze({
31
+ EXISTING_DEVELOPMENT: 'existing-development',
32
+ PROPOSED_CHANGES_TO_A_LISTED_BUILDING: 'proposed-changes-to-a-listed-building',
33
+ PROPOSED_USE_OF_A_DEVELOPMENT: 'proposed-use-of-a-development',
34
+ });
35
+
24
36
  export const APPEAL_APPLICATION_PART_OR_WHOLE_DEVELOPMENT = Object.freeze({
25
37
  ALL_OF_THE_DEVELOPMENT: 'all-of-the-development',
26
38
  PART_OF_THE_DEVELOPMENT: 'part-of-the-development',
@@ -181,6 +193,7 @@ export const APPEAL_DOCUMENT_TYPE = Object.freeze({
181
193
  ORIGINAL_APPLICATION_FORM: 'originalApplicationForm',
182
194
  OTHER_NEW_DOCUMENTS: 'otherNewDocuments',
183
195
  OTHER_PARTY_REPRESENTATIONS: 'otherPartyRepresentations',
196
+ OTHER_RELEVANT_MATTERS: 'otherRelevantMatters',
184
197
  OTHER_RELEVANT_POLICIES: 'otherRelevantPolicies',
185
198
  OWNERSHIP_CERTIFICATE: 'ownershipCertificate',
186
199
  PLAN_SHOWING_EXTENT_OF_ORDER: 'planShowingExtentOfOrder',
@@ -190,6 +203,7 @@ export const APPEAL_DOCUMENT_TYPE = Object.freeze({
190
203
  PLANNING_PERMISSION: 'planningPermission',
191
204
  PLANS_DRAWINGS: 'plansDrawings',
192
205
  PRIOR_CORRESPONDENCE_WITH_PINS: 'priorCorrespondenceWithPINS',
206
+ RELATED_APPLICATIONS: 'relatedApplications',
193
207
  RULE_6_PROOF_OF_EVIDENCE: 'rule6ProofOfEvidence',
194
208
  RULE_6_STATEMENT: 'rule6Statement',
195
209
  RULE_6_WITNESSES_EVIDENCE: 'rule6WitnessesEvidence',
@@ -342,6 +356,7 @@ export const APPEAL_TYPE_OF_PLANNING_APPLICATION = Object.freeze({
342
356
  ADVERTISEMENT: 'advertisement',
343
357
  FULL_APPEAL: 'full-appeal',
344
358
  HOUSEHOLDER_PLANNING: 'householder-planning',
359
+ LAWFUL_DEVELOPMENT_CERTIFICATE: 'lawful-development-certificate',
345
360
  LISTED_BUILDING: 'listed-building',
346
361
  MINOR_COMMERCIAL_DEVELOPMENT: 'minor-commercial-development',
347
362
  OUTLINE_PLANNING: 'outline-planning',
package/src/index.cjs CHANGED
@@ -92,6 +92,12 @@ const APPEAL_ALLOCATION_LEVEL = Object.freeze({
92
92
  H: 'H',
93
93
  });
94
94
 
95
+ const APPEAL_APPEAL_UNDER_ACT_SECTION = Object.freeze({
96
+ EXISTING_DEVELOPMENT: 'existing-development',
97
+ PROPOSED_CHANGES_TO_A_LISTED_BUILDING: 'proposed-changes-to-a-listed-building',
98
+ PROPOSED_USE_OF_A_DEVELOPMENT: 'proposed-use-of-a-development',
99
+ });
100
+
95
101
  const APPEAL_APPELLANT_PROCEDURE_PREFERENCE = Object.freeze({
96
102
  HEARING: 'hearing',
97
103
  INQUIRY: 'inquiry',
@@ -104,6 +110,12 @@ const APPEAL_APPLICATION_DECISION = Object.freeze({
104
110
  REFUSED: 'refused',
105
111
  });
106
112
 
113
+ const APPEAL_APPLICATION_MADE_UNDER_ACT_SECTION = Object.freeze({
114
+ EXISTING_DEVELOPMENT: 'existing-development',
115
+ PROPOSED_CHANGES_TO_A_LISTED_BUILDING: 'proposed-changes-to-a-listed-building',
116
+ PROPOSED_USE_OF_A_DEVELOPMENT: 'proposed-use-of-a-development',
117
+ });
118
+
107
119
  const APPEAL_APPLICATION_PART_OR_WHOLE_DEVELOPMENT = Object.freeze({
108
120
  ALL_OF_THE_DEVELOPMENT: 'all-of-the-development',
109
121
  PART_OF_THE_DEVELOPMENT: 'part-of-the-development',
@@ -264,6 +276,7 @@ const APPEAL_DOCUMENT_TYPE = Object.freeze({
264
276
  ORIGINAL_APPLICATION_FORM: 'originalApplicationForm',
265
277
  OTHER_NEW_DOCUMENTS: 'otherNewDocuments',
266
278
  OTHER_PARTY_REPRESENTATIONS: 'otherPartyRepresentations',
279
+ OTHER_RELEVANT_MATTERS: 'otherRelevantMatters',
267
280
  OTHER_RELEVANT_POLICIES: 'otherRelevantPolicies',
268
281
  OWNERSHIP_CERTIFICATE: 'ownershipCertificate',
269
282
  PLAN_SHOWING_EXTENT_OF_ORDER: 'planShowingExtentOfOrder',
@@ -273,6 +286,7 @@ const APPEAL_DOCUMENT_TYPE = Object.freeze({
273
286
  PLANNING_PERMISSION: 'planningPermission',
274
287
  PLANS_DRAWINGS: 'plansDrawings',
275
288
  PRIOR_CORRESPONDENCE_WITH_PINS: 'priorCorrespondenceWithPINS',
289
+ RELATED_APPLICATIONS: 'relatedApplications',
276
290
  RULE_6_PROOF_OF_EVIDENCE: 'rule6ProofOfEvidence',
277
291
  RULE_6_STATEMENT: 'rule6Statement',
278
292
  RULE_6_WITNESSES_EVIDENCE: 'rule6WitnessesEvidence',
@@ -425,6 +439,7 @@ const APPEAL_TYPE_OF_PLANNING_APPLICATION = Object.freeze({
425
439
  ADVERTISEMENT: 'advertisement',
426
440
  FULL_APPEAL: 'full-appeal',
427
441
  HOUSEHOLDER_PLANNING: 'householder-planning',
442
+ LAWFUL_DEVELOPMENT_CERTIFICATE: 'lawful-development-certificate',
428
443
  LISTED_BUILDING: 'listed-building',
429
444
  MINOR_COMMERCIAL_DEVELOPMENT: 'minor-commercial-development',
430
445
  OUTLINE_PLANNING: 'outline-planning',
@@ -833,8 +848,10 @@ function loadAllSchemasSync() {
833
848
  }
834
849
 
835
850
  exports.APPEAL_ALLOCATION_LEVEL = APPEAL_ALLOCATION_LEVEL;
851
+ exports.APPEAL_APPEAL_UNDER_ACT_SECTION = APPEAL_APPEAL_UNDER_ACT_SECTION;
836
852
  exports.APPEAL_APPELLANT_PROCEDURE_PREFERENCE = APPEAL_APPELLANT_PROCEDURE_PREFERENCE;
837
853
  exports.APPEAL_APPLICATION_DECISION = APPEAL_APPLICATION_DECISION;
854
+ exports.APPEAL_APPLICATION_MADE_UNDER_ACT_SECTION = APPEAL_APPLICATION_MADE_UNDER_ACT_SECTION;
838
855
  exports.APPEAL_APPLICATION_PART_OR_WHOLE_DEVELOPMENT = APPEAL_APPLICATION_PART_OR_WHOLE_DEVELOPMENT;
839
856
  exports.APPEAL_CASE_DECISION_OUTCOME = APPEAL_CASE_DECISION_OUTCOME;
840
857
  exports.APPEAL_CASE_PROCEDURE = APPEAL_CASE_PROCEDURE;
package/src/schemas.d.ts CHANGED
@@ -168,6 +168,8 @@ export interface AppealDocument {
168
168
  | 'groundGSupporting'
169
169
  | 'groundAFeeReceipt'
170
170
  | 'delegatedReport'
171
+ | 'relatedApplications'
172
+ | 'otherRelevantMatters'
171
173
  | null;
172
174
  /**
173
175
  * The system mastering the metadata for the current document
@@ -772,6 +774,7 @@ export type AppealHASCase = (
772
774
  | 'listed-building'
773
775
  | 'minor-commercial-development'
774
776
  | 'advertisement'
777
+ | 'lawful-development-certificate'
775
778
  | null;
776
779
  siteGridReferenceEasting?: string | null;
777
780
  siteGridReferenceNorthing?: string | null;
@@ -1475,6 +1478,7 @@ export type AppealS78Case = (
1475
1478
  | 'listed-building'
1476
1479
  | 'minor-commercial-development'
1477
1480
  | 'advertisement'
1481
+ | 'lawful-development-certificate'
1478
1482
  | null;
1479
1483
  developmentType:
1480
1484
  | 'householder'
@@ -1642,6 +1646,25 @@ export type AppealS78Case = (
1642
1646
  * Have any development rights been restricted by means of a planning condition?
1643
1647
  */
1644
1648
  pcnRestrictedDevelopmentRights?: boolean | null;
1649
+ applicationMadeUnderActSection?:
1650
+ | 'existing-development'
1651
+ | 'proposed-use-of-a-development'
1652
+ | 'proposed-changes-to-a-listed-building'
1653
+ | null;
1654
+ /**
1655
+ * Site use at time of application
1656
+ */
1657
+ siteUseAtTimeOfApplication?: string | null;
1658
+ appealUnderActSection?:
1659
+ | 'existing-development'
1660
+ | 'proposed-use-of-a-development'
1661
+ | 'proposed-changes-to-a-listed-building'
1662
+ | null;
1663
+ lpaConsiderAppealInvalid?: boolean | null;
1664
+ /**
1665
+ * Reason(s) why LPA consider the appeal invalid
1666
+ */
1667
+ lpaAppealInvalidReasons?: string | null;
1645
1668
  [k: string]: unknown;
1646
1669
  };
1647
1670
 
@@ -3524,22 +3547,6 @@ export type AppellantCommonSubmissionProperties = (
3524
3547
  * Indicates if an enforcement notice is the reason for the appeal
3525
3548
  */
3526
3549
  enforcementNotice: boolean | null;
3527
- /**
3528
- * The unique identifier of the LPA application
3529
- */
3530
- applicationReference: string;
3531
- /**
3532
- * The date of the original LPA application
3533
- */
3534
- applicationDate: string;
3535
- /**
3536
- * The outcome of the original LPA decision
3537
- */
3538
- applicationDecision: 'granted' | 'refused' | 'not_received';
3539
- /**
3540
- * The date of the original LPA decision
3541
- */
3542
- applicationDecisionDate: string | null;
3543
3550
  /**
3544
3551
  * The statutory deadline for submitting an appeal from the original LPA decision date
3545
3552
  */
@@ -3574,42 +3581,6 @@ export type AppellantCommonSubmissionProperties = (
3574
3581
  * Provided information on site health and safety
3575
3582
  */
3576
3583
  siteSafetyDetails: string[] | null;
3577
- /**
3578
- * A list of neighbouring site addresses
3579
- */
3580
- neighbouringSiteAddresses:
3581
- | {
3582
- /**
3583
- * First line of address of the site
3584
- */
3585
- neighbouringSiteAddressLine1: string;
3586
- /**
3587
- * Second line of address of the site
3588
- */
3589
- neighbouringSiteAddressLine2: string | null;
3590
- /**
3591
- * Town / City of the site address
3592
- */
3593
- neighbouringSiteAddressTown: string;
3594
- /**
3595
- * County of the site address
3596
- */
3597
- neighbouringSiteAddressCounty: string | null;
3598
- /**
3599
- * Postal code of the site address
3600
- */
3601
- neighbouringSiteAddressPostcode: string;
3602
- /**
3603
- * Provided information on site accessibility on this address
3604
- */
3605
- neighbouringSiteAccessDetails: string | null;
3606
- /**
3607
- * Provided information on site health and safety on this address
3608
- */
3609
- neighbouringSiteSafetyDetails: string | null;
3610
- [k: string]: unknown;
3611
- }[]
3612
- | null;
3613
3584
  /**
3614
3585
  * A list of related case references known to the appellant and the LPA
3615
3586
  */
@@ -3624,25 +3595,18 @@ export type AppellantCommonSubmissionProperties = (
3624
3595
  | 'listed-building'
3625
3596
  | 'minor-commercial-development'
3626
3597
  | 'advertisement'
3598
+ | 'lawful-development-certificate'
3627
3599
  | null;
3600
+ /**
3601
+ * Indicates if the appellant has applied for costs
3602
+ */
3603
+ appellantCostsAppliedFor: boolean | null;
3628
3604
  [k: string]: unknown;
3629
3605
  };
3630
3606
  /**
3631
- * Schema defining any HAS specific properties for appeal submissions
3607
+ * Schema defining properties relating to land ownership
3632
3608
  */
3633
- export type AppellantHASSubmissionProperties = {
3634
- /**
3635
- * Indicates if the site is in a green belt
3636
- */
3637
- isGreenBelt?: boolean | null;
3638
- /**
3639
- * The site area, in square meters
3640
- */
3641
- siteAreaSquareMetres?: number | null;
3642
- /**
3643
- * The floor space, in square meters
3644
- */
3645
- floorSpaceSquareMetres?: number | null;
3609
+ export type AppealLandOwnershipProperties = {
3646
3610
  /**
3647
3611
  * Indicates if the appellant has complete ownership of the site
3648
3612
  */
@@ -3667,18 +3631,6 @@ export type AppellantHASSubmissionProperties = {
3667
3631
  * Indicates if the appellant has informed other owners of the site
3668
3632
  */
3669
3633
  ownersInformed?: boolean | null;
3670
- /**
3671
- * The original description of the development, as provided by the appellant
3672
- */
3673
- originalDevelopmentDescription?: string | null;
3674
- /**
3675
- * Indicates that the LPA has changed the development description
3676
- */
3677
- changedDevelopmentDescription?: boolean | null;
3678
- /**
3679
- * Indicates if the appellant has applied for costs
3680
- */
3681
- appellantCostsAppliedFor?: boolean | null;
3682
3634
  };
3683
3635
  /**
3684
3636
  * Schema defining any S78 specific properties for appeal submissions
@@ -4000,28 +3952,40 @@ export interface AppellantSubmissionCommand {
4000
3952
  | ({
4001
3953
  caseType?: 'D' | 'ZP';
4002
3954
  } & AppellantCommonSubmissionProperties &
4003
- AppellantHASSubmissionProperties)
3955
+ AppellantCommonPlanningProperties &
3956
+ SiteAreaProperties &
3957
+ AppealLandOwnershipProperties)
4004
3958
  | ({
4005
3959
  caseType?: 'W' | 'Y';
4006
3960
  } & AppellantCommonSubmissionProperties &
4007
- AppellantHASSubmissionProperties &
3961
+ AppellantCommonPlanningProperties &
3962
+ SiteAreaProperties &
3963
+ AppealLandOwnershipProperties &
4008
3964
  AppellantS78SubmissionProperties &
4009
3965
  AppellantProcedurePreferenceProperties)
4010
3966
  | ({
4011
3967
  caseType?: 'ZA';
4012
3968
  } & AppellantCommonSubmissionProperties &
4013
- AppellantHASSubmissionProperties &
3969
+ AppellantCommonPlanningProperties &
3970
+ AppealLandOwnershipProperties &
4014
3971
  AdvertSpecificProperties)
4015
3972
  | ({
4016
3973
  caseType?: 'H';
4017
3974
  } & AppellantCommonSubmissionProperties &
4018
- AppellantHASSubmissionProperties &
3975
+ AppellantCommonPlanningProperties &
3976
+ AppealLandOwnershipProperties &
4019
3977
  AdvertSpecificProperties &
4020
3978
  AppellantProcedurePreferenceProperties)
4021
3979
  | ({
4022
3980
  caseType?: 'C';
4023
3981
  } & AppellantEnforcementSubmissionProperties &
4024
- AppellantProcedurePreferenceProperties);
3982
+ AppellantProcedurePreferenceProperties)
3983
+ | ({
3984
+ caseType?: 'X';
3985
+ } & AppellantCommonSubmissionProperties &
3986
+ AppellantCommonPlanningProperties &
3987
+ AppellantProcedurePreferenceProperties &
3988
+ LDCSpecificProperties);
4025
3989
  documents: {
4026
3990
  /**
4027
3991
  * The unique identifier for the document
@@ -4159,6 +4123,54 @@ export interface AppellantSubmissionCommand {
4159
4123
  ];
4160
4124
  [k: string]: unknown;
4161
4125
  }
4126
+ /**
4127
+ * Schema defining any properties common across all planning appeal types for appeal submissions
4128
+ */
4129
+ export interface AppellantCommonPlanningProperties {
4130
+ /**
4131
+ * The unique identifier of the LPA application
4132
+ */
4133
+ applicationReference: string;
4134
+ /**
4135
+ * The date of the original LPA application
4136
+ */
4137
+ applicationDate: string | null;
4138
+ /**
4139
+ * The outcome of the original LPA decision
4140
+ */
4141
+ applicationDecision: 'granted' | 'refused' | 'not_received' | null;
4142
+ /**
4143
+ * The date of the original LPA decision
4144
+ */
4145
+ applicationDecisionDate: string | null;
4146
+ /**
4147
+ * Indicates if the site is in a green belt
4148
+ */
4149
+ isGreenBelt: boolean | null;
4150
+ /**
4151
+ * The original description of the development, as provided by the appellant
4152
+ */
4153
+ originalDevelopmentDescription: string | null;
4154
+ /**
4155
+ * Indicates that the LPA has changed the development description
4156
+ */
4157
+ changedDevelopmentDescription: boolean | null;
4158
+ [k: string]: unknown;
4159
+ }
4160
+ /**
4161
+ * Schema defining any properties for site area for an appeal
4162
+ */
4163
+ export interface SiteAreaProperties {
4164
+ /**
4165
+ * The site area, in square meters
4166
+ */
4167
+ siteAreaSquareMetres: number | null;
4168
+ /**
4169
+ * The floor space, in square meters
4170
+ */
4171
+ floorSpaceSquareMetres: number | null;
4172
+ [k: string]: unknown;
4173
+ }
4162
4174
  /**
4163
4175
  * Schema defining any properties for advertisement appeals
4164
4176
  */
@@ -4200,6 +4212,21 @@ export interface AdvertSpecificProperties {
4200
4212
  | null;
4201
4213
  [k: string]: unknown;
4202
4214
  }
4215
+ /**
4216
+ * Schema defining any properties for ldc appeals
4217
+ */
4218
+ export interface LDCSpecificProperties {
4219
+ /**
4220
+ * Site use at time of application
4221
+ */
4222
+ siteUseAtTimeOfApplication: string | null;
4223
+ applicationMadeUnderActSection:
4224
+ | 'existing-development'
4225
+ | 'proposed-use-of-a-development'
4226
+ | 'proposed-changes-to-a-listed-building'
4227
+ | null;
4228
+ [k: string]: unknown;
4229
+ }
4203
4230
 
4204
4231
  export type Name = string;
4205
4232
 
@@ -4232,10 +4259,6 @@ export interface Address {
4232
4259
  * Schema defining any HAS specific properties for LPAQ submissions
4233
4260
  */
4234
4261
  export type LPAQHASSubmissionProperties = {
4235
- /**
4236
- * Indicates if the LPA considers the appeal type appropriate
4237
- */
4238
- isCorrectAppealType?: boolean | null;
4239
4262
  /**
4240
4263
  * A list of affected listed building IDs from Historic England
4241
4264
  */
@@ -4506,6 +4529,21 @@ export type LPAQEnforcementSubmissionProperties = {
4506
4529
  */
4507
4530
  article4AffectedDevelopmentRights?: string | null;
4508
4531
  };
4532
+ /**
4533
+ * Schema defining any LDC specific properties for LPAQ submissions
4534
+ */
4535
+ export type LPAQLDCSubmissionProperties = {
4536
+ appealUnderActSection?:
4537
+ | 'existing-development'
4538
+ | 'proposed-use-of-a-development'
4539
+ | 'proposed-changes-to-a-listed-building'
4540
+ | null;
4541
+ lpaConsiderAppealInvalid?: boolean | null;
4542
+ /**
4543
+ * Reason(s) why LPA consider the appeal invalid
4544
+ */
4545
+ lpaAppealInvalidReasons?: string | null;
4546
+ };
4509
4547
 
4510
4548
  /**
4511
4549
  * Schema defining the data produced by the Front-Office when an LPA Questionnaire is submitted
@@ -4559,7 +4597,13 @@ export interface LPAQuestionnaireCommand {
4559
4597
  InfrastructureLevyProperties &
4560
4598
  EnvironmentalImpactAssessmentProperties &
4561
4599
  SiteDesignationsAndProtectionSpecificProperties &
4562
- LPAQEnforcementSubmissionProperties);
4600
+ LPAQEnforcementSubmissionProperties)
4601
+ | ({
4602
+ caseType?: 'X';
4603
+ } & LPAQCommonSubmissionProperties &
4604
+ LPAProcedurePreferenceProperties &
4605
+ InfrastructureLevyProperties &
4606
+ LPAQLDCSubmissionProperties);
4563
4607
  documents: {
4564
4608
  /**
4565
4609
  * The unique identifier for the document
@@ -4627,7 +4671,9 @@ export interface LPAQuestionnaireCommand {
4627
4671
  | 'planningPermission'
4628
4672
  | 'lpaEnforcementNotice'
4629
4673
  | 'lpaEnforcementNoticePlan'
4630
- | 'planningContraventionNotice';
4674
+ | 'planningContraventionNotice'
4675
+ | 'relatedApplications'
4676
+ | 'otherRelevantMatters';
4631
4677
  [k: string]: unknown;
4632
4678
  }[];
4633
4679
  [k: string]: unknown;
@@ -4696,6 +4742,10 @@ export interface LPAQCommonSubmissionProperties {
4696
4742
  * A general reason given for the need to visit any neighbours
4697
4743
  */
4698
4744
  reasonForNeighbourVisits?: string | null;
4745
+ /**
4746
+ * Indicates if the LPA considers the appeal type appropriate
4747
+ */
4748
+ isCorrectAppealType: boolean | null;
4699
4749
  [k: string]: unknown;
4700
4750
  }
4701
4751