@planning-inspectorate/data-model 1.15.0 → 1.16.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.
Files changed (33) hide show
  1. package/docs/appeal-has.md +1 -0
  2. package/docs/appeal-s78.md +1 -0
  3. package/package.json +1 -1
  4. package/pins_data_model/models/model_appeal_document.py +1 -1
  5. package/pins_data_model/models/model_appeal_event.py +1 -1
  6. package/pins_data_model/models/model_appeal_event_estimate.py +1 -1
  7. package/pins_data_model/models/model_appeal_has.py +2 -1
  8. package/pins_data_model/models/model_appeal_representation.py +1 -1
  9. package/pins_data_model/models/model_appeal_s78.py +2 -1
  10. package/pins_data_model/models/model_dart_response.py +1 -1
  11. package/pins_data_model/models/model_entraid.py +1 -1
  12. package/pins_data_model/models/model_folder.py +1 -1
  13. package/pins_data_model/models/model_gettimesheets_response.py +1 -1
  14. package/pins_data_model/models/model_listed_building.py +1 -1
  15. package/pins_data_model/models/model_listed_buildings.py +1 -1
  16. package/pins_data_model/models/model_nsip_document.py +1 -1
  17. package/pins_data_model/models/model_nsip_exam_timetable.py +1 -1
  18. package/pins_data_model/models/model_nsip_project.py +1 -1
  19. package/pins_data_model/models/model_nsip_project_update.py +1 -1
  20. package/pins_data_model/models/model_nsip_representation.py +1 -1
  21. package/pins_data_model/models/model_nsip_subscription.py +1 -1
  22. package/pins_data_model/models/model_pins_inspector.py +1 -1
  23. package/pins_data_model/models/model_pins_lpa.py +1 -1
  24. package/pins_data_model/models/model_s51_advice.py +1 -1
  25. package/pins_data_model/models/model_service_user.py +1 -1
  26. package/schemas/appeal-has.schema.json +1 -0
  27. package/schemas/appeal-s78.schema.json +1 -0
  28. package/schemas/commands/appeal-common-submission.schema.json +1 -0
  29. package/src/enums.cjs +1 -0
  30. package/src/enums.d.ts +1 -0
  31. package/src/enums.js +1 -0
  32. package/src/index.cjs +1 -0
  33. package/src/schemas.d.ts +6 -0
@@ -1953,6 +1953,7 @@ Indicates if the appellant has applied for costs
1953
1953
  | `"removal-or-variation-of-conditions"` | |
1954
1954
  | `"listed-building"` | |
1955
1955
  | `"minor-commercial-development"` | |
1956
+ | `"advertisement"` | |
1956
1957
  | `null` | |
1957
1958
 
1958
1959
  ## Additional Properties
@@ -3561,6 +3561,7 @@ The net gain in residences of the proposed development
3561
3561
  | `"removal-or-variation-of-conditions"` | |
3562
3562
  | `"listed-building"` | |
3563
3563
  | `"minor-commercial-development"` | |
3564
+ | `"advertisement"` | |
3564
3565
  | `null` | |
3565
3566
 
3566
3567
  ## developmentType
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@planning-inspectorate/data-model",
3
- "version": "1.15.0",
3
+ "version": "1.16.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-document.schema.json
3
- # timestamp: 2025-08-27T11:15:00+00:00
3
+ # timestamp: 2025-08-29T10:40:44+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: 2025-08-27T11:15:00+00:00
3
+ # timestamp: 2025-08-29T10:40:44+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: 2025-08-27T11:15:00+00:00
3
+ # timestamp: 2025-08-29T10:40:44+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: 2025-08-27T11:15:00+00:00
3
+ # timestamp: 2025-08-29T10:40:44+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -221,6 +221,7 @@ class TypeOfPlanningApplication(Enum):
221
221
  removal_or_variation_of_conditions = "removal-or-variation-of-conditions"
222
222
  listed_building = "listed-building"
