@pdtf/schemas 2.0.0-0 → 2.0.0-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -61,6 +61,7 @@
61
61
  "insurance",
62
62
  "boundaries",
63
63
  "rightsAndInformalArrangements",
64
+ "environmentalIssues",
64
65
  "otherIssues",
65
66
  "additionalInformation",
66
67
  "consumerProtectionRegulationsDeclaration"
@@ -182,6 +183,7 @@
182
183
  "ownershipsToBeTransferred": {
183
184
  "baspiRef": "A1.3",
184
185
  "title": "Ownerships to be transferred on sale",
186
+ "minItems": 1,
185
187
  "items": {
186
188
  "baspiRef": "A1.3.0",
187
189
  "title": "Ownership to be transferred",
@@ -249,6 +251,10 @@
249
251
  "managedFreeholdOrCommonholdInformation": {
250
252
  "baspiRef": "A1.5",
251
253
  "title": "Managed freehold or commonhold information",
254
+ "required": [
255
+ "contactDetails",
256
+ "serviceCharge"
257
+ ],
252
258
  "properties": {
253
259
  "contactDetails": {
254
260
  "properties": {
@@ -305,7 +311,10 @@
305
311
  }
306
312
  }
307
313
  }
308
- }
314
+ },
315
+ "required": [
316
+ "managedFreeholdOrCommonholdInformation"
317
+ ]
309
318
  },
