@pdtf/schemas 3.0.0-20 → 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.
@@ -1434,7 +1434,8 @@
1434
1434
  "electricity": {
1435
1435
  "ta6Ref": "13.1",
1436
1436
  "required": [
1437
- "mainsElectricity"
1437
+ "mainsElectricity",
1438
+ "solarPanels"
1438
1439
  ],
1439
1440
  "properties": {
1440
1441
  "mainsElectricity": {
@@ -1461,10 +1462,22 @@
1461
1462
  },
1462
1463
  "supplier": {
1463
1464
  "ta6Ref": "13.1.2"
1465
+ },
1466
+ "electricityMeter": {
1467
+ "ta6Ref": "13.1b",
1468
+ "required": [
1469
+ "location"
1470
+ ],
1471
+ "properties": {
1472
+ "location": {
1473
+ "ta6Ref": "13.1b1"
1474
+ }
1475
+ }
1464
1476
  }
1465
1477
  },
1466
1478
  "required": [
1467
- "supplier"
1479
+ "supplier",
1480
+ "electricityMeter"
1468
1481
  ]
1469
1482
  },
1470
1483
  {
@@ -1488,6 +1501,126 @@
1488
1501
  "ta6Ref": "13.1.1"
1489
1502
  }
1490
1503
  }
1504
+ },
1505
+ "solarPanels": {
1506
+ "ta6Ref": "4.6",
1507
+ "discriminator": {
1508
+ "propertyName": "yesNo"
1509
+ },
1510
+ "oneOf": [
1511
+ {
1512
+ "properties": {
1513
+ "yesNo": {
1514
+ "enum": [
1515
+ "No"
1516
+ ]
1517
+ }
1518
+ }
1519
+ },
1520
+ {
1521
+ "properties": {
1522
+ "yesNo": {
1523
+ "enum": [
1524
+ "Yes"
1525
+ ]
1526
+ },
1527
+ "yearInstalled": {
1528
+ "ta6Ref": "4.6a"
1529
+ },
1530
+ "panelsOwnedOutright": {
1531
+ "ta6Ref": "4.6b",
1532
+ "discriminator": {
1533
+ "propertyName": "yesNo"
1534
+ },
1535
+ "oneOf": [
1536
+ {
1537
+ "properties": {
1538
+ "yesNo": {
1539
+ "enum": [
1540
+ "Yes"
1541
+ ]
1542
+ }
1543
+ }
1544
+ },
1545
+ {
1546
+ "properties": {
1547
+ "yesNo": {
1548
+ "enum": [
1549
+ "No"
1550
+ ]
1551
+ }
1552
+ }
1553
+ }
1554
+ ],
1555
+ "required": [
1556
+ "yesNo"
1557
+ ],
1558
+ "properties": {
1559
+ "yesNo": {
1560
+ "ta6Ref": "4.6b1"
1561
+ }
1562
+ }
1563
+ },
1564
+ "panelProviderLease": {
1565
+ "ta6Ref": "4.6c",
1566
+ "discriminator": {
1567
+ "propertyName": "yesNo"
1568
+ },
1569
+ "oneOf": [
1570
+ {
1571
+ "properties": {
1572
+ "yesNo": {
1573
+ "enum": [
1574
+ "No"
1575
+ ]
1576
+ }
1577
+ }
1578
+ },
1579
+ {
1580
+ "properties": {
1581
+ "yesNo": {
1582
+ "enum": [
1583
+ "Yes"
1584
+ ]
1585
+ },
1586
+ "attachments": {
1587
+ "ta6Ref": "4.6c2"
1588
+ }
1589
+ },
1590
+ "required": [
1591
+ "attachments"
1592
+ ]
1593
+ }
1594
+ ],
1595
+ "required": [
1596
+ "yesNo"
1597
+ ],
1598
+ "properties": {
1599
+ "yesNo": {
1600
+ "ta6Ref": "4.6c1"
1601
+ }
1602
+ }
1603
+ }
1604
+ },
1605
+ "required": [
1606
+ "yearInstalled",
1607
+ "panelsOwnedOutright",
1608
+ "panelProviderLease"
1609
+ ]
1610
+ },
1611
+ {
1612
+ "properties": {
1613
+ "yesNo": {
1614
+ "enum": [
1615
+ "To be connected"
1616
+ ]
1617
+ }
1618
+ }
1619
+ }
1620
+ ],
1621
+ "required": [
1622
+ "yesNo"
1623
+ ]
1491
1624
  }
