@pdtf/schemas 3.6.0-21 → 3.6.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.
- package/package.json +1 -1
- package/src/schemas/v3/combined.json +20 -15
- package/src/schemas/v3/overlays/ta6.json +0 -1
- package/src/schemas/v3/overlays/ta6ed6.json +4 -7
- package/src/schemas/v3/overlays/ta7.json +0 -1
- package/src/schemas/v3/overlays/ta7ed5.json +0 -1
- package/src/schemas/v3/pdtf-transaction.json +22 -11
- package/src/tests/v3/ta6ed6.test.js +6 -6
package/package.json
CHANGED
|
@@ -7213,7 +7213,7 @@
|
|
|
7213
7213
|
"title": "Does the landlord, tenants’ management company or Right to Manage company employ a managing agent to collect rent or manage the building?",
|
|
7214
7214
|
"ta7ed5Title": "Is a managing agent appointed to manage the building and collect service charges?",
|
|
7215
7215
|
"type": "string",
|
|
7216
|
-
"enum": ["Yes", "No"],
|
|
7216
|
+
"enum": ["Yes", "No", "Not applicable"],
|
|
7217
7217
|
"ta7ed5Enum": ["Yes", "No", "Not applicable"]
|
|
7218
7218
|
},
|
|
7219
7219
|
"sellerOwnership": {
|
|
@@ -7262,7 +7262,7 @@
|
|
|
7262
7262
|
"title": "Has any tenants' management company been dissolved or struck off the register at Companies House?",
|
|
7263
7263
|
"ta7ed5Title": "Are you aware of any company responsible for managing the building having been dissolved or struck off the register at Companies House?",
|
|
7264
7264
|
"type": "string",
|
|
7265
|
-
"enum": ["Yes", "No"],
|
|
7265
|
+
"enum": ["Yes", "No", "Not applicable"],
|
|
7266
7266
|
"ta7ed5Enum": ["Yes", "No", "Not applicable"]
|
|
7267
7267
|
}
|
|
7268
7268
|
},
|
|
@@ -9003,7 +9003,7 @@
|
|
|
9003
9003
|
"title": "Is the lease of the property a qualifying lease?",
|
|
9004
9004
|
"ta7ed5Title": "Is the property within a relevant building (11 metres or more in height or at least 5 storeys and contains at least 2 dwellings) and is not leaseholder-owned?",
|
|
9005
9005
|
"type": "string",
|
|
9006
|
-
"enum": ["Yes", "No"],
|
|
9006
|
+
"enum": ["Yes", "No", "Not known"],
|
|
9007
9007
|
"ta7ed5Enum": ["Yes", "No", "Not known"]
|
|
9008
9008
|
},
|
|
9009
9009
|
"deedOfCertificateServed": {
|
|
@@ -9081,7 +9081,7 @@
|
|
|
9081
9081
|
"title": "Has the freeholder / landlord been notified of the intention to sell?",
|
|
9082
9082
|
"ta7ed5Title": "Has the landlord been notified of your intention to sell the property?",
|
|
9083
9083
|
"type": "string",
|
|
9084
|
-
"enum": ["Yes", "No"],
|
|
9084
|
+
"enum": ["Yes", "No", "Not known"],
|
|
9085
9085
|
"ta7ed5Enum": ["Yes", "No", "Not known"]
|
|
9086
9086
|
},
|
|
9087
9087
|
"landlordsCertificateServed": {
|
|
@@ -10370,14 +10370,11 @@
|
|
|
10370
10370
|
"sef25Ref": "P1.2",
|
|
10371
10371
|
"title": "Payment frequency",
|
|
10372
10372
|
"type": "string",
|
|
10373
|
-
"enum": ["Per month", "Per year"]
|
|
10373
|
+
"enum": ["Per month", "Per year", "Not applicable"]
|
|
10374
10374
|
}
|
|
10375
10375
|
},
|
|
10376
10376
|
"baspi5Required": ["costOfPermit"],
|
|
10377
|
-
"sef25Required": [
|
|
10378
|
-
"costOfPermit",
|
|
10379
|
-
"costOfPermitFrequency"
|
|
10380
|
-
]
|
|
10377
|
+
"sef25Required": ["costOfPermit", "costOfPermitFrequency"]
|
|
10381
10378
|
}
|
|
10382
10379
|
]
|
|
10383
10380
|
},
|
|
@@ -11077,7 +11074,7 @@
|
|
|
11077
11074
|
"ta7ed5Ref": "11.2.1",
|
|
11078
11075
|
"type": "string",
|
|
11079
11076
|
"title": "",
|
|
11080
|
-
"enum": ["Yes", "No", "Not applicable"],
|
|
11077
|
+
"enum": ["Yes", "No", "Not applicable", "Not known"],
|
|
11081
11078
|
"ta7Enum": ["Yes", "No", "Not applicable"],
|
|
11082
11079
|
"ta7ed5Enum": ["Yes", "No", "Not known"],
|
|
11083
11080
|
"baspi4Enum": ["Yes", "No"],
|
|
@@ -22336,7 +22333,11 @@
|
|
|
22336
22333
|
"sef25Ref": "U1.1.2",
|
|
22337
22334
|
"title": "Payment frequency if costs are associated",
|
|
22338
22335
|
"type": "string",
|
|
22339
|
-
"enum": [
|
|
22336
|
+
"enum": [
|
|
22337
|
+
"Per month",
|
|
22338
|
+
"Per year",
|
|
22339
|
+
"Not applicable"
|
|
22340
|
+
]
|
|
22340
22341
|
}
|
|
22341
22342
|
}
|
|
22342
22343
|
}
|
|
@@ -23369,7 +23370,11 @@
|
|
|
23369
23370
|
"sef25Ref": "U1.2.2",
|
|
23370
23371
|
"title": "Payment frequency if costs are associated",
|
|
23371
23372
|
"type": "string",
|
|
23372
|
-
"enum": [
|
|
23373
|
+
"enum": [
|
|
23374
|
+
"Per month",
|
|
23375
|
+
"Per year",
|
|
23376
|
+
"Not applicable"
|
|
23377
|
+
]
|
|
23373
23378
|
}
|
|
23374
23379
|
}
|
|
23375
23380
|
}
|
|
@@ -25404,7 +25409,7 @@
|
|
|
25404
25409
|
"ta6ed6Enum": ["Yes", "No", "Not applicable"],
|
|
25405
25410
|
"type": "string",
|
|
25406
25411
|
"title": "",
|
|
25407
|
-
"enum": ["Yes", "No"]
|
|
25412
|
+
"enum": ["Yes", "No", "Not applicable"]
|
|
25408
25413
|
}
|
|
25409
25414
|
},
|
|
25410
25415
|
"baspi4Required": ["yesNo"],
|
|
@@ -25611,7 +25616,7 @@
|
|
|
25611
25616
|
"ta6ed6Enum": ["Yes", "No", "Not known"],
|
|
25612
25617
|
"type": "string",
|
|
25613
25618
|
"title": "",
|
|
25614
|
-
"enum": ["Yes", "No"]
|
|
25619
|
+
"enum": ["Yes", "No", "Not known"]
|
|
25615
25620
|
}
|
|
25616
25621
|
},
|
|
25617
25622
|
"baspi4Required": ["yesNo"],
|
|
@@ -29024,7 +29029,7 @@
|
|
|
29024
29029
|
"ta6ed6Enum": ["Yes", "No", "Not known"],
|
|
29025
29030
|
"type": "string",
|
|
29026
29031
|
"title": "",
|
|
29027
|
-
"enum": ["Yes", "No", "Not applicable"]
|
|
29032
|
+
"enum": ["Yes", "No", "Not applicable", "Not known"]
|
|
29028
29033
|
}
|
|
29029
29034
|
},
|
|
29030
29035
|
"baspi4Required": ["yesNo"],
|
|
@@ -640,7 +640,6 @@
|
|
|
640
640
|
"removalOfChimneyBreast",
|
|
641
641
|
"insulation",
|
|
642
642
|
"otherBuildingWorksOrChangesToTheProperty",
|
|
643
|
-
"changeOfUse",
|
|
644
643
|
"nonResidentialPurposes",
|
|
645
644
|
"planningPermissionBreaches",
|
|
646
645
|
"unresolvedPlanningIssues"
|
|
@@ -3124,7 +3123,7 @@
|
|
|
3124
3123
|
}
|
|
3125
3124
|
},
|
|
3126
3125
|
"required": [
|
|
3127
|
-
"
|
|
3126
|
+
"supplier",
|
|
3128
3127
|
"makeModel",
|
|
3129
3128
|
"serviceProviderName"
|
|
3130
3129
|
]
|
|
@@ -3280,8 +3279,7 @@
|
|
|
3280
3279
|
"ta6ed6Ref": "11.5",
|
|
3281
3280
|
"required": [
|
|
3282
3281
|
"mainsFoulDrainage",
|
|
3283
|
-
"mainsSurfaceWaterDrainage"
|
|
3284
|
-
"offMainsDrainageSystem"
|
|
3282
|
+
"mainsSurfaceWaterDrainage"
|
|
3285
3283
|
],
|
|
3286
3284
|
"title": "Drains and sewers",
|
|
3287
3285
|
"properties": {
|
|
@@ -4982,8 +4980,7 @@
|
|
|
4982
4980
|
"ta6ed6Ref": "8",
|
|
4983
4981
|
"required": [
|
|
4984
4982
|
"flooding",
|
|
4985
|
-
"radon"
|
|
4986
|
-
"greenDealScheme"
|
|
4983
|
+
"radon"
|
|
4987
4984
|
],
|
|
4988
4985
|
"properties": {
|
|
4989
4986
|
"flooding": {
|
|
@@ -6108,7 +6105,7 @@
|
|
|
6108
6105
|
"doubleGlazing",
|
|
6109
6106
|
"roofingWork",
|
|
6110
6107
|
"centralHeatingAndorPlumbing",
|
|
6111
|
-
"
|
|
6108
|
+
"subsidenceWork",
|
|
6112
6109
|
"insulation",
|
|
6113
6110
|
"otherGuarantees",
|
|
6114
6111
|
"outstandingClaimsOrApplications",
|
|
@@ -5777,7 +5777,8 @@
|
|
|
5777
5777
|
"type": "string",
|
|
5778
5778
|
"enum": [
|
|
5779
5779
|
"Yes",
|
|
5780
|
-
"No"
|
|
5780
|
+
"No",
|
|
5781
|
+
"Not applicable"
|
|
5781
5782
|
]
|
|
5782
5783
|
},
|
|
5783
5784
|
"sellerOwnership": {
|
|
@@ -5830,7 +5831,8 @@
|
|
|
5830
5831
|
"type": "string",
|
|
5831
5832
|
"enum": [
|
|
5832
5833
|
"Yes",
|
|
5833
|
-
"No"
|
|
5834
|
+
"No",
|
|
5835
|
+
"Not applicable"
|
|
5834
5836
|
]
|
|
5835
5837
|
}
|
|
5836
5838
|
},
|
|
@@ -7321,7 +7323,8 @@
|
|
|
7321
7323
|
"type": "string",
|
|
7322
7324
|
"enum": [
|
|
7323
7325
|
"Yes",
|
|
7324
|
-
"No"
|
|
7326
|
+
"No",
|
|
7327
|
+
"Not known"
|
|
7325
7328
|
]
|
|
7326
7329
|
},
|
|
7327
7330
|
"deedOfCertificateServed": {
|
|
@@ -7381,7 +7384,8 @@
|
|
|
7381
7384
|
"type": "string",
|
|
7382
7385
|
"enum": [
|
|
7383
7386
|
"Yes",
|
|
7384
|
-
"No"
|
|
7387
|
+
"No",
|
|
7388
|
+
"Not known"
|
|
7385
7389
|
]
|
|
7386
7390
|
},
|
|
7387
7391
|
"landlordsCertificateServed": {
|
|
@@ -8381,7 +8385,8 @@
|
|
|
8381
8385
|
"type": "string",
|
|
8382
8386
|
"enum": [
|
|
8383
8387
|
"Per month",
|
|
8384
|
-
"Per year"
|
|
8388
|
+
"Per year",
|
|
8389
|
+
"Not applicable"
|
|
8385
8390
|
]
|
|
8386
8391
|
}
|
|
8387
8392
|
},
|
|
@@ -8794,7 +8799,8 @@
|
|
|
8794
8799
|
"enum": [
|
|
8795
8800
|
"Yes",
|
|
8796
8801
|
"No",
|
|
8797
|
-
"Not applicable"
|
|
8802
|
+
"Not applicable",
|
|
8803
|
+
"Not known"
|
|
8798
8804
|
]
|
|
8799
8805
|
}
|
|
8800
8806
|
},
|
|
@@ -18617,7 +18623,8 @@
|
|
|
18617
18623
|
"type": "string",
|
|
18618
18624
|
"enum": [
|
|
18619
18625
|
"Per month",
|
|
18620
|
-
"Per year"
|
|
18626
|
+
"Per year",
|
|
18627
|
+
"Not applicable"
|
|
18621
18628
|
]
|
|
18622
18629
|
}
|
|
18623
18630
|
}
|
|
@@ -19296,7 +19303,8 @@
|
|
|
19296
19303
|
"type": "string",
|
|
19297
19304
|
"enum": [
|
|
19298
19305
|
"Per month",
|
|
19299
|
-
"Per year"
|
|
19306
|
+
"Per year",
|
|
19307
|
+
"Not applicable"
|
|
19300
19308
|
]
|
|
19301
19309
|
}
|
|
19302
19310
|
}
|
|
@@ -20702,7 +20710,8 @@
|
|
|
20702
20710
|
"title": "",
|
|
20703
20711
|
"enum": [
|
|
20704
20712
|
"Yes",
|
|
20705
|
-
"No"
|
|
20713
|
+
"No",
|
|
20714
|
+
"Not applicable"
|
|
20706
20715
|
]
|
|
20707
20716
|
}
|
|
20708
20717
|
},
|
|
@@ -20867,7 +20876,8 @@
|
|
|
20867
20876
|
"title": "",
|
|
20868
20877
|
"enum": [
|
|
20869
20878
|
"Yes",
|
|
20870
|
-
"No"
|
|
20879
|
+
"No",
|
|
20880
|
+
"Not known"
|
|
20871
20881
|
]
|
|
20872
20882
|
}
|
|
20873
20883
|
},
|
|
@@ -23610,7 +23620,8 @@
|
|
|
23610
23620
|
"enum": [
|
|
23611
23621
|
"Yes",
|
|
23612
23622
|
"No",
|
|
23613
|
-
"Not applicable"
|
|
23623
|
+
"Not applicable",
|
|
23624
|
+
"Not known"
|
|
23614
23625
|
]
|
|
23615
23626
|
}
|
|
23616
23627
|
},
|
|
@@ -82,7 +82,7 @@ describe("TA6 Edition 6 overlay", () => {
|
|
|
82
82
|
expect(required).toContain("removalOfChimneyBreast");
|
|
83
83
|
expect(required).toContain("insulation");
|
|
84
84
|
expect(required).toContain("otherBuildingWorksOrChangesToTheProperty");
|
|
85
|
-
expect(required).toContain("changeOfUse");
|
|
85
|
+
expect(required).not.toContain("changeOfUse"); // removed in ed6
|
|
86
86
|
expect(required).toContain("planningPermissionBreaches");
|
|
87
87
|
expect(required).toContain("unresolvedPlanningIssues");
|
|
88
88
|
});
|
|
@@ -1973,7 +1973,7 @@ describe("TA6 Edition 6 overlay", () => {
|
|
|
1973
1973
|
doubleGlazing: { yesNo: "No" },
|
|
1974
1974
|
roofingWork: { yesNo: "No" },
|
|
1975
1975
|
centralHeatingAndorPlumbing: { yesNo: "No" },
|
|
1976
|
-
|
|
1976
|
+
subsidenceWork: { yesNo: "No" },
|
|
1977
1977
|
insulation: { yesNo: "No" },
|
|
1978
1978
|
otherGuarantees: { yesNo: "No" },
|
|
1979
1979
|
outstandingClaimsOrApplications: { yesNo: "No" },
|
|
@@ -1990,7 +1990,7 @@ describe("TA6 Edition 6 overlay", () => {
|
|
|
1990
1990
|
doubleGlazing: { yesNo: "No" },
|
|
1991
1991
|
roofingWork: { yesNo: "No" },
|
|
1992
1992
|
centralHeatingAndorPlumbing: { yesNo: "No" },
|
|
1993
|
-
|
|
1993
|
+
subsidenceWork: { yesNo: "No" },
|
|
1994
1994
|
insulation: { yesNo: "No" },
|
|
1995
1995
|
otherGuarantees: { yesNo: "No" },
|
|
1996
1996
|
outstandingClaimsOrApplications: { yesNo: "No" },
|
|
@@ -2013,7 +2013,7 @@ describe("TA6 Edition 6 overlay", () => {
|
|
|
2013
2013
|
doubleGlazing: { yesNo: "No" },
|
|
2014
2014
|
roofingWork: { yesNo: "No" },
|
|
2015
2015
|
centralHeatingAndorPlumbing: { yesNo: "No" },
|
|
2016
|
-
|
|
2016
|
+
subsidenceWork: { yesNo: "No" },
|
|
2017
2017
|
subsidenceWork: { yesNo: "No" },
|
|
2018
2018
|
insulation: { yesNo: "No" },
|
|
2019
2019
|
otherGuarantees: { yesNo: "No" },
|
|
@@ -2032,7 +2032,7 @@ describe("TA6 Edition 6 overlay", () => {
|
|
|
2032
2032
|
doubleGlazing: { yesNo: "No" },
|
|
2033
2033
|
roofingWork: { yesNo: "No" },
|
|
2034
2034
|
centralHeatingAndorPlumbing: { yesNo: "No" },
|
|
2035
|
-
|
|
2035
|
+
subsidenceWork: { yesNo: "No" },
|
|
2036
2036
|
subsidenceWork: { yesNo: "No" },
|
|
2037
2037
|
insulation: { yesNo: "No" },
|
|
2038
2038
|
otherGuarantees: { yesNo: "No" },
|
|
@@ -2054,7 +2054,7 @@ describe("TA6 Edition 6 overlay", () => {
|
|
|
2054
2054
|
doubleGlazing: { yesNo: "Yes", attachments: "Attached" },
|
|
2055
2055
|
roofingWork: { yesNo: "No" },
|
|
2056
2056
|
centralHeatingAndorPlumbing: { yesNo: "No" },
|
|
2057
|
-
|
|
2057
|
+
subsidenceWork: { yesNo: "No" },
|
|
2058
2058
|
subsidenceWork: { yesNo: "No" },
|
|
2059
2059
|
insulation: { yesNo: "No" },
|
|
2060
2060
|
otherGuarantees: { yesNo: "No" },
|