@pdtf/schemas 3.0.0-21 → 3.0.0-23

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.
@@ -483,7 +483,7 @@
483
483
  "leaseholdInformation": {
484
484
  "baspiRef": "A1.5",
485
485
  "required": [
486
- "typeOfLeasehold",
486
+ "sharedOwnership",
487
487
  "leaseTerm",
488
488
  "contactDetails",
489
489
  "groundRent",
@@ -491,27 +491,26 @@
491
491
  "serviceCharge"
492
492
  ],
493
493
  "properties": {
494
- "typeOfLeasehold": {
494
+ "sharedOwnership": {
495
495
  "baspiRef": "A1.3.1",
496
496
  "discriminator": {
497
- "propertyName": "leaseholdType"
497
+ "propertyName": "isSharedOwnership"
498
498
  },
499
499
  "oneOf": [
500
500
  {
501
501
  "properties": {
502
- "leaseholdType": {
502
+ "isSharedOwnership": {
503
503
  "enum": [
504
- "Flat",
505
- "Long leasehold house"
504
+ "No"
506
505
  ]
507
506
  }
508
507
  }
509
508
  },
510
509
  {
511
510
  "properties": {
512
- "leaseholdType": {
511
+ "isSharedOwnership": {
513
512
  "enum": [
514
- "Shared ownership"
513
+ "Yes"
515
514
  ]
516
515
  },
517
516
  "sharedOwnershipPercentage": {
@@ -532,10 +531,10 @@
532
531
  }
533
532
  ],
534
533
  "required": [
535
- "leaseholdType"
534
+ "isSharedOwnership"
536
535
  ],
537
536
  "properties": {
538
- "leaseholdType": {
537
+ "isSharedOwnership": {
539
538
  "baspiRef": "A1.3.1"
540
539
  }
541
540
  }
@@ -3762,7 +3761,10 @@
3762
3761
  "attachments": {
3763
3762
  "baspiRef": "4.6.2.2"
3764
3763
  }
3765
- }
3764
+ },
3765
+ "required": [
3766
+ "location"
3767
+ ]
3766
3768
  }
3767
3769
  ],
3768
3770
  "required": [
@@ -4286,6 +4288,9 @@
4286
4288
  },
4287
4289
  "gasMeter": {
4288
4290
  "baspiRef": "B4.5",
4291
+ "required": [
4292
+ "location"
4293
+ ],
4289
4294
  "properties": {
4290
4295
  "location": {
4291
4296
  "baspiRef": "4.5.1"
@@ -37,8 +37,7 @@
37
37
  "waterMainsWithinBoundaries",
38
38
  "waterMainsSubjectOfAdoptionAgreement",
39
39
  "lowWaterPressureRisk",
40
- "waterQualityAnalysis",
41
- "waterMeterLocation"
40
+ "waterQualityAnalysis"
42
41
  ],
43
42
  "properties": {
44
43
  "mainsWater": {
@@ -65,10 +64,29 @@
65
64
  },
66
65
  "details": {
67
66
  "con29DWRef": "3.1.2"
67
+ },
68
+ "waterMeter": {
69
+ "required": [
70
+ "isSupplyMetered"
71
+ ],
72
+ "oneOf": [
73
+ null,
74
+ {
75
+ "required": [
76
+ "location"
77
+ ],
78
+ "properties": {
79
+ "location": {
80
+ "con29DWRef": "3.6"
81
+ }
82
+ }
83
+ }
84
+ ]
68
85
  }
69
86
  },
70
87
  "required": [
71
- "details"
88
+ "details",
89
+ "waterMeter"
72
90
  ]
73
91
  },
74
92
  {
@@ -216,9 +234,6 @@
216
234
  },
217
235
  "supplyClassification": {
218
236
  "con29DWRef": "3.5"
219
- },
220
- "waterMeterLocation": {
221
- "con29DWRef": "3.6"
222
237
  }
223
238
  }
224
239
  },
@@ -46,9 +46,9 @@
46
46
  "confirmation"
47
47
  ],
48
48
  "properties": {
49
- "typeOfLeasehold": {
49
+ "sharedOwnership": {
50
50
  "required": [
51
- "leaseholdType"
51
+ "isSharedOwnership"
52
52
  ],
53
53
  "oneOf": [
54
54
  null,
@@ -261,6 +261,7 @@
261
261
  "collectsServiceCharges",
262
262
  "collectsbuildingInsurancePremiums",
263
263
  "dealsWithDayToDayMaintenanceOfManagedArea",
264
+ "organisesBuildingInsurance",
264
265
  "dealsWithDayToDayMaintenanceOfBuilding"
265
266
  ],
266
267
  "properties": {
@@ -293,33 +293,32 @@
293
293
  "leaseholdInformation": {
294
294
  "ntsRef": "A3.2",
295
295
  "required": [
296
- "typeOfLeasehold",
296
+ "sharedOwnership",
297
297
  "leaseTerm",
298
298
  "groundRent",
299
299
  "serviceCharge"
300
300
  ],
301
301
  "properties": {
302
- "typeOfLeasehold": {
302
+ "sharedOwnership": {
303
303
  "ntsRef": "A3.2",
304
304
  "discriminator": {
305
- "propertyName": "leaseholdType"
305
+ "propertyName": "isSharedOwnership"
306
306
  },
307
307
  "oneOf": [
308
308
  {
309
309
  "properties": {
310
- "leaseholdType": {
310
+ "isSharedOwnership": {
311
311
  "enum": [
312
- "Flat",
313
- "Long leasehold house"
312
+ "No"
314
313
  ]
315
314
  }
316
315
  }
317
316
  },
318
317
  {
319
318
  "properties": {
320
- "leaseholdType": {
319
+ "isSharedOwnership": {
321
320
  "enum": [
322
- "Shared ownership"
321
+ "Yes"
323
322
  ]
324
323
  },
325
324
  "sharedOwnershipPercentage": {
@@ -340,10 +339,10 @@
340
339
  }
341
340
  ],
342
341
  "required": [
343
- "leaseholdType"
342
+ "isSharedOwnership"
344
343
  ],
345
344
  "properties": {
346
- "leaseholdType": {
345
+ "isSharedOwnership": {
347
346
  "ntsRef": "A3.2.1"
348
347
  }
349
348
  }
@@ -43,6 +43,24 @@
43
43
  "properties": {
44
44
  "basicFittings": {
45
45
  "ta10Ref": "1",
46
+ "required": [
47
+ "boilerImmersionHeater",
48
+ "radiatorsWallHeaters",
49
+ "nightStorageHeaters",
50
+ "freeStandingHeaters",
51
+ "gasFiresWithSurround",
52
+ "electricFiresWithSurround",
53
+ "lightSwitches",
54
+ "roofInsulation",
55
+ "windowFittings",
56
+ "windowShuttersGrilles",
57
+ "internalDoorFittings",
58
+ "externalDoorFittings",
59
+ "doorbellChime",
60
+ "electricSockets",
61
+ "burglarAlarm",
62
+ "otherItems"
63
+ ],
46
64
  "properties": {
47
65
  "boilerImmersionHeater": {
48
66
  "ta10Ref": "1.1",
@@ -818,6 +836,19 @@
818
836
  },
819
837
  "kitchen": {
820
838
  "ta10Ref": "2",
839
+ "required": [
840
+ "hob",
841
+ "extractorHood",
842
+ "ovenGrill",
843
+ "cooker",
844
+ "microwave",
845
+ "refrigeratorFridgeFreezer",
846
+ "freezer",
847
+ "dishwasher",
848
+ "tumbleDryer",
849
+ "washingMachine",
850
+ "otherItems"
851
+ ],
821
852
  "properties": {
822
853
  "hob": {
823
854
  "ta10Ref": "2.1",
@@ -1860,6 +1891,18 @@
1860
1891
  },
1861
1892
  "bathroom": {
1862
1893
  "ta10Ref": "3",
1894
+ "required": [
1895
+ "bath",
1896
+ "showerFittingForBath",
1897
+ "showerCurtain",
1898
+ "bathroomCabinet",
1899
+ "taps",
1900
+ "separateShowersAndFittings",
1901
+ "towelRail",
1902
+ "soapToothbrushHolders",
1903
+ "toiletRollHolders",
1904
+ "bathroomMirror"
1905
+ ],
1863
1906
  "properties": {
1864
1907
  "bath": {
1865
1908
  "ta10Ref": "3.1",
@@ -2355,6 +2398,16 @@
2355
2398
  },
2356
2399
  "carpets": {
2357
2400
  "ta10Ref": "4",
2401
+ "required": [
2402
+ "hallStairsLanding",
2403
+ "livingRoom",
2404
+ "diningRoom",
2405
+ "kitchen",
2406
+ "bedroom1",
2407
+ "bedroom2",
2408
+ "bedroom3",
2409
+ "otherRooms"
2410
+ ],
2358
2411
  "properties": {
2359
2412
  "hallStairsLanding": {
2360
2413
  "ta10Ref": "4.1",
@@ -2744,6 +2797,16 @@
2744
2797
  ],
2745
2798
  "properties": {
2746
2799
  "curtainRailsPolesPelmets": {
2800
+ "required": [
2801
+ "hallStairsLanding",
2802
+ "livingRoom",
2803
+ "diningRoom",
2804
+ "kitchen",
2805
+ "bedroom1",
2806
+ "bedroom2",
2807
+ "bedroom3",
2808
+ "otherRooms"
2809
+ ],
2747
2810
  "properties": {
2748
2811
  "hallStairsLanding": {
2749
2812
  "ta10Ref": "5.1",
@@ -3126,6 +3189,16 @@
3126
3189
  }
3127
3190
  },
3128
3191
  "curtainsBlinds": {
3192
+ "required": [
3193
+ "hallStairsLanding",
3194
+ "livingRoom",
3195
+ "diningRoom",
3196
+ "kitchen",
3197
+ "bedroom1",
3198
+ "bedroom2",
3199
+ "bedroom3",
3200
+ "otherRooms"
3201
+ ],
3129
3202
  "properties": {
3130
3203
  "hallStairsLanding": {
3131
3204
  "ta10Ref": "5.12",
@@ -3511,6 +3584,16 @@
3511
3584
  },
3512
3585
  "lightFittings": {
3513
3586
  "ta10Ref": "6",
3587
+ "required": [
3588
+ "hallStairsLanding",
3589
+ "livingRoom",
3590
+ "diningRoom",
3591
+ "kitchen",
3592
+ "bedroom1",
3593
+ "bedroom2",
3594
+ "bedroom3",
3595
+ "otherRooms"
3596
+ ],
3514
3597
  "properties": {
3515
3598
  "hallStairsLanding": {
3516
3599
  "ta10Ref": "6.1",
@@ -3894,6 +3977,16 @@
3894
3977
  },
3895
3978
  "fittedUnits": {
3896
3979
  "ta10Ref": "7",
3980
+ "required": [
3981
+ "hallStairsLanding",
3982
+ "livingRoom",
3983
+ "diningRoom",
3984
+ "kitchen",
3985
+ "bedroom1",
3986
+ "bedroom2",
3987
+ "bedroom3",
3988
+ "otherRooms"
3989
+ ],
3897
3990
  "properties": {
3898
3991
  "hallStairsLanding": {
3899
3992
  "ta10Ref": "7.1",
@@ -4277,6 +4370,21 @@
4277
4370
  },
4278
4371
  "outdoorArea": {
4279
4372
  "ta10Ref": "8",
4373
+ "required": [
4374
+ "gardenFurniture",
4375
+ "gardenOrnaments",
4376
+ "treesPlantsShrubs",
4377
+ "barbecue",
4378
+ "dustbins",
4379
+ "gardenShed",
4380
+ "greenhouse",
4381
+ "outdoorHeater",
4382
+ "outdoorLights",
4383
+ "waterButt",
4384
+ "clothesLine",
4385
+ "rotaryLine",
4386
+ "otherItems"
4387
+ ],
4280
4388
  "properties": {
4281
4389
  "gardenFurniture": {
4282
4390
  "ta10Ref": "8.1",
@@ -4905,6 +5013,12 @@
4905
5013
  },
4906
5014
  "televisionAndTelephone": {
4907
5015
  "ta10Ref": "9",
5016
+ "required": [
5017
+ "telephoneReceivers",
5018
+ "televisionAerial",
5019
+ "radioAerial",
5020
+ "satelliteDish"
5021
+ ],
4908
5022
  "properties": {
4909
5023
  "telephoneReceivers": {
4910
5024
  "ta10Ref": "9.1",
@@ -5106,6 +5220,11 @@
5106
5220
  },
5107
5221
  "stockOfFuel": {
5108
5222
  "ta10Ref": "10",
5223
+ "required": [
5224
+ "oil",
5225
+ "wood",
5226
+ "lpg"
5227
+ ],
5109
5228
  "properties": {
5110
5229
  "oil": {
5111
5230
  "ta10Ref": "10.1",
@@ -5258,6 +5377,9 @@
5258
5377
  },
5259
5378
  "otherItems": {
5260
5379
  "ta10Ref": "11",
5380
+ "required": [
5381
+ "otherItems"
5382
+ ],
5261
5383
  "properties": {
5262
5384
  "otherItems": {
5263
5385
  "items": {
@@ -2078,6 +2078,9 @@
2078
2078
  },
2079
2079
  "gasMeter": {
2080
2080
  "ta6Ref": "13.2b",
2081
+ "required": [
2082
+ "location"
2083
+ ],
2081
2084
  "properties": {
2082
2085
  "location": {
2083
2086
  "ta6Ref": "13.2b1"
@@ -5,6 +5,9 @@
5
5
  "propertyPack": {
6
6
  "properties": {
7
7
  "materialFacts": {
8
+ "required": [
9
+ "ownership"
10
+ ],
8
11
  "properties": {
9
12
  "address": {
10
13
  "ta7Ref": "0.1",
@@ -28,6 +31,9 @@
28
31
  },
29
32
  "ownership": {
30
33
  "ta7Ref": "1",
34
+ "required": [
35
+ "ownershipsToBeTransferred"
36
+ ],
31
37
  "properties": {
32
38
  "ownershipsToBeTransferred": {
33
39
  "ta7Ref": "1",
@@ -53,88 +59,6 @@
53
59
  "Managed Freehold",
54
60
  "Commonhold"
55
61
  ]
56
- },
57
- "managedFreeholdOrCommonholdInformation": {
58
- "properties": {
59
- "contactDetails": {
60
- "properties": {
61
- "managementCompany": {
62
- "properties": {
63
- "contact": {
64
- "ta7Ref": "4.1b",
65
- "properties": {
66
- "nameOrOrganisation": {
67
- "ta7Ref": "4.1b.1"
68
- },
69
- "address": {
70
- "properties": {
71
- "line1": {
72
- "ta7Ref": "4.1b.2"
73
- },
74
- "line2": {
75
- "ta7Ref": "4.1b.3"
76
- },
77
- "line3": {
78
- "ta7Ref": "4.1b.4"
79
- },
80
- "town": {
81
- "ta7Ref": "4.1b.5"
82
- },
83
- "postcode": {
84
- "ta7Ref": "4.1b.6"
85
- }
86
- }
87
- },
88
- "telephone": {
89
- "ta7Ref": "4.1b.7"
90
- },
91
- "emailAddress": {
92
- "ta7Ref": "4.1b.8"
93
- }
94
- }
95
- }
96
- }
97
- },
98
- "managingAgent": {
99
- "properties": {
100
- "contact": {
101
- "ta7Ref": "4.1c",
102
- "properties": {
103
- "nameOrOrganisation": {
104
- "ta7Ref": "4.1c.1"
105
- },
106
- "address": {
107
- "properties": {
108
- "line1": {
109
- "ta7Ref": "4.1c.2"
110
- },
111
- "line2": {
112
- "ta7Ref": "4.1c.3"
113
- },
114
- "line3": {
115
- "ta7Ref": "4.1c.4"
116
- },
117
- "town": {
118
- "ta7Ref": "4.1c.5"
119
- },
120
- "postcode": {
121
- "ta7Ref": "4.1c.6"
122
- }
123
- }
124
- },
125
- "telephone": {
126
- "ta7Ref": "4.1c.7"
127
- },
128
- "emailAddress": {
129
- "ta7Ref": "4.1c.8"
130
- }
131
- }
132
- }
133
- }
134
- }
135
- }
136
- }
137
- }
138
62
  }
139
63
  }
140
64
  },
@@ -147,7 +71,7 @@
147
71
  },
148
72
  "leaseholdInformation": {
149
73
  "required": [
150
- "typeOfLeasehold",
74
+ "sharedOwnership",
151
75
  "leaseTerm",
152
76
  "contactDetails",
153
77
  "transferAndRegistration",
@@ -158,9 +82,12 @@
158
82
  "requiredDocuments"
159
83
  ],
160
84
  "properties": {
161
- "typeOfLeasehold": {
85
+ "sharedOwnership": {
86
+ "required": [
87
+ "isSharedOwnership"
88
+ ],
162
89
  "properties": {
163
- "leaseholdType": {
90
+ "isSharedOwnership": {
164
91
  "ta7Ref": "1.1"
165
92
  }
166
93
  }
@@ -168,7 +95,8 @@
168
95
  "contactDetails": {
169
96
  "ta7Ref": "4.1",
170
97
  "required": [
171
- "contacts"
98
+ "contacts",
99
+ "serviceContactAssignments"
172
100
  ],
173
101
  "properties": {
174
102
  "contacts": {
@@ -295,9 +223,13 @@
295
223
  }
296
224
  },
297
225
  "serviceContactAssignments": {
226
+ "required": [
227
+ "organisesBuildingInsurance"
228
+ ],
298
229
  "properties": {
299
230
  "organisesBuildingInsurance": {
300
- "ta7Ref": "5.1"
231
+ "ta7Ref": "5.1",
232
+ "title": "Who is responsible for arranging the buildings insurance on the property?"
301
233
  }
302
234
  }
303
235
  }
@@ -310,30 +242,6 @@
310
242
  ],
311
243
  "properties": {
312
244
  "awareOfConsents": {
313
- "ta7Ref": "9.3",
314
- "discriminator": {
315
- "propertyName": "yesNo"
316
- },
317
- "oneOf": [
318
- {
319
- "properties": {
320
- "yesNo": {
321
- "enum": [
322
- "No"
323
- ]
324
- }
325
- }
326
- },
327
- {
328
- "properties": {
329
- "yesNo": {
330
- "enum": [
331
- "Yes"
332
- ]
333
- }
334
- }
335
- }
336
- ],
337
245
  "required": [
338
246
  "yesNo"
339
247
  ],
@@ -761,6 +669,7 @@
761
669
  }
762
670
  },
763
671
  "lastDecoratedPeriod": {
672
+ "ta7Ref": "5",
764
673
  "properties": {
765
674
  "internally": {
766
675
  "ta7Ref": "5.3"
@@ -817,7 +726,18 @@
817
726
  }
818
727
  }
819
728
  }
820
- }
729
+ },
730
+ "required": [
731
+ "annualServiceCharge",
732
+ "largeAdditionalExpense",
733
+ "problemInServiceChargeLevel",
734
+ "serviceChargeChallenged",
735
+ "dangerousCladdingOrDefects",
736
+ "difficultyInCollectingServiceCharge",
737
+ "serviceChargeOwed",
738
+ "lastDecoratedPeriod",
739
+ "deedOfCertificateServed"
740
+ ]
821
741
  }
822
742
  ],
823
743
  "required": [
@@ -945,6 +865,9 @@
945
865
  },
946
866
  "details": {
947
867
  "ta7Ref": "9.2"
868
+ },
869
+ "landlordConsentObtained": {
870
+ "ta7Ref": "9.3"
948
871
  }
949
872
  }
950
873
  }