1492
1625
  }
1493
1626
  },
@@ -1528,10 +1661,60 @@
1528
1661
  },
1529
1662
  "supplier": {
1530
1663
  "ta6Ref": "13.3.2"
1664
+ },
1665
+ "stopcock": {
1666
+ "ta6Ref": "13.3b",
1667
+ "properties": {
1668
+ "location": {
1669
+ "ta6Ref": "13.3b1"
1670
+ }
1671
+ }
1672
+ },
1673
+ "waterMeter": {
1674
+ "ta6Ref": "13.3b2",
1675
+ "discriminator": {
1676
+ "propertyName": "isSupplyMetered"
1677
+ },
1678
+ "oneOf": [
1679
+ {
1680
+ "properties": {
1681
+ "isSupplyMetered": {
1682
+ "enum": [
1683
+ "No"
1684
+ ]
1685
+ }
1686
+ }
1687
+ },
1688
+ {
1689
+ "properties": {
1690
+ "isSupplyMetered": {
1691
+ "enum": [
1692
+ "Yes"
1693
+ ]
1694
+ },
1695
+ "location": {
1696
+ "ta6Ref": "13.3b2.1"
1697
+ }
1698
+ },
1699
+ "required": [
1700
+ "location"
1701
+ ]
1702
+ }
1703
+ ],
1704
+ "required": [
1705
+ "isSupplyMetered"
1706
+ ],
1707
+ "properties": {
1708
+ "isSupplyMetered": {
1709
+ "ta6Ref": "13.3b2"
1710
+ }
1711
+ }
1531
1712
  }
1532
1713
  },
1533
1714
  "required": [
1534
- "supplier"
1715
+ "supplier",
1716
+ "stopcock",
1717
+ "waterMeter"
1535
1718
  ]
1536
1719
  },
1537
1720
  {
@@ -1552,7 +1735,11 @@
1552
1735
  ],
1553
1736
  "properties": {
1554
1737
  "yesNo": {
1555
- "ta6Ref": "13.3.1"
1738
+ "ta6Ref": "13.3.1",
1739
+ "enum": [
1740
+ "Yes",
1741
+ "No"
1742
+ ]
1556
1743
  }
1557
1744
  }
1558
1745
  }