223
223
  minor_commercial_development = "minor-commercial-development"
224
+ advertisement = "advertisement"
224
225
  NoneType_None = None
225
226
 
226
227
 
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: appeal-representation.schema.json
3
- # timestamp: 2025-08-27T11:15:00+00:00
3
+ # timestamp: 2025-08-29T10:40:44+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-08-27T11:15:00+00:00
3
+ # timestamp: 2025-08-29T10:40:44+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -279,6 +279,7 @@ class TypeOfPlanningApplication(Enum):
279
279
  removal_or_variation_of_conditions = "removal-or-variation-of-conditions"
280
280
  listed_building = "listed-building"
281
281
  minor_commercial_development = "minor-commercial-development"
282
+ advertisement = "advertisement"
282
283
  NoneType_None = None
283
284
 
284
285
 
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: dart-response.schema.json
3
- # timestamp: 2025-08-27T11:15:00+00:00
3
+ # timestamp: 2025-08-29T10:40:44+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: 2025-08-27T11:15:00+00:00
3
+ # timestamp: 2025-08-29T10:40:44+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: 2025-08-27T11:15:00+00:00
3
+ # timestamp: 2025-08-29T10:40:44+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: 2025-08-27T11:15:00+00:00
3
+ # timestamp: 2025-08-29T10:40:44+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: 2025-08-27T11:15:00+00:00
3
+ # timestamp: 2025-08-29T10:40:44+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: 2025-08-27T11:15:00+00:00
3
+ # timestamp: 2025-08-29T10:40:44+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: 2025-08-27T11:15:00+00:00
3
+ # timestamp: 2025-08-29T10:40:44+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: 2025-08-27T11:15:00+00:00
3
+ # timestamp: 2025-08-29T10:40:44+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: 2025-08-27T11:15:00+00:00
3
+ # timestamp: 2025-08-29T10:40:44+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: 2025-08-27T11:15:00+00:00
3
+ # timestamp: 2025-08-29T10:40:44+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: 2025-08-27T11:15:00+00:00
3
+ # timestamp: 2025-08-29T10:40:44+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: 2025-08-27T11:15:00+00:00
3
+ # timestamp: 2025-08-29T10:40:44+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: 2025-08-27T11:15:00+00:00
3
+ # timestamp: 2025-08-29T10:40:44+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: 2025-08-27T11:15:00+00:00
3
+ # timestamp: 2025-08-29T10:40:44+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: 2025-08-27T11:15:00+00:00
3
+ # timestamp: 2025-08-29T10:40:44+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: 2025-08-27T11:15:00+00:00
3
+ # timestamp: 2025-08-29T10:40:44+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -569,6 +569,7 @@
569
569
  "removal-or-variation-of-conditions",
570
570
  "listed-building",
571
571
  "minor-commercial-development",
572
+ "advertisement",
572
573
  null
573
574
  ]
574
575
  }
@@ -1032,6 +1032,7 @@
1032
1032
  "removal-or-variation-of-conditions",
1033
1033
  "listed-building",
1034
1034
  "minor-commercial-development",
1035
+ "advertisement",
1035
1036
  null
1036
1037
  ]
1037
1038
  },
@@ -195,6 +195,7 @@
195
195
  "removal-or-variation-of-conditions",
196
196
  "listed-building",
197
197
  "minor-commercial-development",
198
+ "advertisement",
198
199
  null
199
200
  ]
200
201
  }
package/src/enums.cjs CHANGED
@@ -309,6 +309,7 @@ const APPEAL_SOURCE_SYSTEM = Object.freeze({
309
309
  });
310
310
 