310
319
  {
311
320
  "properties": {
@@ -320,7 +329,7 @@
320
329
  "required": [
321
330
  "contactDetails",
322
331
  "groundRent",
323
- "ownershipAndManagement",
332
+ "transferAndRegistration",
324
333
  "serviceCharge",
325
334
  "general"
326
335
  ],
@@ -328,16 +337,28 @@
328
337
  "contactDetails": {
329
338
  "baspiRef": "A1.5.4",
330
339
  "title": "Contact Details",
340
+ "required": [
341
+ "contacts"
342
+ ],
331
343
  "properties": {
332
344
  "contacts": {
333
345
  "baspiRef": "A1.5.4.",
334
346
  "title": "Contacts",
335
347
  "description": "Complete the details for the relevant parties",
348
+ "required": [
349
+ "landlord",
350
+ "managingAgent"
351
+ ],
336
352
  "properties": {
337
353
  "landlord": {
338
354
  "baspiRef": "A1.5.4",
339
355
  "title": "Landlord",
340
356
  "description": "The landlord (or freeholder) may be, for example, a private individual, a housing association, or a management company owned by the residents",
357
+ "required": [
358
+ "nameOrOrganisation",
359
+ "address",
360
+ "emailAddress"
361
+ ],
341
362
  "properties": {
342
363
  "contact": {
343
364
  "baspiRef": "A1.5.4.1",
@@ -349,6 +370,10 @@
349
370
  "address": {
350
371
  "baspiRef": "A1.5.4.1.2",
351
372
  "title": "Address",
373
+ "required": [
374
+ "line1",
375
+ "postcode"
376
+ ],
352
377
  "properties": {
353
378
  "line1": {
354
379
  "baspiRef": "A1.5.4.1.2.1",
@@ -387,6 +412,11 @@
387
412
  "properties": {
388
413
  "contact": {
389
414
  "baspiRef": "A1.5.5.1",
415
+ "required": [
416
+ "nameOrOrganisation",
417
+ "address",
418
+ "emailAddress"
419
+ ],
390
420
  "properties": {
391
421
  "nameOrOrganisation": {
392
422
  "baspiRef": "A1.5.5.1.1",
@@ -395,6 +425,10 @@
395
425
  "address": {
396
426
  "baspiRef": "A1.5.5.1.2",
397
427
  "title": "Address",
428
+ "required": [
429
+ "line1",
430
+ "postcode"
431
+ ],
398
432
  "properties": {
399
433
  "line1": {
400
434
  "baspiRef": "A1.5.5.1.2.1",
@@ -425,12 +459,28 @@
425
459
  }
426
460
  }
427
461
  }
462
+ },
463
+ "residentTenantsAssociation": {
464
+ "properties": {
465
+ "contact": {
466
+ "required": [
467
+ "nameOrOrganisation",
468
+ "line1",
469
+ "postcode"
470
+ ]
471
+ }
472
+ }
428
473
  }
429
474
  }
430
475
  }
431
476
  }
432
477
  },
433
478
  "transferAndRegistration": {
479
+ "baspiRef": "A1.5.6",
480
+ "title": "Transfer and Registration",
481
+ "required": [
482
+ "requirementsToBeMemberOfManagementCompany"
483
+ ],
434
484
  "properties": {
435
485
  "requirementsToBeMemberOfManagementCompany": {
436
486
  "baspiRef": "A1.5.6",
@@ -494,7 +544,7 @@
494
544
  },
495
545
  "rentSubjectToIncrease": {
496
546
  "baspiRef": "A1.4.2.3",
497
- "title": "Is the rent subject to increase?",
547
+ "title": "Is the ground rent subject to increase?",
498
548
  "discriminator": {
499
549
  "propertyName": "yesNo"
500
550
  },
@@ -515,7 +565,7 @@
515
565
  "Yes"
516
566
  ]
517
567
  },
518
- "rentReviewed": {
568
+ "rentReviewFrequency": {
519
569
  "baspiRef": "A1.4.2.3.1",
520
570
  "title": "How often is the rent reviewed?"
521
571
  },
@@ -526,7 +576,7 @@
526
576
  }
527
577
  },
528
578
  "required": [
529
- "rentReviewed",
579
+ "rentReviewFrequency",
530
580
  "rentIncreaseCalculated"
531
581
  ]
532
582
  }
@@ -535,7 +585,11 @@
535
585
  "yesNo"
536
586
  ]
537
587
  }
538
- }
588
+ },
589
+ "required": [
590
+ "annualGroundRent",
591
+ "rentSubjectToIncrease"
592
+ ]
539
593
  }
540
594
  ],
541
595
  "required": [
@@ -621,8 +675,59 @@
621
675
  ]
622
676
  }
623
677
  }
678
+ },
679
+ "reserveFund": {
680
+ "baspiRef": "1.5.2.1",
681
+ "title": "Does a Reserve Fund apply to the Managed Area?",
682
+ "discriminator": {
683
+ "propertyName": "yesNo"
684
+ },
685
+ "oneOf": [
686
+ {
687
+ "properties": {
688
+ "yesNo": {
689
+ "enum": [
690
+ "No"
691
+ ]
692
+ }
693
+ }
694
+ },
695
+ {
696
+ "properties": {
697
+ "yesNo": {
698
+ "enum": [
699
+ "Yes"
700
+ ]
701
+ },
702
+ "details": {
703
+ "baspiRef": "1.5.2.1.2",
704
+ "title": "Provide details"
705
+ }
706
+ },
707
+ "required": [
708
+ "details"
709
+ ]
710
+ }
711
+ ],
712
+ "required": [
713
+ "yesNo"
714
+ ],
715
+ "properties": {
716
+ "yesNo": {
717
+ "baspiRef": "1.5.2.1.1",
718
+ "enum": [
719
+ "Yes",
720
+ "No"
721
+ ]
722
+ }
723
+ }
624
724
  }
625
- }
725
+ },
726
+ "required": [
727
+ "annualServiceCharge",
728
+ "largeAdditionalExpense",
729
+ "reserveFund"
730
+ ]
626
731
  }
627
732
  ],
628
733
  "required": [
@@ -661,7 +766,7 @@
661
766
  "properties": {
662
767
  "leaseholdType": {
663
768
  "enum": [
664
- "Shared Ownership"
769
+ "Shared ownership"
665
770
  ]
666
771
  },
667
772
  "sharedOwnershipPercentage": {
@@ -699,7 +804,7 @@
699
804
  "description": "‘Flat’ includes maisonette and apartment.",
700
805
  "enum": [
701
806
  "Flat",
702
- "Shared Ownership",
807
+ "Shared ownership",
703
808
  "Long leasehold house"
704
809
  ]
705
810
  }
@@ -722,7 +827,10 @@
722
827
  }
723
828
  }
