@planning-inspectorate/data-model 1.20.0 → 1.22.0

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 (57) hide show
  1. package/docs/README.md +11 -1
  2. package/docs/appeal-has.md +30 -49
  3. package/docs/appeal-s78.md +241 -144
  4. package/docs/pins-inspector-defs-specialism.md +80 -0
  5. package/docs/pins-inspector-defs.md +3 -0
  6. package/docs/pins-inspector.md +311 -3
  7. package/package.json +1 -1
  8. package/pins_data_model/models/model_appeal_document.py +1 -1
  9. package/pins_data_model/models/model_appeal_event.py +1 -1
  10. package/pins_data_model/models/model_appeal_event_estimate.py +1 -1
  11. package/pins_data_model/models/model_appeal_has.py +72 -27
  12. package/pins_data_model/models/model_appeal_representation.py +1 -1
  13. package/pins_data_model/models/model_appeal_s78.py +95 -8
  14. package/pins_data_model/models/model_dart_response.py +1 -1
  15. package/pins_data_model/models/model_entraid.py +1 -1
  16. package/pins_data_model/models/model_folder.py +1 -1
  17. package/pins_data_model/models/model_gettimesheets_response.py +1 -1
  18. package/pins_data_model/models/model_listed_building.py +1 -1
  19. package/pins_data_model/models/model_listed_buildings.py +1 -1
  20. package/pins_data_model/models/model_nsip_document.py +1 -1
  21. package/pins_data_model/models/model_nsip_exam_timetable.py +1 -1
  22. package/pins_data_model/models/model_nsip_project.py +1 -1
  23. package/pins_data_model/models/model_nsip_project_update.py +1 -1
  24. package/pins_data_model/models/model_nsip_representation.py +1 -1
  25. package/pins_data_model/models/model_nsip_subscription.py +1 -1
  26. package/pins_data_model/models/model_pins_inspector.py +75 -6
  27. package/pins_data_model/models/model_pins_lpa.py +1 -1
  28. package/pins_data_model/models/model_s51_advice.py +1 -1
  29. package/pins_data_model/models/model_service_user.py +1 -1
  30. package/schemas/appeal-has.schema.json +52 -21
  31. package/schemas/appeal-s78.schema.json +62 -7
  32. package/schemas/commands/appeals-components/appeal-advert.submission.schema.json +53 -0
  33. package/schemas/commands/{appeal-common-submission.schema.json → appeals-components/appeal-common-submission.schema.json} +8 -8
  34. package/schemas/commands/{appeal-has-submission.schema.json → appeals-components/appeal-has-submission.schema.json} +2 -2
  35. package/schemas/commands/{appeal-s78-submission.schema.json → appeals-components/appeal-s78-submission.schema.json} +2 -2
  36. package/schemas/commands/appeals-components/appellant-procedure-preference.schema.json +37 -0
  37. package/schemas/commands/appeals-components/changed-listed-building-number.schema.json +23 -0
  38. package/schemas/commands/appeals-components/lpa-procedure-preference.schema.json +28 -0
  39. package/schemas/commands/{lpa-questionnaire-cas-advert.schema.json → appeals-components/lpa-questionnaire-advert.schema.json} +8 -33
  40. package/schemas/commands/{lpa-questionnaire-common.schema.json → appeals-components/lpa-questionnaire-common.schema.json} +1 -1
  41. package/schemas/commands/{lpa-questionnaire-has.schema.json → appeals-components/lpa-questionnaire-has.schema.json} +1 -1
  42. package/schemas/commands/{lpa-questionnaire-s78.schema.json → appeals-components/lpa-questionnaire-s78.schema.json} +2 -21
  43. package/schemas/commands/appellant-submission.schema.json +21 -10
  44. package/schemas/commands/lpa-questionnaire.schema.json +24 -10
  45. package/schemas/pins-inspector.schema.json +108 -3
  46. package/src/index.cjs +6 -2
  47. package/src/index.d.ts +4 -0
  48. package/src/index.js +5 -2
  49. package/src/schemas.d.ts +385 -802
  50. package/tests/appeals/appeal-has.test.js +30 -5
  51. package/tests/appeals/appeal-s78.test.js +17 -3
  52. package/tests/appeals/commands/adverts-questionnaire.test.js +1 -0
  53. package/tests/appeals/commands/adverts-submission.test.js +13 -13
  54. package/tests/appeals/commands/cas-adverts-submission.test.js +184 -0
  55. package/tests/appeals/commands/has-submission.test.js +2 -2
  56. package/tests/appeals/commands/s78-submission.test.js +2 -2
  57. package/schemas/commands/appeal-advert.submission.schema.json +0 -23
