@planning-inspectorate/data-model 1.17.0 → 1.18.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.
package/src/schemas.d.ts CHANGED
@@ -2732,10 +2732,49 @@ export interface ServiceUser {
2732
2732
  [k: string]: unknown;
2733
2733
  }
2734
2734
 
2735
+ /**
2736
+ * Schema defining any properties for advertisement appeals
2737
+ */
2738
+ export interface AdvertSpecificProperties {
2739
+ /**
2740
+ * Indicates if the appellant has land owners permission
2741
+ */
2742
+ hasLandownersPermission: boolean | null;
2743
+ /**
2744
+ * Indicates if the advert is already in position
2745
+ */
2746
+ isAdvertInPosition: boolean | null;
2747
+ /**
2748
+ * Indicates if site is on highway land
2749
+ */
2750
+ isSiteOnHighwayLand: boolean | null;
2751
+ [k: string]: unknown;
2752
+ }
2753
+
2735
2754
  /**
2736
2755
  * Schema defining any properties common across all appeal types for appeal submissions
2737
2756
  */
2738
- export interface AppellantCommonSubmissionProperties {
2757
+ export type AppellantCommonSubmissionProperties = (
2758
+ | {
2759
+ siteGridReferenceEasting: {
2760
+ [k: string]: unknown;
2761
+ };
2762
+ siteGridReferenceNorthing: {
2763
+ [k: string]: unknown;
2764
+ };
2765
+ }
2766
+ | {
2767
+ siteAddressLine1: {
2768
+ [k: string]: unknown;
2769
+ };
2770
+ siteAddressTown: {
2771
+ [k: string]: unknown;
2772
+ };
2773
+ siteAddressPostcode: {
2774
+ [k: string]: unknown;
2775
+ };
2776
+ }
2777
+ ) & {
2739
2778
  /**
2740
2779
  * Case submission id - link to draft submission created by appellant
2741
2780
  */
@@ -2779,23 +2818,25 @@ export interface AppellantCommonSubmissionProperties {
2779
2818
  /**
2780
2819
  * First line of address for the appeal site
2781
2820
  */
2782
- siteAddressLine1: string;
2821
+ siteAddressLine1?: string | null;
2783
2822
  /**
2784
2823
  * Second line of address for the appeal site
2785
2824
  */
2786
- siteAddressLine2: string | null;
2825
+ siteAddressLine2?: string | null;
2787
2826
  /**
2788
2827
  * Town / City of the site address
2789
2828
  */
2790
- siteAddressTown: string;
2829
+ siteAddressTown?: string | null;
2791
2830
  /**
2792
2831
  * County of the site address
2793
2832
  */
2794
- siteAddressCounty: string | null;
2833
+ siteAddressCounty?: string | null;
2795
2834
  /**
2796
2835
  * Postal code of the site address
2797
2836
  */
2798
- siteAddressPostcode: string;
2837
+ siteAddressPostcode?: string | null;
2838
+ siteGridReferenceEasting?: string | null;
2839
+ siteGridReferenceNorthing?: string | null;
2799
2840
  /**
2800
2841
  * Provided information on site accessibility
2801
2842
  */
@@ -2856,12 +2897,12 @@ export interface AppellantCommonSubmissionProperties {
2856
2897
  | 'advertisement'
2857
2898
  | null;
2858
2899
  [k: string]: unknown;
2859
- }
2900
+ };
2860
2901
 
2861
2902
  /**
2862
2903
  * Schema defining any HAS specific properties for submissions
2863
2904
  */
2864
- export type AppellantHASSubmissionProperties = AppellantCommonSubmissionProperties & {
2905
+ export type AppellantHASSubmissionProperties = {
2865
2906
  /**
2866
2907
  * Indicates if the site is in a green belt
2867
2908
  */
@@ -2912,132 +2953,6 @@ export type AppellantHASSubmissionProperties = AppellantCommonSubmissionProperti
2912
2953
  appellantCostsAppliedFor?: boolean | null;
2913
2954
  };
2914
2955
 
2915
- /**
2916
- * Schema defining any properties common across all appeal types for appeal submissions
2917
- */
2918
- export interface AppellantCommonSubmissionProperties {
2919
- /**
2920
- * Case submission id - link to draft submission created by appellant
2921
- */
2922
- submissionId: string;
2923
- /**
2924
- * The type of procedure for the appeal
2925
- */
2926
- caseProcedure: 'written' | 'hearing' | 'inquiry';
2927
- /**
2928
- * A unique identifier for the Local Planning Authority
2929
- */
2930
- lpaCode: string;
2931
- /**
2932
- * The date the appeal was submitted by the appellant
2933
- */
2934
- caseSubmittedDate: string;
2935
- /**
2936
- * Indicates if an enforcement notice is the reason for the appeal
2937
- */
2938
- enforcementNotice: boolean | null;
2939
- /**
2940
- * The unique identifier of the LPA application
2941
- */
2942
- applicationReference: string;
2943
- /**
2944
- * The date of the original LPA application
2945
- */
2946
- applicationDate: string;
2947
- /**
2948
- * The outcome of the original LPA decision
2949
- */
2950
- applicationDecision: 'granted' | 'refused' | 'not_received';
2951
- /**
2952
- * The date of the original LPA decision
2953
- */
2954
- applicationDecisionDate: string | null;
2955
- /**
2956
- * The statutory deadline for submitting an appeal from the original LPA decision date
2957
- */
2958
- caseSubmissionDueDate: string | null;
2959
- /**
2960
- * First line of address for the appeal site
2961
- */
2962
- siteAddressLine1: string;
2963
- /**
2964
- * Second line of address for the appeal site
2965
- */
2966
- siteAddressLine2: string | null;
2967
- /**
2968
- * Town / City of the site address
2969
- */
2970
- siteAddressTown: string;
2971
- /**
2972
- * County of the site address
2973
- */
2974
- siteAddressCounty: string | null;
2975
- /**
2976
- * Postal code of the site address
2977
- */
2978
- siteAddressPostcode: string;
2979
- /**
2980
- * Provided information on site accessibility
2981
- */
2982
- siteAccessDetails: string[] | null;
2983
- /**
2984
- * Provided information on site health and safety
2985
- */
2986
- siteSafetyDetails: string[] | null;
2987
- /**
2988
- * A list of neighbouring site addresses
2989
- */
2990
- neighbouringSiteAddresses:
2991
- | {
2992
- /**
2993
- * First line of address of the site
2994
- */
2995
- neighbouringSiteAddressLine1: string;
2996
- /**
2997
- * Second line of address of the site
2998
- */
2999
- neighbouringSiteAddressLine2: string | null;
3000
- /**
3001
- * Town / City of the site address
3002
- */
3003
- neighbouringSiteAddressTown: string;
3004
- /**
3005
- * County of the site address
3006
- */
3007
- neighbouringSiteAddressCounty: string | null;
3008
- /**
3009
- * Postal code of the site address
3010
- */
3011
- neighbouringSiteAddressPostcode: string;
3012
- /**
3013
- * Provided information on site accessibility on this address
3014
- */
3015
- neighbouringSiteAccessDetails: string | null;
3016
- /**
3017
- * Provided information on site health and safety on this address
3018
- */
3019
- neighbouringSiteSafetyDetails: string | null;
3020
- [k: string]: unknown;
3021
- }[]
3022
- | null;
3023
- /**
3024
- * A list of related case references known to the appellant and the LPA
3025
- */
3026
- nearbyCaseReferences: string[] | null;
3027
- typeOfPlanningApplication?:
3028
- | 'full-appeal'
3029
- | 'householder-planning'
3030
- | 'outline-planning'
3031
- | 'prior-approval'
3032
- | 'reserved-matters'
3033
- | 'removal-or-variation-of-conditions'
3034
- | 'listed-building'
3035
- | 'minor-commercial-development'
3036
- | 'advertisement'
3037
- | null;
3038
- [k: string]: unknown;
3039
- }
3040
-
3041
2956
  /**
3042
2957
  * Schema defining the data produced by the Front-Office when a representation is created on an appeal
3043
2958
  */
@@ -3172,7 +3087,7 @@ export type AppealRepresentationSubmission = {
3172
3087
  /**
3173
3088
  * Schema defining any S78 specific properties for questionnaire submissions
3174
3089
  */
3175
- export type AppellantS78SubmissionProperties = AppellantHASSubmissionProperties & {
3090
+ export type AppellantS78SubmissionProperties = {
3176
3091
  /**
3177
3092
  * Indicates if the site is an agricultural holding
3178
3093
  */
@@ -3231,64 +3146,31 @@ export type AppellantS78SubmissionProperties = AppellantHASSubmissionProperties
3231
3146
  | 'other-minor'
3232
3147
  | null;
3233
3148
  };
3234
- /**
3235
- * Schema defining any HAS specific properties for submissions
3236
- */
3237
- export type AppellantHASSubmissionProperties = AppellantCommonSubmissionProperties & {
3238
- /**
3239
- * Indicates if the site is in a green belt
3240
- */
3241
- isGreenBelt?: boolean | null;
3242
- /**
3243
- * The site area, in square meters
3244
- */
3245
- siteAreaSquareMetres?: number | null;
3246
- /**
3247
- * The floor space, in square meters
3248
- */
3249
- floorSpaceSquareMetres?: number | null;
3250
- /**
3251
- * Indicates if the appellant has complete ownership of the site
3252
- */
3253
- ownsAllLand?: boolean | null;
3254
- /**
3255
- * Indicates if the appellant has partial ownership of the site
3256
- */
3257
- ownsSomeLand?: boolean | null;
3258
- /**
3259
- * Indicates if the appellant knows other owners of the site
3260
- */
3261
- knowsOtherOwners?: 'Yes' | 'No' | 'Some' | null;
3262
- /**
3263
- * Indicates if the appellant knows all owners of the site
3264
- */
3265
- knowsAllOwners?: 'Yes' | 'No' | 'Some' | null;
3266
- /**
3267
- * Indicates if the appellant has advertised the appeal to the LPA decision
3268
- */
3269
- advertisedAppeal?: boolean | null;
3270
- /**
3271
- * Indicates if the appellant has informed other owners of the site
3272
- */
3273
- ownersInformed?: boolean | null;
3274
- /**
3275
- * The original description of the development, as provided by the appellant
3276
- */
3277
- originalDevelopmentDescription?: string | null;
3278
- /**
3279
- * Indicates that the LPA has changed the development description
3280
- */
3281
- changedDevelopmentDescription?: boolean | null;
3282
- /**
3283
- * Indicates if the appellant has applied for costs
3284
- */
3285
- appellantCostsAppliedFor?: boolean | null;
3286
- };
3287
3149
 
3288
3150
  /**
3289
3151
  * Schema defining any properties common across all appeal types for appeal submissions
3290
3152
  */
3291
- export interface AppellantCommonSubmissionProperties {
3153
+ export type AppellantCommonSubmissionProperties = (
3154
+ | {
3155
+ siteGridReferenceEasting: {
3156
+ [k: string]: unknown;
3157
+ };
3158
+ siteGridReferenceNorthing: {
3159
+ [k: string]: unknown;
3160
+ };
3161
+ }
3162
+ | {
3163
+ siteAddressLine1: {
3164
+ [k: string]: unknown;
3165
+ };
3166
+ siteAddressTown: {
3167
+ [k: string]: unknown;
3168
+ };
3169
+ siteAddressPostcode: {
3170
+ [k: string]: unknown;
3171
+ };
3172
+ }
3173
+ ) & {
3292
3174
  /**
3293
3175
  * Case submission id - link to draft submission created by appellant
3294
3176
  */
@@ -3332,23 +3214,25 @@ export interface AppellantCommonSubmissionProperties {
3332
3214
  /**
3333
3215
  * First line of address for the appeal site
3334
3216
  */
3335
- siteAddressLine1: string;
3217
+ siteAddressLine1?: string | null;
3336
3218
  /**
3337
3219
  * Second line of address for the appeal site
3338
3220
  */
3339
- siteAddressLine2: string | null;
3221
+ siteAddressLine2?: string | null;
3340
3222
  /**
3341
3223
  * Town / City of the site address
3342
3224
  */
3343
- siteAddressTown: string;
3225
+ siteAddressTown?: string | null;
3344
3226
  /**
3345
3227
  * County of the site address
3346
3228
  */
3347
- siteAddressCounty: string | null;
3229
+ siteAddressCounty?: string | null;
3348
3230
  /**
3349
3231
  * Postal code of the site address
3350
3232
  */
3351
- siteAddressPostcode: string;
3233
+ siteAddressPostcode?: string | null;
3234
+ siteGridReferenceEasting?: string | null;
3235
+ siteGridReferenceNorthing?: string | null;
3352
3236
  /**
3353
3237
  * Provided information on site accessibility
3354
3238
  */
@@ -3409,12 +3293,11 @@ export interface AppellantCommonSubmissionProperties {
3409
3293
  | 'advertisement'
3410
3294
  | null;
3411
3295
  [k: string]: unknown;
3412
- }
3413
-
3296
+ };
3414
3297
  /**
3415
3298
  * Schema defining any HAS specific properties for submissions
3416
3299
  */
3417
- export type AppellantHASSubmissionProperties = AppellantCommonSubmissionProperties & {
3300
+ export type AppellantHASSubmissionProperties = {
3418
3301
  /**
3419
3302
  * Indicates if the site is in a green belt
3420
3303
  */
@@ -3467,7 +3350,7 @@ export type AppellantHASSubmissionProperties = AppellantCommonSubmissionProperti
3467
3350
  /**
3468
3351
  * Schema defining any S78 specific properties for questionnaire submissions
3469
3352
  */
3470
- export type AppellantS78SubmissionProperties = AppellantHASSubmissionProperties & {
3353
+ export type AppellantS78SubmissionProperties = {
3471
3354
  /**
3472
3355
  * Indicates if the site is an agricultural holding
3473
3356
  */
@@ -3533,17 +3416,19 @@ export type AppellantS78SubmissionProperties = AppellantHASSubmissionProperties
3533
3416
  export interface AppellantSubmissionCommand {
3534
3417
  casedata:
3535
3418
  | ({
3536
- caseType?: 'D';
3537
- } & AppellantHASSubmissionProperties)
3538
- | ({
3539
- caseType?: 'ZP';
3540
- } & AppellantHASSubmissionProperties)
3419
+ caseType?: 'D' | 'ZP';
3420
+ } & AppellantCommonSubmissionProperties &
3421
+ AppellantHASSubmissionProperties)
3541
3422
  | ({
3542
- caseType?: 'W';
3543
- } & AppellantS78SubmissionProperties)
3423
+ caseType?: 'W' | 'Y';
3424
+ } & AppellantCommonSubmissionProperties &
3425
+ AppellantHASSubmissionProperties &
3426
+ AppellantS78SubmissionProperties)
3544
3427
  | ({
3545
- caseType?: 'Y';
3546
- } & AppellantS78SubmissionProperties);
3428
+ caseType?: 'H' | 'ZA';
3429
+ } & AppellantCommonSubmissionProperties &
3430
+ AppellantHASSubmissionProperties &
3431
+ AdvertSpecificProperties);
3547
3432
  documents: {
3548
3433
  /**
3549
3434
  * The unique identifier for the document
@@ -3667,128 +3552,21 @@ export interface AppellantSubmissionCommand {
3667
3552
  [k: string]: unknown;
3668
3553
  }
3669
3554
  /**
3670
- * Schema defining any properties common across all appeal types for appeal submissions
3555
+ * Schema defining any properties for advertisement appeals
3671
3556
  */
3672
- export interface AppellantCommonSubmissionProperties {
3557
+ export interface AdvertSpecificProperties {
3673
3558
  /**
3674
- * Case submission id - link to draft submission created by appellant
3559
+ * Indicates if the appellant has land owners permission
3675
3560
  */
3676
- submissionId: string;
3561
+ hasLandownersPermission: boolean | null;
3677
3562
  /**
3678
- * The type of procedure for the appeal
3563
+ * Indicates if the advert is already in position
3679
3564
  */
3680
- caseProcedure: 'written' | 'hearing' | 'inquiry';
3565
+ isAdvertInPosition: boolean | null;
3681
3566
  /**
3682
- * A unique identifier for the Local Planning Authority
3567
+ * Indicates if site is on highway land
3683
3568
  */
3684
- lpaCode: string;
3685
- /**
3686
- * The date the appeal was submitted by the appellant
3687
- */
3688
- caseSubmittedDate: string;
3689
- /**
3690
- * Indicates if an enforcement notice is the reason for the appeal
3691
- */
3692
- enforcementNotice: boolean | null;
3693
- /**
3694
- * The unique identifier of the LPA application
3695
- */
3696
- applicationReference: string;
3697
- /**
3698
- * The date of the original LPA application
3699
- */
3700
- applicationDate: string;
3701
- /**
3702
- * The outcome of the original LPA decision
3703
- */
3704
- applicationDecision: 'granted' | 'refused' | 'not_received';
3705
- /**
3706
- * The date of the original LPA decision
3707
- */
3708
- applicationDecisionDate: string | null;
3709
- /**
3710
- * The statutory deadline for submitting an appeal from the original LPA decision date
3711
- */
3712
- caseSubmissionDueDate: string | null;
3713
- /**
3714
- * First line of address for the appeal site
3715
- */
3716
- siteAddressLine1: string;
3717
- /**
3718
- * Second line of address for the appeal site
3719
- */
3720
- siteAddressLine2: string | null;
3721
- /**
3722
- * Town / City of the site address
3723
- */
3724
- siteAddressTown: string;
3725
- /**
3726
- * County of the site address
3727
- */
3728
- siteAddressCounty: string | null;
3729
- /**
3730
- * Postal code of the site address
3731
- */
3732
- siteAddressPostcode: string;
3733
- /**
3734
- * Provided information on site accessibility
3735
- */
3736
- siteAccessDetails: string[] | null;
3737
- /**
3738
- * Provided information on site health and safety
3739
- */
3740
- siteSafetyDetails: string[] | null;
3741
- /**
3742
- * A list of neighbouring site addresses
3743
- */
3744
- neighbouringSiteAddresses:
3745
- | {
3746
- /**
3747
- * First line of address of the site
3748
- */
3749
- neighbouringSiteAddressLine1: string;
3750
- /**
3751
- * Second line of address of the site
3752
- */
3753
- neighbouringSiteAddressLine2: string | null;
3754
- /**
3755
- * Town / City of the site address
3756
- */
3757
- neighbouringSiteAddressTown: string;
3758
- /**
3759
- * County of the site address
3760
- */
3761
- neighbouringSiteAddressCounty: string | null;
3762
- /**
3763
- * Postal code of the site address
3764
- */
3765
- neighbouringSiteAddressPostcode: string;
3766
- /**
3767
- * Provided information on site accessibility on this address
3768
- */
3769
- neighbouringSiteAccessDetails: string | null;
3770
- /**
3771
- * Provided information on site health and safety on this address
3772
- */
3773
- neighbouringSiteSafetyDetails: string | null;
3774
- [k: string]: unknown;
3775
- }[]
3776
- | null;
3777
- /**
3778
- * A list of related case references known to the appellant and the LPA
3779
- */
3780
- nearbyCaseReferences: string[] | null;
3781
- typeOfPlanningApplication?:
3782
- | 'full-appeal'
3783
- | 'householder-planning'
3784
- | 'outline-planning'
3785
- | 'prior-approval'
3786
- | 'reserved-matters'
3787
- | 'removal-or-variation-of-conditions'
3788
- | 'listed-building'
3789
- | 'minor-commercial-development'
3790
- | 'advertisement'
3791
- | null;
3569
+ isSiteOnHighwayLand: boolean | null;
3792
3570
  [k: string]: unknown;
3793
3571
  }
3794
3572
 
@@ -3889,7 +3667,7 @@ export interface LPAQCommonSubmissionProperties {
3889
3667
  /**
3890
3668
  * Schema defining any HAS specific properties for LPAQ submissions
3891
3669
  */
3892
- export type LPAQHASSubmissionProperties = LPAQCommonSubmissionProperties & {
3670
+ export type LPAQHASSubmissionProperties = {
3893
3671
  /**
3894
3672
  * Indicates if the LPA considers the appeal type appropriate
3895
3673
  */
@@ -3924,77 +3702,10 @@ export type LPAQHASSubmissionProperties = LPAQCommonSubmissionProperties & {
3924
3702
  lpaStatement?: string | null;
3925
3703
  };
3926
3704
 
3927
- /**
3928
- * Schema defining any properties common across all appeal types for LPAQ submissions
3929
- */
3930
- export interface LPAQCommonSubmissionProperties {
3931
- /**
3932
- * External case identifier
3933
- */
3934
- caseReference: string;
3935
- /**
3936
- * The date the LPA provided a response to the case
3937
- */
3938
- lpaQuestionnaireSubmittedDate: string | null;
3939
- /**
3940
- * Provided information on site accessibility
3941
- */
3942
- siteAccessDetails: string[] | null;
3943
- /**
3944
- * Provided information on site health and safety
3945
- */
3946
- siteSafetyDetails: string[] | null;
3947
- /**
3948
- * A list of related case references known to the appellant and the LPA
3949
- */
3950
- nearbyCaseReferences: string[] | null;
3951
- /**
3952
- * A list of neighbouring site addresses
3953
- */
3954
- neighbouringSiteAddresses:
3955
- | {
3956
- /**
3957
- * First line of address of the site
3958
- */
3959
- neighbouringSiteAddressLine1: string;
3960
- /**
3961
- * Second line of address of the site
3962
- */
3963
- neighbouringSiteAddressLine2: string | null;
3964
- /**
3965
- * Town / City of the site address
3966
- */
3967
- neighbouringSiteAddressTown: string;
3968
- /**
3969
- * County of the site address
3970
- */
3971
- neighbouringSiteAddressCounty: string | null;
3972
- /**
3973
- * Postal code of the site address
3974
- */
3975
- neighbouringSiteAddressPostcode: string;
3976
- /**
3977
- * Provided information on site accessibility on this address
3978
- */
3979
- neighbouringSiteAccessDetails: string | null;
3980
- /**
3981
- * Provided information on site health and safety on this address
3982
- */
3983
- neighbouringSiteSafetyDetails: string | null;
3984
- [k: string]: unknown;
3985
- }[]
3986
- | null;
3987
- /**
3988
- * A general reason given for the need to visit any neighbours
3989
- */
3990
- reasonForNeighbourVisits?: string | null;
3991
- [k: string]: unknown;
3992
- }
3993
-
3994
3705
  /**
3995
3706
  * Schema defining any S78 specific properties for LPAQ submissions
3996
3707
  */
3997
- export type LPAQS78SubmissionProperties = LPAQHASSubmissionProperties & {
3708
+ export type LPAQS78SubmissionProperties = {
3998
3709
  /**
3999
3710
  * A list of changed listed building IDs from Historic England
4000
3711
  */
@@ -4126,115 +3837,11 @@ export type LPAQS78SubmissionProperties = LPAQHASSubmissionProperties & {
4126
3837
  */
4127
3838
  lpaProcedurePreferenceDuration?: number | null;
4128
3839
  };
4129
- /**
4130
- * Schema defining any HAS specific properties for LPAQ submissions
4131
- */
4132
- export type LPAQHASSubmissionProperties = LPAQCommonSubmissionProperties & {
4133
- /**
4134
- * Indicates if the LPA considers the appeal type appropriate
4135
- */
4136
- isCorrectAppealType?: boolean | null;
4137
- /**
4138
- * A list of affected listed building IDs from Historic England
4139
- */
4140
- affectedListedBuildingNumbers?: string[] | null;
4141
- /**
4142
- * Indicates if the site is in a green belt
4143
- */
4144
- isGreenBelt?: boolean | null;
4145
- /**
4146
- * Indicates if the site is in a conservation area
4147
- */
4148
- inConservationArea?: boolean | null;
4149
- /**
4150
- * New conditions details provided by the LPA
4151
- */
4152
- newConditionDetails?: string | null;
4153
- /**
4154
- * The methods used to notify relevant parties
4155
- */
4156
- notificationMethod?: string[] | null;
4157
- /**
4158
- * Indicates if the LPA has applied for costs
4159
- */
4160
- lpaCostsAppliedFor?: boolean | null;
4161
- /**
4162
- * A statement provided by the LPA, unused?
4163
- */
4164
- lpaStatement?: string | null;
4165
- };
4166
-
4167
- /**
4168
- * Schema defining any properties common across all appeal types for LPAQ submissions
4169
- */
4170
- export interface LPAQCommonSubmissionProperties {
4171
- /**
4172
- * External case identifier
4173
- */
4174
- caseReference: string;
4175
- /**
4176
- * The date the LPA provided a response to the case
4177
- */
4178
- lpaQuestionnaireSubmittedDate: string | null;
4179
- /**
4180
- * Provided information on site accessibility
4181
- */
4182
- siteAccessDetails: string[] | null;
4183
- /**
4184
- * Provided information on site health and safety
4185
- */
4186
- siteSafetyDetails: string[] | null;
4187
- /**
4188
- * A list of related case references known to the appellant and the LPA
4189
- */
4190
- nearbyCaseReferences: string[] | null;
4191
- /**
4192
- * A list of neighbouring site addresses
4193
- */
4194
- neighbouringSiteAddresses:
4195
- | {
4196
- /**
4197
- * First line of address of the site
4198
- */
4199
- neighbouringSiteAddressLine1: string;
4200
- /**
4201
- * Second line of address of the site
4202
- */
4203
- neighbouringSiteAddressLine2: string | null;
4204
- /**
4205
- * Town / City of the site address
4206
- */
4207
- neighbouringSiteAddressTown: string;
4208
- /**
4209
- * County of the site address
4210
- */
4211
- neighbouringSiteAddressCounty: string | null;
4212
- /**
4213
- * Postal code of the site address
4214
- */
4215
- neighbouringSiteAddressPostcode: string;
4216
- /**
4217
- * Provided information on site accessibility on this address
4218
- */
4219
- neighbouringSiteAccessDetails: string | null;
4220
- /**
4221
- * Provided information on site health and safety on this address
4222
- */
4223
- neighbouringSiteSafetyDetails: string | null;
4224
- [k: string]: unknown;
4225
- }[]
4226
- | null;
4227
- /**
4228
- * A general reason given for the need to visit any neighbours
4229
- */
4230
- reasonForNeighbourVisits?: string | null;
4231
- [k: string]: unknown;
4232
- }
4233
3840
 
4234
3841
  /**
4235
3842
  * Schema defining any HAS specific properties for LPAQ submissions
4236
3843
  */
4237
- export type LPAQHASSubmissionProperties = LPAQCommonSubmissionProperties & {
3844
+ export type LPAQHASSubmissionProperties = {
4238
3845
  /**
4239
3846
  * Indicates if the LPA considers the appeal type appropriate
4240
3847
  */
@@ -4271,7 +3878,7 @@ export type LPAQHASSubmissionProperties = LPAQCommonSubmissionProperties & {
4271
3878
  /**
4272
3879
  * Schema defining any S78 specific properties for LPAQ submissions
4273
3880
  */
4274
- export type LPAQS78SubmissionProperties = LPAQHASSubmissionProperties & {
3881
+ export type LPAQS78SubmissionProperties = {
4275
3882
  /**
4276
3883
  * A list of changed listed building IDs from Historic England
4277
3884
  */
@@ -4410,20 +4017,17 @@ export type LPAQS78SubmissionProperties = LPAQHASSubmissionProperties & {
4410
4017
  export interface LPAQuestionnaireCommand {
4411
4018
  casedata:
4412
4019
  | ({
4413
- [k: string]: unknown;
4414
- } & LPAQHASSubmissionProperties)
4415
- | ({
4416
- caseType?: 'W';
4417
- } & LPAQS78SubmissionProperties)
4418
- | ({
4419
- caseType?: 'Y';
4420
- } & LPAQS78SubmissionProperties)
4020
+ caseType?: 'D' | 'ZP';
4021
+ } & LPAQCommonSubmissionProperties &
4022
+ LPAQHASSubmissionProperties)
4421
4023
  | ({
4422
- caseType?: 'D';
4423
- } & LPAQHASSubmissionProperties)
4024
+ caseType?: 'W' | 'Y';
4025
+ } & LPAQCommonSubmissionProperties &
4026
+ LPAQHASSubmissionProperties &
4027
+ LPAQS78SubmissionProperties)
4424
4028
  | ({
4425
- caseType?: 'ZP';
4426
- } & LPAQHASSubmissionProperties);
4029
+ caseType?: 'H' | 'ZA';
4030
+ } & LPAQCommonSubmissionProperties);
4427
4031
  documents: {
4428
4032
  /**
4429
4033
  * The unique identifier for the document