@@ -1886,8 +2073,39 @@
1886
2073
  "properties": {
1887
2074
  "centralHeatingFuelType": {
1888
2075
  "enum": [
1889
- "Mains gas",
1890
- "Electricity",
2076
+ "Mains gas"
2077
+ ]
2078
+ },
2079
+ "gasMeter": {
2080
+ "ta6Ref": "13.2b",
2081
+ "required": [
2082
+ "location"
2083
+ ],
2084
+ "properties": {
2085
+ "location": {
2086
+ "ta6Ref": "13.2b1"
2087
+ }
2088
+ }
2089
+ }
2090
+ },
2091
+ "required": [
2092
+ "supplier",
2093
+ "gasMeter"
2094
+ ]
2095
+ },
2096
+ {
2097
+ "properties": {
2098
+ "centralHeatingFuelType": {
2099
+ "enum": [
2100
+ "Electricity"
2101
+ ]
2102
+ }
2103
+ }
2104
+ },
2105
+ {
2106
+ "properties": {
2107
+ "centralHeatingFuelType": {
2108
+ "enum": [
1891
2109
  "Oil",
1892
2110
  "LPG",
1893
2111
  "Biomass"
@@ -3015,7 +3233,7 @@
3015
3233
  "required": [
3016
3234
  "legalBoundaries",
3017
3235
  "servicesCrossing",
3018
- "energyAndMeters",
3236
+ "electricalWorks",
3019
3237
  "guaranteesWarrantiesAndIndemnityInsurances",
3020
3238
  "occupiers",
3021
3239
  "completionAndMoving",
@@ -3332,12 +3550,11 @@
3332
3550
  }
3333
3551
  }
3334
3552
  },
3335
- "energyAndMeters": {
3553
+ "electricalWorks": {
3336
3554
  "ta6Ref": "12",
3337
3555
  "required": [
3338
3556
  "testedByQualifiedElectrician",
3339
- "electricalWorkSince2005",
3340
- "solarPanels"
3557
+ "electricalWorkSince2005"
3341
3558
  ],
3342
3559
  "properties": {
3343
3560
  "testedByQualifiedElectrician": {
@@ -3427,154 +3644,6 @@
3427
3644
  "ta6Ref": "12.2.1"
3428
3645
  }
3429
3646
  }
3430
- },
3431
- "solarPanels": {
3432
- "ta6Ref": "4.6",
3433
- "discriminator": {
3434
- "propertyName": "hasSolarPanels"
3435
- },
3436
- "oneOf": [
3437
- {
3438
- "properties": {
3439
- "hasSolarPanels": {
3440
- "enum": [
3441
- "No"
3442
- ]
3443
- }
3444
- }
3445
- },
3446
- {
3447
- "properties": {
3448
- "hasSolarPanels": {
3449
- "enum": [
3450
- "Yes"
3451
- ]
3452
- },
3453
- "yearInstalled": {
3454
- "ta6Ref": "4.6a"
3455
- },
3456
- "panelsOwnedOutright": {
3457
- "ta6Ref": "4.6b",
3458
- "discriminator": {
3459
- "propertyName": "yesNo"
3460
- },
3461
- "oneOf": [
3462
- {
3463
- "properties": {
3464
- "yesNo": {
3465
- "enum": [
3466
- "Yes"
3467
- ]
3468
- }
3469
- }
3470
- },
3471
- {
3472
- "properties": {
3473
- "yesNo": {
3474
- "enum": [
3475
- "No"
3476
- ]
3477
- }
3478
- }
3479
- }
3480
- ],
3481
- "required": [
3482
- "yesNo"
3483
- ],
3484
- "properties": {
3485
- "yesNo": {
3486
- "ta6Ref": "4.6b1"
3487
- }
3488
- }
3489
- },
3490
- "panelProviderLease": {
3491
- "ta6Ref": "4.6c",
3492
- "discriminator": {
3493
- "propertyName": "yesNo"
3494
- },
3495
- "oneOf": [
3496
- {
3497
- "properties": {
3498
- "yesNo": {
3499
- "enum": [
3500
- "No"
3501
- ]
3502
- }
3503
- }
3504
- },
3505
- {
3506
- "properties": {
3507
- "yesNo": {
3508
- "enum": [
3509
- "Yes"
3510
- ]
3511
- },
3512
- "attachments": {
3513
- "ta6Ref": "4.6c2"
3514
- }
3515
- },
3516
- "required": [
3517
- "attachments"
3518
- ]
3519
- }
3520
- ],
3521
- "required": [
3522
- "yesNo"
3523
- ],
3524
- "properties": {
3525
- "yesNo": {
3526
- "ta6Ref": "4.6c1"
3527
- }
3528
- }
3529
- }
3530
- },
3531
- "required": [
3532
- "yearInstalled",
3533
- "panelsOwnedOutright",
3534
- "panelProviderLease"
3535
- ]
3536
- }
3537
- ],
3538
- "required": [
3539
- "hasSolarPanels"
3540
- ],
3541
- "properties": {
3542
- "hasSolarPanels": {
3543
- "ta6Ref": "4.6"
3544
- }
3545
- }
3546
- },
3547
- "electricityMeter": {
3548
- "ta6Ref": "13.1b",
3549
- "properties": {
3550
- "location": {
3551
- "ta6Ref": "13.1b1"
3552
- }
3553
- }
3554
- },
3555
- "gasMeter": {
3556
- "ta6Ref": "13.2b",
3557
- "properties": {
3558
- "location": {
3559
- "ta6Ref": "13.2b1"
3560
- }
3561
- }
3562
- },
3563
- "stopcock": {
3564
- "ta6Ref": "13.3b",
3565
- "properties": {
3566
- "location": {
3567
- "ta6Ref": "13.3b1"
3568
- }
3569
- }
3570
- },
3571
- "waterMeter": {
3572
- "ta6Ref": "13.3b",
3573
- "properties": {
3574
- "location": {
3575
- "ta6Ref": "13.3b2"
3576
- }
3577
- }
3578
3647
  }
3579
3648
  }
3580
3649
  },
@@ -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
  }