@planning-inspectorate/data-model 2.4.0 → 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.
@@ -115,7 +115,7 @@ any of
115
115
  | [didAppellantSubmitCompletePhotosAndPlans](#didappellantsubmitcompletephotosandplans) | `boolean` | Optional | can be null | [Appeal HAS Case](appeal-has-properties-didappellantsubmitcompletephotosandplans.md "appeal-has.schema.json#/properties/didAppellantSubmitCompletePhotosAndPlans") |
116
116
  | [isSiteInAreaOfSpecialControlAdverts](#issiteinareaofspecialcontroladverts) | `boolean` | Optional | can be null | [Appeal HAS Case](appeal-has-properties-issiteinareaofspecialcontroladverts.md "appeal-has.schema.json#/properties/isSiteInAreaOfSpecialControlAdverts") |
117
117
  | [advertDetails](#advertdetails) | `array` | Optional | can be null | [Appeal HAS Case](appeal-has-properties-advertdetails.md "appeal-has.schema.json#/properties/advertDetails") |
118
- | [padsSapId](#padssapid) | `string` | Required | can be null | [Appeal HAS Case](appeal-has-properties-padssapid.md "appeal-has.schema.json#/properties/padsSapId") |
118
+ | [padsSapId](#padssapid) | `string` | Optional | can be null | [Appeal HAS Case](appeal-has-properties-padssapid.md "appeal-has.schema.json#/properties/padsSapId") |
119
119
  | Additional Properties | Any | Optional | can be null | |
120
120
 
121
121
  ## caseId
@@ -2630,7 +2630,7 @@ padsSapId for PADS inspectors
2630
2630
 
2631
2631
  `padsSapId`
2632
2632
 
2633
- * is required
2633
+ * is optional
2634
2634
 
2635
2635
  * Type: `string`
2636
2636
 
@@ -155,7 +155,7 @@ any of
155
155
  | [didAppellantSubmitCompletePhotosAndPlans](#didappellantsubmitcompletephotosandplans) | `boolean` | Optional | can be null | [Appeal S78 Case](appeal-s78-properties-didappellantsubmitcompletephotosandplans.md "appeal-s78.schema.json#/properties/didAppellantSubmitCompletePhotosAndPlans") |
156
156
  | [isSiteInAreaOfSpecialControlAdverts](#issiteinareaofspecialcontroladverts) | `boolean` | Optional | can be null | [Appeal S78 Case](appeal-s78-properties-issiteinareaofspecialcontroladverts.md "appeal-s78.schema.json#/properties/isSiteInAreaOfSpecialControlAdverts") |
157
157
  | [advertDetails](#advertdetails) | `array` | Optional | can be null | [Appeal S78 Case](appeal-s78-properties-advertdetails.md "appeal-s78.schema.json#/properties/advertDetails") |
158
- | [padsSapId](#padssapid) | `string` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-padssapid.md "appeal-s78.schema.json#/properties/padsSapId") |
158
+ | [padsSapId](#padssapid) | `string` | Optional | can be null | [Appeal S78 Case](appeal-s78-properties-padssapid.md "appeal-s78.schema.json#/properties/padsSapId") |
159
159
  | [ownerOccupancyStatus](#owneroccupancystatus) | `string` | Optional | can be null | [Appeal S78 Case](appeal-s78-properties-owneroccupancystatus.md "appeal-s78.schema.json#/properties/ownerOccupancyStatus") |
160
160
  | [occupancyConditionsMet](#occupancyconditionsmet) | `boolean` | Optional | can be null | [Appeal S78 Case](appeal-s78-properties-occupancyconditionsmet.md "appeal-s78.schema.json#/properties/occupancyConditionsMet") |
161
161
  | [enforcementAppealGroundsDetails](#enforcementappealgroundsdetails) | `array` | Optional | can be null | [Appeal S78 Case](appeal-s78-properties-enforcementappealgroundsdetails.md "appeal-s78.schema.json#/properties/enforcementAppealGroundsDetails") |
@@ -3764,7 +3764,7 @@ padsSapId for PADS inspectors
3764
3764
 
3765
3765
  `padsSapId`
3766
3766
 
3767
- * is required
3767
+ * is optional
3768
3768
 
3769
3769
  * Type: `string`
3770
3770
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@planning-inspectorate/data-model",
3
- "version": "2.4.0",
3
+ "version": "2.4.1",
4
4
  "description": "JSON Schemas for the Planning Inspectorate's Data Model",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: appeal-has.schema.json
3
- # timestamp: 2025-12-09T12:06:41+00:00
3
+ # timestamp: 2025-12-15T10:41:08+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: appeal-s78.schema.json
3
- # timestamp: 2025-12-09T15:01:57+00:00
3
+ # timestamp: 2025-12-15T10:41:08+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -72,8 +72,7 @@
72
72
  "neighbouringSiteAddresses",
73
73
  "affectedListedBuildingNumbers",
74
74
  "appellantCostsAppliedFor",
75
- "lpaCostsAppliedFor",
76
- "padsSapId"
75
+ "lpaCostsAppliedFor"
77
76
  ],
78
77
  "anyOf": [
79
78
  {
@@ -130,8 +130,7 @@
130
130
  "numberOfResidencesNetChange",
131
131
  "siteViewableFromRoad",
132
132
  "siteWithinSSSI",
133
- "typeOfPlanningApplication",
134
- "padsSapId"
133
+ "typeOfPlanningApplication"
135
134
  ],
136
135
  "anyOf": [
137
136
  {
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
 
@@ -1522,7 +1522,7 @@ export type AppealS78Case = (
1522
1522
  /**
1523
1523
  * padsSapId for PADS inspectors
1524
1524
  */
1525
- padsSapId: string | null;
1525
+ padsSapId?: string | null;
1526
1526
  /**
1527
1527
  * The nature of the appellant's interest in the appeal site
1528
1528
  */