@pdtf/schemas 3.0.0-15 → 3.0.0-17

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.
@@ -3324,70 +3324,188 @@
3324
3324
  "connectedUtilities": {
3325
3325
  "baspiRef": "A7",
3326
3326
  "required": [
3327
- "mainsElectricity",
3327
+ "electricity",
3328
3328
  "mainsGas",
3329
3329
  "lpg",
3330
3330
  "oil",
3331
3331
  "telephone",
3332
3332
  "cableSatelliteTV",
3333
3333
  "broadband",
3334
- "solarPanels",
3335
- "otherServices",
3336
3334
  "maintenanceAgreements"
3337
3335
  ],
3338
3336
  "properties": {
3339
- "mainsElectricity": {
3337
+ "electricity": {
3340
3338
  "baspiRef": "A7.1.0.1",
3341
- "discriminator": {
3342
- "propertyName": "yesNo"
3343
- },
3344
- "oneOf": [
3345
- {
3339
+ "required": [
3340
+ "mainsElectricity",
3341
+ "solarPanels",
3342
+ "otherSources"
3343
+ ],
3344
+ "properties": {
3345
+ "mainsElectricity": {
3346
+ "baspiRef": "A7.1.0.1",
3347
+ "discriminator": {
3348
+ "propertyName": "yesNo"
3349
+ },
3350
+ "oneOf": [
3351
+ {
3352
+ "properties": {
3353
+ "yesNo": {
3354
+ "enum": [
3355
+ "No"
3356
+ ]
3357
+ }
3358
+ }
3359
+ },
3360
+ {
3361
+ "properties": {
3362
+ "yesNo": {
3363
+ "enum": [
3364
+ "Yes"
3365
+ ]
3366
+ },
3367
+ "supplier": {
3368
+ "baspiRef": "A7.1.0.1.2"
3369
+ }
3370
+ }
3371
+ },
3372
+ {
3373
+ "properties": {
3374
+ "yesNo": {
3375
+ "enum": [
3376
+ "To be connected"
3377
+ ]
3378
+ },
3379
+ "dateToBeConnected": {
3380
+ "baspiRef": "A7.1.0.1.3"
3381
+ },
3382
+ "supplier": {
3383
+ "baspiRef": "A7.1.0.1.2"
3384
+ }
3385
+ },
3386
+ "required": [
3387
+ "dateToBeConnected"
3388
+ ]
3389
+ }
3390
+ ],
3391
+ "required": [
3392
+ "yesNo"
3393
+ ],
3346
3394
  "properties": {
3347
3395
  "yesNo": {
3348
- "enum": [
3349
- "No"
3350
- ]
3396
+ "baspiRef": "A7.1.0.1.1"
3351
3397
  }
3352
3398
  }
3353
3399
  },
3354
- {
3400
+ "solarPanels": {
3401
+ "baspiRef": "A7.1.0.8",
3402
+ "discriminator": {
3403
+ "propertyName": "yesNo"
3404
+ },
3405
+ "oneOf": [
3406
+ {
3407
+ "properties": {
3408
+ "yesNo": {
3409
+ "enum": [
3410
+ "No"
3411
+ ]
3412
+ }
3413
+ }
3414
+ },
3415
+ {
3416
+ "properties": {
3417
+ "yesNo": {
3418
+ "enum": [
3419
+ "Yes"
3420
+ ]
3421
+ },
3422
+ "supplier": {
3423
+ "baspiRef": "A7.1.0.8.2"
3424
+ }
3425
+ }
3426
+ },
3427
+ {
3428
+ "properties": {
3429
+ "yesNo": {
3430
+ "enum": [
3431
+ "To be connected"
3432
+ ]
3433
+ },
3434
+ "dateToBeConnected": {
3435
+ "baspiRef": "A7.1.0.8.3"
3436
+ },
3437
+ "supplier": {
3438
+ "baspiRef": "A7.1.0.8.2"
3439
+ }
3440
+ },
3441
+ "required": [
3442
+ "dateToBeConnected"
3443
+ ]
3444
+ }
3445
+ ],
3446
+ "required": [
3447
+ "yesNo"
3448
+ ],
3355
3449
  "properties": {
3356
3450
  "yesNo": {
3357
- "enum": [
3358
- "Yes"
3359
- ]
3360
- },
3361
- "supplier": {
3362
- "baspiRef": "A7.1.0.1.2"
3451
+ "baspiRef": "A7.1.0.8.1"
3363
3452
  }
3364
3453
  }
3365
3454
  },
3366
- {
3367
- "properties": {
3368
- "yesNo": {
3369
- "enum": [
3370
- "To be connected"
3371
- ]
3455
+ "otherSources": {
3456
+ "baspiRef": "A7.1.0.9",
3457
+ "discriminator": {
3458
+ "propertyName": "yesNo"
3459
+ },
3460
+ "oneOf": [
3461
+ {
3462
+ "properties": {
3463
+ "yesNo": {
3464
+ "enum": [
3465
+ "No"
3466
+ ]
3467
+ }
3468
+ }
3372
3469
  },
3373
- "dateToBeConnected": {
3374
- "baspiRef": "A7.1.0.1.3"
3470
+ {
3471
+ "properties": {
3472
+ "yesNo": {
3473
+ "enum": [
3474
+ "Yes"
3475
+ ]
3476
+ },
3477
+ "supplier": {
3478
+ "baspiRef": "A7.1.0.9.2"
3479
+ }
3480
+ }
3375
3481
  },
3376
- "supplier": {
3377
- "baspiRef": "A7.1.0.1.2"
3482
+ {
3483
+ "properties": {
3484
+ "yesNo": {
3485
+ "enum": [
3486
+ "To be connected"
3487
+ ]
3488
+ },
3489
+ "dateToBeConnected": {
3490
+ "baspiRef": "A7.1.0.9.3"
3491
+ },
3492
+ "supplier": {
3493
+ "baspiRef": "A7.1.0.9.2"
3494
+ }
3495
+ },
3496
+ "required": [
3497
+ "dateToBeConnected"
3498
+ ]
3378
3499
  }
3379
- },
3500
+ ],
3380
3501
  "required": [
3381
- "dateToBeConnected"
3382
- ]
3383
- }
3384
- ],
3385
- "required": [
3386
- "yesNo"
3387
- ],
3388
- "properties": {
3389
- "yesNo": {
3390
- "baspiRef": "A7.1.0.1.1"
3502
+ "yesNo"
3503
+ ],
3504
+ "properties": {
3505
+ "yesNo": {
3506
+ "baspiRef": "A7.1.0.9.1"
3507
+ }
3508
+ }
3391
3509
  }
3392
3510
  }
3393
3511
  },
@@ -3724,116 +3842,6 @@
3724
3842
  }
3725
3843
  }
3726
3844
  },
3727
- "solarPanels": {
3728
- "baspiRef": "A7.1.0.8",
3729
- "discriminator": {
3730
- "propertyName": "yesNo"
3731
- },
3732
- "oneOf": [
3733
- {
3734
- "properties": {
3735
- "yesNo": {
3736
- "enum": [
3737
- "No"
3738
- ]
3739
- }
3740
- }
3741
- },
3742
- {
3743
- "properties": {
3744
- "yesNo": {
3745
- "enum": [
3746
- "Yes"
3747
- ]
3748
- },
3749
- "supplier": {
3750
- "baspiRef": "A7.1.0.8.2"
3751
- }
3752
- }
3753
- },
3754
- {
3755
- "properties": {
3756
- "yesNo": {
3757
- "enum": [
3758
- "To be connected"
3759
- ]
3760
- },
3761
- "dateToBeConnected": {
3762
- "baspiRef": "A7.1.0.8.3"
3763
- },
3764
- "supplier": {
3765
- "baspiRef": "A7.1.0.8.2"
3766
- }
3767
- },
3768
- "required": [
3769
- "dateToBeConnected"
3770
- ]
3771
- }
3772
- ],
3773
- "required": [
3774
- "yesNo"
3775
- ],
3776
- "properties": {
3777
- "yesNo": {
3778
- "baspiRef": "A7.1.0.8.1"
3779
- }
3780
- }
3781
- },
3782
- "otherServices": {
3783
- "baspiRef": "A7.1.0.9",
3784
- "discriminator": {
3785
- "propertyName": "yesNo"
3786
- },
3787
- "oneOf": [
3788
- {
3789
- "properties": {
3790
- "yesNo": {
3791
- "enum": [
3792
- "No"
3793
- ]
3794
- }
3795
- }
3796
- },
3797
- {
3798
- "properties": {
3799
- "yesNo": {
3800
- "enum": [
3801
- "Yes"
3802
- ]
3803
- },
3804
- "supplier": {
3805
- "baspiRef": "A7.1.0.9.2"
3806
- }
3807
- }
3808
- },
3809
- {
3810
- "properties": {
3811
- "yesNo": {
3812
- "enum": [
3813
- "To be connected"
3814
- ]
3815
- },
3816
- "dateToBeConnected": {
3817
- "baspiRef": "A7.1.0.9.3"
3818
- },
3819
- "supplier": {
3820
- "baspiRef": "A7.1.0.9.2"
3821
- }
3822
- },
3823
- "required": [
3824
- "dateToBeConnected"
3825
- ]
3826
- }
3827
- ],
3828
- "required": [
3829
- "yesNo"
3830
- ],
3831
- "properties": {
3832
- "yesNo": {
3833
- "baspiRef": "A7.1.0.9.1"
3834
- }
3835
- }
3836
- },
3837
3845
  "maintenanceAgreements": {
3838
3846
  "baspiRef": "A7.2",
3839
3847
  "discriminator": {
@@ -4369,194 +4377,202 @@
4369
4377
  },
4370
4378
  "heating": {
4371
4379
  "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
- ]
4380
+ "required": [
4381
+ "heatingSystem"
4382
+ ],
4383
+ "properties": {
4384
+ "heatingSystem": {
4385
+ "baspiRef": "A7.4.0",
4386
+ "discriminator": {
4387
+ "propertyName": "heatingType"
4388
+ },
4389
+ "oneOf": [
4390
+ {
4391
+ "properties": {
4392
+ "heatingType": {
4393
+ "enum": [
4394
+ "None"
4395
+ ]
4396
+ }
4397
+ }
4391
4398
  },
4392
- "centralHeatingDetails": {
4393
- "baspiRef": "A7.4.0.0",
4394
- "required": [
4395
- "centralHeatingFuel",
4396
- "centralHeatingInstalled",
4397
- "boilerInstallationCertificate",
4398
- "heatingLastServicedDate",
4399
- "heatingLastServicedReport",
4400
- "heatingInGoodWorkingOrder"
4401
- ],
4399
+ {
4402
4400
  "properties": {
4403
- "centralHeatingFuel": {
4404
- "baspiRef": "A7.4.0.1",
4405
- "discriminator": {
4406
- "propertyName": "centralHeatingFuelType"
4407
- },
4408
- "oneOf": [
4409
- {
4401
+ "heatingType": {
4402
+ "enum": [
4403
+ "Central heating"
4404
+ ]
4405
+ },
4406
+ "centralHeatingDetails": {
4407
+ "baspiRef": "A7.4.0.0",
4408
+ "required": [
4409
+ "centralHeatingFuel",
4410
+ "centralHeatingInstalled",
4411
+ "boilerInstallationCertificate",
4412
+ "heatingLastServicedDate",
4413
+ "heatingLastServicedReport",
4414
+ "heatingInGoodWorkingOrder"
4415
+ ],
4416
+ "properties": {
4417
+ "centralHeatingFuel": {
4418
+ "baspiRef": "A7.4.0.1",
4419
+ "discriminator": {
4420
+ "propertyName": "centralHeatingFuelType"
4421
+ },
4422
+ "oneOf": [
4423
+ {
4424
+ "properties": {
4425
+ "centralHeatingFuelType": {
4426
+ "enum": [
4427
+ "Mains gas",
4428
+ "Electricity",
4429
+ "Oil",
4430
+ "LPG",
4431
+ "Biomass"
4432
+ ]
4433
+ }
4434
+ }
4435
+ },
4436
+ {
4437
+ "properties": {
4438
+ "centralHeatingFuelType": {
4439
+ "enum": [
4440
+ "Other"
4441
+ ]
4442
+ },
4443
+ "otherCentralHeatingFuelType": {
4444
+ "baspiRef": "A7.4.0.3"
4445
+ }
4446
+ },
4447
+ "required": [
4448
+ "otherCentralHeatingFuelType"
4449
+ ]
4450
+ }
4451
+ ],
4452
+ "required": [
4453
+ "centralHeatingFuelType"
4454
+ ],
4410
4455
  "properties": {
4411
4456
  "centralHeatingFuelType": {
4412
- "enum": [
4413
- "Mains gas",
4414
- "Electricity",
4415
- "Oil",
4416
- "LPG",
4417
- "Biomass"
4418
- ]
4457
+ "baspiRef": "A7.4.0.2"
4419
4458
  }
4420
4459
  }
4421
4460
  },
4422
- {
4423
- "properties": {
4424
- "centralHeatingFuelType": {
4425
- "enum": [
4426
- "Other"
4427
- ]
4461
+ "centralHeatingInstalled": {
4462
+ "baspiRef": "A7.4.1"
4463
+ },
4464
+ "boilerInstallationCertificate": {
4465
+ "baspiRef": "A7.4.1.1",
4466
+ "discriminator": {
4467
+ "propertyName": "yesNo"
4468
+ },
4469
+ "oneOf": [
4470
+ {
4471
+ "properties": {
4472
+ "yesNo": {
4473
+ "enum": [
4474
+ "No"
4475
+ ]
4476
+ }
4477
+ }
4428
4478
  },
4429
- "otherCentralHeatingFuelType": {
4430
- "baspiRef": "A7.4.0.3"
4479
+ {
4480
+ "properties": {
4481
+ "yesNo": {
4482
+ "enum": [
4483
+ "Yes"
4484
+ ]
4485
+ },
4486
+ "attachments": {
4487
+ "baspiRef": "A7.4.1.2"
4488
+ }
4489
+ },
4490
+ "required": [
4491
+ "attachments"
4492
+ ]
4431
4493
  }
4432
- },
4494
+ ],
4433
4495
  "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
- {
4496
+ "yesNo"
4497
+ ],
4457
4498
  "properties": {
4458
4499
  "yesNo": {
4459
- "enum": [
4460
- "No"
4461
- ]
4500
+ "baspiRef": "A10.1.1"
4462
4501
  }
4463
4502
  }
4464
4503
  },
4465
- {
4466
- "properties": {
4467
- "yesNo": {
4468
- "enum": [
4469
- "Yes"
4470
- ]
4504
+ "heatingLastServicedDate": {
4505
+ "baspiRef": "A7.4.2.1"
4506
+ },
4507
+ "heatingLastServicedReport": {
4508
+ "baspiRef": "A7.4.2.2"
4509
+ },
4510
+ "heatingInGoodWorkingOrder": {
4511
+ "baspiRef": "A7.4.3",
4512
+ "discriminator": {
4513
+ "propertyName": "yesNo"
4514
+ },
4515
+ "oneOf": [
4516
+ {
4517
+ "properties": {
4518
+ "yesNo": {
4519
+ "enum": [
4520
+ "Yes"
4521
+ ]
4522
+ }
4523
+ }
4471
4524
  },
4472
- "attachments": {
4473
- "baspiRef": "A7.4.1.2"
4525
+ {
4526
+ "properties": {
4527
+ "yesNo": {
4528
+ "enum": [
4529
+ "No"
4530
+ ]
4531
+ },
4532
+ "details": {
4533
+ "baspiRef": "A7.4.3.2"
4534
+ }
4535
+ },
4536
+ "required": [
4537
+ "details"
4538
+ ]
4474
4539
  }
4475
- },
4540
+ ],
4476
4541
  "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
- {
4542
+ "yesNo"
4543
+ ],
4503
4544
  "properties": {
4504
4545
  "yesNo": {
4505
- "enum": [
4506
- "Yes"
4507
- ]
4546
+ "baspiRef": "A7.4.3.1"
4508
4547
  }
4509
4548
  }
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
4549
  }
4534
4550
  }
4535
4551
  }
4552
+ },
4553
+ "required": [
4554
+ "centralHeatingDetails"
4555
+ ]
4556
+ },
4557
+ {
4558
+ "properties": {
4559
+ "heatingType": {
4560
+ "enum": [
4561
+ "Community heating system"
4562
+ ]
4563
+ }
4536
4564
  }
4537
4565
  }
4538
- },
4566
+ ],
4539
4567
  "required": [
4540
- "centralHeatingDetails"
4541
- ]
4542
- },
4543
- {
4568
+ "heatingType"
4569
+ ],
4544
4570
  "properties": {
4545
4571
  "heatingType": {
4546
- "enum": [
4547
- "Community heating system"
4548
- ]
4572
+ "baspiRef": "A7.4.0"
4549
4573
  }
4550
4574
  }
4551
4575
  }
4552
- ],
4553
- "required": [
4554
- "heatingType"
4555
- ],
4556
- "properties": {
4557
- "heatingType": {
4558
- "baspiRef": "A7.4.0"
4559
- }
4560
4576
  }
4561
4577
  },
4562
4578
  "insurance": {