@pdtf/schemas 2.0.0-14 → 2.0.0-16
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/index.js +23 -9
- package/package.json +1 -1
- package/src/examples/v2/exampleTransaction.json +7 -6
- package/src/schemas/v2/combined.json +151 -180
- package/src/schemas/v2/overlays/baspi.json +80 -69
- package/src/schemas/v2/overlays/con29DW.json +255 -126
- package/src/schemas/v2/overlays/lpe1.json +1 -1
- package/src/schemas/v2/overlays/nts.json +1 -1
- package/src/schemas/v2/overlays/rds.json +8 -6
- package/src/schemas/v2/overlays/ta6.json +31 -31
- package/src/schemas/v2/overlays/ta7.json +1 -1
- package/src/schemas/v2/pdtf-transaction.json +100 -167
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"properties": {
|
|
47
47
|
"annualGroundRent": {
|
|
48
48
|
"rdsRef": "TenureAgreements/RentPayable/Value",
|
|
49
|
-
"title": "What is the annual ground rent payable?"
|
|
49
|
+
"title": "What is the annual ground rent payable? (£)"
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -222,7 +222,13 @@
|
|
|
222
222
|
},
|
|
223
223
|
"energyEfficiency": {
|
|
224
224
|
"rdsRef": "Certificates/{category='energyEfficiency',standard='EPC',gradeLevelRating=?},Certificates/{category='energyEfficiency',standard='EPC',status='exempt'},",
|
|
225
|
-
"title": "Energy Efficiency"
|
|
225
|
+
"title": "Energy Efficiency",
|
|
226
|
+
"properties": {
|
|
227
|
+
"greenDealLoan": {
|
|
228
|
+
"rdsRef": "RightsHolders/Loans,RightsHolders/OtherDocumentation",
|
|
229
|
+
"title": "Green Deal Loan"
|
|
230
|
+
}
|
|
231
|
+
}
|
|
226
232
|
},
|
|
227
233
|
"councilTax": {
|
|
228
234
|
"properties": {
|
|
@@ -2077,10 +2083,6 @@
|
|
|
2077
2083
|
}
|
|
2078
2084
|
}
|
|
2079
2085
|
},
|
|
2080
|
-
"greenDealLoan": {
|
|
2081
|
-
"rdsRef": "RightsHolders/Loans,RightsHolders/OtherDocumentation",
|
|
2082
|
-
"title": "Green Deal Loan"
|
|
2083
|
-
},
|
|
2084
2086
|
"centralHeating": {
|
|
2085
2087
|
"rdsRef": "Buildings|BuildingSections/isUnheated=no|yes|true|false",
|
|
2086
2088
|
"title": "Central Heating",
|
|
@@ -212,6 +212,37 @@
|
|
|
212
212
|
]
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
|
+
},
|
|
216
|
+
"greenDealLoan": {
|
|
217
|
+
"properties": {
|
|
218
|
+
"hasGreenDealLoan": {
|
|
219
|
+
"ta6Ref": "7.7",
|
|
220
|
+
"title": "Is this property subject to a Green Deal loan or other financed home improvement scheme?",
|
|
221
|
+
"discriminator": {
|
|
222
|
+
"propertyName": "yesNo"
|
|
223
|
+
},
|
|
224
|
+
"oneOf": [
|
|
225
|
+
{
|
|
226
|
+
"properties": {
|
|
227
|
+
"yesNo": {
|
|
228
|
+
"enum": [
|
|
229
|
+
"No"
|
|
230
|
+
]
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"properties": {
|
|
236
|
+
"yesNo": {
|
|
237
|
+
"enum": [
|
|
238
|
+
"Yes"
|
|
239
|
+
]
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
]
|
|
244
|
+
}
|
|
245
|
+
}
|
|
215
246
|
}
|
|
216
247
|
}
|
|
217
248
|
},
|
|
@@ -1670,37 +1701,6 @@
|
|
|
1670
1701
|
}
|
|
1671
1702
|
}
|
|
1672
1703
|
},
|
|
1673
|
-
"greenDealLoan": {
|
|
1674
|
-
"properties": {
|
|
1675
|
-
"hasGreenDealLoan": {
|
|
1676
|
-
"ta6Ref": "7.7",
|
|
1677
|
-
"title": "Is this property subject to a Green Deal loan or other financed home improvement scheme?",
|
|
1678
|
-
"discriminator": {
|
|
1679
|
-
"propertyName": "yesNo"
|
|
1680
|
-
},
|
|
1681
|
-
"oneOf": [
|
|
1682
|
-
{
|
|
1683
|
-
"properties": {
|
|
1684
|
-
"yesNo": {
|
|
1685
|
-
"enum": [
|
|
1686
|
-
"No"
|
|
1687
|
-
]
|
|
1688
|
-
}
|
|
1689
|
-
}
|
|
1690
|
-
},
|
|
1691
|
-
{
|
|
1692
|
-
"properties": {
|
|
1693
|
-
"yesNo": {
|
|
1694
|
-
"enum": [
|
|
1695
|
-
"Yes"
|
|
1696
|
-
]
|
|
1697
|
-
}
|
|
1698
|
-
}
|
|
1699
|
-
}
|
|
1700
|
-
]
|
|
1701
|
-
}
|
|
1702
|
-
}
|
|
1703
|
-
},
|
|
1704
1704
|
"centralHeating": {
|
|
1705
1705
|
"properties": {
|
|
1706
1706
|
"hasCentralHeating": {
|
|
@@ -3873,7 +3873,7 @@
|
|
|
3873
3873
|
]
|
|
3874
3874
|
},
|
|
3875
3875
|
"annualGroundRent": {
|
|
3876
|
-
"title": "What is the annual ground rent payable?",
|
|
3876
|
+
"title": "What is the annual ground rent payable? (£)",
|
|
3877
3877
|
"type": "number"
|
|
3878
3878
|
},
|
|
3879
3879
|
"groundRentFrequency": {
|
|
@@ -6890,6 +6890,59 @@
|
|
|
6890
6890
|
}
|
|
6891
6891
|
}
|
|
6892
6892
|
}
|
|
6893
|
+
},
|
|
6894
|
+
"greenDealLoan": {
|
|
6895
|
+
"title": "Green Deal Loan",
|
|
6896
|
+
"type": "object",
|
|
6897
|
+
"properties": {
|
|
6898
|
+
"hasGreenDealLoan": {
|
|
6899
|
+
"title": "Is this property subject to a Green Deal loan or other financed home improvement scheme?",
|
|
6900
|
+
"type": "object",
|
|
6901
|
+
"properties": {
|
|
6902
|
+
"yesNo": {
|
|
6903
|
+
"type": "string",
|
|
6904
|
+
"title": "",
|
|
6905
|
+
"enum": [
|
|
6906
|
+
"Yes",
|
|
6907
|
+
"No"
|
|
6908
|
+
]
|
|
6909
|
+
}
|
|
6910
|
+
},
|
|
6911
|
+
"oneOf": [
|
|
6912
|
+
{
|
|
6913
|
+
"properties": {
|
|
6914
|
+
"yesNo": {
|
|
6915
|
+
"enum": [
|
|
6916
|
+
"No"
|
|
6917
|
+
]
|
|
6918
|
+
}
|
|
6919
|
+
}
|
|
6920
|
+
},
|
|
6921
|
+
{
|
|
6922
|
+
"properties": {
|
|
6923
|
+
"yesNo": {
|
|
6924
|
+
"enum": [
|
|
6925
|
+
"Yes"
|
|
6926
|
+
]
|
|
6927
|
+
},
|
|
6928
|
+
"details": {
|
|
6929
|
+
"title": "Please provide details below including any outstanding payments for the renewable devices and any feed-in tariffs and a copy of your last electricity bill",
|
|
6930
|
+
"type": "string",
|
|
6931
|
+
"minLength": 1
|
|
6932
|
+
},
|
|
6933
|
+
"attachments": {
|
|
6934
|
+
"title": "Attachments",
|
|
6935
|
+
"type": "string",
|
|
6936
|
+
"enum": [
|
|
6937
|
+
"Attached",
|
|
6938
|
+
"To follow"
|
|
6939
|
+
]
|
|
6940
|
+
}
|
|
6941
|
+
}
|
|
6942
|
+
}
|
|
6943
|
+
]
|
|
6944
|
+
}
|
|
6945
|
+
}
|
|
6893
6946
|
}
|
|
6894
6947
|
}
|
|
6895
6948
|
},
|
|
@@ -16066,59 +16119,6 @@
|
|
|
16066
16119
|
}
|
|
16067
16120
|
}
|
|
16068
16121
|
},
|
|
16069
|
-
"greenDealLoan": {
|
|
16070
|
-
"title": "Green Deal Loan",
|
|
16071
|
-
"type": "object",
|
|
16072
|
-
"properties": {
|
|
16073
|
-
"hasGreenDealLoan": {
|
|
16074
|
-
"title": "Is this property subject to a Green Deal loan or other financed home improvement scheme?",
|
|
16075
|
-
"type": "object",
|
|
16076
|
-
"properties": {
|
|
16077
|
-
"yesNo": {
|
|
16078
|
-
"type": "string",
|
|
16079
|
-
"title": "",
|
|
16080
|
-
"enum": [
|
|
16081
|
-
"Yes",
|
|
16082
|
-
"No"
|
|
16083
|
-
]
|
|
16084
|
-
}
|
|
16085
|
-
},
|
|
16086
|
-
"oneOf": [
|
|
16087
|
-
{
|
|
16088
|
-
"properties": {
|
|
16089
|
-
"yesNo": {
|
|
16090
|
-
"enum": [
|
|
16091
|
-
"No"
|
|
16092
|
-
]
|
|
16093
|
-
}
|
|
16094
|
-
}
|
|
16095
|
-
},
|
|
16096
|
-
{
|
|
16097
|
-
"properties": {
|
|
16098
|
-
"yesNo": {
|
|
16099
|
-
"enum": [
|
|
16100
|
-
"Yes"
|
|
16101
|
-
]
|
|
16102
|
-
},
|
|
16103
|
-
"details": {
|
|
16104
|
-
"title": "Please provide details below including any outstanding payments for the renewable devices and any feed-in tariffs and a copy of your last electricity bill",
|
|
16105
|
-
"type": "string",
|
|
16106
|
-
"minLength": 1
|
|
16107
|
-
},
|
|
16108
|
-
"attachments": {
|
|
16109
|
-
"title": "Attachments",
|
|
16110
|
-
"type": "string",
|
|
16111
|
-
"enum": [
|
|
16112
|
-
"Attached",
|
|
16113
|
-
"To follow"
|
|
16114
|
-
]
|
|
16115
|
-
}
|
|
16116
|
-
}
|
|
16117
|
-
}
|
|
16118
|
-
]
|
|
16119
|
-
}
|
|
16120
|
-
}
|
|
16121
|
-
},
|
|
16122
16122
|
"centralHeating": {
|
|
16123
16123
|
"title": "Central Heating",
|
|
16124
16124
|
"type": "object",
|
|
@@ -19351,7 +19351,8 @@
|
|
|
19351
19351
|
"items": {
|
|
19352
19352
|
"type": "string",
|
|
19353
19353
|
"format": "date"
|
|
19354
|
-
}
|
|
19354
|
+
},
|
|
19355
|
+
"minItems": 1
|
|
19355
19356
|
}
|
|
19356
19357
|
}
|
|
19357
19358
|
}
|
|
@@ -19396,11 +19397,7 @@
|
|
|
19396
19397
|
"willHandoverLogbook": {
|
|
19397
19398
|
"title": "Please confirm that on completion you will transfer it to the new owner",
|
|
19398
19399
|
"confirmation": {
|
|
19399
|
-
"type": "
|
|
19400
|
-
"enum": [
|
|
19401
|
-
"true",
|
|
19402
|
-
"false"
|
|
19403
|
-
]
|
|
19400
|
+
"type": "boolean"
|
|
19404
19401
|
}
|
|
19405
19402
|
}
|
|
19406
19403
|
}
|
|
@@ -31520,7 +31517,23 @@
|
|
|
31520
31517
|
"title": "Maps",
|
|
31521
31518
|
"properties": {
|
|
31522
31519
|
"publicSewerMapAttached": {
|
|
31523
|
-
"title": "
|
|
31520
|
+
"title": "Where relevant, please include a copy of an extract from the public sewer map.",
|
|
31521
|
+
"type": "string",
|
|
31522
|
+
"minLength": 1
|
|
31523
|
+
},
|
|
31524
|
+
"waterworksMapAttached": {
|
|
31525
|
+
"title": "Where relevant, please include a copy of an extract from the map of waterworks.",
|
|
31526
|
+
"type": "string",
|
|
31527
|
+
"minLength": 1
|
|
31528
|
+
}
|
|
31529
|
+
}
|
|
31530
|
+
},
|
|
31531
|
+
"drainage": {
|
|
31532
|
+
"type": "object",
|
|
31533
|
+
"title": "Drainage",
|
|
31534
|
+
"properties": {
|
|
31535
|
+
"publicFoulDrainage": {
|
|
31536
|
+
"title": "Does foul water from the property drain to a public sewer?",
|
|
31524
31537
|
"type": "object",
|
|
31525
31538
|
"properties": {
|
|
31526
31539
|
"yesNo": {
|
|
@@ -31558,8 +31571,8 @@
|
|
|
31558
31571
|
}
|
|
31559
31572
|
]
|
|
31560
31573
|
},
|
|
31561
|
-
"
|
|
31562
|
-
"title": "
|
|
31574
|
+
"publicSurfaceDrainage": {
|
|
31575
|
+
"title": "Does surface water from the property drain to a public sewer?",
|
|
31563
31576
|
"type": "object",
|
|
31564
31577
|
"properties": {
|
|
31565
31578
|
"yesNo": {
|
|
@@ -31596,15 +31609,9 @@
|
|
|
31596
31609
|
}
|
|
31597
31610
|
}
|
|
31598
31611
|
]
|
|
31599
|
-
}
|
|
31600
|
-
|
|
31601
|
-
|
|
31602
|
-
"drainage": {
|
|
31603
|
-
"type": "object",
|
|
31604
|
-
"title": "Drainage",
|
|
31605
|
-
"properties": {
|
|
31606
|
-
"publicFoulDrainage": {
|
|
31607
|
-
"title": "Does foul water from the property drain to a public sewer?",
|
|
31612
|
+
},
|
|
31613
|
+
"surfaceDrainageCharge": {
|
|
31614
|
+
"title": "Is a surface water drainage charge payable?",
|
|
31608
31615
|
"type": "object",
|
|
31609
31616
|
"properties": {
|
|
31610
31617
|
"yesNo": {
|
|
@@ -31621,7 +31628,7 @@
|
|
|
31621
31628
|
"properties": {
|
|
31622
31629
|
"yesNo": {
|
|
31623
31630
|
"enum": [
|
|
31624
|
-
"
|
|
31631
|
+
"No"
|
|
31625
31632
|
]
|
|
31626
31633
|
}
|
|
31627
31634
|
}
|
|
@@ -31630,7 +31637,7 @@
|
|
|
31630
31637
|
"properties": {
|
|
31631
31638
|
"yesNo": {
|
|
31632
31639
|
"enum": [
|
|
31633
|
-
"
|
|
31640
|
+
"Yes"
|
|
31634
31641
|
]
|
|
31635
31642
|
},
|
|
31636
31643
|
"details": {
|
|
@@ -31642,8 +31649,8 @@
|
|
|
31642
31649
|
}
|
|
31643
31650
|
]
|
|
31644
31651
|
},
|
|
31645
|
-
"
|
|
31646
|
-
"title": "Does
|
|
31652
|
+
"publicDrainWithinBoundaries": {
|
|
31653
|
+
"title": "Does the public sewer map indicate any public sewer, disposal main or lateral drain within the boundaries of the property?",
|
|
31647
31654
|
"type": "object",
|
|
31648
31655
|
"properties": {
|
|
31649
31656
|
"yesNo": {
|
|
@@ -31660,7 +31667,7 @@
|
|
|
31660
31667
|
"properties": {
|
|
31661
31668
|
"yesNo": {
|
|
31662
31669
|
"enum": [
|
|
31663
|
-
"
|
|
31670
|
+
"No"
|
|
31664
31671
|
]
|
|
31665
31672
|
}
|
|
31666
31673
|
}
|
|
@@ -31669,7 +31676,7 @@
|
|
|
31669
31676
|
"properties": {
|
|
31670
31677
|
"yesNo": {
|
|
31671
31678
|
"enum": [
|
|
31672
|
-
"
|
|
31679
|
+
"Yes"
|
|
31673
31680
|
]
|
|
31674
31681
|
},
|
|
31675
31682
|
"details": {
|
|
@@ -31681,8 +31688,8 @@
|
|
|
31681
31688
|
}
|
|
31682
31689
|
]
|
|
31683
31690
|
},
|
|
31684
|
-
"
|
|
31685
|
-
"title": "
|
|
31691
|
+
"publicPumpingStationWithinBoundaries": {
|
|
31692
|
+
"title": "Does the public sewer map indicate any public pumping station or any other ancillary apparatus within the boundaries of the property?",
|
|
31686
31693
|
"type": "object",
|
|
31687
31694
|
"properties": {
|
|
31688
31695
|
"yesNo": {
|
|
@@ -31720,8 +31727,8 @@
|
|
|
31720
31727
|
}
|
|
31721
31728
|
]
|
|
31722
31729
|
},
|
|
31723
|
-
"
|
|
31724
|
-
"title": "Does the public sewer map indicate any public sewer
|
|
31730
|
+
"publicSewerWithin100ft": {
|
|
31731
|
+
"title": "Does the public sewer map indicate any public sewer within 30.48 meters (100 feet) of any buildings within the property?",
|
|
31725
31732
|
"type": "object",
|
|
31726
31733
|
"properties": {
|
|
31727
31734
|
"yesNo": {
|
|
@@ -31759,8 +31766,8 @@
|
|
|
31759
31766
|
}
|
|
31760
31767
|
]
|
|
31761
31768
|
},
|
|
31762
|
-
"
|
|
31763
|
-
"title": "Does the public sewer map indicate any public
|
|
31769
|
+
"publicPumpingStationWithin50mOfBuildings": {
|
|
31770
|
+
"title": "Does the public sewer map indicate any public pumping station or any other ancillary apparatus within 50 metres of any buildings within the property?",
|
|
31764
31771
|
"type": "object",
|
|
31765
31772
|
"properties": {
|
|
31766
31773
|
"yesNo": {
|
|
@@ -31877,7 +31884,7 @@
|
|
|
31877
31884
|
]
|
|
31878
31885
|
},
|
|
31879
31886
|
"riskOfInternalFlooding": {
|
|
31880
|
-
"title": "Is any building which is or
|
|
31887
|
+
"title": "Is any building which is or forms part of the property, at risk of internal flooding due to overloaded public sewers?",
|
|
31881
31888
|
"type": "object",
|
|
31882
31889
|
"properties": {
|
|
31883
31890
|
"yesNo": {
|
|
@@ -32005,7 +32012,7 @@
|
|
|
32005
32012
|
]
|
|
32006
32013
|
},
|
|
32007
32014
|
"waterMainsSubjectOfAdoptionAgreement": {
|
|
32008
|
-
"title": "Is any water main or service pipe serving
|
|
32015
|
+
"title": "Is any water main or service pipe serving or which is proposed to serve the property, the subject of an existing adoption agreement or an application for such an agreement?",
|
|
32009
32016
|
"type": "object",
|
|
32010
32017
|
"properties": {
|
|
32011
32018
|
"yesNo": {
|
|
@@ -32082,89 +32089,15 @@
|
|
|
32082
32089
|
}
|
|
32083
32090
|
]
|
|
32084
32091
|
},
|
|
32085
|
-
"
|
|
32086
|
-
"title": "
|
|
32087
|
-
"altTitle": "What is the classification of the water supply for the property?",
|
|
32092
|
+
"supplyClassification": {
|
|
32093
|
+
"title": "What is the classification of the water supply for the property?",
|
|
32088
32094
|
"type": "string",
|
|
32089
32095
|
"minLength": 1
|
|
32090
32096
|
},
|
|
32091
|
-
"authorisedDeparturesFrom2000Regulations": {
|
|
32092
|
-
"title": "Are there any departures authorised by the Secretary of State or National Assembly for Wales under Part 6 of the 2000 Regulations from the provisions of Part 3 of those Regulations.",
|
|
32093
|
-
"type": "object",
|
|
32094
|
-
"properties": {
|
|
32095
|
-
"yesNo": {
|
|
32096
|
-
"type": "string",
|
|
32097
|
-
"title": "",
|
|
32098
|
-
"enum": [
|
|
32099
|
-
"Yes",
|
|
32100
|
-
"No"
|
|
32101
|
-
]
|
|
32102
|
-
}
|
|
32103
|
-
},
|
|
32104
|
-
"oneOf": [
|
|
32105
|
-
{
|
|
32106
|
-
"properties": {
|
|
32107
|
-
"yesNo": {
|
|
32108
|
-
"enum": [
|
|
32109
|
-
"No"
|
|
32110
|
-
]
|
|
32111
|
-
}
|
|
32112
|
-
}
|
|
32113
|
-
},
|
|
32114
|
-
{
|
|
32115
|
-
"properties": {
|
|
32116
|
-
"yesNo": {
|
|
32117
|
-
"enum": [
|
|
32118
|
-
"Yes"
|
|
32119
|
-
]
|
|
32120
|
-
},
|
|
32121
|
-
"details": {
|
|
32122
|
-
"title": "Details",
|
|
32123
|
-
"type": "string",
|
|
32124
|
-
"minLength": 1
|
|
32125
|
-
}
|
|
32126
|
-
}
|
|
32127
|
-
}
|
|
32128
|
-
]
|
|
32129
|
-
},
|
|
32130
32097
|
"waterMeterLocation": {
|
|
32131
|
-
"title": "
|
|
32132
|
-
"type": "
|
|
32133
|
-
"
|
|
32134
|
-
"yesNo": {
|
|
32135
|
-
"type": "string",
|
|
32136
|
-
"title": "",
|
|
32137
|
-
"enum": [
|
|
32138
|
-
"Yes",
|
|
32139
|
-
"No"
|
|
32140
|
-
]
|
|
32141
|
-
}
|
|
32142
|
-
},
|
|
32143
|
-
"oneOf": [
|
|
32144
|
-
{
|
|
32145
|
-
"properties": {
|
|
32146
|
-
"yesNo": {
|
|
32147
|
-
"enum": [
|
|
32148
|
-
"No"
|
|
32149
|
-
]
|
|
32150
|
-
}
|
|
32151
|
-
}
|
|
32152
|
-
},
|
|
32153
|
-
{
|
|
32154
|
-
"properties": {
|
|
32155
|
-
"yesNo": {
|
|
32156
|
-
"enum": [
|
|
32157
|
-
"Yes"
|
|
32158
|
-
]
|
|
32159
|
-
},
|
|
32160
|
-
"details": {
|
|
32161
|
-
"title": "Details",
|
|
32162
|
-
"type": "string",
|
|
32163
|
-
"minLength": 1
|
|
32164
|
-
}
|
|
32165
|
-
}
|
|
32166
|
-
}
|
|
32167
|
-
]
|
|
32098
|
+
"title": "Please include details of the location of any water meter serving the property.",
|
|
32099
|
+
"type": "string",
|
|
32100
|
+
"minLength": 1
|
|
32168
32101
|
}
|
|
32169
32102
|
}
|
|
32170
32103
|
},
|
|
@@ -32173,12 +32106,12 @@
|
|
|
32173
32106
|
"title": "Charging",
|
|
32174
32107
|
"properties": {
|
|
32175
32108
|
"sewerageProvider": {
|
|
32176
|
-
"title": "Who
|
|
32109
|
+
"title": "Who are the sewerage undertakers for the property?",
|
|
32177
32110
|
"type": "string",
|
|
32178
32111
|
"minLength": 1
|
|
32179
32112
|
},
|
|
32180
32113
|
"waterProvider": {
|
|
32181
|
-
"title": "Who
|
|
32114
|
+
"title": "Who are the water undertakers for the property?",
|
|
32182
32115
|
"type": "string",
|
|
32183
32116
|
"minLength": 1
|
|
32184
32117
|
},
|