@pdtf/schemas 3.6.0-22 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdtf/schemas",
3
- "version": "3.6.0-22",
3
+ "version": "3.6.0-23",
4
4
  "description": "Property Data Trust Framework Schemas and Utilities",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -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": {
@@ -11074,7 +11074,7 @@
11074
11074
  "ta7ed5Ref": "11.2.1",
11075
11075
  "type": "string",
11076
11076
  "title": "",
11077
- "enum": ["Yes", "No", "Not applicable"],
11077
+ "enum": ["Yes", "No", "Not applicable", "Not known"],
11078
11078
  "ta7Enum": ["Yes", "No", "Not applicable"],
11079
11079
  "ta7ed5Enum": ["Yes", "No", "Not known"],
11080
11080
  "baspi4Enum": ["Yes", "No"],
@@ -25409,7 +25409,7 @@
25409
25409
  "ta6ed6Enum": ["Yes", "No", "Not applicable"],
25410
25410
  "type": "string",
25411
25411
  "title": "",
25412
- "enum": ["Yes", "No"]
25412
+ "enum": ["Yes", "No", "Not applicable"]
25413
25413
  }
25414
25414
  },
25415
25415
  "baspi4Required": ["yesNo"],
@@ -25616,7 +25616,7 @@
25616
25616
  "ta6ed6Enum": ["Yes", "No", "Not known"],
25617
25617
  "type": "string",
25618
25618
  "title": "",
25619
- "enum": ["Yes", "No"]
25619
+ "enum": ["Yes", "No", "Not known"]
25620
25620
  }
25621
25621
  },
25622
25622
  "baspi4Required": ["yesNo"],
@@ -29029,7 +29029,7 @@
29029
29029
  "ta6ed6Enum": ["Yes", "No", "Not known"],
29030
29030
  "type": "string",
29031
29031
  "title": "",
29032
- "enum": ["Yes", "No", "Not applicable"]
29032
+ "enum": ["Yes", "No", "Not applicable", "Not known"]
29033
29033
  }
29034
29034
  },
29035
29035
  "baspi4Required": ["yesNo"],
@@ -2,7 +2,6 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "$id": "https://trust.propdata.org.uk/schemas/v3/overlays/ta6.json",
4
4
  "required": [
5
- "participants",
6
5
  "propertyPack"
7
6
  ],
8
7
  "properties": {
@@ -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
- "providerName",
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
- "underpinning",
6108
+ "subsidenceWork",
6112
6109
  "insulation",
6113
6110
  "otherGuarantees",
6114
6111
  "outstandingClaimsOrApplications",
@@ -79,7 +79,6 @@
79
79
  "disputes",
80
80
  "buildingSafetyAct",
81
81
  "enfranchisement",
82
- "buildingSafety",
83
82
  "general",
84
83
  "requiredDocuments",
85
84
  "confirmationOfAccuracy"
@@ -84,7 +84,6 @@
84
84
  "disputes",
85
85
  "buildingSafetyAct",
86
86
  "enfranchisement",
87
- "buildingSafety",
88
87
  "general",
89
88
  "requiredDocuments",
90
89
  "additionalInformation",
@@ -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": {
@@ -8795,7 +8799,8 @@
8795
8799
  "enum": [
8796
8800
  "Yes",
8797
8801
  "No",
8798
- "Not applicable"
8802
+ "Not applicable",
8803
+ "Not known"
8799
8804
  ]
8800
8805
  }
8801
8806
  },
@@ -20705,7 +20710,8 @@
20705
20710
  "title": "",
20706
20711
  "enum": [
20707
20712
  "Yes",
20708
- "No"
20713
+ "No",
20714
+ "Not applicable"
20709
20715
  ]
20710
20716
  }
20711
20717
  },
@@ -20870,7 +20876,8 @@
20870
20876
  "title": "",
20871
20877
  "enum": [
20872
20878
  "Yes",
20873
- "No"
20879
+ "No",
20880
+ "Not known"
20874
20881
  ]
20875
20882
  }
20876
20883
  },
@@ -23613,7 +23620,8 @@
23613
23620
  "enum": [
23614
23621
  "Yes",
23615
23622
  "No",
23616
- "Not applicable"
23623
+ "Not applicable",
23624
+ "Not known"
23617
23625
  ]
23618
23626
  }
23619
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
- underpinning: { yesNo: "No" },
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
- underpinning: { yesNo: "No" },
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
- underpinning: { yesNo: "No" },
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
- underpinning: { yesNo: "No" },
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
- underpinning: { yesNo: "No" },
2057
+ subsidenceWork: { yesNo: "No" },
2058
2058
  subsidenceWork: { yesNo: "No" },
2059
2059
  insulation: { yesNo: "No" },
2060
2060
  otherGuarantees: { yesNo: "No" },