@pdtf/schemas 3.0.0-15 → 3.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.
@@ -4369,194 +4369,202 @@
4369
4369
  },
4370
4370
  "heating": {
4371
4371
  "baspiRef": "A7.4",
4372
- "discriminator": {
4373
- "propertyName": "heatingType"
4374
- },
4375
- "oneOf": [
4376
- {
4377
- "properties": {
4378
- "heatingType": {
4379
- "enum": [
4380
- "None"
4381
- ]
4382
- }
4383
- }
4384
- },
4385
- {
4386
- "properties": {
4387
- "heatingType": {
4388
- "enum": [
4389
- "Central heating"
4390
- ]
4372
+ "required": [
4373
+ "heatingSystem"
4374
+ ],
4375
+ "properties": {
4376
+ "heatingSystem": {
4377
+ "baspiRef": "A7.4.0",
4378
+ "discriminator": {
4379
+ "propertyName": "heatingType"
4380
+ },
4381
+ "oneOf": [
4382
+ {
4383
+ "properties": {
4384
+ "heatingType": {
4385
+ "enum": [
4386
+ "None"
4387
+ ]
4388
+ }
4389
+ }
4391
4390
  },
4392
- "centralHeatingDetails": {
4393
- "baspiRef": "A7.4.0.0",
4394
- "required": [
4395
- "centralHeatingFuel",
4396
- "centralHeatingInstalled",
4397
- "boilerInstallationCertificate",
4398
- "heatingLastServicedDate",
4399
- "heatingLastServicedReport",
4400
- "heatingInGoodWorkingOrder"
4401
- ],
4391
+ {
4402
4392
  "properties": {
4403
- "centralHeatingFuel": {
4404
- "baspiRef": "A7.4.0.1",
4405
- "discriminator": {
4406
- "propertyName": "centralHeatingFuelType"
4407
- },
4408
- "oneOf": [
4409
- {
4393
+ "heatingType": {
4394
+ "enum": [
4395
+ "Central heating"
4396
+ ]
4397
+ },
4398
+ "centralHeatingDetails": {
4399
+ "baspiRef": "A7.4.0.0",
4400
+ "required": [
4401
+ "centralHeatingFuel",
4402
+ "centralHeatingInstalled",
4403
+ "boilerInstallationCertificate",
4404
+ "heatingLastServicedDate",
4405
+ "heatingLastServicedReport",
4406
+ "heatingInGoodWorkingOrder"
4407
+ ],
4408
+ "properties": {
4409
+ "centralHeatingFuel": {
4410
+ "baspiRef": "A7.4.0.1",
4411
+ "discriminator": {
4412
+ "propertyName": "centralHeatingFuelType"
4413
+ },
4414
+ "oneOf": [
4415
+ {
4416
+ "properties": {
4417
+ "centralHeatingFuelType": {
4418
+ "enum": [
4419
+ "Mains gas",
4420
+ "Electricity",
4421
+ "Oil",
4422
+ "LPG",
4423
+ "Biomass"
4424
+ ]
4425
+ }
4426
+ }
4427
+ },
4428
+ {
4429
+ "properties": {
4430
+ "centralHeatingFuelType": {
4431
+ "enum": [
4432
+ "Other"
4433
+ ]
4434
+ },
4435
+ "otherCentralHeatingFuelType": {
4436
+ "baspiRef": "A7.4.0.3"
4437
+ }
4438
+ },
4439
+ "required": [
4440
+ "otherCentralHeatingFuelType"
4441
+ ]
4442
+ }
4443
+ ],
4444
+ "required": [
4445
+ "centralHeatingFuelType"
4446
+ ],
4410
4447
  "properties": {
4411
4448
  "centralHeatingFuelType": {
4412
- "enum": [
4413
- "Mains gas",
4414
- "Electricity",
4415
- "Oil",
4416
- "LPG",
4417
- "Biomass"
4418
- ]
4449
+ "baspiRef": "A7.4.0.2"
4419
4450
  }
4420
4451
  }
4421
4452
  },
4422
- {
4423
- "properties": {
4424
- "centralHeatingFuelType": {
4425
- "enum": [
4426
- "Other"
4427
- ]
4453
+ "centralHeatingInstalled": {
4454
+ "baspiRef": "A7.4.1"
4455
+ },
4456
+ "boilerInstallationCertificate": {
4457
+ "baspiRef": "A7.4.1.1",
4458
+ "discriminator": {
4459
+ "propertyName": "yesNo"
4460
+ },
4461
+ "oneOf": [
4462
+ {
4463
+ "properties": {
4464
+ "yesNo": {
4465
+ "enum": [
4466
+ "No"
4467
+ ]
4468
+ }
4469
+ }
4428
4470
  },
4429
- "otherCentralHeatingFuelType": {
4430
- "baspiRef": "A7.4.0.3"
4471
+ {
4472
+ "properties": {
4473
+ "yesNo": {
4474
+ "enum": [
4475
+ "Yes"
4476
+ ]
4477
+ },
4478
+ "attachments": {
4479
+ "baspiRef": "A7.4.1.2"
4480
+ }
4481
+ },
4482
+ "required": [
4483
+ "attachments"
4484
+ ]
4431
4485
  }
4432
- },
4486
+ ],
4433
4487
  "required": [
4434
- "otherCentralHeatingFuelType"
4435
- ]
4436
- }
4437
- ],
4438
- "required": [
4439
- "centralHeatingFuelType"
4440
- ],
4441
- "properties": {
4442
- "centralHeatingFuelType": {
4443
- "baspiRef": "A7.4.0.2"
4444
- }
4445
- }
4446
- },
4447
- "centralHeatingInstalled": {
4448
- "baspiRef": "A7.4.1"
4449
- },
4450
- "boilerInstallationCertificate": {
4451
- "baspiRef": "A7.4.1.1",
4452
- "discriminator": {
4453
- "propertyName": "yesNo"
4454
- },
4455
- "oneOf": [
4456
- {
4488
+ "yesNo"
4489
+ ],
4457
4490
  "properties": {
4458
4491
  "yesNo": {
4459
- "enum": [
4460
- "No"
4461
- ]
4492
+ "baspiRef": "A10.1.1"
4462
4493
  }
4463
4494
  }
4464
4495
  },
4465
- {
4466
- "properties": {
4467
- "yesNo": {
4468
- "enum": [
4469
- "Yes"
4470
- ]
4496
+ "heatingLastServicedDate": {
4497
+ "baspiRef": "A7.4.2.1"
4498
+ },
4499
+ "heatingLastServicedReport": {
4500
+ "baspiRef": "A7.4.2.2"
4501
+ },
4502
+ "heatingInGoodWorkingOrder": {
4503
+ "baspiRef": "A7.4.3",
4504
+ "discriminator": {
4505
+ "propertyName": "yesNo"
4506
+ },
4507
+ "oneOf": [
4508
+ {
4509
+ "properties": {
4510
+ "yesNo": {
4511
+ "enum": [
4512
+ "Yes"
4513
+ ]
4514
+ }
4515
+ }
4471
4516
  },
4472
- "attachments": {
4473
- "baspiRef": "A7.4.1.2"
4517
+ {
4518
+ "properties": {
4519
+ "yesNo": {
4520
+ "enum": [
4521
+ "No"
4522
+ ]
4523
+ },
4524
+ "details": {
4525
+ "baspiRef": "A7.4.3.2"
4526
+ }
4527
+ },
4528
+ "required": [
4529
+ "details"
4530
+ ]
4474
4531
  }
4475
- },
4532
+ ],
4476
4533
  "required": [
4477
- "attachments"
4478
- ]
4479
- }
4480
- ],
4481
- "required": [
4482
- "yesNo"
4483
- ],
4484
- "properties": {
4485
- "yesNo": {
4486
- "baspiRef": "A10.1.1"
4487
- }
4488
- }
4489
- },
4490
- "heatingLastServicedDate": {
4491
- "baspiRef": "A7.4.2.1"
4492
- },
4493
- "heatingLastServicedReport": {
4494
- "baspiRef": "A7.4.2.2"
4495
- },
4496
- "heatingInGoodWorkingOrder": {
4497
- "baspiRef": "A7.4.3",
4498
- "discriminator": {
4499
- "propertyName": "yesNo"
4500
- },
4501
- "oneOf": [
4502
- {
4534
+ "yesNo"
4535
+ ],
4503
4536
  "properties": {
4504
4537
  "yesNo": {
4505
- "enum": [
4506
- "Yes"
4507
- ]
4538
+ "baspiRef": "A7.4.3.1"
4508
4539
  }
4509
4540
  }
4510
- },
4511
- {
4512
- "properties": {
4513
- "yesNo": {
4514
- "enum": [
4515
- "No"
4516
- ]
4517
- },
4518
- "details": {
4519
- "baspiRef": "A7.4.3.2"
4520
- }
4521
- },
4522
- "required": [
4523
- "details"
4524
- ]
4525
- }
4526
- ],
4527
- "required": [
4528
- "yesNo"
4529
- ],
4530
- "properties": {
4531
- "yesNo": {
4532
- "baspiRef": "A7.4.3.1"
4533
4541
  }
4534
4542
  }
4535
4543
  }
4544
+ },
4545
+ "required": [
4546
+ "centralHeatingDetails"
4547
+ ]
4548
+ },
4549
+ {
4550
+ "properties": {
4551
+ "heatingType": {
4552
+ "enum": [
4553
+ "Community heating system"
4554
+ ]
4555
+ }
4536
4556
  }
4537
4557
  }
4538
- },
4558
+ ],
4539
4559
  "required": [
4540
- "centralHeatingDetails"
4541
- ]
4542
- },
4543
- {
4560
+ "heatingType"
4561
+ ],
4544
4562
  "properties": {
4545
4563
  "heatingType": {
4546
- "enum": [
4547
- "Community heating system"
4548
- ]
4564
+ "baspiRef": "A7.4.0"
4549
4565
  }
4550
4566
  }
4551
4567
  }
4552
- ],
4553
- "required": [
4554
- "heatingType"
4555
- ],
4556
- "properties": {
4557
- "heatingType": {
4558
- "baspiRef": "A7.4.0"
4559
- }
4560
4568
  }
4561
4569
  },
4562
4570
  "insurance": {
@@ -1513,99 +1513,107 @@
1513
1513
  },
1514
1514
  "heating": {
1515
1515
  "ntsRef": "B3.4",
1516
- "discriminator": {
1517
- "propertyName": "heatingType"
1518
- },
1519
- "oneOf": [
1520
- {
1521
- "properties": {
1522
- "heatingType": {
1523
- "enum": [
1524
- "None"
1525
- ]
1526
- }
1527
- }
1528
- },
1529
- {
1530
- "properties": {
1531
- "heatingType": {
1532
- "enum": [
1533
- "Central heating"
1534
- ]
1516
+ "required": [
1517
+ "heatingSystem"
1518
+ ],
1519
+ "properties": {
1520
+ "heatingSystem": {
1521
+ "ntsRef": "B3.4.1",
1522
+ "discriminator": {
1523
+ "propertyName": "heatingType"
1524
+ },
1525
+ "oneOf": [
1526
+ {
1527
+ "properties": {
1528
+ "heatingType": {
1529
+ "enum": [
1530
+ "None"
1531
+ ]
1532
+ }
1533
+ }
1535
1534
  },
1536
- "centralHeatingDetails": {
1537
- "ntsRef": "B3.4.3",
1538
- "required": [
1539
- "centralHeatingFuel"
1540
- ],
1535
+ {
1541
1536
  "properties": {
1542
- "centralHeatingFuel": {
1543
- "ntsRef": "B3.4.3.1",
1544
- "discriminator": {
1545
- "propertyName": "centralHeatingFuelType"
1546
- },
1547
- "oneOf": [
1548
- {
1549
- "properties": {
1550
- "centralHeatingFuelType": {
1551
- "enum": [
1552
- "Mains gas",
1553
- "Electricity",
1554
- "Oil",
1555
- "LPG",
1556
- "Biomass"
1557
- ]
1537
+ "heatingType": {
1538
+ "enum": [
1539
+ "Central heating"
1540
+ ]
1541
+ },
1542
+ "centralHeatingDetails": {
1543
+ "ntsRef": "B3.4.3",
1544
+ "required": [
1545
+ "centralHeatingFuel"
1546
+ ],
1547
+ "properties": {
1548
+ "centralHeatingFuel": {
1549
+ "ntsRef": "B3.4.3.1",
1550
+ "discriminator": {
1551
+ "propertyName": "centralHeatingFuelType"
1552
+ },
1553
+ "oneOf": [
1554
+ {
1555
+ "properties": {
1556
+ "centralHeatingFuelType": {
1557
+ "enum": [
1558
+ "Mains gas",
1559
+ "Electricity",
1560
+ "Oil",
1561
+ "LPG",
1562
+ "Biomass"
1563
+ ]
1564
+ }
1565
+ }
1566
+ },
1567
+ {
1568
+ "properties": {
1569
+ "centralHeatingFuelType": {
1570
+ "enum": [
1571
+ "Other"
1572
+ ]
1573
+ }
1574
+ }
1558
1575
  }
1559
- }
1560
- },
1561
- {
1576
+ ],
1577
+ "required": [
1578
+ "centralHeatingFuelType"
1579
+ ],
1562
1580
  "properties": {
1563
1581
  "centralHeatingFuelType": {
1564
- "enum": [
1565
- "Other"
1566
- ]
1582
+ "ntsRef": "B3.4.3.1.1"
1567
1583
  }
1568
1584
  }
1569
1585
  }
1570
- ],
1571
- "required": [
1572
- "centralHeatingFuelType"
1573
- ],
1574
- "properties": {
1575
- "centralHeatingFuelType": {
1576
- "ntsRef": "B3.4.3.1.1"
1577
- }
1578
1586
  }
1579
1587
  }
1580
- }
1588
+ },
1589
+ "required": [
1590
+ "centralHeatingDetails"
1591
+ ]
1592
+ },
1593
+ {
1594
+ "properties": {
1595
+ "heatingType": {
1596
+ "enum": [
1597
+ "Community heating system"
1598
+ ]
1599
+ },
1600
+ "details": {
1601
+ "ntsRef": "B3.4.4"
1602
+ }
1603
+ },
1604
+ "required": [
1605
+ "details"
1606
+ ]
1581
1607
  }
1582
- },
1608
+ ],
1583
1609
  "required": [
1584
- "centralHeatingDetails"
1585
- ]
1586
- },
1587
- {
1610
+ "heatingType"
1611
+ ],
1588
1612
  "properties": {
1589
1613
  "heatingType": {
1590
- "enum": [
1591
- "Community heating system"
1592
- ]
1593
- },
1594
- "details": {
1595
- "ntsRef": "B3.4.4"
1614
+ "ntsRef": "B3.4.1"
1596
1615
  }
1597
- },
1598
- "required": [
1599
- "details"
1600
- ]
1601
- }
1602
- ],
1603
- "required": [
1604
- "heatingType"
1605
- ],
1606
- "properties": {
1607
- "heatingType": {
1608
- "ntsRef": "B3.4.1"
1616
+ }
1609
1617
  },
1610
1618
  "otherHeatingFeatures": {
1611
1619
  "ntsRef": "B3.4.2"