@planning-inspectorate/data-model 2.56.0 → 2.57.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.
package/src/enums.js CHANGED
@@ -88,6 +88,7 @@ export const APPEAL_CASE_DECISION_OUTCOME = Object.freeze({
88
88
  ALLOWED: 'allowed',
89
89
  DISMISSED: 'dismissed',
90
90
  INVALID: 'invalid',
91
+ NOTICE_QUASHED: 'notice_quashed',
91
92
  NOTICE_UPHELD: 'notice_upheld',
92
93
  NOTICE_VARIED_AND_UPHELD: 'notice_varied_and_upheld',
93
94
  PLANNING_PERMISSION_GRANTED: 'planning_permission_granted',
@@ -139,6 +140,20 @@ export const APPEAL_CASE_STATUS = Object.freeze({
139
140
  WITNESSES: 'witnesses',
140
141
  });
141
142
 
143
+ export const APPEAL_CASE_SUB_TYPE = Object.freeze({
144
+ AFFORDABLE_HOUSING: 'affordable_housing',
145
+ ANTI_POLLUTION_WORKS_NOTICE: 'anti_pollution_works_notice',
146
+ CONTAMINATED_LAND: 'contaminated_land',
147
+ ENVIRONMENTAL_LIABILITY: 'environmental_liability',
148
+ ENVIRONMENTAL_PERMITTING: 'environmental_permitting',
149
+ HAZARDOUS_SUBSTANCES: 'hazardous_substances',
150
+ MARINE_LICENSING: 'marine_licensing',
151
+ SILAGE_AND_SLURRY: 'silage_and_slurry',
152
+ SSSI: 'sssi',
153
+ WASTE_CARRIERS: 'waste_carriers',
154
+ WATER_ABSTRACTION: 'water_abstraction',
155
+ });
156
+
142
157
  export const APPEAL_CASE_TYPE = Object.freeze({
143
158
  C: 'C',
144
159
  D: 'D',
@@ -190,6 +205,7 @@ export const APPEAL_DISCONTINUANCE_NOTICE_SERVED_REASON = Object.freeze({
190
205
  export const APPEAL_DOCUMENT_TYPE = Object.freeze({
191
206
  ADDITIONAL_DOCUMENTS_LPA: 'additionalDocumentsLPA',
192
207
  APPEAL_NOTIFICATION: 'appealNotification',
208
+ APPELLANT_CASE: 'appellantCase',
193
209
  APPELLANT_CASE_CORRESPONDENCE: 'appellantCaseCorrespondence',
194
210
  APPELLANT_CASE_WITHDRAWAL_LETTER: 'appellantCaseWithdrawalLetter',
195
211
  APPELLANT_COSTS_APPLICATION: 'appellantCostsApplication',
@@ -256,6 +272,7 @@ export const APPEAL_DOCUMENT_TYPE = Object.freeze({
256
272
  LPA_ENFORCEMENT_NOTICE_WITHDRAWAL: 'lpaEnforcementNoticeWithdrawal',
257
273
  LPA_FINAL_COMMENT: 'lpaFinalComment',
258
274
  LPA_PROOF_OF_EVIDENCE: 'lpaProofOfEvidence',
275
+ LPA_QUESTIONNAIRE: 'lpaQuestionnaire',
259
276
  LPA_STATEMENT: 'lpaStatement',
260
277
  LPA_WITNESSES_EVIDENCE: 'lpaWitnessesEvidence',
261
278
  MAIN_PARTY_CORRESPONDENCE: 'mainPartyCorrespondence',
@@ -311,6 +328,20 @@ export const APPEAL_EIA_ENVIRONMENTAL_IMPACT_SCHEDULE = Object.freeze({
311
328
  SCHEDULE_2: 'schedule-2',
312
329
  });
313
330
 
331
+ export const APPEAL_ENVIRONMENTAL_PERMIT_SUBTYPES = Object.freeze({
332
+ CLOSURE_NOTICE: 'closure_notice',
333
+ CONDITIONS_ATTACHED_TO_A_PERMIT: 'conditions_attached_to_a_permit',
334
+ DECISION_TO_IMPOSE_CONDITIONS_BY_REGULATOR: 'decision_to_impose_conditions_by_regulator',
335
+ DEEMED_REFUSAL: 'deemed_refusal',
336
+ DEEMED_WITHDRAWAL: 'deemed_withdrawal',
337
+ ENFORCEMENT_NOTICE: 'enforcement_notice',
338
+ FLOOD_RISK_ACTIVITY: 'flood_risk_activity',
339
+ PROHIBITION_NOTICE: 'prohibition_notice',
340
+ REFUSAL_OF_A_PERMIT: 'refusal_of_a_permit',
341
+ REVOCATION_NOTICE: 'revocation_notice',
342
+ SUSPENSION_NOTICE: 'suspension_notice',
343
+ });
344
+
314
345
  export const APPEAL_EVENT_STATUS = Object.freeze({
315
346
  CHANGE_OF_PROCEDURE: 'change_of_procedure',
316
347
  CONFIRMED: 'confirmed',
@@ -428,17 +459,24 @@ export const APPEAL_SOURCE_SYSTEM = Object.freeze({
428
459
 
429
460
  export const APPEAL_TYPE_OF_PLANNING_APPLICATION = Object.freeze({
430
461
  ADVERTISEMENT: 'advertisement',
462
+ COMMUNITY_INFRASTRUCTURE_LEVY: 'community-infrastructure-levy',
431
463
  DISCONTINUANCE_NOTICE: 'discontinuance-notice',
464
+ ENVIRONMENTAL: 'environmental',
432
465
  FULL_APPEAL: 'full-appeal',
466
+ HEDGEROWS_APPEAL: 'hedgerows-appeal',
467
+ HIGH_HEDGE_APPEAL: 'high-hedge-appeal',
433
468
  HOUSEHOLDER_PLANNING: 'householder-planning',
434
469
  LAWFUL_DEVELOPMENT_CERTIFICATE: 'lawful-development-certificate',
435
470
  LISTED_BUILDING: 'listed-building',
436
471
  MINOR_COMMERCIAL_DEVELOPMENT: 'minor-commercial-development',
437
472
  OUTLINE_PLANNING: 'outline-planning',
438
473
  PERMISSION_IN_PRINCIPLE: 'permission-in-principle',
474
+ PLANNING_OBLIGATION: 'planning-obligation',
439
475
  PRIOR_APPROVAL: 'prior-approval',
440
476
  REMOVAL_OR_VARIATION_OF_CONDITIONS: 'removal-or-variation-of-conditions',
441
477
  RESERVED_MATTERS: 'reserved-matters',
478
+ TREE_PRESERVATION_ORDER: 'tree-preservation-order',
479
+ TREE_REPLACEMENT_NOTICE: 'tree-replacement-notice',
442
480
  });
443
481
 
444
482
  export const APPEAL_VIRUS_CHECK_STATUS = Object.freeze({
package/src/index.cjs CHANGED
@@ -171,6 +171,7 @@ const APPEAL_CASE_DECISION_OUTCOME = Object.freeze({
171
171
  ALLOWED: 'allowed',
172
172
  DISMISSED: 'dismissed',
173
173
  INVALID: 'invalid',
174
+ NOTICE_QUASHED: 'notice_quashed',
174
175
  NOTICE_UPHELD: 'notice_upheld',
175
176
  NOTICE_VARIED_AND_UPHELD: 'notice_varied_and_upheld',
176
177
  PLANNING_PERMISSION_GRANTED: 'planning_permission_granted',
@@ -222,6 +223,20 @@ const APPEAL_CASE_STATUS = Object.freeze({
222
223
  WITNESSES: 'witnesses',
223
224
  });
224
225
 
226
+ const APPEAL_CASE_SUB_TYPE = Object.freeze({
227
+ AFFORDABLE_HOUSING: 'affordable_housing',
228
+ ANTI_POLLUTION_WORKS_NOTICE: 'anti_pollution_works_notice',
229
+ CONTAMINATED_LAND: 'contaminated_land',
230
+ ENVIRONMENTAL_LIABILITY: 'environmental_liability',
231
+ ENVIRONMENTAL_PERMITTING: 'environmental_permitting',
232
+ HAZARDOUS_SUBSTANCES: 'hazardous_substances',
233
+ MARINE_LICENSING: 'marine_licensing',
234
+ SILAGE_AND_SLURRY: 'silage_and_slurry',
235
+ SSSI: 'sssi',
236
+ WASTE_CARRIERS: 'waste_carriers',
237
+ WATER_ABSTRACTION: 'water_abstraction',
238
+ });
239
+
225
240
  const APPEAL_CASE_TYPE = Object.freeze({
226
241
  C: 'C',
227
242
  D: 'D',
@@ -273,6 +288,7 @@ const APPEAL_DISCONTINUANCE_NOTICE_SERVED_REASON = Object.freeze({
273
288
  const APPEAL_DOCUMENT_TYPE = Object.freeze({
274
289
  ADDITIONAL_DOCUMENTS_LPA: 'additionalDocumentsLPA',
275
290
  APPEAL_NOTIFICATION: 'appealNotification',
291
+ APPELLANT_CASE: 'appellantCase',
276
292
  APPELLANT_CASE_CORRESPONDENCE: 'appellantCaseCorrespondence',
277
293
  APPELLANT_CASE_WITHDRAWAL_LETTER: 'appellantCaseWithdrawalLetter',
278
294
  APPELLANT_COSTS_APPLICATION: 'appellantCostsApplication',
@@ -339,6 +355,7 @@ const APPEAL_DOCUMENT_TYPE = Object.freeze({
339
355
  LPA_ENFORCEMENT_NOTICE_WITHDRAWAL: 'lpaEnforcementNoticeWithdrawal',
340
356
  LPA_FINAL_COMMENT: 'lpaFinalComment',
341
357
  LPA_PROOF_OF_EVIDENCE: 'lpaProofOfEvidence',
358
+ LPA_QUESTIONNAIRE: 'lpaQuestionnaire',
342
359
  LPA_STATEMENT: 'lpaStatement',
343
360
  LPA_WITNESSES_EVIDENCE: 'lpaWitnessesEvidence',
344
361
  MAIN_PARTY_CORRESPONDENCE: 'mainPartyCorrespondence',
@@ -394,6 +411,20 @@ const APPEAL_EIA_ENVIRONMENTAL_IMPACT_SCHEDULE = Object.freeze({
394
411
  SCHEDULE_2: 'schedule-2',
395
412
  });
396
413
 
414
+ const APPEAL_ENVIRONMENTAL_PERMIT_SUBTYPES = Object.freeze({
415
+ CLOSURE_NOTICE: 'closure_notice',
416
+ CONDITIONS_ATTACHED_TO_A_PERMIT: 'conditions_attached_to_a_permit',
417
+ DECISION_TO_IMPOSE_CONDITIONS_BY_REGULATOR: 'decision_to_impose_conditions_by_regulator',
418
+ DEEMED_REFUSAL: 'deemed_refusal',
419
+ DEEMED_WITHDRAWAL: 'deemed_withdrawal',
420
+ ENFORCEMENT_NOTICE: 'enforcement_notice',
421
+ FLOOD_RISK_ACTIVITY: 'flood_risk_activity',
422
+ PROHIBITION_NOTICE: 'prohibition_notice',
423
+ REFUSAL_OF_A_PERMIT: 'refusal_of_a_permit',
424
+ REVOCATION_NOTICE: 'revocation_notice',
425
+ SUSPENSION_NOTICE: 'suspension_notice',
426
+ });
427
+
397
428
  const APPEAL_EVENT_STATUS = Object.freeze({
398
429
  CHANGE_OF_PROCEDURE: 'change_of_procedure',
399
430
  CONFIRMED: 'confirmed',
@@ -511,17 +542,24 @@ const APPEAL_SOURCE_SYSTEM = Object.freeze({
511
542
 
512
543
  const APPEAL_TYPE_OF_PLANNING_APPLICATION = Object.freeze({
513
544
  ADVERTISEMENT: 'advertisement',
545
+ COMMUNITY_INFRASTRUCTURE_LEVY: 'community-infrastructure-levy',
514
546
  DISCONTINUANCE_NOTICE: 'discontinuance-notice',
547
+ ENVIRONMENTAL: 'environmental',
515
548
  FULL_APPEAL: 'full-appeal',
549
+ HEDGEROWS_APPEAL: 'hedgerows-appeal',
550
+ HIGH_HEDGE_APPEAL: 'high-hedge-appeal',
516
551
  HOUSEHOLDER_PLANNING: 'householder-planning',
517
552
  LAWFUL_DEVELOPMENT_CERTIFICATE: 'lawful-development-certificate',
518
553
  LISTED_BUILDING: 'listed-building',
519
554
  MINOR_COMMERCIAL_DEVELOPMENT: 'minor-commercial-development',
520
555
  OUTLINE_PLANNING: 'outline-planning',
521
556
  PERMISSION_IN_PRINCIPLE: 'permission-in-principle',
557
+ PLANNING_OBLIGATION: 'planning-obligation',
522
558
  PRIOR_APPROVAL: 'prior-approval',
523
559
  REMOVAL_OR_VARIATION_OF_CONDITIONS: 'removal-or-variation-of-conditions',
524
560
  RESERVED_MATTERS: 'reserved-matters',
561
+ TREE_PRESERVATION_ORDER: 'tree-preservation-order',
562
+ TREE_REPLACEMENT_NOTICE: 'tree-replacement-notice',
525
563
  });
526
564
 
527
565
  const APPEAL_VIRUS_CHECK_STATUS = Object.freeze({
@@ -1100,6 +1138,7 @@ exports.APPEAL_CASE_DECISION_OUTCOME = APPEAL_CASE_DECISION_OUTCOME;
1100
1138
  exports.APPEAL_CASE_PROCEDURE = APPEAL_CASE_PROCEDURE;
1101
1139
  exports.APPEAL_CASE_STAGE = APPEAL_CASE_STAGE;
1102
1140
  exports.APPEAL_CASE_STATUS = APPEAL_CASE_STATUS;
1141
+ exports.APPEAL_CASE_SUB_TYPE = APPEAL_CASE_SUB_TYPE;
1103
1142
  exports.APPEAL_CASE_TYPE = APPEAL_CASE_TYPE;
1104
1143
  exports.APPEAL_CASE_VALIDATION_OUTCOME = APPEAL_CASE_VALIDATION_OUTCOME;
1105
1144
  exports.APPEAL_DEVELOPMENT_TYPE = APPEAL_DEVELOPMENT_TYPE;
@@ -1107,6 +1146,7 @@ exports.APPEAL_DISCONTINUANCE_NOTICE_SERVED_REASON = APPEAL_DISCONTINUANCE_NOTIC
1107
1146
  exports.APPEAL_DOCUMENT_TYPE = APPEAL_DOCUMENT_TYPE;
1108
1147
  exports.APPEAL_EIA_DEVELOPMENT_DESCRIPTION = APPEAL_EIA_DEVELOPMENT_DESCRIPTION;
1109
1148
  exports.APPEAL_EIA_ENVIRONMENTAL_IMPACT_SCHEDULE = APPEAL_EIA_ENVIRONMENTAL_IMPACT_SCHEDULE;
1149
+ exports.APPEAL_ENVIRONMENTAL_PERMIT_SUBTYPES = APPEAL_ENVIRONMENTAL_PERMIT_SUBTYPES;
1110
1150
  exports.APPEAL_EVENT_STATUS = APPEAL_EVENT_STATUS;
1111
1151
  exports.APPEAL_EVENT_TYPE = APPEAL_EVENT_TYPE;
1112
1152
  exports.APPEAL_HAS_CASE_DECISION_OUTCOME = APPEAL_HAS_CASE_DECISION_OUTCOME;
package/src/schemas.d.ts CHANGED
@@ -137,6 +137,7 @@ export interface AppealDocument {
137
137
  * The type of document, used for exchange, migrations and consumption from the appeal back-office system
138
138
  */
139
139
  documentType:
140
+ | 'appellantCase'
140
141
  | 'appellantCaseCorrespondence'
141
142
  | 'appellantCaseWithdrawalLetter'
142
143
  | 'appellantCostsApplication'
@@ -151,6 +152,7 @@ export interface AppealDocument {
151
152
  | 'whoNotifiedLetterToNeighbours'
152
153
  | 'whoNotifiedPressAdvert'
153
154
  | 'conservationMap'
155
+ | 'lpaQuestionnaire'
154
156
  | 'lpaCaseCorrespondence'
155
157
  | 'lpaCostsApplication'
156
158
  | 'lpaCostsCorrespondence'
@@ -394,6 +396,278 @@ export interface AppealEvent {
394
396
  [k: string]: unknown;
395
397
  }
396
398
 
399
+ /**
400
+ * Group C - Schema defining the metadata for generic and low-volume appeals
401
+ */
402
+ export interface AppealGroupCCase {
403
+ /**
404
+ * Internal case identifier
405
+ */
406
+ caseId: number | null;
407
+ /**
408
+ * External case identifier for Group C appeals (7 digit number starting in 6)
409
+ */
410
+ caseReference: string;
411
+ /**
412
+ * The internal letter code for an appeal type, e.g. W (Environmental)
413
+ */
414
+ caseType: 'C' | 'D' | 'F' | 'G' | 'H' | 'L' | 'Q' | 'S' | 'V' | 'W' | 'X' | 'Y' | 'Z' | 'ZA' | 'ZP';
415
+ /**
416
+ * The processing status for the appeal
417
+ */
418
+ caseStatus:
419
+ | 'assign_case_officer'
420
+ | 'validation'
421
+ | 'ready_to_start'
422
+ | 'lpa_questionnaire'
423
+ | 'issue_determination'
424
+ | 'statements'
425
+ | 'evidence'
426
+ | 'witnesses'
427
+ | 'final_comments'
428
+ | 'complete'
429
+ | 'invalid'
430
+ | 'closed'
431
+ | 'withdrawn'
432
+ | 'awaiting_transfer'
433
+ | 'transferred'
434
+ | 'event'
435
+ | 'awaiting_event'
436
+ | 'notice_withdrawn'
437
+ | 'closed_opened_in_error';
438
+ /**
439
+ * The type of procedure for the appeal
440
+ */
441
+ caseProcedure: 'written' | 'hearing' | 'inquiry' | 'writtenPart1' | 'writtenPart2' | null;
442
+ /**
443
+ * The date the appeal was received
444
+ */
445
+ caseCreatedDate: string;
446
+ /**
447
+ * The date the appeal was submitted by the appellant
448
+ */
449
+ caseSubmittedDate: string | null;
450
+ /**
451
+ * The date the appeal was last updated in the back-office
452
+ */
453
+ caseUpdatedDate: string | null;
454
+ /**
455
+ * The date since when the appeal was considered valid
456
+ */
457
+ caseValidDate: string | null;
458
+ /**
459
+ * The date the appeal was validated in the back-office
460
+ */
461
+ caseValidationDate: string | null;
462
+ /**
463
+ * The outcome of the validation action
464
+ */
465
+ caseValidationOutcome: 'valid' | 'invalid' | 'incomplete' | null;
466
+ /**
467
+ * A date indicating when the case was started, resulting in the creation of a timetable
468
+ */
469
+ caseStartedDate: string | null;
470
+ /**
471
+ * A date indicating when the case was published
472
+ */
473
+ casePublishedDate: string | null;
474
+ /**
475
+ * The date the LPA response was received
476
+ */
477
+ lpaQuestionnaireCreatedDate: string | null;
478
+ /**
479
+ * The date the LPA provided a response to the case
480
+ */
481
+ lpaQuestionnaireSubmittedDate: string | null;
482
+ /**
483
+ * The outcome of the LPA questionnaire validation action
484
+ */
485
+ lpaQuestionnaireValidationOutcome: 'complete' | 'incomplete' | null;
486
+ /**
487
+ * If the case is started and has a timetable, a deadline for the LPA to provide a response
488
+ */
489
+ lpaQuestionnaireDueDate: string | null;
490
+ /**
491
+ * The date of the appeal decision
492
+ */
493
+ caseDecisionOutcomeDate: string | null;
494
+ /**
495
+ * The final outcome for the decision
496
+ */
497
+ caseDecisionOutcome:
498
+ | 'allowed'
499
+ | 'split_decision'
500
+ | 'dismissed'
501
+ | 'invalid'
502
+ | 'notice_upheld'
503
+ | 'planning_permission_granted'
504
+ | 'quashed_on_legal_grounds'
505
+ | 'notice_varied_and_upheld'
506
+ | 'notice_quashed'
507
+ | null;
508
+ /**
509
+ * The date the appeal decision letter was issued
510
+ */
511
+ caseCompletedDate: string | null;
512
+ /**
513
+ * A unique identifier for the Local Planning Authority
514
+ */
515
+ lpaCode: string | null;
516
+ /**
517
+ * Unique identifier for the case officer assigned to the case
518
+ */
519
+ caseOfficerId: string | null;
520
+ /**
521
+ * Unique identifier for the inspector assigned to the case
522
+ */
523
+ inspectorId: string | null;
524
+ /**
525
+ * padsSapId for PADS inspectors
526
+ */
527
+ padsSapId: string | null;
528
+ /**
529
+ * A level used for allocation purposes
530
+ */
531
+ allocationLevel: 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'G' | 'H' | null;
532
+ /**
533
+ * A band used for allocation purposes
534
+ */
535
+ allocationBand: 1 | 2 | 3 | null;
536
+ /**
537
+ * A list of specialisms for allocation purposes
538
+ */
539
+ caseSpecialisms: string[] | null;
540
+ /**
541
+ * First line of address for the appeal site
542
+ */
543
+ siteAddressLine1: string | null;
544
+ /**
545
+ * Second line of address for the appeal site
546
+ */
547
+ siteAddressLine2: string | null;
548
+ /**
549
+ * Town / City of the site address
550
+ */
551
+ siteAddressTown: string | null;
552
+ /**
553
+ * County of the site address
554
+ */
555
+ siteAddressCounty: string | null;
556
+ /**
557
+ * Postal code of the site address
558
+ */
559
+ siteAddressPostcode: string | null;
560
+ /**
561
+ * The date of the Case Management Conference (CMC)
562
+ */
563
+ caseManagementConferenceDate?: string | null;
564
+ /**
565
+ * Deadline for statements
566
+ */
567
+ statementDueDate?: string | null;
568
+ /**
569
+ * Deadline for proofs of evidence
570
+ */
571
+ proofsOfEvidenceDueDate?: string | null;
572
+ /**
573
+ * Deadline for final comments
574
+ */
575
+ finalCommentsDueDate?: string | null;
576
+ /**
577
+ * Deadline for interested party representations
578
+ */
579
+ interestedPartyRepsDueDate?: string | null;
580
+ /**
581
+ * Deadline for statement of common ground
582
+ */
583
+ statementOfCommonGroundDueDate?: string | null;
584
+ /**
585
+ * Deadline for planning obligation
586
+ */
587
+ planningObligationDueDate?: string | null;
588
+ /**
589
+ * The type of application or notice that is the subject of the appeal
590
+ */
591
+ typeOfPlanningApplication?:
592
+ | 'full-appeal'
593
+ | 'householder-planning'
594
+ | 'outline-planning'
595
+ | 'prior-approval'
596
+ | 'reserved-matters'
597
+ | 'removal-or-variation-of-conditions'
598
+ | 'listed-building'
599
+ | 'minor-commercial-development'
600
+ | 'advertisement'
601
+ | 'lawful-development-certificate'
602
+ | 'discontinuance-notice'
603
+ | 'permission-in-principle'
604
+ | 'tree-preservation-order'
605
+ | 'tree-replacement-notice'
606
+ | 'high-hedge-appeal'
607
+ | 'hedgerows-appeal'
608
+ | 'community-infrastructure-levy'
609
+ | 'planning-obligation'
610
+ | 'environmental'
611
+ | null;
612
+ /**
613
+ * Sub-type categorization for generic/low-volume appeals
614
+ */
615
+ caseSubType?:
616
+ | 'anti_pollution_works_notice'
617
+ | 'contaminated_land'
618
+ | 'marine_licensing'
619
+ | 'waste_carriers'
620
+ | 'water_abstraction'
621
+ | 'environmental_liability'
622
+ | 'environmental_permitting'
623
+ | 'hazardous_substances'
624
+ | 'silage_and_slurry'
625
+ | 'sssi'
626
+ | 'affordable_housing'
627
+ | null;
628
+ /**
629
+ * The date the appeal was withdrawn by the appellant
630
+ */
631
+ caseWithdrawnDate: string | null;
632
+ /**
633
+ * The date the appeal was transferred to a new case of a different type
634
+ */
635
+ caseTransferredDate: string | null;
636
+ /**
637
+ * The reference number of the enforcement notice
638
+ */
639
+ enforcementNoticeReference?: string | null;
640
+ /**
641
+ * The unique identifier of the LPA or regulator application
642
+ */
643
+ applicationReference?: string | null;
644
+ /**
645
+ * Indicates if the case is linked, and the type of relationship
646
+ */
647
+ linkedCaseStatus?: 'lead' | 'child' | null;
648
+ /**
649
+ * The reference of the lead case, if the case is a child case
650
+ */
651
+ leadCaseReference?: string | null;
652
+ /**
653
+ * Case sub-division applying to Environmental Permitting caseSubType
654
+ */
655
+ environmentalPermitSubtypes?:
656
+ | 'refusal_of_a_permit'
657
+ | 'deemed_refusal'
658
+ | 'conditions_attached_to_a_permit'
659
+ | 'decision_to_impose_conditions_by_regulator'
660
+ | 'deemed_withdrawal'
661
+ | 'enforcement_notice'
662
+ | 'suspension_notice'
663
+ | 'closure_notice'
664
+ | 'flood_risk_activity'
665
+ | 'revocation_notice'
666
+ | 'prohibition_notice'
667
+ | null;
668
+ [k: string]: unknown;
669
+ }
670
+
397
671
  /**
398
672
  * Group A - Schema defining the metadata for an appeal
399
673
  */
@@ -1211,6 +1485,7 @@ export type AppealS78Case = (GridReference | SiteAddress) & {
1211
1485
  | 'planning_permission_granted'
1212
1486
  | 'quashed_on_legal_grounds'
1213
1487
  | 'notice_varied_and_upheld'
1488
+ | 'notice_quashed'
1214
1489
  | null;
1215
1490
  /**
1216
1491
  * The date the appeal decision letter
@@ -1591,6 +1866,13 @@ export type AppealS78Case = (GridReference | SiteAddress) & {
1591
1866
  | 'lawful-development-certificate'
1592
1867
  | 'discontinuance-notice'
1593
1868
  | 'permission-in-principle'
1869
+ | 'tree-preservation-order'
1870
+ | 'tree-replacement-notice'
1871
+ | 'high-hedge-appeal'
1872
+ | 'hedgerows-appeal'
1873
+ | 'community-infrastructure-levy'
1874
+ | 'planning-obligation'
1875
+ | 'environmental'
1594
1876
  | null;
1595
1877
  developmentType:
1596
1878
  | 'householder'
@@ -5922,6 +6204,7 @@ export type SchemaMap = {
5922
6204
  'appeal-document.schema.json': AppealDocument;
5923
6205
  'appeal-event-estimate.schema.json': AppealEventEstimate;
5924
6206
  'appeal-event.schema.json': AppealEvent;
6207
+ 'appeal-group-c.schema.json': AppealGroupCCase;
5925
6208
  'appeal-has.schema.json': AppealHASCase;
5926
6209
  'appeal-representation.schema.json': AppealRepresentation;
5927
6210
  'appeal-s78.schema.json': AppealS78Case;