@planning-inspectorate/data-model 2.36.0 → 2.37.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/docs/appeal-document.md +98 -96
- package/docs/appeal-s78.md +19 -0
- package/package.json +1 -1
- package/pins_data_model/models/model_appeal_document.py +4 -2
- package/pins_data_model/models/model_appeal_event.py +1 -1
- package/pins_data_model/models/model_appeal_event_estimate.py +1 -1
- package/pins_data_model/models/model_appeal_has.py +1 -1
- package/pins_data_model/models/model_appeal_representation.py +1 -1
- package/pins_data_model/models/model_appeal_s78.py +9 -1
- package/pins_data_model/models/model_dart_response.py +1 -1
- package/pins_data_model/models/model_entraid.py +1 -1
- package/pins_data_model/models/model_folder.py +1 -1
- package/pins_data_model/models/model_gettimesheets_response.py +1 -1
- package/pins_data_model/models/model_listed_building.py +1 -1
- package/pins_data_model/models/model_listed_buildings.py +1 -1
- package/pins_data_model/models/model_nsip_document.py +1 -1
- package/pins_data_model/models/model_nsip_exam_timetable.py +1 -1
- package/pins_data_model/models/model_nsip_invoice.py +1 -1
- package/pins_data_model/models/model_nsip_meeting.py +1 -1
- package/pins_data_model/models/model_nsip_project.py +1 -1
- package/pins_data_model/models/model_nsip_project_update.py +1 -1
- package/pins_data_model/models/model_nsip_representation.py +1 -1
- package/pins_data_model/models/model_nsip_subscription.py +1 -1
- package/pins_data_model/models/model_pins_inspector.py +1 -1
- package/pins_data_model/models/model_pins_lpa.py +1 -1
- package/pins_data_model/models/model_s51_advice.py +1 -1
- package/pins_data_model/models/model_service_user.py +1 -1
- package/schemas/appeal-document.schema.json +3 -1
- package/schemas/appeal-s78.schema.json +5 -0
- package/schemas/commands/appeals-components/lpa-questionnaire-s78.schema.json +21 -0
- package/schemas/commands/appellant-submission.schema.json +1 -2
- package/schemas/commands/lpa-questionnaire.schema.json +4 -1
- package/src/enums.cjs +3 -1
- package/src/enums.d.ts +3 -1
- package/src/enums.js +3 -1
- package/src/index.cjs +3 -1
- package/src/schemas.d.ts +25 -4
- package/tests/appeals/appeal-s78.test.js +1 -0
- package/tests/appeals/expedited-appeals.test.js +2 -5
package/docs/appeal-document.md
CHANGED
|
@@ -535,102 +535,104 @@ The type of document, used for exchange, migrations and consumption from the app
|
|
|
535
535
|
|
|
536
536
|
**enum**: the value of this property must be equal to one of the following values:
|
|
537
537
|
|
|
538
|
-
| Value
|
|
539
|
-
|
|
|
540
|
-
| `"appellantCaseCorrespondence"`
|
|
541
|
-
| `"appellantCaseWithdrawalLetter"`
|
|
542
|
-
| `"appellantCostsApplication"`
|
|
543
|
-
| `"appellantCostsCorrespondence"`
|
|
544
|
-
| `"appellantCostsWithdrawal"`
|
|
545
|
-
| `"appellantStatement"`
|
|
546
|
-
| `"applicationDecisionLetter"`
|
|
547
|
-
| `"changedDescription"`
|
|
548
|
-
| `"originalApplicationForm"`
|
|
549
|
-
| `"whoNotified"`
|
|
550
|
-
| `"whoNotifiedSiteNotice"`
|
|
551
|
-
| `"whoNotifiedLetterToNeighbours"`
|
|
552
|
-
| `"whoNotifiedPressAdvert"`
|
|
553
|
-
| `"conservationMap"`
|
|
554
|
-
| `"lpaCaseCorrespondence"`
|
|
555
|
-
| `"lpaCostsApplication"`
|
|
556
|
-
| `"lpaCostsCorrespondence"`
|
|
557
|
-
| `"lpaCostsWithdrawal"`
|
|
558
|
-
| `"otherPartyRepresentations"`
|
|
559
|
-
| `"planningOfficerReport"`
|
|
560
|
-
| `"appellantCostsDecisionLetter"`
|
|
561
|
-
| `"lpaCostsDecisionLetter"`
|
|
562
|
-
| `"caseDecisionLetter"`
|
|
563
|
-
| `"crossTeamCorrespondence"`
|
|
564
|
-
| `"inspectorCorrespondence"`
|
|
565
|
-
| `"mainPartyCorrespondence"`
|
|
566
|
-
| `"uncategorised"`
|
|
567
|
-
| `"designAccessStatement"`
|
|
568
|
-
| `"plansDrawings"`
|
|
569
|
-
| `"newPlansDrawings"`
|
|
570
|
-
| `"planningObligation"`
|
|
571
|
-
| `"ownershipCertificate"`
|
|
572
|
-
| `"otherNewDocuments"`
|
|
573
|
-
| `"statementCommonGround"`
|
|
574
|
-
| `"communityInfrastructureLevy"`
|
|
575
|
-
| `"supplementaryPlanning"`
|
|
576
|
-
| `"otherRelevantPolicies"`
|
|
577
|
-
| `"emergingPlan"`
|
|
578
|
-
| `"developmentPlanPolicies"`
|
|
579
|
-
| `"consultationResponses"`
|
|
580
|
-
| `"eiaEnvironmentalStatement"`
|
|
581
|
-
| `"eiaScreeningDirection"`
|
|
582
|
-
| `"eiaScreeningOpinion"`
|
|
583
|
-
| `"eiaScopingOpinion"`
|
|
584
|
-
| `"definitiveMapStatement"`
|
|
585
|
-
| `"treePreservationPlan"`
|
|
586
|
-
| `"interestedPartyComment"`
|
|
587
|
-
| `"lpaStatement"`
|
|
588
|
-
| `"rule6Statement"`
|
|
589
|
-
| `"appellantFinalComment"`
|
|
590
|
-
| `"lpaFinalComment"`
|
|
591
|
-
| `"appellantProofOfEvidence"`
|
|
592
|
-
| `"appellantWitnessesEvidence"`
|
|
593
|
-
| `"lpaProofOfEvidence"`
|
|
594
|
-
| `"lpaWitnessesEvidence"`
|
|
595
|
-
| `"rule6ProofOfEvidence"`
|
|
596
|
-
| `"rule6WitnessesEvidence"`
|
|
597
|
-
| `"environmentalAssessment"`
|
|
598
|
-
| `"appealNotification"`
|
|
599
|
-
| `"historicEnglandConsultation"`
|
|
600
|
-
| `"conservationDocuments"`
|
|
601
|
-
| `"planShowingExtentOfOrder"`
|
|
602
|
-
| `"definitiveMapAndStatementExtract"`
|
|
603
|
-
| `"stopNotice"`
|
|
604
|
-
| `"article4Direction"`
|
|
605
|
-
| `"enforcementList"`
|
|
606
|
-
| `"localDevelopmentOrder"`
|
|
607
|
-
| `"planningPermission"`
|
|
608
|
-
| `"lpaEnforcementNotice"`
|
|
609
|
-
| `"lpaEnforcementNoticePlan"`
|
|
610
|
-
| `"lpaEnforcementNoticeWithdrawal"`
|
|
611
|
-
| `"planningContraventionNotice"`
|
|
612
|
-
| `"priorCorrespondenceWithPINS"`
|
|
613
|
-
| `"enforcementNotice"`
|
|
614
|
-
| `"enforcementNoticePlan"`
|
|
615
|
-
| `"groundASupporting"`
|
|
616
|
-
| `"groundBSupporting"`
|
|
617
|
-
| `"groundCSupporting"`
|
|
618
|
-
| `"groundDSupporting"`
|
|
619
|
-
| `"groundESupporting"`
|
|
620
|
-
| `"groundFSupporting"`
|
|
621
|
-
| `"groundGSupporting"`
|
|
622
|
-
| `"groundAFeeReceipt"`
|
|
623
|
-
| `"delegatedReport"`
|
|
624
|
-
| `"relatedApplications"`
|
|
625
|
-
| `"otherRelevantMatters"`
|
|
626
|
-
| `"groundHSupporting"`
|
|
627
|
-
| `"groundISupporting"`
|
|
628
|
-
| `"groundJSupporting"`
|
|
629
|
-
| `"groundKSupporting"`
|
|
630
|
-
| `"discontinuanceNotice"`
|
|
631
|
-
| `"
|
|
632
|
-
| `"
|
|
633
|
-
| `
|
|
538
|
+
| Value | Explanation |
|
|
539
|
+
| :------------------------------------- | :---------- |
|
|
540
|
+
| `"appellantCaseCorrespondence"` | |
|
|
541
|
+
| `"appellantCaseWithdrawalLetter"` | |
|
|
542
|
+
| `"appellantCostsApplication"` | |
|
|
543
|
+
| `"appellantCostsCorrespondence"` | |
|
|
544
|
+
| `"appellantCostsWithdrawal"` | |
|
|
545
|
+
| `"appellantStatement"` | |
|
|
546
|
+
| `"applicationDecisionLetter"` | |
|
|
547
|
+
| `"changedDescription"` | |
|
|
548
|
+
| `"originalApplicationForm"` | |
|
|
549
|
+
| `"whoNotified"` | |
|
|
550
|
+
| `"whoNotifiedSiteNotice"` | |
|
|
551
|
+
| `"whoNotifiedLetterToNeighbours"` | |
|
|
552
|
+
| `"whoNotifiedPressAdvert"` | |
|
|
553
|
+
| `"conservationMap"` | |
|
|
554
|
+
| `"lpaCaseCorrespondence"` | |
|
|
555
|
+
| `"lpaCostsApplication"` | |
|
|
556
|
+
| `"lpaCostsCorrespondence"` | |
|
|
557
|
+
| `"lpaCostsWithdrawal"` | |
|
|
558
|
+
| `"otherPartyRepresentations"` | |
|
|
559
|
+
| `"planningOfficerReport"` | |
|
|
560
|
+
| `"appellantCostsDecisionLetter"` | |
|
|
561
|
+
| `"lpaCostsDecisionLetter"` | |
|
|
562
|
+
| `"caseDecisionLetter"` | |
|
|
563
|
+
| `"crossTeamCorrespondence"` | |
|
|
564
|
+
| `"inspectorCorrespondence"` | |
|
|
565
|
+
| `"mainPartyCorrespondence"` | |
|
|
566
|
+
| `"uncategorised"` | |
|
|
567
|
+
| `"designAccessStatement"` | |
|
|
568
|
+
| `"plansDrawings"` | |
|
|
569
|
+
| `"newPlansDrawings"` | |
|
|
570
|
+
| `"planningObligation"` | |
|
|
571
|
+
| `"ownershipCertificate"` | |
|
|
572
|
+
| `"otherNewDocuments"` | |
|
|
573
|
+
| `"statementCommonGround"` | |
|
|
574
|
+
| `"communityInfrastructureLevy"` | |
|
|
575
|
+
| `"supplementaryPlanning"` | |
|
|
576
|
+
| `"otherRelevantPolicies"` | |
|
|
577
|
+
| `"emergingPlan"` | |
|
|
578
|
+
| `"developmentPlanPolicies"` | |
|
|
579
|
+
| `"consultationResponses"` | |
|
|
580
|
+
| `"eiaEnvironmentalStatement"` | |
|
|
581
|
+
| `"eiaScreeningDirection"` | |
|
|
582
|
+
| `"eiaScreeningOpinion"` | |
|
|
583
|
+
| `"eiaScopingOpinion"` | |
|
|
584
|
+
| `"definitiveMapStatement"` | |
|
|
585
|
+
| `"treePreservationPlan"` | |
|
|
586
|
+
| `"interestedPartyComment"` | |
|
|
587
|
+
| `"lpaStatement"` | |
|
|
588
|
+
| `"rule6Statement"` | |
|
|
589
|
+
| `"appellantFinalComment"` | |
|
|
590
|
+
| `"lpaFinalComment"` | |
|
|
591
|
+
| `"appellantProofOfEvidence"` | |
|
|
592
|
+
| `"appellantWitnessesEvidence"` | |
|
|
593
|
+
| `"lpaProofOfEvidence"` | |
|
|
594
|
+
| `"lpaWitnessesEvidence"` | |
|
|
595
|
+
| `"rule6ProofOfEvidence"` | |
|
|
596
|
+
| `"rule6WitnessesEvidence"` | |
|
|
597
|
+
| `"environmentalAssessment"` | |
|
|
598
|
+
| `"appealNotification"` | |
|
|
599
|
+
| `"historicEnglandConsultation"` | |
|
|
600
|
+
| `"conservationDocuments"` | |
|
|
601
|
+
| `"planShowingExtentOfOrder"` | |
|
|
602
|
+
| `"definitiveMapAndStatementExtract"` | |
|
|
603
|
+
| `"stopNotice"` | |
|
|
604
|
+
| `"article4Direction"` | |
|
|
605
|
+
| `"enforcementList"` | |
|
|
606
|
+
| `"localDevelopmentOrder"` | |
|
|
607
|
+
| `"planningPermission"` | |
|
|
608
|
+
| `"lpaEnforcementNotice"` | |
|
|
609
|
+
| `"lpaEnforcementNoticePlan"` | |
|
|
610
|
+
| `"lpaEnforcementNoticeWithdrawal"` | |
|
|
611
|
+
| `"planningContraventionNotice"` | |
|
|
612
|
+
| `"priorCorrespondenceWithPINS"` | |
|
|
613
|
+
| `"enforcementNotice"` | |
|
|
614
|
+
| `"enforcementNoticePlan"` | |
|
|
615
|
+
| `"groundASupporting"` | |
|
|
616
|
+
| `"groundBSupporting"` | |
|
|
617
|
+
| `"groundCSupporting"` | |
|
|
618
|
+
| `"groundDSupporting"` | |
|
|
619
|
+
| `"groundESupporting"` | |
|
|
620
|
+
| `"groundFSupporting"` | |
|
|
621
|
+
| `"groundGSupporting"` | |
|
|
622
|
+
| `"groundAFeeReceipt"` | |
|
|
623
|
+
| `"delegatedReport"` | |
|
|
624
|
+
| `"relatedApplications"` | |
|
|
625
|
+
| `"otherRelevantMatters"` | |
|
|
626
|
+
| `"groundHSupporting"` | |
|
|
627
|
+
| `"groundISupporting"` | |
|
|
628
|
+
| `"groundJSupporting"` | |
|
|
629
|
+
| `"groundKSupporting"` | |
|
|
630
|
+
| `"discontinuanceNotice"` | |
|
|
631
|
+
| `"eiaEnvironmentalStatementAppellant"` | |
|
|
632
|
+
| `"designAccessStatementLPA"` | |
|
|
633
|
+
| `"plansDrawingsLPA"` | |
|
|
634
|
+
| `"additionalDocumentsLPA"` | |
|
|
635
|
+
| `null` | |
|
|
634
636
|
|
|
635
637
|
## sourceSystem
|
|
636
638
|
|
package/docs/appeal-s78.md
CHANGED
|
@@ -45,6 +45,7 @@ any of
|
|
|
45
45
|
| [lpaQuestionnaireValidationOutcomeDate](#lpaquestionnairevalidationoutcomedate) | `string` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-lpaquestionnairevalidationoutcomedate.md "appeal-s78.schema.json#/properties/lpaQuestionnaireValidationOutcomeDate") |
|
|
46
46
|
| [lpaQuestionnaireValidationDetails](#lpaquestionnairevalidationdetails) | `array` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-lpaquestionnairevalidationdetails.md "appeal-s78.schema.json#/properties/lpaQuestionnaireValidationDetails") |
|
|
47
47
|
| [lpaStatement](#lpastatement) | `string` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-lpastatement.md "appeal-s78.schema.json#/properties/lpaStatement") |
|
|
48
|
+
| [listOfDocumentsBeforeDecision](#listofdocumentsbeforedecision) | `string` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-listofdocumentsbeforedecision.md "appeal-s78.schema.json#/properties/listOfDocumentsBeforeDecision") |
|
|
48
49
|
| [caseWithdrawnDate](#casewithdrawndate) | `string` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-casewithdrawndate.md "appeal-s78.schema.json#/properties/caseWithdrawnDate") |
|
|
49
50
|
| [caseTransferredDate](#casetransferreddate) | `string` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-casetransferreddate.md "appeal-s78.schema.json#/properties/caseTransferredDate") |
|
|
50
51
|
| [transferredCaseClosedDate](#transferredcasecloseddate) | `string` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-transferredcasecloseddate.md "appeal-s78.schema.json#/properties/transferredCaseClosedDate") |
|
|
@@ -1171,6 +1172,24 @@ A statement provided by the LPA
|
|
|
1171
1172
|
"We refused the application because of ..."
|
|
1172
1173
|
```
|
|
1173
1174
|
|
|
1175
|
+
## listOfDocumentsBeforeDecision
|
|
1176
|
+
|
|
1177
|
+
Free text response from LPA listing documents used to drive their decision
|
|
1178
|
+
|
|
1179
|
+
`listOfDocumentsBeforeDecision`
|
|
1180
|
+
|
|
1181
|
+
* is required
|
|
1182
|
+
|
|
1183
|
+
* Type: `string`
|
|
1184
|
+
|
|
1185
|
+
* can be null
|
|
1186
|
+
|
|
1187
|
+
* defined in: [Appeal S78 Case](appeal-s78-properties-listofdocumentsbeforedecision.md "appeal-s78.schema.json#/properties/listOfDocumentsBeforeDecision")
|
|
1188
|
+
|
|
1189
|
+
### listOfDocumentsBeforeDecision Type
|
|
1190
|
+
|
|
1191
|
+
`string`
|
|
1192
|
+
|
|
1174
1193
|
## caseWithdrawnDate
|
|
1175
1194
|
|
|
1176
1195
|
The date the appeal was withdrawn by the appellant
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# generated by datamodel-codegen:
|
|
2
2
|
# filename: appeal-document.schema.json
|
|
3
|
-
# timestamp: 2026-04-
|
|
3
|
+
# timestamp: 2026-04-29T07:10:32+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -150,8 +150,10 @@ class DocumentType(Enum):
|
|
|
150
150
|
groundJSupporting = "groundJSupporting"
|
|
151
151
|
groundKSupporting = "groundKSupporting"
|
|
152
152
|
discontinuanceNotice = "discontinuanceNotice"
|
|
153
|
-
otherSupportingInformationAppellant = "otherSupportingInformationAppellant"
|
|
154
153
|
eiaEnvironmentalStatementAppellant = "eiaEnvironmentalStatementAppellant"
|
|
154
|
+
designAccessStatementLPA = "designAccessStatementLPA"
|
|
155
|
+
plansDrawingsLPA = "plansDrawingsLPA"
|
|
156
|
+
additionalDocumentsLPA = "additionalDocumentsLPA"
|
|
155
157
|
NoneType_None = None
|
|
156
158
|
|
|
157
159
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# generated by datamodel-codegen:
|
|
2
2
|
# filename: appeal-s78.schema.json
|
|
3
|
-
# timestamp: 2026-04-
|
|
3
|
+
# timestamp: 2026-04-29T07:10:32+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -680,6 +680,10 @@ class AppealS78Case1(BaseModel):
|
|
|
680
680
|
"""
|
|
681
681
|
A statement provided by the LPA
|
|
682
682
|
"""
|
|
683
|
+
listOfDocumentsBeforeDecision: str | None = None
|
|
684
|
+
"""
|
|
685
|
+
Free text response from LPA listing documents used to drive their decision
|
|
686
|
+
"""
|
|
683
687
|
caseWithdrawnDate: AwareDatetime | None = Field(
|
|
684
688
|
..., examples=["2023-07-27T20:30:00.000Z"]
|
|
685
689
|
)
|
|
@@ -1439,6 +1443,10 @@ class AppealS78Case2(BaseModel):
|
|
|
1439
1443
|
"""
|
|
1440
1444
|
A statement provided by the LPA
|
|
1441
1445
|
"""
|
|
1446
|
+
listOfDocumentsBeforeDecision: str | None = None
|
|
1447
|
+
"""
|
|
1448
|
+
Free text response from LPA listing documents used to drive their decision
|
|
1449
|
+
"""
|
|
1442
1450
|
caseWithdrawnDate: AwareDatetime | None = Field(
|
|
1443
1451
|
..., examples=["2023-07-27T20:30:00.000Z"]
|
|
1444
1452
|
)
|
|
@@ -228,8 +228,10 @@
|
|
|
228
228
|
"groundJSupporting",
|
|
229
229
|
"groundKSupporting",
|
|
230
230
|
"discontinuanceNotice",
|
|
231
|
-
"otherSupportingInformationAppellant",
|
|
232
231
|
"eiaEnvironmentalStatementAppellant",
|
|
232
|
+
"designAccessStatementLPA",
|
|
233
|
+
"plansDrawingsLPA",
|
|
234
|
+
"additionalDocumentsLPA",
|
|
233
235
|
null
|
|
234
236
|
],
|
|
235
237
|
"description": "The type of document, used for exchange, migrations and consumption from the appeal back-office system"
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"lpaQuestionnaireValidationOutcomeDate",
|
|
39
39
|
"lpaQuestionnaireValidationDetails",
|
|
40
40
|
"lpaStatement",
|
|
41
|
+
"listOfDocumentsBeforeDecision",
|
|
41
42
|
"caseWithdrawnDate",
|
|
42
43
|
"caseTransferredDate",
|
|
43
44
|
"transferredCaseClosedDate",
|
|
@@ -408,6 +409,10 @@
|
|
|
408
409
|
"description": "A statement provided by the LPA",
|
|
409
410
|
"$comment": "Also available on HAS cases"
|
|
410
411
|
},
|
|
412
|
+
"listOfDocumentsBeforeDecision": {
|
|
413
|
+
"type": ["string", "null"],
|
|
414
|
+
"description": "Free text response from LPA listing documents used to drive their decision"
|
|
415
|
+
},
|
|
411
416
|
"caseWithdrawnDate": {
|
|
412
417
|
"type": ["string", "null"],
|
|
413
418
|
"format": "date-time",
|
|
@@ -48,6 +48,27 @@
|
|
|
48
48
|
"hasSupplementaryPlanningDocs": {
|
|
49
49
|
"type": ["boolean", "null"],
|
|
50
50
|
"description": "Indicates supplementary planning documents"
|
|
51
|
+
},
|
|
52
|
+
"listOfDocumentsBeforeDecision": {
|
|
53
|
+
"type": ["string", "null"],
|
|
54
|
+
"description": "Free text response from LPA listing documents used to drive their decision"
|
|
55
|
+
},
|
|
56
|
+
"significantChangesAffectingApplicationLpa": {
|
|
57
|
+
"type": ["array", "null"],
|
|
58
|
+
"items": {
|
|
59
|
+
"type": "object",
|
|
60
|
+
"properties": {
|
|
61
|
+
"value": {
|
|
62
|
+
"type": ["string", "null"],
|
|
63
|
+
"enum": ["adopted-a-new-local-plan", "national-policy-change", "court-judgement", "other", null]
|
|
64
|
+
},
|
|
65
|
+
"comment": {
|
|
66
|
+
"type": ["string", "null"]
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"required": ["value"]
|
|
70
|
+
},
|
|
71
|
+
"description": "Significant changes affecting the application as reported by the LPA (Expedited Appeals)"
|
|
51
72
|
}
|
|
52
73
|
}
|
|
53
74
|
}
|
|
@@ -169,8 +169,7 @@
|
|
|
169
169
|
"groundAFeeReceipt",
|
|
170
170
|
null,
|
|
171
171
|
"environmentalAssessment",
|
|
172
|
-
"eiaEnvironmentalStatementAppellant"
|
|
173
|
-
"otherSupportingInformationAppellant"
|
|
172
|
+
"eiaEnvironmentalStatementAppellant"
|
|
174
173
|
],
|
|
175
174
|
"description": "The type of document, used for exchange, migrations and consumption from the appeal back-office system"
|
|
176
175
|
}
|
|
@@ -196,7 +196,10 @@
|
|
|
196
196
|
"lpaEnforcementNoticePlan",
|
|
197
197
|
"planningContraventionNotice",
|
|
198
198
|
"relatedApplications",
|
|
199
|
-
"otherRelevantMatters"
|
|
199
|
+
"otherRelevantMatters",
|
|
200
|
+
"designAccessStatementLPA",
|
|
201
|
+
"plansDrawingsLPA",
|
|
202
|
+
"additionalDocumentsLPA"
|
|
200
203
|
],
|
|
201
204
|
"description": "The type of document, used for exchange, migrations and consumption from the appeal back-office system"
|
|
202
205
|
}
|
package/src/enums.cjs
CHANGED
|
@@ -184,6 +184,7 @@ const APPEAL_DISCONTINUANCE_NOTICE_SERVED_REASON = Object.freeze({
|
|
|
184
184
|
});
|
|
185
185
|
|
|
186
186
|
const APPEAL_DOCUMENT_TYPE = Object.freeze({
|
|
187
|
+
ADDITIONAL_DOCUMENTS_LPA: 'additionalDocumentsLPA',
|
|
187
188
|
APPEAL_NOTIFICATION: 'appealNotification',
|
|
188
189
|
APPELLANT_CASE_CORRESPONDENCE: 'appellantCaseCorrespondence',
|
|
189
190
|
APPELLANT_CASE_WITHDRAWAL_LETTER: 'appellantCaseWithdrawalLetter',
|
|
@@ -208,6 +209,7 @@ const APPEAL_DOCUMENT_TYPE = Object.freeze({
|
|
|
208
209
|
DEFINITIVE_MAP_STATEMENT: 'definitiveMapStatement',
|
|
209
210
|
DELEGATED_REPORT: 'delegatedReport',
|
|
210
211
|
DESIGN_ACCESS_STATEMENT: 'designAccessStatement',
|
|
212
|
+
DESIGN_ACCESS_STATEMENT_LPA: 'designAccessStatementLPA',
|
|
211
213
|
DEVELOPMENT_PLAN_POLICIES: 'developmentPlanPolicies',
|
|
212
214
|
DISCONTINUANCE_NOTICE: 'discontinuanceNotice',
|
|
213
215
|
EIA_ENVIRONMENTAL_STATEMENT: 'eiaEnvironmentalStatement',
|
|
@@ -255,7 +257,6 @@ const APPEAL_DOCUMENT_TYPE = Object.freeze({
|
|
|
255
257
|
OTHER_PARTY_REPRESENTATIONS: 'otherPartyRepresentations',
|
|
256
258
|
OTHER_RELEVANT_MATTERS: 'otherRelevantMatters',
|
|
257
259
|
OTHER_RELEVANT_POLICIES: 'otherRelevantPolicies',
|
|
258
|
-
OTHER_SUPPORTING_INFORMATION_APPELLANT: 'otherSupportingInformationAppellant',
|
|
259
260
|
OWNERSHIP_CERTIFICATE: 'ownershipCertificate',
|
|
260
261
|
PLAN_SHOWING_EXTENT_OF_ORDER: 'planShowingExtentOfOrder',
|
|
261
262
|
PLANNING_CONTRAVENTION_NOTICE: 'planningContraventionNotice',
|
|
@@ -263,6 +264,7 @@ const APPEAL_DOCUMENT_TYPE = Object.freeze({
|
|
|
263
264
|
PLANNING_OFFICER_REPORT: 'planningOfficerReport',
|
|
264
265
|
PLANNING_PERMISSION: 'planningPermission',
|
|
265
266
|
PLANS_DRAWINGS: 'plansDrawings',
|
|
267
|
+
PLANS_DRAWINGS_LPA: 'plansDrawingsLPA',
|
|
266
268
|
PRIOR_CORRESPONDENCE_WITH_PINS: 'priorCorrespondenceWithPINS',
|
|
267
269
|
RELATED_APPLICATIONS: 'relatedApplications',
|
|
268
270
|
RULE_6_PROOF_OF_EVIDENCE: 'rule6ProofOfEvidence',
|
package/src/enums.d.ts
CHANGED
|
@@ -182,6 +182,7 @@ export const APPEAL_DISCONTINUANCE_NOTICE_SERVED_REASON = {
|
|
|
182
182
|
} as const;
|
|
183
183
|
|
|
184
184
|
export const APPEAL_DOCUMENT_TYPE = {
|
|
185
|
+
ADDITIONAL_DOCUMENTS_LPA: 'additionalDocumentsLPA',
|
|
185
186
|
APPEAL_NOTIFICATION: 'appealNotification',
|
|
186
187
|
APPELLANT_CASE_CORRESPONDENCE: 'appellantCaseCorrespondence',
|
|
187
188
|
APPELLANT_CASE_WITHDRAWAL_LETTER: 'appellantCaseWithdrawalLetter',
|
|
@@ -206,6 +207,7 @@ export const APPEAL_DOCUMENT_TYPE = {
|
|
|
206
207
|
DEFINITIVE_MAP_STATEMENT: 'definitiveMapStatement',
|
|
207
208
|
DELEGATED_REPORT: 'delegatedReport',
|
|
208
209
|
DESIGN_ACCESS_STATEMENT: 'designAccessStatement',
|
|
210
|
+
DESIGN_ACCESS_STATEMENT_LPA: 'designAccessStatementLPA',
|
|
209
211
|
DEVELOPMENT_PLAN_POLICIES: 'developmentPlanPolicies',
|
|
210
212
|
DISCONTINUANCE_NOTICE: 'discontinuanceNotice',
|
|
211
213
|
EIA_ENVIRONMENTAL_STATEMENT: 'eiaEnvironmentalStatement',
|
|
@@ -253,7 +255,6 @@ export const APPEAL_DOCUMENT_TYPE = {
|
|
|
253
255
|
OTHER_PARTY_REPRESENTATIONS: 'otherPartyRepresentations',
|
|
254
256
|
OTHER_RELEVANT_MATTERS: 'otherRelevantMatters',
|
|
255
257
|
OTHER_RELEVANT_POLICIES: 'otherRelevantPolicies',
|
|
256
|
-
OTHER_SUPPORTING_INFORMATION_APPELLANT: 'otherSupportingInformationAppellant',
|
|
257
258
|
OWNERSHIP_CERTIFICATE: 'ownershipCertificate',
|
|
258
259
|
PLAN_SHOWING_EXTENT_OF_ORDER: 'planShowingExtentOfOrder',
|
|
259
260
|
PLANNING_CONTRAVENTION_NOTICE: 'planningContraventionNotice',
|
|
@@ -261,6 +262,7 @@ export const APPEAL_DOCUMENT_TYPE = {
|
|
|
261
262
|
PLANNING_OFFICER_REPORT: 'planningOfficerReport',
|
|
262
263
|
PLANNING_PERMISSION: 'planningPermission',
|
|
263
264
|
PLANS_DRAWINGS: 'plansDrawings',
|
|
265
|
+
PLANS_DRAWINGS_LPA: 'plansDrawingsLPA',
|
|
264
266
|
PRIOR_CORRESPONDENCE_WITH_PINS: 'priorCorrespondenceWithPINS',
|
|
265
267
|
RELATED_APPLICATIONS: 'relatedApplications',
|
|
266
268
|
RULE_6_PROOF_OF_EVIDENCE: 'rule6ProofOfEvidence',
|
package/src/enums.js
CHANGED
|
@@ -182,6 +182,7 @@ export const APPEAL_DISCONTINUANCE_NOTICE_SERVED_REASON = Object.freeze({
|
|
|
182
182
|
});
|
|
183
183
|
|
|
184
184
|
export const APPEAL_DOCUMENT_TYPE = Object.freeze({
|
|
185
|
+
ADDITIONAL_DOCUMENTS_LPA: 'additionalDocumentsLPA',
|
|
185
186
|
APPEAL_NOTIFICATION: 'appealNotification',
|
|
186
187
|
APPELLANT_CASE_CORRESPONDENCE: 'appellantCaseCorrespondence',
|
|
187
188
|
APPELLANT_CASE_WITHDRAWAL_LETTER: 'appellantCaseWithdrawalLetter',
|
|
@@ -206,6 +207,7 @@ export const APPEAL_DOCUMENT_TYPE = Object.freeze({
|
|
|
206
207
|
DEFINITIVE_MAP_STATEMENT: 'definitiveMapStatement',
|
|
207
208
|
DELEGATED_REPORT: 'delegatedReport',
|
|
208
209
|
DESIGN_ACCESS_STATEMENT: 'designAccessStatement',
|
|
210
|
+
DESIGN_ACCESS_STATEMENT_LPA: 'designAccessStatementLPA',
|
|
209
211
|
DEVELOPMENT_PLAN_POLICIES: 'developmentPlanPolicies',
|
|
210
212
|
DISCONTINUANCE_NOTICE: 'discontinuanceNotice',
|
|
211
213
|
EIA_ENVIRONMENTAL_STATEMENT: 'eiaEnvironmentalStatement',
|
|
@@ -253,7 +255,6 @@ export const APPEAL_DOCUMENT_TYPE = Object.freeze({
|
|
|
253
255
|
OTHER_PARTY_REPRESENTATIONS: 'otherPartyRepresentations',
|
|
254
256
|
OTHER_RELEVANT_MATTERS: 'otherRelevantMatters',
|
|
255
257
|
OTHER_RELEVANT_POLICIES: 'otherRelevantPolicies',
|
|
256
|
-
OTHER_SUPPORTING_INFORMATION_APPELLANT: 'otherSupportingInformationAppellant',
|
|
257
258
|
OWNERSHIP_CERTIFICATE: 'ownershipCertificate',
|
|
258
259
|
PLAN_SHOWING_EXTENT_OF_ORDER: 'planShowingExtentOfOrder',
|
|
259
260
|
PLANNING_CONTRAVENTION_NOTICE: 'planningContraventionNotice',
|
|
@@ -261,6 +262,7 @@ export const APPEAL_DOCUMENT_TYPE = Object.freeze({
|
|
|
261
262
|
PLANNING_OFFICER_REPORT: 'planningOfficerReport',
|
|
262
263
|
PLANNING_PERMISSION: 'planningPermission',
|
|
263
264
|
PLANS_DRAWINGS: 'plansDrawings',
|
|
265
|
+
PLANS_DRAWINGS_LPA: 'plansDrawingsLPA',
|
|
264
266
|
PRIOR_CORRESPONDENCE_WITH_PINS: 'priorCorrespondenceWithPINS',
|
|
265
267
|
RELATED_APPLICATIONS: 'relatedApplications',
|
|
266
268
|
RULE_6_PROOF_OF_EVIDENCE: 'rule6ProofOfEvidence',
|
package/src/index.cjs
CHANGED
|
@@ -265,6 +265,7 @@ const APPEAL_DISCONTINUANCE_NOTICE_SERVED_REASON = Object.freeze({
|
|
|
265
265
|
});
|
|
266
266
|
|
|
267
267
|
const APPEAL_DOCUMENT_TYPE = Object.freeze({
|
|
268
|
+
ADDITIONAL_DOCUMENTS_LPA: 'additionalDocumentsLPA',
|
|
268
269
|
APPEAL_NOTIFICATION: 'appealNotification',
|
|
269
270
|
APPELLANT_CASE_CORRESPONDENCE: 'appellantCaseCorrespondence',
|
|
270
271
|
APPELLANT_CASE_WITHDRAWAL_LETTER: 'appellantCaseWithdrawalLetter',
|
|
@@ -289,6 +290,7 @@ const APPEAL_DOCUMENT_TYPE = Object.freeze({
|
|
|
289
290
|
DEFINITIVE_MAP_STATEMENT: 'definitiveMapStatement',
|
|
290
291
|
DELEGATED_REPORT: 'delegatedReport',
|
|
291
292
|
DESIGN_ACCESS_STATEMENT: 'designAccessStatement',
|
|
293
|
+
DESIGN_ACCESS_STATEMENT_LPA: 'designAccessStatementLPA',
|
|
292
294
|
DEVELOPMENT_PLAN_POLICIES: 'developmentPlanPolicies',
|
|
293
295
|
DISCONTINUANCE_NOTICE: 'discontinuanceNotice',
|
|
294
296
|
EIA_ENVIRONMENTAL_STATEMENT: 'eiaEnvironmentalStatement',
|
|
@@ -336,7 +338,6 @@ const APPEAL_DOCUMENT_TYPE = Object.freeze({
|
|
|
336
338
|
OTHER_PARTY_REPRESENTATIONS: 'otherPartyRepresentations',
|
|
337
339
|
OTHER_RELEVANT_MATTERS: 'otherRelevantMatters',
|
|
338
340
|
OTHER_RELEVANT_POLICIES: 'otherRelevantPolicies',
|
|
339
|
-
OTHER_SUPPORTING_INFORMATION_APPELLANT: 'otherSupportingInformationAppellant',
|
|
340
341
|
OWNERSHIP_CERTIFICATE: 'ownershipCertificate',
|
|
341
342
|
PLAN_SHOWING_EXTENT_OF_ORDER: 'planShowingExtentOfOrder',
|
|
342
343
|
PLANNING_CONTRAVENTION_NOTICE: 'planningContraventionNotice',
|
|
@@ -344,6 +345,7 @@ const APPEAL_DOCUMENT_TYPE = Object.freeze({
|
|
|
344
345
|
PLANNING_OFFICER_REPORT: 'planningOfficerReport',
|
|
345
346
|
PLANNING_PERMISSION: 'planningPermission',
|
|
346
347
|
PLANS_DRAWINGS: 'plansDrawings',
|
|
348
|
+
PLANS_DRAWINGS_LPA: 'plansDrawingsLPA',
|
|
347
349
|
PRIOR_CORRESPONDENCE_WITH_PINS: 'priorCorrespondenceWithPINS',
|
|
348
350
|
RELATED_APPLICATIONS: 'relatedApplications',
|
|
349
351
|
RULE_6_PROOF_OF_EVIDENCE: 'rule6ProofOfEvidence',
|
package/src/schemas.d.ts
CHANGED
|
@@ -176,8 +176,10 @@ export interface AppealDocument {
|
|
|
176
176
|
| 'groundJSupporting'
|
|
177
177
|
| 'groundKSupporting'
|
|
178
178
|
| 'discontinuanceNotice'
|
|
179
|
-
| 'otherSupportingInformationAppellant'
|
|
180
179
|
| 'eiaEnvironmentalStatementAppellant'
|
|
180
|
+
| 'designAccessStatementLPA'
|
|
181
|
+
| 'plansDrawingsLPA'
|
|
182
|
+
| 'additionalDocumentsLPA'
|
|
181
183
|
| null;
|
|
182
184
|
/**
|
|
183
185
|
* The system mastering the metadata for the current document
|
|
@@ -1084,6 +1086,10 @@ export type AppealS78Case = (GridReference | SiteAddress) & {
|
|
|
1084
1086
|
* A statement provided by the LPA
|
|
1085
1087
|
*/
|
|
1086
1088
|
lpaStatement: string | null;
|
|
1089
|
+
/**
|
|
1090
|
+
* Free text response from LPA listing documents used to drive their decision
|
|
1091
|
+
*/
|
|
1092
|
+
listOfDocumentsBeforeDecision: string | null;
|
|
1087
1093
|
/**
|
|
1088
1094
|
* The date the appeal was withdrawn by the appellant
|
|
1089
1095
|
*/
|
|
@@ -3916,8 +3922,7 @@ export interface AppellantSubmissionCommand {
|
|
|
3916
3922
|
| 'groundAFeeReceipt'
|
|
3917
3923
|
| null
|
|
3918
3924
|
| 'environmentalAssessment'
|
|
3919
|
-
| 'eiaEnvironmentalStatementAppellant'
|
|
3920
|
-
| 'otherSupportingInformationAppellant';
|
|
3925
|
+
| 'eiaEnvironmentalStatementAppellant';
|
|
3921
3926
|
[k: string]: unknown;
|
|
3922
3927
|
}[];
|
|
3923
3928
|
/**
|
|
@@ -4478,6 +4483,19 @@ export type LPAQS78SubmissionProperties = {
|
|
|
4478
4483
|
* Indicates supplementary planning documents
|
|
4479
4484
|
*/
|
|
4480
4485
|
hasSupplementaryPlanningDocs?: boolean | null;
|
|
4486
|
+
/**
|
|
4487
|
+
* Free text response from LPA listing documents used to drive their decision
|
|
4488
|
+
*/
|
|
4489
|
+
listOfDocumentsBeforeDecision?: string | null;
|
|
4490
|
+
/**
|
|
4491
|
+
* Significant changes affecting the application as reported by the LPA (Expedited Appeals)
|
|
4492
|
+
*/
|
|
4493
|
+
significantChangesAffectingApplicationLpa?:
|
|
4494
|
+
| {
|
|
4495
|
+
value: 'adopted-a-new-local-plan' | 'national-policy-change' | 'court-judgement' | 'other' | null;
|
|
4496
|
+
comment?: string | null;
|
|
4497
|
+
}[]
|
|
4498
|
+
| null;
|
|
4481
4499
|
};
|
|
4482
4500
|
/**
|
|
4483
4501
|
* Schema defining LPA procedure preference properties
|
|
@@ -4850,7 +4868,10 @@ export interface LPAQuestionnaireCommand {
|
|
|
4850
4868
|
| 'lpaEnforcementNoticePlan'
|
|
4851
4869
|
| 'planningContraventionNotice'
|
|
4852
4870
|
| 'relatedApplications'
|
|
4853
|
-
| 'otherRelevantMatters'
|
|
4871
|
+
| 'otherRelevantMatters'
|
|
4872
|
+
| 'designAccessStatementLPA'
|
|
4873
|
+
| 'plansDrawingsLPA'
|
|
4874
|
+
| 'additionalDocumentsLPA';
|
|
4854
4875
|
[k: string]: unknown;
|
|
4855
4876
|
}[];
|
|
4856
4877
|
[k: string]: unknown;
|
|
@@ -40,6 +40,7 @@ const appealS78 = {
|
|
|
40
40
|
lpaQuestionnaireValidationOutcomeDate: null,
|
|
41
41
|
lpaQuestionnaireValidationDetails: ['cupidatat dolore in', 'officia in nostrud non', 'eu amet velit labore aute'],
|
|
42
42
|
lpaStatement: 'ipsum consectetur labore pariatur',
|
|
43
|
+
listOfDocumentsBeforeDecision: null,
|
|
43
44
|
caseWithdrawnDate: '1941-07-27T04:17:40.0Z',
|
|
44
45
|
caseTransferredDate: null,
|
|
45
46
|
transferredCaseClosedDate: null,
|
|
@@ -40,6 +40,7 @@ const expeditedAppealPayload = {
|
|
|
40
40
|
lpaQuestionnaireValidationOutcomeDate: '2024-01-10T12:00:00.000Z',
|
|
41
41
|
lpaQuestionnaireValidationDetails: null,
|
|
42
42
|
lpaStatement: 'LPA Statement content',
|
|
43
|
+
listOfDocumentsBeforeDecision: null,
|
|
43
44
|
caseWithdrawnDate: null,
|
|
44
45
|
caseTransferredDate: null,
|
|
45
46
|
transferredCaseClosedDate: null,
|
|
@@ -211,7 +212,7 @@ describe('Expedited S78 Appeals', () => {
|
|
|
211
212
|
lastModified: '2024-01-01T12:00:00.000Z',
|
|
212
213
|
caseType: 'S',
|
|
213
214
|
redactedStatus: 'not_redacted',
|
|
214
|
-
documentType: '
|
|
215
|
+
documentType: 'eiaEnvironmentalStatementAppellant', // New type
|
|
215
216
|
sourceSystem: 'back-office-appeals',
|
|
216
217
|
origin: 'citizen',
|
|
217
218
|
owner: 'appellant',
|
|
@@ -223,9 +224,5 @@ describe('Expedited S78 Appeals', () => {
|
|
|
223
224
|
|
|
224
225
|
const validationResult1 = ajv.validate(docSchema, testDoc);
|
|
225
226
|
assert.strictEqual(validationResult1, true);
|
|
226
|
-
|
|
227
|
-
testDoc.documentType = 'eiaEnvironmentalStatementAppellant'; // New type
|
|
228
|
-
const validationResult2 = ajv.validate(docSchema, testDoc);
|
|
229
|
-
assert.strictEqual(validationResult2, true);
|
|
230
227
|
});
|
|
231
228
|
});
|