@pdtf/schemas 3.0.0-21 → 3.0.0-22

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdtf/schemas",
3
- "version": "3.0.0-21",
3
+ "version": "3.0.0-22",
4
4
  "description": "Property Data Trust Framework Schemas and Utilities",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -55,8 +55,8 @@
55
55
  "titleNumber": "HD221222",
56
56
  "ownershipType": "Leasehold",
57
57
  "leaseholdInformation": {
58
- "typeOfLeasehold": {
59
- "leaseholdType": "Shared ownership",
58
+ "sharedOwnership": {
59
+ "isSharedOwnership": "Yes",
60
60
  "sharedOwnershipPercentage": 50,
61
61
  "sharedOwnershipRent": 200,
62
62
  "sharedOwnershipRentFrequency": "Monthly"
@@ -200,6 +200,7 @@
200
200
  "environmentalIssues",
201
201
  "notices"
202
202
  ],
203
+ "ta7Required": ["ownership"],
203
204
  "properties": {
204
205
  "address": {
205
206
  "baspiRef": "A1.1",
@@ -1120,6 +1121,7 @@
1120
1121
  "type": "object",
1121
1122
  "baspiRequired": ["ownershipsToBeTransferred"],
1122
1123
  "ntsRequired": ["ownershipsToBeTransferred"],
1124
+ "ta7Required": ["ownershipsToBeTransferred"],
1123
1125
  "properties": {
1124
1126
  "ownershipsToBeTransferred": {
1125
1127
  "baspiRef": "A1.3",
@@ -1382,11 +1384,9 @@
1382
1384
  "type": "object",
1383
1385
  "properties": {
1384
1386
  "contact": {
1385
- "ta7Ref": "4.1b",
1386
1387
  "type": "object",
1387
1388
  "properties": {
1388
1389
  "nameOrOrganisation": {
1389
- "ta7Ref": "4.1b.1",
1390
1390
  "title": "Name or organisation",
1391
1391
  "type": "string",
1392
1392
  "minLength": 1
@@ -1396,28 +1396,23 @@
1396
1396
  "type": "object",
1397
1397
  "properties": {
1398
1398
  "line1": {
1399
- "ta7Ref": "4.1b.2",
1400
1399
  "title": "Address line 1",
1401
1400
  "type": "string",
1402
1401
  "minLength": 1
1403
1402
  },
1404
1403
  "line2": {
1405
- "ta7Ref": "4.1b.3",
1406
1404
  "title": "Address line 2",
1407
1405
  "type": "string"
1408
1406
  },
1409
1407
  "line3": {
1410
- "ta7Ref": "4.1b.4",
1411
1408
  "title": "Address line 3",
1412
1409
  "type": "string"
1413
1410
  },
1414
1411
  "town": {
1415
- "ta7Ref": "4.1b.5",
1416
1412
  "title": "Town",
1417
1413
  "type": "string"
1418
1414
  },
1419
1415
  "postcode": {
1420
- "ta7Ref": "4.1b.6",
1421
1416
  "title": "Postcode",
1422
1417
  "type": "string",
1423
1418
  "minLength": 1
@@ -1429,13 +1424,11 @@
1429
1424
  ]
1430
1425
  },
1431
1426
  "telephone": {
1432
- "ta7Ref": "4.1b.7",
1433
1427
  "title": "Telephone",
1434
1428
  "type": "string",
1435
1429
  "minLength": 1
1436
1430
  },
1437
1431
  "emailAddress": {
1438
- "ta7Ref": "4.1b.8",
1439
1432
  "title": "Email address",
1440
1433
  "type": "string",
1441
1434
  "format": "email"
@@ -1496,7 +1489,6 @@
1496
1489
  "properties": {
1497
1490
  "contact": {
1498
1491
  "baspiRef": "A1.5.5.1",
1499
- "ta7Ref": "4.1c",
1500
1492
  "type": "object",
1501
1493
  "fme1Required": [
1502
1494
  "nameOrOrganisation",
@@ -1511,7 +1503,6 @@
1511
1503
  "properties": {
1512
1504
  "nameOrOrganisation": {
1513
1505
  "baspiRef": "A1.5.5.1.1",
1514
- "ta7Ref": "4.1c.1",
1515
1506
  "title": "Name or organisation",
1516
1507
  "type": "string",
1517
1508
  "minLength": 1
@@ -1523,32 +1514,27 @@
1523
1514
  "properties": {
1524
1515
  "line1": {
1525
1516
  "baspiRef": "A1.5.5.1.2.1",
1526
- "ta7Ref": "4.1c.2",
1527
1517
  "title": "Address line 1",
1528
1518
  "type": "string",
1529
1519
  "minLength": 1
1530
1520
  },
1531
1521
  "line2": {
1532
1522
  "baspiRef": "A1.5.5.1.2.2",
1533
- "ta7Ref": "4.1c.3",
1534
1523
  "title": "Address line 2",
1535
1524
  "type": "string"
1536
1525
  },
1537
1526
  "line3": {
1538
1527
  "baspiRef": "A1.5.5.1.2.3",
1539
- "ta7Ref": "4.1c.4",
1540
1528
  "title": "Address line 3",
1541
1529
  "type": "string"
1542
1530
  },
1543
1531
  "town": {
1544
1532
  "baspiRef": "A1.5.5.1.2.4",
1545
- "ta7Ref": "4.1c.5",
1546
1533
  "title": "Town",
1547
1534
  "type": "string"
1548
1535
  },
1549
1536
  "postcode": {
1550
1537
  "baspiRef": "A1.5.5.1.2.5",
1551
- "ta7Ref": "4.1c.6",
1552
1538
  "title": "Postcode",
1553
1539
  "type": "string",
1554
1540
  "minLength": 1
@@ -1564,14 +1550,12 @@
1564
1550
  ]
1565
1551
  },
1566
1552
  "telephone": {
1567
- "ta7Ref": "4.1c.7",
1568
1553
  "title": "Telephone",
1569
1554
  "type": "string",
1570
1555
  "minLength": 1
1571
1556
  },
1572
1557
  "emailAddress": {
1573
1558
  "baspiRef": "A1.5.5.1.3",
1574
- "ta7Ref": "4.1c.8",
1575
1559
  "title": "Email address",
1576
1560
  "type": "string",
1577
1561
  "format": "email"
@@ -3446,7 +3430,7 @@
3446
3430
  "confirmation"
3447
3431
  ],
3448
3432
  "baspiRequired": [
3449
- "typeOfLeasehold",
3433
+ "sharedOwnership",
3450
3434
  "leaseTerm",
3451
3435
  "contactDetails",
3452
3436
  "groundRent",
@@ -3454,13 +3438,13 @@
3454
3438
  "serviceCharge"
3455
3439
  ],
3456
3440
  "ntsRequired": [
3457
- "typeOfLeasehold",
3441
+ "sharedOwnership",
3458
3442
  "leaseTerm",
3459
3443
  "groundRent",
3460
3444
  "serviceCharge"
3461
3445
  ],
3462
3446
  "ta7Required": [
3463
- "typeOfLeasehold",
3447
+ "sharedOwnership",
3464
3448
  "leaseTerm",
3465
3449
  "contactDetails",
3466
3450
  "transferAndRegistration",
@@ -3471,43 +3455,39 @@
3471
3455
  "requiredDocuments"
3472
3456
  ],
3473
3457
  "properties": {
3474
- "typeOfLeasehold": {
3458
+ "sharedOwnership": {
3475
3459
  "baspiRef": "A1.3.1",
3476
3460
  "ntsRef": "A3.2",
3477
3461
  "type": "object",
3478
- "lpe1Required": ["leaseholdType"],
3479
- "baspiRequired": ["leaseholdType"],
3480
- "ntsRequired": ["leaseholdType"],
3462
+ "lpe1Required": ["isSharedOwnership"],
3463
+ "baspiRequired": ["isSharedOwnership"],
3464
+ "ntsRequired": ["isSharedOwnership"],
3465
+ "ta7Required": ["isSharedOwnership"],
3481
3466
  "properties": {
3482
- "leaseholdType": {
3467
+ "isSharedOwnership": {
3483
3468
  "baspiRef": "A1.3.1",
3484
3469
  "ta7Ref": "1.1",
3485
3470
  "ntsRef": "A3.2.1",
3486
- "title": "What type of leasehold property does the seller own?",
3487
- "description": "‘Flat’ includes maisonette and apartment.",
3471
+ "title": "Is the lease on a Shared Ownership basis?",
3488
3472
  "type": "string",
3489
- "enum": [
3490
- "Flat",
3491
- "Shared ownership",
3492
- "Long leasehold house"
3493
- ]
3473
+ "enum": ["Yes", "No"]
3494
3474
  }
3495
3475
  },
3496
3476
  "discriminator": {
3497
- "propertyName": "leaseholdType"
3477
+ "propertyName": "isSharedOwnership"
3498
3478
  },
3499
3479
  "oneOf": [
3500
3480
  {
3501
3481
  "properties": {
3502
- "leaseholdType": {
3503
- "enum": ["Flat", "Long leasehold house"]
3482
+ "isSharedOwnership": {
3483
+ "enum": ["No"]
3504
3484
  }
3505
3485
  }
3506
3486
  },
3507
3487
  {
3508
3488
  "properties": {
3509
- "leaseholdType": {
3510
- "enum": ["Shared ownership"]
3489
+ "isSharedOwnership": {
3490
+ "enum": ["Yes"]
3511
3491
  },
3512
3492
  "sharedOwnershipPercentage": {
3513
3493
  "baspiRef": "A1.3.1.1",
@@ -3589,7 +3569,10 @@
3589
3569
  "serviceContactAssignments"
3590
3570
  ],
3591
3571
  "baspiRequired": ["contacts"],
3592
- "ta7Required": ["contacts"],
3572
+ "ta7Required": [
3573
+ "contacts",
3574
+ "serviceContactAssignments"
3575
+ ],
3593
3576
  "properties": {
3594
3577
  "contacts": {
3595
3578
  "baspiRef": "A1.5.4.",
@@ -4280,8 +4263,12 @@
4280
4263
  "collectsServiceCharges",
4281
4264
  "collectsbuildingInsurancePremiums",
4282
4265
  "dealsWithDayToDayMaintenanceOfManagedArea",
4266
+ "organisesBuildingInsurance",
4283
4267
  "dealsWithDayToDayMaintenanceOfBuilding"
4284
4268
  ],
4269
+ "ta7Required": [
4270
+ "organisesBuildingInsurance"
4271
+ ],
4285
4272
  "properties": {
4286
4273
  "noticeOfAssignmentAndCharge": {
4287
4274
  "lpe1Ref": "1.6",
@@ -4918,6 +4905,7 @@
4918
4905
  "lpe1Ref": "1.12",
4919
4906
  "ta7Ref": "5.1",
4920
4907
  "title": "Who organises and administers the buildings insurance?",
4908
+ "ta7Title": "Who is responsible for arranging the buildings insurance on the property?",
4921
4909
  "type": "string",
4922
4910
  "enum": [
4923
4911
  "Rentcharge Owner",
@@ -4926,6 +4914,11 @@
4926
4914
  "Managing Agent",
4927
4915
  "the Lessees",
4928
4916
  "Not applicable"
4917
+ ],
4918
+ "ta7enum": [
4919
+ "the Lessees",
4920
+ "Management Company",
4921
+ "Landlord"
4929
4922
  ]
4930
4923
  },
4931
4924
  "dealsWithDayToDayMaintenanceOfBuilding": {
@@ -5135,7 +5128,6 @@
5135
5128
  },
5136
5129
  "awareOfConsents": {
5137
5130
  "lpe1Ref": "2.4",
5138
- "ta7Ref": "9.3",
5139
5131
  "title": "Are you aware of consent having been given to any alterations or additions to the Property?",
5140
5132
  "type": "object",
5141
5133
  "properties": {
@@ -6090,6 +6082,7 @@
6090
6082
  },
6091
6083
  "lastDecoratedPeriod": {
6092
6084
  "lpe1Ref": "4.7",
6085
+ "ta7Ref": "5",
6093
6086
  "title": "Confirm the date when the Managed Areas were last decorated, internally and externally.",
6094
6087
  "type": "object",
6095
6088
  "properties": {
@@ -6479,6 +6472,17 @@
6479
6472
  "deedOfCertificateServed",
6480
6473
  "landlordsCertificateServed"
6481
6474
  ],
6475
+ "ta7Required": [
6476
+ "annualServiceCharge",
6477
+ "largeAdditionalExpense",
6478
+ "problemInServiceChargeLevel",
6479
+ "serviceChargeChallenged",
6480
+ "dangerousCladdingOrDefects",
6481
+ "difficultyInCollectingServiceCharge",
6482
+ "serviceChargeOwed",
6483
+ "lastDecoratedPeriod",
6484
+ "deedOfCertificateServed"
6485
+ ],
6482
6486
  "baspiRequired": [
6483
6487
  "annualServiceCharge",
6484
6488
  "largeAdditionalExpense",
@@ -7238,9 +7242,25 @@
7238
7242
  "title": "Please give details of these alterations",
7239
7243
  "type": "string",
7240
7244
  "minLength": 1
7245
+ },
7246
+ "landlordConsentObtained": {
7247
+ "ta7Ref": "9.3",
7248
+ "title": "Was the landlord’s consent for the alterations obtained? If Yes, please supply a copy.",
7249
+ "type": "string",
7250
+ "enum": [
7251
+ "No",
7252
+ "Not known",
7253
+ "Not required",
7254
+ "Attached",
7255
+ "To follow"
7256
+ ]
7241
7257
  }
7242
7258
  },
7243
- "lpe1Required": ["details"]
7259
+ "lpe1Required": ["details"],
7260
+ "ta71Required": [
7261
+ "details",
7262
+ "landlordConsentObtained"
7263
+ ]
7244
7264
  }
7245
7265
  ]
7246
7266
  },
@@ -18426,8 +18446,7 @@
18426
18446
  "waterMainsWithinBoundaries",
18427
18447
  "waterMainsSubjectOfAdoptionAgreement",
18428
18448
  "lowWaterPressureRisk",
18429
- "waterQualityAnalysis",
18430
- "waterMeterLocation"
18449
+ "waterQualityAnalysis"
18431
18450
  ],
18432
18451
  "properties": {
18433
18452
  "mainsWater": {
@@ -18524,6 +18543,7 @@
18524
18543
  "ntsRequired": ["isSupplyMetered"],
18525
18544
  "baspiRequired": ["isSupplyMetered"],
18526
18545
  "ta6Required": ["isSupplyMetered"],
18546
+ "con29DWRequired": ["isSupplyMetered"],
18527
18547
  "properties": {
18528
18548
  "isSupplyMetered": {
18529
18549
  "ntsRef": "3.2.3",
@@ -18553,6 +18573,7 @@
18553
18573
  "location": {
18554
18574
  "baspiRef": "4.6.2.1",
18555
18575
  "ta6Ref": "13.3b2.1",
18576
+ "con29DWRef": "3.6",
18556
18577
  "title": "Describe the location of the meter",
18557
18578
  "type": "string",
18558
18579
  "minLength": 1
@@ -18564,13 +18585,15 @@
18564
18585
  "enum": ["Attached", "To follow"]
18565
18586
  }
18566
18587
  },
18567
- "ta6Required": ["location"]
18588
+ "baspiRequired": ["location"],
18589
+ "ta6Required": ["location"],
18590
+ "con29DWRequired": ["location"]
18568
18591
  }
18569
18592
  ]
18570
18593
  }
18571
18594
  },
18572
18595
  "ta6Required": ["supplier", "stopcock", "waterMeter"],
18573
- "con29DWRequired": ["details"],
18596
+ "con29DWRequired": ["details", "waterMeter"],
18574
18597
  "baspiRequired": ["stopcock", "waterMeter"],
18575
18598
  "ntsRequired": ["waterMeter"]
18576
18599
  },
@@ -18722,12 +18745,6 @@
18722
18745
  "title": "What is the classification of the water supply for the property?",
18723
18746
  "type": "string",
18724
18747
  "minLength": 1
18725
- },
18726
- "waterMeterLocation": {
18727
- "con29DWRef": "3.6",
18728
- "title": "Please include details of the location of any water meter serving the property.",
18729
- "type": "string",
18730
- "minLength": 1
18731
18748
  }
18732
18749
  }
18733
18750
  },
@@ -19815,7 +19832,9 @@
19815
19832
  "description": "You can find your property’s MPRN on your gas or dual fuel bill. It’s usually marked ‘Meter Point Reference Number’ and is between six and 10 digits long.",
19816
19833
  "type": "integer"
19817
19834
  }
19818
- }
19835
+ },
19836
+ "baspiRequired": ["location"],
19837
+ "ta6Required": ["location"]
19819
19838
  }
19820
19839
  },
19821
19840
  "baspiRequired": ["supplier", "gasMeter"],
@@ -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
  }
@@ -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
  }
@@ -3034,36 +3034,33 @@
3034
3034
  "title": "Leasehold information",
3035
3035
  "type": "object",
3036
3036
  "properties": {
3037
- "typeOfLeasehold": {
3037
+ "sharedOwnership": {
3038
3038
  "type": "object",
3039
3039
  "properties": {
3040
- "leaseholdType": {
3041
- "title": "What type of leasehold property does the seller own?",
3042
- "description": "‘Flat’ includes maisonette and apartment.",
3040
+ "isSharedOwnership": {
3041
+ "title": "Is the lease on a Shared Ownership basis?",
3043
3042
  "type": "string",
3044
3043
  "enum": [
3045
- "Flat",
3046
- "Shared ownership",
3047
- "Long leasehold house"
3044
+ "Yes",
3045
+ "No"
3048
3046
  ]
3049
3047
  }
3050
3048
  },
3051
3049
  "oneOf": [
3052
3050
  {
3053
3051
  "properties": {
3054
- "leaseholdType": {
3052
+ "isSharedOwnership": {
3055
3053
  "enum": [
3056
- "Flat",
3057
- "Long leasehold house"
3054
+ "No"
3058
3055
  ]
3059
3056
  }
3060
3057
  }
3061
3058
  },
3062
3059
  {
3063
3060
  "properties": {
3064
- "leaseholdType": {
3061
+ "isSharedOwnership": {
3065
3062
  "enum": [
3066
- "Shared ownership"
3063
+ "Yes"
3067
3064
  ]
3068
3065
  },
3069
3066
  "sharedOwnershipPercentage": {
@@ -4199,6 +4196,11 @@
4199
4196
  "Managing Agent",
4200
4197
  "the Lessees",
4201
4198
  "Not applicable"
4199
+ ],
4200
+ "ta7enum": [
4201
+ "the Lessees",
4202
+ "Management Company",
4203
+ "Landlord"
4202
4204
  ]
4203
4205
  },
4204
4206
  "dealsWithDayToDayMaintenanceOfBuilding": {
@@ -6249,8 +6251,23 @@
6249
6251
  "title": "Please give details of these alterations",
6250
6252
  "type": "string",
6251
6253
  "minLength": 1
6254
+ },
6255
+ "landlordConsentObtained": {
6256
+ "title": "Was the landlord’s consent for the alterations obtained? If Yes, please supply a copy.",
6257
+ "type": "string",
6258
+ "enum": [
6259
+ "No",
6260
+ "Not known",
6261
+ "Not required",
6262
+ "Attached",
6263
+ "To follow"
6264
+ ]
6252
6265
  }
6253
- }
6266
+ },
6267
+ "ta71Required": [
6268
+ "details",
6269
+ "landlordConsentObtained"
6270
+ ]
6254
6271
  }
6255
6272
  ]
6256
6273
  },
@@ -16338,11 +16355,6 @@
16338
16355
  "title": "What is the classification of the water supply for the property?",
16339
16356
  "type": "string",
16340
16357
  "minLength": 1
16341
- },
16342
- "waterMeterLocation": {
16343
- "title": "Please include details of the location of any water meter serving the property.",
16344
- "type": "string",
16345
- "minLength": 1
16346
16358
  }
16347
16359
  }
16348
16360
  },
@@ -454,8 +454,8 @@
454
454
  }
455
455
  },
456
456
  "leaseholdInformation": {
457
- "typeOfLeasehold": {
458
- "leaseholdType": {},
457
+ "sharedOwnership": {
458
+ "isSharedOwnership": {},
459
459
  "sharedOwnershipPercentage": {},
460
460
  "sharedOwnershipRent": {},
461
461
  "sharedOwnershipRentFrequency": {}
@@ -879,7 +879,8 @@
879
879
  "general": {
880
880
  "sellerAwareOfAlterations": {
881
881
  "yesNo": {},
882
- "details": {}
882
+ "details": {},
883
+ "landlordConsentObtained": {}
883
884
  },
884
885
  "sellerOwnedProperty": {},
885
886
  "sellerServedNoticeOnLandlord": {},
@@ -1972,8 +1973,7 @@
1972
1973
  "yesNo": {},
1973
1974
  "details": {}
1974
1975
  },
1975
- "supplyClassification": {},
1976
- "waterMeterLocation": {}
1976
+ "supplyClassification": {}
1977
1977
  },
1978
1978
  "drainage": {
1979
1979
  "mainsSurfaceWaterDrainage": {