@pdtf/schemas 2.0.0-32 → 2.0.0-33

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": "2.0.0-32",
3
+ "version": "2.0.0-33",
4
4
  "description": "Property Data Trust Framework Schemas and Utilities",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -17829,7 +17829,7 @@
17829
17829
  "centralHeatingInstalled": {
17830
17830
  "baspiRef": "A7.4.1",
17831
17831
  "rdsRef": "Objects/Installed",
17832
- "ta6Ref": "12.3b",
17832
+ "ta6Ref": "12.3b1",
17833
17833
  "title": "When was the heating system installed?",
17834
17834
  "type": "string",
17835
17835
  "format": "date"
@@ -17837,13 +17837,13 @@
17837
17837
  "boilerInstallationCertificate": {
17838
17838
  "baspiRef": "A7.4.1.1",
17839
17839
  "rdsRef": "Objects/Installation,Objects/Certificates",
17840
- "ta6Ref": "12.3b",
17840
+ "ta6Ref": "12.3b2",
17841
17841
  "title": "Was a gas boiler installed after 1st April 2005, or a solid fuel or oil boiler installed after 1st October 2010?",
17842
17842
  "type": "object",
17843
17843
  "properties": {
17844
17844
  "yesNo": {
17845
17845
  "baspiRef": "A10.1.1",
17846
- "ta6Ref": "12.3b1",
17846
+ "ta6Ref": "12.3b3",
17847
17847
  "type": "string",
17848
17848
  "title": "",
17849
17849
  "enum": ["Yes", "No"]
@@ -17869,7 +17869,7 @@
17869
17869
  },
17870
17870
  "attachments": {
17871
17871
  "baspiRef": "A7.4.1.2",
17872
- "ta6Ref": "12.3b2",
17872
+ "ta6Ref": "12.3b4",
17873
17873
  "title": "Please supply a copy of the installation completion certificate from a competent person qualified under the relevant self-certification scheme e.g. HETAS etc",
17874
17874
  "type": "string",
17875
17875
  "enum": ["Attached", "To follow"]
@@ -19002,7 +19002,7 @@
19002
19002
  "title": "Environmental Issues Affecting the Property",
19003
19003
  "type": "object",
19004
19004
  "baspiRequired": ["flooding", "radon", "otherEnvironmental"],
19005
- "ta6Required": ["flooding", "radon", "otherEnvironmental"],
19005
+ "ta6Required": ["flooding", "radon"],
19006
19006
  "properties": {
19007
19007
  "flooding": {
19008
19008
  "baspiRef": "A11.1.1",
@@ -19246,7 +19246,7 @@
19246
19246
  "details": {
19247
19247
  "baspiRef": "A11.1.3.2",
19248
19248
  "ta6Ref": "7.4b",
19249
- "title": "Was the test result was below the recommended level?",
19249
+ "title": "Was the test result was below the recommended action level?",
19250
19250
  "type": "string",
19251
19251
  "enum": ["Yes", "No"]
19252
19252
  },
@@ -20311,6 +20311,7 @@
20311
20311
  },
20312
20312
  "attachments": {
20313
20313
  "baspiRef": "B3.3.3",
20314
+ "ta6Ref": "8.9.3",
20314
20315
  "title": "Attachments",
20315
20316
  "type": "string",
20316
20317
  "enum": ["Attached", "To follow"]
@@ -20426,7 +20427,7 @@
20426
20427
  },
20427
20428
  "yearWorkCarriedOut": {
20428
20429
  "baspiRef": "B4.2.2",
20429
- "title": "State the year the work was carried",
20430
+ "title": "State the year the work was carried out",
20430
20431
  "type": "integer"
20431
20432
  },
20432
20433
  "details": {
@@ -20435,20 +20436,29 @@
20435
20436
  "type": "string",
20436
20437
  "minLength": 1
20437
20438
  },
20438
- "attachments": {
20439
- "baspiRef": "B4.2.4",
20440
- "ta6Ref": "12.2.2",
20441
- "title": "Please supply the signed Electrical Safety Certificate (BS7671) and Building Regulations Compliance Certificate (or equivalent)",
20439
+ "electricalSafetyCertificate": {
20440
+ "baspiRef": "B4.2.4.1",
20441
+ "ta6Ref": "12.2.2a",
20442
+ "title": "Please provide a signed Electrical Safety Certificate (BS7671)",
20443
+ "type": "string",
20444
+ "enum": ["Attached", "To follow"]
20445
+ },
20446
+ "buildingRegulationsComplianceCertificate": {
20447
+ "baspiRef": "B4.2.4.2",
20448
+ "ta6Ref": "12.2.2b",
20449
+ "title": "or a Building Regulations Compliance Certificate (or equivalent)",
20450
+ "type": "string",
20451
+ "enum": ["Attached", "To follow"]
20452
+ },
20453
+ "buildingControlCompletionCertificate": {
20454
+ "baspiRef": "B4.2.4.3",
20455
+ "ta6Ref": "12.2.2c",
20456
+ "title": "or a Building Control Completion Certificate",
20442
20457
  "type": "string",
20443
20458
  "enum": ["Attached", "To follow"]
20444
20459
  }
20445
20460
  },
20446
- "baspiRequired": [
20447
- "yearWorkCarriedOut",
20448
- "details",
20449
- "attachments"
20450
- ],
20451
- "ta6Required": ["attachments"]
20461
+ "baspiRequired": ["yearWorkCarriedOut", "details"]
20452
20462
  }
20453
20463
  ]
20454
20464
  },
@@ -7007,7 +7007,7 @@
7007
7007
  },
7008
7008
  "details": {
7009
7009
  "baspiRef": "A11.1.3.2",
7010
- "title": "Was the test result was below the recommended level?",
7010
+ "title": "Was the test result was below the recommended action level?",
7011
7011
  "enum": [
7012
7012
  "Yes",
7013
7013
  "No"
@@ -8232,15 +8232,31 @@
8232
8232
  },
8233
8233
  "yearWorkCarriedOut": {
8234
8234
  "baspiRef": "B4.2.2",
8235
- "title": "State the year the work was carried"
8235
+ "title": "State the year the work was carried out"
8236
8236
  },
8237
8237
  "details": {
8238
8238
  "baspiRef": "B4.2.3",
8239
8239
  "title": "Provide details"
8240
8240
  },
8241
- "attachments": {
8242
- "baspiRef": "B4.2.4",
8243
- "title": "Please supply the signed Electrical Safety Certificate (BS7671) and Building Regulations Compliance Certificate (or equivalent)",
8241
+ "electricalSafetyCertificate": {
8242
+ "baspiRef": "B4.2.4.1",
8243
+ "title": "Please provide a signed Electrical Safety Certificate (BS7671)",
8244
+ "enum": [
8245
+ "Attached",
8246
+ "To follow"
8247
+ ]
8248
+ },
8249
+ "buildingRegulationsComplianceCertificate": {
8250
+ "baspiRef": "B4.2.4.2",
8251
+ "title": "or a Building Regulations Compliance Certificate (or equivalent)",
8252
+ "enum": [
8253
+ "Attached",
8254
+ "To follow"
8255
+ ]
8256
+ },
8257
+ "buildingControlCompletionCertificate": {
8258
+ "baspiRef": "B4.2.4.3",
8259
+ "title": "or a Building Control Completion Certificate",
8244
8260
  "enum": [
8245
8261
  "Attached",
8246
8262
  "To follow"
@@ -8249,8 +8265,7 @@
8249
8265
  },
8250
8266
  "required": [
8251
8267
  "yearWorkCarriedOut",
8252
- "details",
8253
- "attachments"
8268
+ "details"
8254
8269
  ]
8255
8270
  }
8256
8271
  ],
@@ -2606,11 +2606,11 @@
2606
2606
  }
2607
2607
  },
