@planning-inspectorate/data-model 2.10.1 → 2.10.2

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.
Files changed (28) hide show
  1. package/docs/appeal-s78.md +1 -0
  2. package/package.json +1 -1
  3. package/pins_data_model/models/model_appeal_document.py +1 -1
  4. package/pins_data_model/models/model_appeal_event.py +1 -1
  5. package/pins_data_model/models/model_appeal_event_estimate.py +1 -1
  6. package/pins_data_model/models/model_appeal_has.py +1 -1
  7. package/pins_data_model/models/model_appeal_representation.py +1 -1
  8. package/pins_data_model/models/model_appeal_s78.py +2 -1
  9. package/pins_data_model/models/model_dart_response.py +1 -1
  10. package/pins_data_model/models/model_entraid.py +1 -1
  11. package/pins_data_model/models/model_folder.py +1 -1
  12. package/pins_data_model/models/model_gettimesheets_response.py +1 -1
  13. package/pins_data_model/models/model_listed_building.py +1 -1
  14. package/pins_data_model/models/model_listed_buildings.py +1 -1
  15. package/pins_data_model/models/model_nsip_document.py +1 -1
  16. package/pins_data_model/models/model_nsip_exam_timetable.py +1 -1
  17. package/pins_data_model/models/model_nsip_invoice.py +1 -1
  18. package/pins_data_model/models/model_nsip_meeting.py +1 -1
  19. package/pins_data_model/models/model_nsip_project.py +1 -1
  20. package/pins_data_model/models/model_nsip_project_update.py +1 -1
  21. package/pins_data_model/models/model_nsip_representation.py +1 -1
  22. package/pins_data_model/models/model_nsip_subscription.py +1 -1
  23. package/pins_data_model/models/model_pins_inspector.py +1 -1
  24. package/pins_data_model/models/model_pins_lpa.py +1 -1
  25. package/pins_data_model/models/model_s51_advice.py +1 -1
  26. package/pins_data_model/models/model_service_user.py +1 -1
  27. package/schemas/appeal-s78.schema.json +1 -1
  28. package/src/schemas.d.ts +1 -1
@@ -1474,6 +1474,7 @@ The outcome of the original LPA decision
1474
1474
  | `"granted"` | |
1475
1475
  | `"refused"` | |
1476
1476
  | `"not_received"` | |
1477
+ | `null` | |
1477
1478
 
1478
1479
  ## applicationDecisionDate
1479
1480
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@planning-inspectorate/data-model",
3
- "version": "2.10.1",
3
+ "version": "2.10.2",
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-document.schema.json
3
- # timestamp: 2026-01-16T12:29:57+00:00
3
+ # timestamp: 2026-01-20T11:57:10+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-event.schema.json
3
- # timestamp: 2026-01-16T12:29:56+00:00
3
+ # timestamp: 2026-01-20T11:57:09+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-event-estimate.schema.json
3
- # timestamp: 2026-01-16T12:29:56+00:00
3
+ # timestamp: 2026-01-20T11:57:09+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-has.schema.json
3
- # timestamp: 2026-01-16T12:29:57+00:00
3
+ # timestamp: 2026-01-20T11:57:10+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-representation.schema.json
3
- # timestamp: 2026-01-16T12:29:57+00:00
3
+ # timestamp: 2026-01-20T11:57:10+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: 2026-01-16T12:29:57+00:00
3
+ # timestamp: 2026-01-20T11:57:10+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -149,6 +149,7 @@ class ApplicationDecision(Enum):
149
149
  granted = "granted"
150
150
  refused = "refused"
151
151
  not_received = "not_received"
152
+ NoneType_None = None
152
153
 
153
154
 
154
155
  class KnowsOtherOwners(Enum):
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: dart-response.schema.json
3
- # timestamp: 2026-01-16T12:29:56+00:00
3
+ # timestamp: 2026-01-20T11:57:09+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: entraid.schema.json
3
- # timestamp: 2026-01-16T12:29:56+00:00
3
+ # timestamp: 2026-01-20T11:57:09+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: folder.schema.json
3
- # timestamp: 2026-01-16T12:29:56+00:00
3
+ # timestamp: 2026-01-20T11:57:09+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: gettimesheets-response.schema.json
3
- # timestamp: 2026-01-16T12:29:56+00:00
3
+ # timestamp: 2026-01-20T11:57:09+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: listed-building.schema.json
3
- # timestamp: 2026-01-16T12:29:56+00:00
3
+ # timestamp: 2026-01-20T11:57:10+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: listed-buildings.schema.json
3
- # timestamp: 2026-01-16T12:29:57+00:00
3
+ # timestamp: 2026-01-20T11:57:10+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: nsip-document.schema.json
3
- # timestamp: 2026-01-16T12:29:56+00:00
3
+ # timestamp: 2026-01-20T11:57:09+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: nsip-exam-timetable.schema.json
3
- # timestamp: 2026-01-16T12:29:57+00:00
3
+ # timestamp: 2026-01-20T11:57:10+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: nsip-invoice.schema.json
3
- # timestamp: 2026-01-16T12:29:56+00:00
3
+ # timestamp: 2026-01-20T11:57:09+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: nsip-meeting.schema.json
3
- # timestamp: 2026-01-16T12:29:56+00:00
3
+ # timestamp: 2026-01-20T11:57:10+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: nsip-project.schema.json
3
- # timestamp: 2026-01-16T12:29:56+00:00
3
+ # timestamp: 2026-01-20T11:57:10+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: nsip-project-update.schema.json
3
- # timestamp: 2026-01-16T12:29:56+00:00
3
+ # timestamp: 2026-01-20T11:57:09+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: nsip-representation.schema.json
3
- # timestamp: 2026-01-16T12:29:57+00:00
3
+ # timestamp: 2026-01-20T11:57:10+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: nsip-subscription.schema.json
3
- # timestamp: 2026-01-16T12:29:56+00:00
3
+ # timestamp: 2026-01-20T11:57:09+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: pins-inspector.schema.json
3
- # timestamp: 2026-01-16T12:29:56+00:00
3
+ # timestamp: 2026-01-20T11:57:09+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: pins-lpa.schema.json
3
- # timestamp: 2026-01-16T12:29:56+00:00
3
+ # timestamp: 2026-01-20T11:57:09+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: s51-advice.schema.json
3
- # timestamp: 2026-01-16T12:29:56+00:00
3
+ # timestamp: 2026-01-20T11:57:09+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: service-user.schema.json
3
- # timestamp: 2026-01-16T12:29:56+00:00
3
+ # timestamp: 2026-01-20T11:57:09+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -478,7 +478,7 @@
478
478
  },
479
479
  "applicationDecision": {
480
480
  "type": ["string", "null"],
481
- "enum": ["granted", "refused", "not_received"],
481
+ "enum": ["granted", "refused", "not_received", null],
482
482
  "description": "The outcome of the original LPA decision",
483
483
  "$comment": "Also available on HAS cases"
484
484
  },
package/src/schemas.d.ts CHANGED
@@ -1130,7 +1130,7 @@ export type AppealS78Case = (
1130
1130
  /**
1131
1131
  * The outcome of the original LPA decision
1132
1132
  */
1133
- applicationDecision: ('granted' | 'refused' | 'not_received') | null;
1133
+ applicationDecision: 'granted' | 'refused' | 'not_received' | null;
1134
1134
  /**
1135
1135
  * The date of the original LPA decision
1136
1136
  */