724
829
  }
725
- }
830
+ },
831
+ "required": [
832
+ "leaseholdInformation"
833
+ ]
726
834
  },
727
835
  {
728
836
  "properties": {
@@ -1097,7 +1205,8 @@
1097
1205
  "title": "Type of Construction",
1098
1206
  "required": [
1099
1207
  "isStandardForm",
1100
- "hasFlammableExternalWallSystem"
1208
+ "buildingSafetyRemediation",
1209
+ "sprayFoamInsulation"
1101
1210
  ],
1102
1211
  "properties": {
1103
1212
  "isStandardForm": {
@@ -1202,17 +1311,16 @@
1202
1311
  }
1203
1312
  }
1204
1313
  },
1205
- "hasSprayFoamInstalled": {
1314
+ "sprayFoamInsulation": {
1206
1315
  "baspiRef": "A1.8.4",
1207
1316
  "title": "Has spray foam insulation been installed at the property?",
1208
- "description": "If yes, please give details together with certification from BBA or KIWA and the installation warranty for the work carried out.",
1209
1317
  "discriminator": {
1210
- "propertyName": "yesNo"
1318
+ "propertyName": "hasSprayFoamInstalled"
1211
1319
  },
1212
1320
  "oneOf": [
1213
1321
  {
1214
1322
  "properties": {
1215
- "yesNo": {
1323
+ "hasSprayFoamInstalled": {
1216
1324
  "enum": [
1217
1325
  "No"
1218
1326
  ]
@@ -1221,14 +1329,14 @@
1221
1329
  },
1222
1330
  {
1223
1331
  "properties": {
1224
- "yesNo": {
1332
+ "hasSprayFoamInstalled": {
1225
1333
  "enum": [
1226
1334
  "Yes"
1227
1335
  ]
1228
1336
  },
1229
1337
  "details": {
1230
1338
  "baspiRef": "A1.8.4.2",
1231
- "title": "Details"
1339
+ "title": "Please give details together with certification from BBA or KIWA and the installation warranty for the work carried out"
1232
1340
  },
1233
1341
  "attachments": {
1234
1342
  "baspiRef": "A1.8.4.3",
@@ -1246,10 +1354,10 @@
1246
1354
  }
1247
1355
  ],
1248
1356
  "required": [
1249
- "yesNo"
1357
+ "hasSprayFoamInstalled"
1250
1358
  ],
1251
1359
  "properties": {
1252
- "yesNo": {
1360
+ "hasSprayFoamInstalled": {
1253
1361
  "baspiRef": "A1.8.4.1",
1254
1362
  "enum": [
1255
1363
  "Yes",
@@ -1263,6 +1371,9 @@
1263
1371
  "energyEfficiency": {
1264
1372
  "baspiRef": "A1.8.3",
1265
1373
  "title": "Energy Efficiency",
1374
+ "required": [
1375
+ "certificate"
1376
+ ],
1266
1377
  "properties": {
1267
1378
  "certificate": {
1268
1379
  "baspiRef": "A1.8.3.1",
@@ -6775,6 +6886,7 @@
6775
6886
  "namesOfLegalOwners": {
6776
6887
  "baspiRef": "B1.1",
6777
6888
  "title": "Names of all legal owners",
6889
+ "minItems": 1,
6778
6890
  "items": {
6779
6891
  "baspiRef": "B1.1",
6780
6892
  "title": "Legal owner",
@@ -8322,7 +8434,7 @@
8322
8434
  "titleDefectInsurance": {
8323
8435
  "baspiRef": "B5.3",
8324
8436
  "title": "Do you have any title defect insurance policies?",
8325
- "description": " e.g. for breach of planning permission, buildings regulations, restrictions, chancel repair etc",
8437
+ "description": "e.g. for breach of planning permission, buildings regulations, restrictions, chancel repair etc",
8326
8438
  "discriminator": {
8327
8439
  "propertyName": "yesNo"
8328
8440
  },
@@ -46,7 +46,7 @@
46
46
  "contact": {
47
47
  "required": [
48
48
  "nameOrOrganisation",
49
- "addressLine1",
49
+ "line1",
50
50
  "postcode",
51
51
  "telephone",
52
52
  "emailAddress"
@@ -69,7 +69,7 @@
69
69
  "contact": {
70
70
  "required": [
71
71
  "nameOrOrganisation",
72
- "addressLine1",
72
+ "line1",
73
73
  "postcode",
74
74
  "telephone",
75
75
  "emailAddress"
@@ -92,7 +92,7 @@
92
92
  "contact": {
93
93
  "required": [
94
94
  "nameOrOrganisation",
95
- "addressLine1",
95
+ "line1",
96
96
  "postcode",
97
97
  "telephone",
98
98
  "emailAddress"
@@ -115,7 +115,7 @@
115
115
  "contact": {
116
116
  "required": [
117
117
  "nameOrOrganisation",
118
- "addressLine1",
118
+ "line1",
119
119
  "postcode",
120
120
  "telephone",
121
121
  "emailAddress"
@@ -208,7 +208,7 @@
208
208
  "contact": {
209
209
  "required": [
210
210
  "nameOrOrganisation",
211
- "addressLine1",
211
+ "line1",
212
212
  "postcode",
213
213
  "telephone",
214
214
  "emailAddress"
@@ -49,15 +49,14 @@
49
49
  "lpe1Ref": "1.1",
50
50
  "title": "Landlord",
51
51
  "description": "The landlord (or freeholder) may be, for example, a private individual, a housing association, or a management company owned by the residents",
52
+ "required": [
53
+ "nameOrOrganisation",
54
+ "address",
55
+ "telephone",
56
+ "emailAddress"
57
+ ],
52
58
  "properties": {
53
59
  "contact": {
54
- "required": [
55
- "nameOrOrganisation",
56
- "addressLine1",
57
- "postcode",
58
- "telephone",
59
- "emailAddress"
60
- ],
61
60
  "properties": {
62
61
  "address": {
63
62
  "required": [
@@ -74,8 +73,7 @@
74
73
  "contact": {
75
74
  "required": [
76
75
  "nameOrOrganisation",
77
- "addressLine1",
78
- "postcode",
76
+ "address",
79
77
  "telephone",
80
78
  "emailAddress"
81
79
  ],
@@ -97,8 +95,7 @@
97
95
  "contact": {
98
96
  "required": [
99
97
  "nameOrOrganisation",
100
- "addressLine1",
101
- "postcode",
98
+ "address",
102
99
  "telephone",
103
100
  "emailAddress"
104
101
  ],
@@ -121,8 +118,7 @@
121
118
  "contact": {
122
119
  "required": [
123
120
  "nameOrOrganisation",
124
- "addressLine1",
125
- "postcode",
121
+ "address",
126
122
  "telephone",
127
123
  "emailAddress"
128
124
  ],
@@ -144,7 +140,7 @@
144
140
  "contact": {
145
141
  "required": [
146
142
  "nameOrOrganisation",
147
- "addressLine1",
143
+ "line1",
148
144
  "postcode",
149
145
  "telephone",
150
146
  "emailAddress"
@@ -167,7 +163,7 @@
167
163
  "contact": {
168
164
  "required": [
169
165
  "nameOrOrganisation",
170
- "addressLine1",
166
+ "line1",
171
167
  "postcode",
172
168
  "telephone",
173
169
  "emailAddress"
@@ -214,7 +210,7 @@
214
210
  "title": "Please provide contact details of the Lessee in charge",
215
211
  "required": [
216
212
  "nameOrOrganisation",
217
- "addressLine1",
213
+ "line1",
218
214
  "postcode",
219
215
  "telephone",
220
216
  "emailAddress"
@@ -306,7 +302,7 @@
306
302
  "contact": {
307
303
  "required": [
308
304
  "nameOrOrganisation",
309
- "addressLine1",
305
+ "line1",
310
306
  "postcode",
311
307
  "telephone",
312
308
  "emailAddress"
@@ -399,7 +395,7 @@
399
395
  "contact": {
400
396
  "required": [
401
397
  "nameOrOrganisation",
402
- "addressLine1",
398
+ "line1",
403
399
  "postcode",
404
400
  "telephone",
405
401
  "emailAddress"
@@ -716,7 +712,7 @@
716
712
  null,
717
713
  {
718
714
  "required": [
719
- "rentReviewed",
715
+ "rentReviewFrequency",
720
716
  "rentIncreaseCalculated"
721
717
  ]
722
718
  }
@@ -770,8 +766,7 @@
770
766
  "groundRentFrequency",
771
767
  "rentSubjectToIncrease",
772
768
  "groundRentPaidUpToDate",
773
- "lastDemandPeriod",
774
- "requirementsToBeMemberOfManagementCompany"
769
+ "lastDemandPeriod"
775
770
  ]
776
771
  }
777
772
  ],
@@ -955,7 +950,7 @@
955
950
  },
956
951
  "excessPaymentAnticipated": {
957
952
  "lpe1Ref": "4.3",
958
- "title": " Is any excess payment anticipated for the Property at the end of the financial year?",
953
+ "title": "Is any excess payment anticipated for the Property at the end of the financial year?",
959
954
  "discriminator": {
960
955
  "propertyName": "yesNo"
961
956
  },
@@ -52,7 +52,7 @@
52
52
  },
53
53
  "rentSubjectToIncrease": {
54
54
  "ntsRef": "A1.5",
55
- "title": "Is the rent subject to increase?",
55
+ "title": "Is the ground rent subject to increase?",
56
56
  "discriminator": {
57
57
  "propertyName": "yesNo"
58
58
  },
@@ -2925,7 +2925,8 @@
2925
2925
  "properties": {
2926
2926
  "namesOfLegalOwners": {
2927
2927
  "rdsRef": "RightsHolders",
2928
- "title": "Names of all legal owners"
2928
+ "title": "Names of all legal owners",
2929
+ "minItems": 1
2929
2930
  }
2930
2931
  }
2931
2932
  },
@@ -3557,7 +3558,7 @@
3557
3558
  "titleDefectInsurance": {
3558
3559
  "rdsRef": "Certificates",
3559
3560
  "title": "Do you have any title defect insurance policies?",
3560
- "description": " e.g. for breach of planning permission, buildings regulations, restrictions, chancel repair etc",
3561
+ "description": "e.g. for breach of planning permission, buildings regulations, restrictions, chancel repair etc",
3561
3562
  "discriminator": {
3562
3563
  "propertyName": "yesNo"
3563
3564
  },
@@ -13,6 +13,7 @@
13
13
  "ownershipsToBeTransferred": {
14
14
  "ta7Ref": "1",
15
15
  "title": "Ownerships to be transferred on sale",
16
+ "minItems": 1,
16
17
  "items": {
17
18
  "properties": {
18
19
  "ownershipType": {
@@ -210,7 +211,7 @@
210
211
  },
211
212
  "rentSubjectToIncrease": {
212
213
  "ta7Ref": "1.2c",
213
- "title": "Is the rent subject to increase?",
214
+ "title": "Is the ground rent subject to increase?",
214
215
  "discriminator": {
215
216
  "propertyName": "yesNo"
216
217
  },
@@ -231,7 +232,7 @@
231
232
  "Yes"
232
233
  ]
233
234
  },
234
- "rentReviewed": {
235
+ "rentReviewFrequency": {
235
236
  "ta7Ref": "1.2d",
236
237
  "title": "How often is the rent reviewed?"
237
238
  },
@@ -639,7 +640,7 @@
639
640
  "description": "‘Flat’ includes maisonette and apartment.",
640
641
  "enum": [
641
642
  "Flat",
642
- "Shared Ownership",
643
+ "Shared ownership",
643
644
  "Long leasehold house"
644
645
  ]
645
646
  }