@planning-inspectorate/data-model 2.3.1 → 2.4.1

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/schemas.d.ts CHANGED
@@ -802,7 +802,7 @@ export type AppealHASCase = (
802
802
  /**
803
803
  * padsSapId for PADS inspectors
804
804
  */
805
- padsSapId: string | null;
805
+ padsSapId?: string | null;
806
806
  [k: string]: unknown;
807
807
  };
808
808
 
@@ -1078,7 +1078,16 @@ export type AppealS78Case = (
1078
1078
  /**
1079
1079
  * The final outcome for the decision
1080
1080
  */
1081
- caseDecisionOutcome: 'allowed' | 'split_decision' | 'dismissed' | 'invalid' | null;
1081
+ caseDecisionOutcome:
1082
+ | 'allowed'
1083
+ | 'split_decision'
1084
+ | 'dismissed'
1085
+ | 'invalid'
1086
+ | 'notice_upheld'
1087
+ | 'planning_permission_granted'
1088
+ | 'quashed_on_legal_grounds'
1089
+ | 'notice_varied_and_upheld'
1090
+ | null;
1082
1091
  /**
1083
1092
  * The date the appeal decision letter
1084
1093
  */
@@ -1414,6 +1423,7 @@ export type AppealS78Case = (
1414
1423
  originalCaseDecisionDate: string | null;
1415
1424
  targetDate: string | null;
1416
1425
  appellantCommentsSubmittedDate: string | null;
1426
+ appellantStatementDueDate?: string | null;
1417
1427
  appellantStatementSubmittedDate: string | null;
1418
1428
  appellantProofsSubmittedDate: string | null;
1419
1429
  finalCommentsDueDate: string | null;
@@ -1512,7 +1522,91 @@ export type AppealS78Case = (
1512
1522
  /**
1513
1523
  * padsSapId for PADS inspectors
1514
1524
  */
1515
- padsSapId: string | null;
1525
+ padsSapId?: string | null;
1526
+ /**
1527
+ * The nature of the appellant's interest in the appeal site
1528
+ */
1529
+ ownerOccupancyStatus?: string | null;
1530
+ /**
1531
+ * Does the appellant meet the criteria in relation to their interest in the site
1532
+ */
1533
+ occupancyConditionsMet?: boolean | null;
1534
+ /**
1535
+ * A list of grounds for the appeal, supporting facts & start dates. Enforcement cases (C) can have grounds (a) to (g)
1536
+ */
1537
+ enforcementAppealGroundsDetails?:
1538
+ | {
1539
+ appealGroundLetter?: 'a' | 'b' | 'c' | 'd' | 'e' | 'f' | 'g' | null;
1540
+ groundForAppealStartDate?: string | null;
1541
+ /**
1542
+ * Facts supporting the appeal ground
1543
+ */
1544
+ groundFacts?: string | null;
1545
+ [k: string]: unknown;
1546
+ }[]
1547
+ | null;
1548
+ /**
1549
+ * Was an application made and paid for
1550
+ */
1551
+ applicationMadeAndFeePaid?: boolean | null;
1552
+ noticeRelatesToBuildingEngineeringMiningOther?: boolean | null;
1553
+ changeOfUseRefuseOrWaste?: boolean | null;
1554
+ changeOfUseMineralExtraction?: boolean | null;
1555
+ changeOfUseMineralStorage?: boolean | null;
1556
+ relatesToErectionOfBuildingOrBuildings?: boolean | null;
1557
+ relatesToBuildingWithAgriculturalPurpose?: boolean | null;
1558
+ relatesToBuildingSingleDwellingHouse?: boolean | null;
1559
+ /**
1560
+ * Was planning permission granted in relation to a prior application
1561
+ */
1562
+ previousPlanningPermissionGranted?: boolean | null;
1563
+ /**
1564
+ * The date on which an enforcement notice was issued
1565
+ */
1566
+ issueDateOfEnforcementNotice?: string | null;
1567
+ /**
1568
+ * The effective date of an enforcement notice
1569
+ */
1570
+ effectiveDateOfEnforcementNotice?: string | null;
1571
+ /**
1572
+ * Did the appellant appeal the decision made
1573
+ */
1574
+ didAppellantAppealLpaDecision?: boolean | null;
1575
+ /**
1576
+ * Date on which LPA decision in relation to application is due
1577
+ */
1578
+ dateLpaDecisionDue?: string | null;
1579
+ /**
1580
+ * Date on which LPA decision in relation to application was received
1581
+ */
1582
+ dateLpaDecisionReceived?: string | null;
1583
+ areaOfAllegedBreachInSquareMetres?: number | null;
1584
+ doesAllegedBreachCreateFloorSpace?: boolean | null;
1585
+ floorSpaceCreatedByBreachInSquareMetres?: number | null;
1586
+ /**
1587
+ * Did the application relate to all or part of the development
1588
+ */
1589
+ applicationPartOrWholeDevelopment?: 'all-of-the-development' | 'part-of-the-development' | null;
1590
+ hasPcnBeenServed?: boolean | null;
1591
+ isSiteWithin67MOfTrunkRd?: boolean | null;
1592
+ /**
1593
+ * Name of trunk road within 67M of site
1594
+ */
1595
+ affectedTrunkRoadName?: string | null;
1596
+ isSiteOnCrownLand?: boolean | null;
1597
+ stopNoticeExists?: boolean | null;
1598
+ isSiteWithin400MOfMineralInterest?: boolean | null;
1599
+ isSiteWithin250MOfLandfill?: boolean | null;
1600
+ hasDevelopmentInvolvedWasteImportation?: boolean | null;
1601
+ isSiteSubjectToArticle4Direction?: boolean | null;
1602
+ /**
1603
+ * What permitted development rights are affected by the Article 4 Direction
1604
+ */
1605
+ article4AffectedDevelopmentRights?: string | null;
1606
+ /**
1607
+ * Have any development rights been restricted by means of a planning condition?
1608
+ */
1609
+ pcnRestrictedDevelopmentRights?: boolean | null;
1516
1610
  [k: string]: unknown;
1517
1611
  };
1518
1612