311
311
  const APPEAL_TYPE_OF_PLANNING_APPLICATION = Object.freeze({
312
+ ADVERTISEMENT: 'advertisement',
312
313
  FULL_APPEAL: 'full-appeal',
313
314
  HOUSEHOLDER_PLANNING: 'householder-planning',
314
315
  LISTED_BUILDING: 'listed-building',
package/src/enums.d.ts CHANGED
@@ -307,6 +307,7 @@ export const APPEAL_SOURCE_SYSTEM = {
307
307
  };
308
308
 
309
309
  export const APPEAL_TYPE_OF_PLANNING_APPLICATION = {
310
+ ADVERTISEMENT: 'advertisement',
310
311
  FULL_APPEAL: 'full-appeal',
311
312
  HOUSEHOLDER_PLANNING: 'householder-planning',
312
313
  LISTED_BUILDING: 'listed-building',
package/src/enums.js CHANGED
@@ -307,6 +307,7 @@ export const APPEAL_SOURCE_SYSTEM = Object.freeze({
307
307
  });
308
308
 
309
309
  export const APPEAL_TYPE_OF_PLANNING_APPLICATION = Object.freeze({
310
+ ADVERTISEMENT: 'advertisement',
310
311
  FULL_APPEAL: 'full-appeal',
311
312
  HOUSEHOLDER_PLANNING: 'householder-planning',
312
313
  LISTED_BUILDING: 'listed-building',
package/src/index.cjs CHANGED
@@ -390,6 +390,7 @@ const APPEAL_SOURCE_SYSTEM = Object.freeze({
390
390
  });
391
391
 
392
392
  const APPEAL_TYPE_OF_PLANNING_APPLICATION = Object.freeze({
393
+ ADVERTISEMENT: 'advertisement',
393
394
  FULL_APPEAL: 'full-appeal',
394
395
  HOUSEHOLDER_PLANNING: 'householder-planning',
395
396
  LISTED_BUILDING: 'listed-building',
package/src/schemas.d.ts CHANGED
@@ -654,6 +654,7 @@ export interface AppealHASCase {
654
654
  | 'removal-or-variation-of-conditions'
655
655
  | 'listed-building'
656
656
  | 'minor-commercial-development'
657
+ | 'advertisement'
657
658
  | null;
658
659
  [k: string]: unknown;
659
660
  }
@@ -1283,6 +1284,7 @@ export interface AppealS78Case {
1283
1284
  | 'removal-or-variation-of-conditions'
1284
1285
  | 'listed-building'
1285
1286
  | 'minor-commercial-development'
1287
+ | 'advertisement'
1286
1288
  | null;
1287
1289
  developmentType:
1288
1290
  | 'householder'
@@ -2704,6 +2706,7 @@ export interface AppellantCommonSubmissionProperties {
2704
2706
  | 'removal-or-variation-of-conditions'
2705
2707
  | 'listed-building'
2706
2708
  | 'minor-commercial-development'
2709
+ | 'advertisement'
2707
2710
  | null;
2708
2711
  [k: string]: unknown;
2709
2712
  }
@@ -2883,6 +2886,7 @@ export interface AppellantCommonSubmissionProperties {
2883
2886
  | 'removal-or-variation-of-conditions'
2884
2887
  | 'listed-building'
2885
2888
  | 'minor-commercial-development'
2889
+ | 'advertisement'
2886
2890
  | null;
2887
2891
  [k: string]: unknown;
2888
2892
  }
@@ -3255,6 +3259,7 @@ export interface AppellantCommonSubmissionProperties {
3255
3259
  | 'removal-or-variation-of-conditions'
3256
3260
  | 'listed-building'
3257
3261
  | 'minor-commercial-development'
3262
+ | 'advertisement'
3258
3263
  | null;
3259
3264
  [k: string]: unknown;
3260
3265
  }
@@ -3635,6 +3640,7 @@ export interface AppellantCommonSubmissionProperties {
3635
3640
  | 'removal-or-variation-of-conditions'
3636
3641
  | 'listed-building'
3637
3642
  | 'minor-commercial-development'
3643
+ | 'advertisement'
3638
3644
  | null;
3639
3645
  [k: string]: unknown;
3640
3646
  }