@planning-inspectorate/data-model 2.31.1 → 2.31.3
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-s78-definitions-significantchangesaffectingapplication.md +1 -0
- package/package.json +1 -1
- package/pins_data_model/models/model_appeal_document.py +1 -1
- 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 +2 -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-s78.schema.json +6 -4
- package/src/schemas.d.ts +2 -7
package/package.json
CHANGED
|
@@ -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-15T12:58:37+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -501,6 +501,7 @@ class SignificantChangesAffectingApplication(Enum):
|
|
|
501
501
|
national_policy_change = "national-policy-change"
|
|
502
502
|
court_judgement = "court-judgement"
|
|
503
503
|
other = "other"
|
|
504
|
+
NoneType_None = None
|
|
504
505
|
|
|
505
506
|
|
|
506
507
|
class SignificantChangesAffectingApplicationAppellantItem(BaseModel):
|
|
@@ -1363,7 +1363,8 @@
|
|
|
1363
1363
|
"type": "object",
|
|
1364
1364
|
"properties": {
|
|
1365
1365
|
"value": {
|
|
1366
|
-
"$ref": "#/definitions/SignificantChangesAffectingApplication"
|
|
1366
|
+
"$ref": "#/definitions/SignificantChangesAffectingApplication",
|
|
1367
|
+
"type": ["string", "null"]
|
|
1367
1368
|
},
|
|
1368
1369
|
"comment": {
|
|
1369
1370
|
"type": ["string", "null"]
|
|
@@ -1379,7 +1380,8 @@
|
|
|
1379
1380
|
"type": "object",
|
|
1380
1381
|
"properties": {
|
|
1381
1382
|
"value": {
|
|
1382
|
-
"$ref": "#/definitions/SignificantChangesAffectingApplication"
|
|
1383
|
+
"$ref": "#/definitions/SignificantChangesAffectingApplication",
|
|
1384
|
+
"type": ["string", "null"]
|
|
1383
1385
|
},
|
|
1384
1386
|
"comment": {
|
|
1385
1387
|
"type": ["string", "null"]
|
|
@@ -1392,8 +1394,8 @@
|
|
|
1392
1394
|
},
|
|
1393
1395
|
"definitions": {
|
|
1394
1396
|
"SignificantChangesAffectingApplication": {
|
|
1395
|
-
"type": "string",
|
|
1396
|
-
"enum": ["adopted-a-new-local-plan", "national-policy-change", "court-judgement", "other"]
|
|
1397
|
+
"type": ["string", "null"],
|
|
1398
|
+
"enum": ["adopted-a-new-local-plan", "national-policy-change", "court-judgement", "other", null]
|
|
1397
1399
|
}
|
|
1398
1400
|
}
|
|
1399
1401
|
}
|
package/src/schemas.d.ts
CHANGED
|
@@ -1718,7 +1718,7 @@ export type AppealS78Case = (GridReference | SiteAddress) & {
|
|
|
1718
1718
|
*/
|
|
1719
1719
|
significantChangesAffectingApplicationAppellant?:
|
|
1720
1720
|
| {
|
|
1721
|
-
value:
|
|
1721
|
+
value: 'adopted-a-new-local-plan' | 'national-policy-change' | 'court-judgement' | 'other' | null;
|
|
1722
1722
|
comment?: string | null;
|
|
1723
1723
|
}[]
|
|
1724
1724
|
| null;
|
|
@@ -1727,17 +1727,12 @@ export type AppealS78Case = (GridReference | SiteAddress) & {
|
|
|
1727
1727
|
*/
|
|
1728
1728
|
significantChangesAffectingApplicationLpa?:
|
|
1729
1729
|
| {
|
|
1730
|
-
value:
|
|
1730
|
+
value: 'adopted-a-new-local-plan' | 'national-policy-change' | 'court-judgement' | 'other' | null;
|
|
1731
1731
|
comment?: string | null;
|
|
1732
1732
|
}[]
|
|
1733
1733
|
| null;
|
|
1734
1734
|
[k: string]: unknown;
|
|
1735
1735
|
};
|
|
1736
|
-
export type SignificantChangesAffectingApplication =
|
|
1737
|
-
| 'adopted-a-new-local-plan'
|
|
1738
|
-
| 'national-policy-change'
|
|
1739
|
-
| 'court-judgement'
|
|
1740
|
-
| 'other';
|
|
1741
1736
|
|
|
1742
1737
|
export interface GridReference {
|
|
1743
1738
|
siteGridReferenceEasting: string;
|