package/src/schemas.d.ts CHANGED
@@ -305,23 +305,13 @@ export interface AppealEvent {
305
305
  */
306
306
  export type AppealHASCase = (
307
307
  | {
308
- siteGridReferenceEasting: {
309
- [k: string]: unknown;
310
- };
311
- siteGridReferenceNorthing: {
312
- [k: string]: unknown;
313
- };
308
+ siteGridReferenceEasting: string;
309
+ siteGridReferenceNorthing: string;
314
310
  }
315
311
  | {
316
- siteAddressLine1: {
317
- [k: string]: unknown;
318
- };
319
- siteAddressTown: {
320
- [k: string]: unknown;
321
- };
322
- siteAddressPostcode: {
323
- [k: string]: unknown;
324
- };
312
+ siteAddressLine1: string;
313
+ siteAddressTown: string;
314
+ siteAddressPostcode: string;
325
315
  }
326
316
  ) & {
327
317
  /**
@@ -763,26 +753,52 @@ export type AppealHASCase = (
763
753
  siteGridReferenceEasting?: string | null;
764
754
  siteGridReferenceNorthing?: string | null;
765
755
  /**
766
- * Indicates if the appellant has land owners permission
756
+ * Does the appellant have the landowners permission
767
757
  */
768
758
  hasLandownersPermission?: boolean | null;
769
759
  /**
770
- * Indicates if the advert is already in position
760
+ * Did the LPA refuse the application because of highway or traffic public safety?
771
761
  */
772
- isAdvertInPosition?: boolean | null;
762
+ wasApplicationRefusedDueToHighwayOrTraffic?: boolean | null;
773
763
  /**
774
- * Indicates if the site is in an area of special control for adverts
764
+ * Did the appellant submit complete photos and plans?
775
765
  */
776
- isSiteInAreaOfSpecialControlAdverts?: boolean | null;
766
+ didAppellantSubmitCompletePhotosAndPlans?: boolean | null;
777
767
  /**
778
- * Indicates if the application was refused because of highway or traffic public safety?
768
+ * Is the site in an area of special control of advertisements?
779
769
  */
780
- wasApplicationRefusedDueToHighwayOrTraffic?: boolean | null;
770
+ isSiteInAreaOfSpecialControlAdverts?: boolean | null;
781
771
  /**
782
- * Indicates if the appellant submitted complete and accurate photographs and plans
772
+ * A list of advertisements for the appeal
783
773
  */
784
- didAppellantSubmitCompletePhotosAndPlans?: boolean | null;
785
- advertType?: string | null;
774
+ advertDetails?:
775
+ | {
776
+ advertType:
777
+ | '4-6 Sheet Non-Illuminated'
778
+ | '4-6 Sheet Illuminated'
779
+ | '12/16/32 Sheet Non-Illuminated'
780
+ | '12/16/32 Sheet Illuminated'
781
+ | '48/64/96 Sheet Non-Illuminated'
782
+ | '48/64/96 Sheet Illuminated'
783
+ | 'Fascia Projecting Signs Non-Illuminated'
784
+ | 'Fascia Projecting Signs Illuminated'
785
+ | 'Directional & Others Non-Illuminated'
786
+ | 'Directional & Others Illuminated'
787
+ | 'Monolith/Totem Signs Non-Illuminated'
788
+ | 'Monolith/Totem Signs Illuminated'
789
+ | 'Other'
790
+ | null;
791
+ /**
792
+ * Is the advertisement in position?
793
+ */
794
+ isAdvertInPosition: boolean | null;
795
+ /**
796
+ * Is the site on highway land?
797
+ */
798
+ isSiteOnHighwayLand: boolean | null;
799
+ [k: string]: unknown;
800
+ }[]
801
+ | null;
786
802
  [k: string]: unknown;
787
803
  };
788
804
 
@@ -877,23 +893,13 @@ export interface AppealRepresentation {
877
893
  */
878
894
  export type AppealS78Case = (
879
895
  | {
880
- siteGridReferenceEasting: {
881
- [k: string]: unknown;
882
- };
883
- siteGridReferenceNorthing: {
884
- [k: string]: unknown;
885
- };
896
+ siteGridReferenceEasting: string;
897
+ siteGridReferenceNorthing: string;
886
898
  }
887
899
  | {
888
- siteAddressLine1: {
889
- [k: string]: unknown;
890
- };
891
- siteAddressTown: {
892
- [k: string]: unknown;
893
- };
894
- siteAddressPostcode: {
895
- [k: string]: unknown;
896
- };
900
+ siteAddressLine1: string;
901
+ siteAddressTown: string;
902
+ siteAddressPostcode: string;
897
903
  }
898
904
  ) & {
899
905
  /**
@@ -1452,6 +1458,53 @@ export type AppealS78Case = (
1452
1458
  | null;
1453
1459
  statementOfCommonGroundDueDate?: string | null;
1454
1460
  planningObligationDueDate?: string | null;
1461
+ /**
1462
+ * Does the appellant have the landowners permission
1463
+ */
1464
+ hasLandownersPermission?: boolean | null;
1465
+ /**
1466
+ * Did the LPA refuse the application because of highway or traffic public safety?
1467
+ */
1468
+ wasApplicationRefusedDueToHighwayOrTraffic?: boolean | null;
1469
+ /**
1470
+ * Did the appellant submit complete photos and plans?
1471
+ */
1472
+ didAppellantSubmitCompletePhotosAndPlans?: boolean | null;
1473
+ /**
1474
+ * Is the site in an area of special control of advertisements?
1475
+ */
1476
+ isSiteInAreaOfSpecialControlAdverts?: boolean | null;
1477
+ /**
1478
+ * A list of advertisements for the appeal
1479
+ */
1480
+ advertDetails?:
1481
+ | {
1482
+ advertType:
1483
+ | '4-6 Sheet Non-Illuminated'
1484
+ | '4-6 Sheet Illuminated'
1485
+ | '12/16/32 Sheet Non-Illuminated'
1486
+ | '12/16/32 Sheet Illuminated'
1487
+ | '48/64/96 Sheet Non-Illuminated'
1488
+ | '48/64/96 Sheet Illuminated'
1489
+ | 'Fascia Projecting Signs Non-Illuminated'
1490
+ | 'Fascia Projecting Signs Illuminated'
1491
+ | 'Directional & Others Non-Illuminated'
1492
+ | 'Directional & Others Illuminated'
1493
+ | 'Monolith/Totem Signs Non-Illuminated'
1494
+ | 'Monolith/Totem Signs Illuminated'
1495
+ | 'Other'
1496
+ | null;
1497
+ /**
1498
+ * Is the advertisement in position?
1499
+ */
1500
+ isAdvertInPosition: boolean | null;
1501
+ /**
1502
+ * Is the site on highway land?
1503
+ */
1504
+ isSiteOnHighwayLand: boolean | null;
1505
+ [k: string]: unknown;
1506
+ }[]
1507
+ | null;
1455
1508
  [k: string]: unknown;
1456
1509
  };
1457
1510
 
@@ -2754,13 +2807,21 @@ export interface NsipSubscription {
2754
2807
  }
2755
2808
 
2756
2809
  /**
2757
- * Inspector attributes as per Horizon. This will be extended with SAP/Entra data
2810
+ * Inspector Details originating from Horizon, SAP HR and Entra.
2758
2811
  */
2759
2812
  export interface PINSInspector {
2813
+ /**
2814
+ * EntraID of the Inspector if available in ODW.
2815
+ */
2816
+ entraId: string | null;
2817
+ /**
2818
+ * SAPID of the Inspector if available in ODW.
2819
+ */
2820
+ sapId: string | null;
2760
2821
  /**
2761
2822
  * The PINS-generated unique horizon ID
2762
2823
  */
2763
- horizonId: string;
2824
+ horizonId?: string;
2764
2825
  /**
2765
2826
  * The first name of the inspector
2766
2827
  */
@@ -2790,9 +2851,61 @@ export interface PINSInspector {
2790
2851
  */
2791
2852
  qualifications?: string | null;
2792
2853
  /**
2793
- * The email address of the inspector
2854
+ * PINS Email address for the Inspector
2794
2855
  */
2795
2856
  email: string | null;
2857
+ /**
2858
+ * Grades as a coded value e.g. B1, B2, B3, FTC-B1, FTC-B2, FTC-B3, PL
2859
+ */
2860
+ grade: string;
2861
+ /**
2862
+ * FTE Decimal value e.g. 1, 0.5 etc
2863
+ */
2864
+ fte: number;
2865
+ /**
2866
+ * The personnel area of the Inspector
2867
+ */
2868
+ unit: string;
2869
+ /**
2870
+ * The personnel sub area of the Inspector
2871
+ */
2872
+ service: string;
2873
+ /**
2874
+ * Group of the Inspector
2875
+ */
2876
+ group: string;
2877
+ /**
2878
+ * Name of the Inspector's manager.
2879
+ */
2880
+ inspectorManager: string;
2881
+ /**
2882
+ * Date the Inspector record was first recorded.
2883
+ */
2884
+ validFrom?: string | null;
2885
+ address: {
2886
+ addressLine1: string | null;
2887
+ addressLine2: string | null;
2888
+ townCity: string | null;
2889
+ county: string | null;
2890
+ postcode: string | null;
2891
+ [k: string]: unknown;
2892
+ };
2893
+ specialisms: Specialism[];
2894
+ [k: string]: unknown;
2895
+ }
2896
+ export interface Specialism {
2897
+ /**
2898
+ * Working above band is stored as a specialism
2899
+ */
2900
+ name: string;
2901
+ /**
2902
+ * trained or in-training
2903
+ */
2904
+ proficiency: string | null;
2905
+ /**
2906
+ * Date training started or date training was completed.
2907
+ */
2908
+ validFrom: string | null;
2796
2909
  [k: string]: unknown;
2797
2910
  }
2798
2911
 
@@ -3020,46 +3133,148 @@ export interface ServiceUser {
3020
3133
  }
3021
3134
 
3022
3135
  /**
3023
- * Schema defining any properties for advertisement appeals
3136
+ * Schema defining the data produced by the Front-Office when a representation is created on an appeal
3024
3137
  */
3025
- export interface AdvertSpecificProperties {
3138
+ export type AppealRepresentationSubmission = {
3026
3139
  /**
3027
- * Indicates if the appellant has land owners permission
3140
+ * External case identifier
3028
3141
  */
3029
- hasLandownersPermission: boolean | null;
3142
+ caseReference: string;
3143
+ /**
3144
+ * The date the representation was submitted
3145
+ */
3146
+ representationSubmittedDate: string | null;
3030
3147
  /**
3031
- * Indicates if the advert is already in position
3148
+ * The type of representation
3032
3149
  */
3033
- isAdvertInPosition: boolean | null;
3150
+ representationType: 'statement' | 'comment' | 'final_comment' | 'proofs_evidence';
3034
3151
  /**
3035
- * Indicates if site is on highway land
3152
+ * The original representation
3153
+ */
3154
+ representation: string | null;
3155
+ documents: {
3156
+ /**
3157
+ * The unique identifier for the document
3158
+ */
3159
+ documentId: string;
3160
+ /**
3161
+ * Current stored name of the document
3162
+ */
3163
+ filename: string;
3164
+ /**
3165
+ * Original name of document
3166
+ */
3167
+ originalFilename: string;
3168
+ /**
3169
+ * The file size, in bytes
3170
+ */
3171
+ size: number;
3172
+ /**
3173
+ * The mime type for the current version of the file
3174
+ */
3175
+ mime: string;
3176
+ /**
3177
+ * The internal location of the document
3178
+ */
3179
+ documentURI: string;
3180
+ /**
3181
+ * The creation date for the document
3182
+ */
3183
+ dateCreated: string;
3184
+ /**
3185
+ * The type of document, used for exchange, migrations and consumption from the appeal back-office system
3186
+ */
3187
+ documentType:
3188
+ | 'interestedPartyComment'
3189
+ | 'lpaStatement'
3190
+ | 'rule6Statement'
3191
+ | 'appellantFinalComment'
3192
+ | 'lpaFinalComment'
3193
+ | 'appellantProofOfEvidence'
3194
+ | 'appellantWitnessesEvidence'
3195
+ | 'lpaProofOfEvidence'
3196
+ | 'lpaWitnessesEvidence'
3197
+ | 'rule6ProofOfEvidence'
3198
+ | 'rule6WitnessesEvidence'
3199
+ | null;
3200
+ [k: string]: unknown;
3201
+ }[];
3202
+ /**
3203
+ * Service User Id of the person or organisation making the representation
3204
+ */
3205
+ serviceUserId?: string | null;
3206
+ /**
3207
+ * A unique identifier for the Local Planning Authority
3036
3208
  */
3037
- isSiteOnHighwayLand: boolean | null;
3209
+ lpaCode?: string | null;
3210
+ newUser?: {
3211
+ /**
3212
+ * A formal greeting, e.g., Mr, Mrs, Ms.
3213
+ */
3214
+ salutation: string | null;
3215
+ /**
3216
+ * The first name of the individual.
3217
+ */
3218
+ firstName: string | null;
3219
+ /**
3220
+ * The last name of the individual.
3221
+ */
3222
+ lastName: string | null;
3223
+ /**
3224
+ * The primary email address for contact.
3225
+ */
3226
+ emailAddress: string | null;
3227
+ /**
3228
+ * The primary telephone contact number.
3229
+ */
3230
+ telephoneNumber: string | null;
3231
+ /**
3232
+ * The name of the organisation associated with the individual.
3233
+ */
3234
+ organisation: string | null;
3235
+ /**
3236
+ * Type or category of the service user.
3237
+ */
3238
+ serviceUserType: 'InterestedParty';
3239
+ /**
3240
+ * First line of address of the user making the representation
3241
+ */
3242
+ addressLine1?: string;
3243
+ /**
3244
+ * Second line of address of the user making the representation
3245
+ */
3246
+ addressLine2?: string | null;
3247
+ /**
3248
+ * Town / City of the user making the representation
3249
+ */
3250
+ addressTown?: string;
3251
+ /**
3252
+ * County of the user making the representation
3253
+ */
3254
+ addressCounty?: string | null;
3255
+ /**
3256
+ * Postal code of the user making the representation
3257
+ */
3258
+ addressPostcode?: string;
3259
+ [k: string]: unknown;
3260
+ };
3038
3261
  [k: string]: unknown;
3039
- }
3262
+ } & {
3263
+ [k: string]: unknown;
3264
+ };
3040
3265
 
3041
3266
  /**
3042
3267
  * Schema defining any properties common across all appeal types for appeal submissions
3043
3268
  */
3044
3269
  export type AppellantCommonSubmissionProperties = (
3045
3270
  | {
3046
- siteGridReferenceEasting: {
3047
- [k: string]: unknown;
3048
- };
3049
- siteGridReferenceNorthing: {
3050
- [k: string]: unknown;
3051
- };
3271
+ siteGridReferenceEasting: string;
3272
+ siteGridReferenceNorthing: string;
3052
3273
  }
3053
3274
  | {
3054
- siteAddressLine1: {
3055
- [k: string]: unknown;
3056
- };
3057
- siteAddressTown: {
3058
- [k: string]: unknown;
3059
- };
3060
- siteAddressPostcode: {
3061
- [k: string]: unknown;
3062
- };
3275
+ siteAddressLine1: string;
3276
+ siteAddressTown: string;
3277
+ siteAddressPostcode: string;
3063
3278
  }
3064
3279
  ) & {
3065
3280
  /**
@@ -3185,9 +3400,8 @@ export type AppellantCommonSubmissionProperties = (
3185
3400
  | null;
3186
3401
  [k: string]: unknown;
3187
3402
  };
3188
-
3189
3403
  /**
3190
- * Schema defining any HAS specific properties for submissions
3404
+ * Schema defining any HAS specific properties for appeal submissions
3191
3405
  */
3192
3406
  export type AppellantHASSubmissionProperties = {
3193
3407
  /**
@@ -3239,156 +3453,24 @@ export type AppellantHASSubmissionProperties = {
3239
3453
  */
3240
3454
  appellantCostsAppliedFor?: boolean | null;
3241
3455
  };
3242
-
3243
3456
  /**
3244
- * Schema defining the data produced by the Front-Office when a representation is created on an appeal
3457
+ * Schema defining any S78 specific properties for appeal submissions
3245
3458
  */
3246
- export type AppealRepresentationSubmission = {
3459
+ export type AppellantS78SubmissionProperties = {
3247
3460
  /**
3248
- * External case identifier
3461
+ * Indicates if the site is an agricultural holding
3249
3462
  */
3250
- caseReference: string;
3463
+ agriculturalHolding?: boolean | null;
3251
3464
  /**
3252
- * The date the representation was submitted
3465
+ * Indicates if the site is a tenant agricultural holding
3253
3466
  */
3254
- representationSubmittedDate: string | null;
3467
+ tenantAgriculturalHolding?: boolean | null;
3255
3468
  /**
3256
- * The type of representation
3469
+ * Indicates if the site is an agricultural holding with other tenants
3257
3470
  */
3258
- representationType: 'statement' | 'comment' | 'final_comment' | 'proofs_evidence';
3471
+ otherTenantsAgriculturalHolding?: boolean | null;
3259
3472
  /**
3260
- * The original representation
3261
- */
3262
- representation: string | null;
3263
- documents: {
3264
- /**
3265
- * The unique identifier for the document
3266
- */
3267
- documentId: string;
3268
- /**
3269
- * Current stored name of the document
3270
- */
3271
- filename: string;
3272
- /**
3273
- * Original name of document
3274
- */
3275
- originalFilename: string;
3276
- /**
3277
- * The file size, in bytes
3278
- */
3279
- size: number;
3280
- /**
3281
- * The mime type for the current version of the file
3282
- */
3283
- mime: string;
3284
- /**
3285
- * The internal location of the document
3286
- */
3287
- documentURI: string;
3288
- /**
3289
- * The creation date for the document
3290
- */
3291
- dateCreated: string;
3292
- /**
3293
- * The type of document, used for exchange, migrations and consumption from the appeal back-office system
3294
- */
3295
- documentType:
3296
- | 'interestedPartyComment'
3297
- | 'lpaStatement'
3298
- | 'rule6Statement'
3299
- | 'appellantFinalComment'
3300
- | 'lpaFinalComment'
3301
- | 'appellantProofOfEvidence'
3302
- | 'appellantWitnessesEvidence'
3303
- | 'lpaProofOfEvidence'
3304
- | 'lpaWitnessesEvidence'
3305
- | 'rule6ProofOfEvidence'
3306
- | 'rule6WitnessesEvidence'
3307
- | null;
3308
- [k: string]: unknown;
3309
- }[];
3310
- /**
3311
- * Service User Id of the person or organisation making the representation
3312
- */
3313
- serviceUserId?: string | null;
3314
- /**
3315
- * A unique identifier for the Local Planning Authority
3316
- */
3317
- lpaCode?: string | null;
3318
- newUser?: {
3319
- /**
3320
- * A formal greeting, e.g., Mr, Mrs, Ms.
3321
- */
3322
- salutation: string | null;
3323
- /**
3324
- * The first name of the individual.
3325
- */
3326
- firstName: string | null;
3327
- /**
3328
- * The last name of the individual.
3329
- */
3330
- lastName: string | null;
3331
- /**
3332
- * The primary email address for contact.
3333
- */
3334
- emailAddress: string | null;
3335
- /**
3336
- * The primary telephone contact number.
3337
- */
3338
- telephoneNumber: string | null;
3339
- /**
3340
- * The name of the organisation associated with the individual.
3341
- */
3342
- organisation: string | null;
3343
- /**
3344
- * Type or category of the service user.
3345
- */
3346
- serviceUserType: 'InterestedParty';
3347
- /**
3348
- * First line of address of the user making the representation
3349
- */
3350
- addressLine1?: string;
3351
- /**
3352
- * Second line of address of the user making the representation
3353
- */
3354
- addressLine2?: string | null;
3355
- /**
3356
- * Town / City of the user making the representation
3357
- */
3358
- addressTown?: string;
3359
- /**
3360
- * County of the user making the representation
3361
- */
3362
- addressCounty?: string | null;
3363
- /**
3364
- * Postal code of the user making the representation
3365
- */
3366
- addressPostcode?: string;
3367
- [k: string]: unknown;
3368
- };
3369
- [k: string]: unknown;
3370
- } & {
3371
- [k: string]: unknown;
3372
- };
3373
-
3374
- /**
3375
- * Schema defining any S78 specific properties for questionnaire submissions
3376
- */
3377
- export type AppellantS78SubmissionProperties = {
3378
- /**
3379
- * Indicates if the site is an agricultural holding
3380
- */
3381
- agriculturalHolding?: boolean | null;
3382
- /**
3383
- * Indicates if the site is a tenant agricultural holding
3384
- */
3385
- tenantAgriculturalHolding?: boolean | null;
3386
- /**
3387
- * Indicates if the site is an agricultural holding with other tenants
3388
- */
3389
- otherTenantsAgriculturalHolding?: boolean | null;
3390
- /**
3391
- * If the site is an agricultural holding, indicates tenants are informed
3473
+ * If the site is an agricultural holding, indicates tenants are informed
3392
3474
  */
3393
3475
  informedTenantsAgriculturalHolding?: boolean | null;
3394
3476
  /**
@@ -3433,227 +3515,10 @@ export type AppellantS78SubmissionProperties = {
3433
3515
  | 'other-minor'
3434
3516
  | null;
3435
3517
  };
3436
-
3437
3518
  /**
3438
- * Schema defining any properties common across all appeal types for appeal submissions
3519
+ * Schema defining appellant procedure preference properties
3439
3520
  */
3440
- export type AppellantCommonSubmissionProperties = (
3441
- | {
3442
- siteGridReferenceEasting: {
3443
- [k: string]: unknown;
3444
- };
3445
- siteGridReferenceNorthing: {
3446
- [k: string]: unknown;
3447
- };
3448
- }
3449
- | {
3450
- siteAddressLine1: {
3451
- [k: string]: unknown;
3452
- };
3453
- siteAddressTown: {
3454
- [k: string]: unknown;
3455
- };
3456
- siteAddressPostcode: {
3457
- [k: string]: unknown;
3458
- };
3459
- }
3460
- ) & {
3461
- /**
3462
- * Case submission id - link to draft submission created by appellant
3463
- */
3464
- submissionId: string;
3465
- /**
3466
- * The type of procedure for the appeal
3467
- */
3468
- caseProcedure: 'written' | 'hearing' | 'inquiry';
3469
- /**
3470
- * A unique identifier for the Local Planning Authority
3471
- */
3472
- lpaCode: string;
3473
- /**
3474
- * The date the appeal was submitted by the appellant
3475
- */
3476
- caseSubmittedDate: string;
3477
- /**
3478
- * Indicates if an enforcement notice is the reason for the appeal
3479
- */
3480
- enforcementNotice: boolean | null;
3481
- /**
3482
- * The unique identifier of the LPA application
3483
- */
3484
- applicationReference: string;
3485
- /**
3486
- * The date of the original LPA application
3487
- */
3488
- applicationDate: string;
3489
- /**
3490
- * The outcome of the original LPA decision
3491
- */
3492
- applicationDecision: 'granted' | 'refused' | 'not_received';
3493
- /**
3494
- * The date of the original LPA decision
3495
- */
3496
- applicationDecisionDate: string | null;
3497
- /**
3498
- * The statutory deadline for submitting an appeal from the original LPA decision date
3499
- */
3500
- caseSubmissionDueDate: string | null;
3501
- /**
3502
- * First line of address for the appeal site
3503
- */
3504
- siteAddressLine1?: string | null;
3505
- /**
3506
- * Second line of address for the appeal site
3507
- */
3508
- siteAddressLine2?: string | null;
3509
- /**
3510
- * Town / City of the site address
3511
- */
3512
- siteAddressTown?: string | null;
3513
- /**
3514
- * County of the site address
3515
- */
3516
- siteAddressCounty?: string | null;
3517
- /**
3518
- * Postal code of the site address
3519
- */
3520
- siteAddressPostcode?: string | null;
3521
- siteGridReferenceEasting?: string | null;
3522
- siteGridReferenceNorthing?: string | null;
3523
- /**
3524
- * Provided information on site accessibility
3525
- */
3526
- siteAccessDetails: string[] | null;
3527
- /**
3528
- * Provided information on site health and safety
3529
- */
3530
- siteSafetyDetails: string[] | null;
3531
- /**
3532
- * A list of neighbouring site addresses
3533
- */
3534
- neighbouringSiteAddresses:
3535
- | {
3536
- /**
3537
- * First line of address of the site
3538
- */
3539
- neighbouringSiteAddressLine1: string;
3540
- /**
3541
- * Second line of address of the site
3542
- */
3543
- neighbouringSiteAddressLine2: string | null;
3544
- /**
3545
- * Town / City of the site address
3546
- */
3547
- neighbouringSiteAddressTown: string;
3548
- /**
3549
- * County of the site address
3550
- */
3551
- neighbouringSiteAddressCounty: string | null;
3552
- /**
3553
- * Postal code of the site address
3554
- */
3555
- neighbouringSiteAddressPostcode: string;
3556
- /**
3557
- * Provided information on site accessibility on this address
3558
- */
3559
- neighbouringSiteAccessDetails: string | null;
3560
- /**
3561
- * Provided information on site health and safety on this address
3562
- */
3563
- neighbouringSiteSafetyDetails: string | null;
3564
- [k: string]: unknown;
3565
- }[]
3566
- | null;
3567
- /**
3568
- * A list of related case references known to the appellant and the LPA
3569
- */
3570
- nearbyCaseReferences: string[] | null;
3571
- typeOfPlanningApplication?:
3572
- | 'full-appeal'
3573
- | 'householder-planning'
3574
- | 'outline-planning'
3575
- | 'prior-approval'
3576
- | 'reserved-matters'
3577
- | 'removal-or-variation-of-conditions'
3578
- | 'listed-building'
3579
- | 'minor-commercial-development'
3580
- | 'advertisement'
3581
- | null;
3582
- [k: string]: unknown;
3583
- };
3584
- /**
3585
- * Schema defining any HAS specific properties for submissions
3586
- */
3587
- export type AppellantHASSubmissionProperties = {
3588
- /**
3589
- * Indicates if the site is in a green belt
3590
- */
3591
- isGreenBelt?: boolean | null;
3592
- /**
3593
- * The site area, in square meters
3594
- */
3595
- siteAreaSquareMetres?: number | null;
3596
- /**
3597
- * The floor space, in square meters
3598
- */
3599
- floorSpaceSquareMetres?: number | null;
3600
- /**
3601
- * Indicates if the appellant has complete ownership of the site
3602
- */
3603
- ownsAllLand?: boolean | null;
3604
- /**
3605
- * Indicates if the appellant has partial ownership of the site
3606
- */
3607
- ownsSomeLand?: boolean | null;
3608
- /**
3609
- * Indicates if the appellant knows other owners of the site
3610
- */
3611
- knowsOtherOwners?: 'Yes' | 'No' | 'Some' | null;
3612
- /**
3613
- * Indicates if the appellant knows all owners of the site
3614
- */
3615
- knowsAllOwners?: 'Yes' | 'No' | 'Some' | null;
3616
- /**
3617
- * Indicates if the appellant has advertised the appeal to the LPA decision
3618
- */
3619
- advertisedAppeal?: boolean | null;
3620
- /**
3621
- * Indicates if the appellant has informed other owners of the site
3622
- */
3623
- ownersInformed?: boolean | null;
3624
- /**
3625
- * The original description of the development, as provided by the appellant
3626
- */
3627
- originalDevelopmentDescription?: string | null;
3628
- /**
3629
- * Indicates that the LPA has changed the development description
3630
- */
3631
- changedDevelopmentDescription?: boolean | null;
3632
- /**
3633
- * Indicates if the appellant has applied for costs
3634
- */
3635
- appellantCostsAppliedFor?: boolean | null;
3636
- };
3637
- /**
3638
- * Schema defining any S78 specific properties for questionnaire submissions
3639
- */
3640
- export type AppellantS78SubmissionProperties = {
3641
- /**
3642
- * Indicates if the site is an agricultural holding
3643
- */
3644
- agriculturalHolding?: boolean | null;
3645
- /**
3646
- * Indicates if the site is a tenant agricultural holding
3647
- */
3648
- tenantAgriculturalHolding?: boolean | null;
3649
- /**
3650
- * Indicates if the site is an agricultural holding with other tenants
3651
- */
3652
- otherTenantsAgriculturalHolding?: boolean | null;
3653
- /**
3654
- * If the site is an agricultural holding, indicates tenants are informed
3655
- */
3656
- informedTenantsAgriculturalHolding?: boolean | null;
3521
+ export type AppellantProcedurePreferenceProperties = {
3657
3522
  /**
3658
3523
  * The procedure preference indicated by the appellant
3659
3524
  */
@@ -3670,31 +3535,6 @@ export type AppellantS78SubmissionProperties = {
3670
3535
  * The number of witnesses in inquiries
3671
3536
  */
3672
3537
  appellantProcedurePreferenceWitnessCount?: number | null;
3673
- /**
3674
- * Indicates the existence of a planning obligation
3675
- */
3676
- planningObligation?: boolean | null;
3677
- /**
3678
- * The planning obligation information, if available
3679
- */
3680
- statusPlanningObligation?: string | null;
3681
- developmentType?:
3682
- | 'householder'
3683
- | 'change-of-use'
3684
- | 'major-dwellings'
3685
- | 'major-industry-storage'
3686
- | 'major-offices'
3687
- | 'major-retail-services'
3688
- | 'major-traveller-caravan'
3689
- | 'mineral-workings'
3690
- | 'minor-dwellings'
3691
- | 'minor-industry-storage'
3692
- | 'minor-offices'
3693
- | 'minor-retail-services'
3694
- | 'minor-traveller-caravan'
3695
- | 'other-major'
3696
- | 'other-minor'
3697
- | null;
3698
3538
  };
3699
3539
 
3700
3540
  /**
@@ -3710,12 +3550,19 @@ export interface AppellantSubmissionCommand {
3710
3550
  caseType?: 'W' | 'Y';
3711
3551
  } & AppellantCommonSubmissionProperties &
3712
3552
  AppellantHASSubmissionProperties &
3713
- AppellantS78SubmissionProperties)
3553
+ AppellantS78SubmissionProperties &
3554
+ AppellantProcedurePreferenceProperties)
3555
+ | ({
3556
+ caseType?: 'ZA';
3557
+ } & AppellantCommonSubmissionProperties &
3558
+ AppellantHASSubmissionProperties &
3559
+ AdvertSpecificProperties)
3714
3560
  | ({
3715
- caseType?: 'H' | 'ZA';
3561
+ caseType?: 'H';
3716
3562
  } & AppellantCommonSubmissionProperties &
3717
3563
  AppellantHASSubmissionProperties &
3718
- AdvertSpecificProperties);
3564
+ AdvertSpecificProperties &
3565
+ AppellantProcedurePreferenceProperties);
3719
3566
  documents: {
3720
3567
  /**
3721
3568
  * The unique identifier for the document
@@ -3832,183 +3679,81 @@ export interface AppellantSubmissionCommand {
3832
3679
  /**
3833
3680
  * Type or category of the service user.
3834
3681
  */
3835
- serviceUserType: 'Appellant' | 'Agent';
3836
- [k: string]: unknown;
3837
- }[]
3838
- ];
3839
- [k: string]: unknown;
3840
- }
3841
- /**
3842
- * Schema defining any properties for advertisement appeals
3843
- */
3844
- export interface AdvertSpecificProperties {
3845
- /**
3846
- * Indicates if the appellant has land owners permission
3847
- */
3848
- hasLandownersPermission: boolean | null;
3849
- /**
3850
- * Indicates if the advert is already in position
3851
- */
3852
- isAdvertInPosition: boolean | null;
3853
- /**
3854
- * Indicates if site is on highway land
3855
- */
3856
- isSiteOnHighwayLand: boolean | null;
3857
- [k: string]: unknown;
3858
- }
3859
-
3860
- export type Name = string;
3861
-
3862
- /**
3863
- * Subset of Pins Data Model [Service User]
3864
- */
3865
- export interface InterestedParty {
3866
- id?: number;
3867
- interestedPartyNumber?: string;
3868
- firstName?: string;
3869
- lastName?: string;
3870
- under18?: boolean;
3871
- organisationName?: Name;
3872
- jobTitle?: string;
3873
- contactMethod?: 'email' | 'post';
3874
- email?: string;
3875
- phoneNumber?: string;
3876
- address?: Address;
3877
- [k: string]: unknown;
3878
- }
3879
- export interface Address {
3880
- addressLine1: string;
3881
- addressLine2?: string;
3882
- town: string;
3883
- postcode: string;
3884
- country?: string;
3885
- }
3886
-
3887
- /**
3888
- * Schema defining any cas advert specific properties for LPAQ submissions
3889
- */
3890
- export type LPAQCasAdvertSubmissionProperties = {
3891
- /**
3892
- * Indicates that a scheduled monument is affected
3893
- */
3894
- affectsScheduledMonument?: boolean | null;
3895
- /**
3896
- * Indicates the existence of protected species
3897
- */
3898
- hasProtectedSpecies?: boolean | null;
3899
- /**
3900
- * Indicates an area of outstanding beauty (National Landscape)
3901
- */
3902
- isAonbNationalLandscape?: boolean | null;
3903
- /**
3904
- * The designated site names
3905
- */
3906
- designatedSitesNames?: string[] | null;
3907
- /**
3908
- * Indicates statutory consultees
3909
- */
3910
- hasStatutoryConsultees?: boolean | null;
3911
- /**
3912
- * The details of the bodies consulted
3913
- */
3914
- consultedBodiesDetails?: string | null;
3915
- /**
3916
- * Indicates emerging plans
3917
- */
3918
- hasEmergingPlan?: boolean | null;
3919
- /**
3920
- * The procedure preference indicated by the LPA
3921
- */
3922
- lpaProcedurePreference?: 'written' | 'hearing' | 'inquiry' | null;
3923
- /**
3924
- * The procedure details preference indicated by the LPA
3925
- */
3926
- lpaProcedurePreferenceDetails?: string | null;
3927
- /**
3928
- * The duration of enquiry indicated by the LPA
3929
- */
3930
- lpaProcedurePreferenceDuration?: number | null;
3931
- /**
3932
- * Indicates if the site is in an area of special control for adverts
3933
- */
3934
- isSiteInAreaOfSpecialControlAdverts?: boolean | null;
3935
- /**
3936
- * Indicates if the application was refused because of highway or traffic public safety?
3937
- */
3938
- wasApplicationRefusedDueToHighwayOrTraffic?: boolean | null;
3939
- /**
3940
- * Indicates if the appellant submitted complete and accurate photographs and plans
3941
- */
3942
- didAppellantSubmitCompletePhotosAndPlans?: boolean | null;
3943
- };
3944
-
3945
- /**
3946
- * Schema defining any properties common across all appeal types for LPAQ submissions
3947
- */
3948
- export interface LPAQCommonSubmissionProperties {
3949
- /**
3950
- * External case identifier
3951
- */
3952
- caseReference: string;
3953
- /**
3954
- * The date the LPA provided a response to the case
3955
- */
3956
- lpaQuestionnaireSubmittedDate: string | null;
3957
- /**
3958
- * Provided information on site accessibility
3959
- */
3960
- siteAccessDetails: string[] | null;
3961
- /**
3962
- * Provided information on site health and safety
3963
- */
3964
- siteSafetyDetails: string[] | null;
3682
+ serviceUserType: 'Appellant' | 'Agent';
3683
+ [k: string]: unknown;
3684
+ }[]
3685
+ ];
3686
+ [k: string]: unknown;
3687
+ }
3688
+ /**
3689
+ * Schema defining any properties for advertisement appeals
3690
+ */
3691
+ export interface AdvertSpecificProperties {
3965
3692
  /**
3966
- * A list of related case references known to the appellant and the LPA
3693
+ * Indicates if the appellant has land owners permission
3967
3694
  */
3968
- nearbyCaseReferences: string[] | null;
3695
+ hasLandownersPermission: boolean | null;
3969
3696
  /**
3970
- * A list of neighbouring site addresses
3697
+ * A list of advertisements for the appeal
3971
3698
  */
3972
- neighbouringSiteAddresses:
3699
+ advertDetails:
3973
3700
  | {
3701
+ advertType:
3702
+ | '4-6 Sheet Non-Illuminated'
3703
+ | '4-6 Sheet Illuminated'
3704
+ | '12/16/32 Sheet Non-Illuminated'
3705
+ | '12/16/32 Sheet Illuminated'
3706
+ | '48/64/96 Sheet Non-Illuminated'
3707
+ | '48/64/96 Sheet Illuminated'
3708
+ | 'Fascia Projecting Signs Non-Illuminated'
3709
+ | 'Fascia Projecting Signs Illuminated'
3710
+ | 'Directional & Others Non-Illuminated'
3711
+ | 'Directional & Others Illuminated'
3712
+ | 'Monolith/Totem Signs Non-Illuminated'
3713
+ | 'Monolith/Totem Signs Illuminated'
3714
+ | 'Other'
3715
+ | null;
3974
3716
  /**
3975
- * First line of address of the site
3976
- */
3977
- neighbouringSiteAddressLine1: string;
3978
- /**
3979
- * Second line of address of the site
3980
- */
3981
- neighbouringSiteAddressLine2: string | null;
3982
- /**
3983
- * Town / City of the site address
3984
- */
3985
- neighbouringSiteAddressTown: string;
3986
- /**
3987
- * County of the site address
3988
- */
3989
- neighbouringSiteAddressCounty: string | null;
3990
- /**
3991
- * Postal code of the site address
3992
- */
3993
- neighbouringSiteAddressPostcode: string;
3994
- /**
3995
- * Provided information on site accessibility on this address
3717
+ * Is the advertisement in position?
3996
3718
  */
3997
- neighbouringSiteAccessDetails: string | null;
3719
+ isAdvertInPosition: boolean | null;
3998
3720
  /**
3999
- * Provided information on site health and safety on this address
3721
+ * Is the site on highway land?
4000
3722
  */
4001
- neighbouringSiteSafetyDetails: string | null;
3723
+ isSiteOnHighwayLand: boolean | null;
4002
3724
  [k: string]: unknown;
4003
3725
  }[]
4004
3726
  | null;
4005
- /**
4006
- * A general reason given for the need to visit any neighbours
4007
- */
4008
- reasonForNeighbourVisits?: string | null;
4009
3727
  [k: string]: unknown;
4010
3728
  }
4011
3729
 
3730
+ export type Name = string;
3731
+
3732
+ /**
3733
+ * Subset of Pins Data Model [Service User]
3734
+ */
3735
+ export interface InterestedParty {
3736
+ id?: number;
3737
+ interestedPartyNumber?: string;
3738
+ firstName?: string;
3739
+ lastName?: string;
3740
+ under18?: boolean;
3741
+ organisationName?: Name;
3742
+ jobTitle?: string;
3743
+ contactMethod?: 'email' | 'post';
3744
+ email?: string;
3745
+ phoneNumber?: string;
3746
+ address?: Address;
3747
+ [k: string]: unknown;
3748
+ }
3749
+ export interface Address {
3750
+ addressLine1: string;
3751
+ addressLine2?: string;
3752
+ town: string;
3753
+ postcode: string;
3754
+ country?: string;
3755
+ }
3756
+
4012
3757
  /**
4013
3758
  * Schema defining any HAS specific properties for LPAQ submissions
4014
3759
  */
@@ -4046,7 +3791,6 @@ export type LPAQHASSubmissionProperties = {
4046
3791
  */
4047
3792
  lpaStatement?: string | null;
4048
3793
  };
4049
-
4050
3794
  /**
4051
3795
  * Schema defining any S78 specific properties for LPAQ submissions
4052
3796
  */
@@ -4169,6 +3913,11 @@ export type LPAQS78SubmissionProperties = {
4169
3913
  * The expected date of the infrastructure levy
4170
3914
  */
4171
3915
  infrastructureLevyExpectedDate?: string | null;
3916
+ };
3917
+ /**
3918
+ * Schema defining LPA procedure preference properties
3919
+ */
3920
+ export type LPAProcedurePreferenceProperties = {
4172
3921
  /**
4173
3922
  * The procedure preference indicated by the LPA
4174
3923
  */
@@ -4182,181 +3931,17 @@ export type LPAQS78SubmissionProperties = {
4182
3931
  */
4183
3932
  lpaProcedurePreferenceDuration?: number | null;
4184
3933
  };
4185
-
4186
- /**
4187
- * Schema defining any HAS specific properties for LPAQ submissions
4188
- */
4189
- export type LPAQHASSubmissionProperties = {
4190
- /**
4191
- * Indicates if the LPA considers the appeal type appropriate
4192
- */
4193
- isCorrectAppealType?: boolean | null;
4194
- /**
4195
- * A list of affected listed building IDs from Historic England
4196
- */
4197
- affectedListedBuildingNumbers?: string[] | null;
4198
- /**
4199
- * Indicates if the site is in a green belt
4200
- */
4201
- isGreenBelt?: boolean | null;
4202
- /**
4203
- * Indicates if the site is in a conservation area
4204
- */
4205
- inConservationArea?: boolean | null;
4206
- /**
4207
- * New conditions details provided by the LPA
4208
- */
4209
- newConditionDetails?: string | null;
4210
- /**
4211
- * The methods used to notify relevant parties
4212
- */
4213
- notificationMethod?: string[] | null;
4214
- /**
4215
- * Indicates if the LPA has applied for costs
4216
- */
4217
- lpaCostsAppliedFor?: boolean | null;
4218
- /**
4219
- * A statement provided by the LPA, unused?
4220
- */
4221
- lpaStatement?: string | null;
4222
- };
4223
3934
  /**
4224
- * Schema defining any S78 specific properties for LPAQ submissions
3935
+ * Schema defining changed-listed-building-numbers
4225
3936
  */
4226
- export type LPAQS78SubmissionProperties = {
3937
+ export type ChangedListedBuildingNumbersProperties = {
4227
3938
  /**
4228
3939
  * A list of changed listed building IDs from Historic England
4229
3940
  */
4230
3941
  changedListedBuildingNumbers?: string[] | null;
4231
- /**
4232
- * A grant or loan has been made to preserve the listed building
4233
- */
4234
- preserveGrantLoan?: boolean | null;
4235
- /**
4236
- * Are Historic England to be consulted?
4237
- */
4238
- consultHistoricEngland?: boolean | null;
4239
- /**
4240
- * Indicates that a scheduled monument is affected
4241
- */
4242
- affectsScheduledMonument?: boolean | null;
4243
- /**
4244
- * Indicates the existence of protected species
4245
- */
4246
- hasProtectedSpecies?: boolean | null;
4247
- /**
4248
- * Indicates an area of outstanding beauty (National Landscape)
4249
- */
4250
- isAonbNationalLandscape?: boolean | null;
4251
- /**
4252
- * The designated site names
4253
- */
4254
- designatedSitesNames?: string[] | null;
4255
- /**
4256
- * Indicates a TPO (tree preservation order)
4257
- */
4258
- hasTreePreservationOrder?: boolean | null;
4259
- /**
4260
- * Indicates a traveller site
4261
- */
4262
- isGypsyOrTravellerSite?: boolean | null;
4263
- /**
4264
- * Indicates a PROW (public right of way)
4265
- */
4266
- isPublicRightOfWay?: boolean | null;
4267
- /**
4268
- * The impact schedule from EIA
4269
- */
4270
- eiaEnvironmentalImpactSchedule?: 'schedule-1' | 'schedule-2' | null;
4271
- /**
4272
- * The development description from EIA
4273
- */
4274
- eiaDevelopmentDescription?:
4275
- | 'agriculture-aquaculture'
4276
- | 'change-extensions'
4277
- | 'chemical-industry'
4278
- | 'energy-industry'
4279
- | 'extractive-industry'
4280
- | 'food-industry'
4281
- | 'infrastructure-projects'
4282
- | 'mineral-industry'
4283
- | 'other-projects'
4284
- | 'production-processing-of-metals'
4285
- | 'rubber-industry'
4286
- | 'textile-industries'
4287
- | 'tourism-leisure'
4288
- | null;
4289
- /**
4290
- * The sensitive area details from EIA
4291
- */
4292
- eiaSensitiveAreaDetails?: string | null;
4293
- /**
4294
- * EIA specific threshold
4295
- */
4296
- eiaColumnTwoThreshold?: boolean | null;
4297
- /**
4298
- * EIA screening opinion
4299
- */
4300
- eiaScreeningOpinion?: boolean | null;
4301
- /**
4302
- * EIA environmental statement required
4303
- */
4304
- eiaRequiresEnvironmentalStatement?: boolean | null;
4305
- /**
4306
- * EIA completed environmental statement required
4307
- */
4308
- eiaCompletedEnvironmentalStatement?: boolean | null;
4309
- /**
4310
- * Indicates statutory consultees
4311
- */
4312
- hasStatutoryConsultees?: boolean | null;
4313
- /**
4314
- * The details of the bodies consulted
4315
- */
4316
- consultedBodiesDetails?: string | null;
4317
- /**
4318
- * Indicates consultation responses
4319
- */
4320
- hasConsultationResponses?: boolean | null;
4321
- /**
4322
- * Indicates emerging plans
4323
- */
4324
- hasEmergingPlan?: boolean | null;
4325
- /**
4326
- * Indicates supplementary planning documents
4327
- */
4328
- hasSupplementaryPlanningDocs?: boolean | null;
4329
- /**
4330
- * Indicates the existence of an infrastructure levy
4331
- */
4332
- hasInfrastructureLevy?: boolean | null;
4333
- /**
4334
- * Indicates if the infrastructure levy is formally adopted
4335
- */
4336
- isInfrastructureLevyFormallyAdopted?: boolean | null;
4337
- /**
4338
- * The date of the infrastructure levy adoption
4339
- */
4340
- infrastructureLevyAdoptedDate?: string | null;
4341
- /**
4342
- * The expected date of the infrastructure levy
4343
- */
4344
- infrastructureLevyExpectedDate?: string | null;
4345
- /**
4346
- * The procedure preference indicated by the LPA
4347
- */
4348
- lpaProcedurePreference?: 'written' | 'hearing' | 'inquiry' | null;
4349
- /**
4350
- * The procedure details preference indicated by the LPA
4351
- */
4352
- lpaProcedurePreferenceDetails?: string | null;
4353
- /**
4354
- * The duration of enquiry indicated by the LPA
4355
- */
4356
- lpaProcedurePreferenceDuration?: number | null;
4357
3942
  };
4358
3943
  /**
4359
- * Schema defining any cas advert specific properties for LPAQ submissions
3944
+ * Schema defining any advert specific properties for LPAQ submissions
4360
3945
  */
4361
3946
  export type LPAQCasAdvertSubmissionProperties = {
4362
3947
  /**
@@ -4387,18 +3972,6 @@ export type LPAQCasAdvertSubmissionProperties = {
4387
3972
  * Indicates emerging plans
4388
3973
  */
4389
3974
  hasEmergingPlan?: boolean | null;
4390
- /**
4391
- * The procedure preference indicated by the LPA
4392
- */
4393
- lpaProcedurePreference?: 'written' | 'hearing' | 'inquiry' | null;
4394
- /**
4395
- * The procedure details preference indicated by the LPA
4396
- */
4397
- lpaProcedurePreferenceDetails?: string | null;
4398
- /**
4399
- * The duration of enquiry indicated by the LPA
4400
- */
4401
- lpaProcedurePreferenceDuration?: number | null;
4402
3975
  /**
4403
3976
  * Indicates if the site is in an area of special control for adverts
4404
3977
  */
@@ -4426,12 +3999,22 @@ export interface LPAQuestionnaireCommand {
4426
3999
  caseType?: 'W' | 'Y';
4427
4000
  } & LPAQCommonSubmissionProperties &
4428
4001
  LPAQHASSubmissionProperties &
4429
- LPAQS78SubmissionProperties)
4002
+ LPAQS78SubmissionProperties &
4003
+ LPAProcedurePreferenceProperties &
4004
+ ChangedListedBuildingNumbersProperties)
4005
+ | ({
4006
+ caseType?: 'ZA';
4007
+ } & LPAQCommonSubmissionProperties &
4008
+ LPAQHASSubmissionProperties &
4009
+ LPAProcedurePreferenceProperties &
4010
+ LPAQCasAdvertSubmissionProperties)
4430
4011
  | ({
4431
- caseType?: 'H' | 'ZA';
4012
+ caseType?: 'H';
4432
4013
  } & LPAQCommonSubmissionProperties &
4433
4014
  LPAQHASSubmissionProperties &
4434
- LPAQCasAdvertSubmissionProperties);
4015
+ LPAQCasAdvertSubmissionProperties &
4016
+ LPAProcedurePreferenceProperties &
4017
+ ChangedListedBuildingNumbersProperties);
4435
4018
  documents: {
4436
4019
  /**
4437
4020
  * The unique identifier for the document