2608
2608
  "centralHeatingInstalled": {
2609
- "ta6Ref": "12.3b",
2609
+ "ta6Ref": "12.3b1",
2610
2610
  "title": "When was the heating system installed?"
2611
2611
  },
2612
2612
  "boilerInstallationCertificate": {
2613
- "ta6Ref": "12.3b",
2613
+ "ta6Ref": "12.3b2",
2614
2614
  "title": "Was a gas boiler installed after 1st April 2005, or a solid fuel or oil boiler installed after 1st October 2010?",
2615
2615
  "discriminator": {
2616
2616
  "propertyName": "yesNo"
@@ -2633,7 +2633,7 @@
2633
2633
  ]
2634
2634
  },
2635
2635
  "attachments": {
2636
- "ta6Ref": "12.3b2",
2636
+ "ta6Ref": "12.3b4",
2637
2637
  "title": "Please supply a copy of the installation completion certificate from a competent person qualified under the relevant self-certification scheme e.g. HETAS etc",
2638
2638
  "enum": [
2639
2639
  "Attached",
@@ -2651,7 +2651,7 @@
2651
2651
  ],
2652
2652
  "properties": {
2653
2653
  "yesNo": {
2654
- "ta6Ref": "12.3b1",
2654
+ "ta6Ref": "12.3b3",
2655
2655
  "enum": [
2656
2656
  "Yes",
2657
2657
  "No"
@@ -3540,8 +3540,7 @@
3540
3540
  "title": "Environmental Issues Affecting the Property",
3541
3541
  "required": [
3542
3542
  "flooding",
3543
- "radon",
3544
- "otherEnvironmental"
3543
+ "radon"
3545
3544
  ],
3546
3545
  "properties": {
3547
3546
  "flooding": {
@@ -3776,7 +3775,7 @@
3776
3775
  },
3777
3776
  "details": {
3778
3777
  "ta6Ref": "7.4b",
3779
- "title": "Was the test result was below the recommended level?",
3778
+ "title": "Was the test result was below the recommended action level?",
3780
3779
  "enum": [
3781
3780
  "Yes",
3782
3781
  "No"
@@ -4269,6 +4268,14 @@
4269
4268
  "details": {
4270
4269
  "ta6Ref": "8.9.2",
4271
4270
  "title": "Please provide details"
4271
+ },
4272
+ "attachments": {
4273
+ "ta6Ref": "8.9.3",
4274
+ "title": "Attachments",
4275
+ "enum": [
4276
+ "Attached",
4277
+ "To follow"
4278
+ ]
4272
4279
  }
4273
4280
  },
4274
4281
  "required": [
@@ -4380,18 +4387,31 @@
4380
4387
  "Yes"
4381
4388
  ]
4382
4389
  },
4383
- "attachments": {
4384
- "ta6Ref": "12.2.2",
4385
- "title": "Please supply the signed Electrical Safety Certificate (BS7671) and Building Regulations Compliance Certificate (or equivalent)",
4390
+ "electricalSafetyCertificate": {
4391
+ "ta6Ref": "12.2.2a",
4392
+ "title": "Please provide a signed Electrical Safety Certificate (BS7671)",
4393
+ "enum": [
4394
+ "Attached",
4395
+ "To follow"
4396
+ ]
4397
+ },
4398
+ "buildingRegulationsComplianceCertificate": {
4399
+ "ta6Ref": "12.2.2b",
4400
+ "title": "or a Building Regulations Compliance Certificate (or equivalent)",
4401
+ "enum": [
4402
+ "Attached",
4403
+ "To follow"
4404
+ ]
4405
+ },
4406
+ "buildingControlCompletionCertificate": {
4407
+ "ta6Ref": "12.2.2c",
4408
+ "title": "or a Building Control Completion Certificate",
4386
4409
  "enum": [
4387
4410
  "Attached",
4388
4411
  "To follow"
4389
4412
  ]
4390
4413
  }
4391
- },
4392
- "required": [
4393
- "attachments"
4394
- ]
4414
+ }
4395
4415
  }
4396
4416
  ],
4397
4417
  "required": [
@@ -17555,7 +17555,7 @@
17555
17555
  ]
17556
17556
  },
17557
17557
  "details": {
17558
- "title": "Was the test result was below the recommended level?",
17558
+ "title": "Was the test result was below the recommended action level?",
17559
17559
  "type": "string",
17560
17560
  "enum": [
17561
17561
  "Yes",
@@ -18587,7 +18587,7 @@
18587
18587
  ]
18588
18588
  },
18589
18589
  "yearWorkCarriedOut": {
18590
- "title": "State the year the work was carried",
18590
+ "title": "State the year the work was carried out",
18591
18591
  "type": "integer"
18592
18592
  },
18593
18593
  "details": {
@@ -18595,8 +18595,24 @@
18595
18595
  "type": "string",
18596
18596
  "minLength": 1
18597
18597
  },
18598
- "attachments": {
18599
- "title": "Please supply the signed Electrical Safety Certificate (BS7671) and Building Regulations Compliance Certificate (or equivalent)",
18598
+ "electricalSafetyCertificate": {
18599
+ "title": "Please provide a signed Electrical Safety Certificate (BS7671)",
18600
+ "type": "string",
18601
+ "enum": [
18602
+ "Attached",
18603
+ "To follow"
18604
+ ]
18605
+ },
18606
+ "buildingRegulationsComplianceCertificate": {
18607
+ "title": "or a Building Regulations Compliance Certificate (or equivalent)",
18608
+ "type": "string",
18609
+ "enum": [
18610
+ "Attached",
18611
+ "To follow"
18612
+ ]
18613
+ },
18614
+ "buildingControlCompletionCertificate": {
18615
+ "title": "or a Building Control Completion Certificate",
18600
18616
  "type": "string",
18601
18617
  "enum": [
18602
18618
  "Attached",
@@ -2199,7 +2199,9 @@
2199
2199
  "yesNo": {},
2200
2200
  "yearWorkCarriedOut": {},
2201
2201
  "details": {},
2202
- "attachments": {}
2202
+ "electricalSafetyCertificate": {},
2203
+ "buildingRegulationsComplianceCertificate": {},
2204
+ "buildingControlCompletionCertificate": {}
2203
2205
  },
2204
2206
  "solarPanels": {
2205
2207
  "hasSolarPanels": {},