@pdtf/schemas 3.0.0-19 → 3.0.0-20

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.
@@ -54,7 +54,8 @@
54
54
  "specialistIssues",
55
55
  "fixturesAndFittings",
56
56
  "waterAndDrainage",
57
- "connectedUtilities",
57
+ "electricity",
58
+ "connectivity",
58
59
  "heating",
59
60
  "insurance",
60
61
  "boundaries",
@@ -3321,306 +3322,16 @@
3321
3322
  }
3322
3323
  }
3323
3324
  },
3324
- "connectedUtilities": {
3325
- "baspiRef": "A7",
3325
+ "electricity": {
3326
+ "baspiRef": "A7.1.0.1",
3326
3327
  "required": [
3327
- "electricity",
3328
- "mainsGas",
3329
- "lpg",
3330
- "oil",
3331
- "telephone",
3332
- "cableSatelliteTV",
3333
- "broadband",
3334
- "maintenanceAgreements"
3328
+ "mainsElectricity",
3329
+ "solarPanels",
3330
+ "otherSources"
3335
3331
  ],
3336
3332
  "properties": {
3337
- "electricity": {
3333
+ "mainsElectricity": {
3338
3334
  "baspiRef": "A7.1.0.1",
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
- ],
3394
- "properties": {
3395
- "yesNo": {
3396
- "baspiRef": "A7.1.0.1.1"
3397
- }
3398
- }
3399
- },
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
- ],
3449
- "properties": {
3450
- "yesNo": {
3451
- "baspiRef": "A7.1.0.8.1"
3452
- }
3453
- }
3454
- },
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
- }
3469
- },
3470
- {
3471
- "properties": {
3472
- "yesNo": {
3473
- "enum": [
3474
- "Yes"
3475
- ]
3476
- },
3477
- "supplier": {
3478
- "baspiRef": "A7.1.0.9.2"
3479
- }
3480
- }
3481
- },
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
- ]
3499
- }
3500
- ],
3501
- "required": [
3502
- "yesNo"
3503
- ],
3504
- "properties": {
3505
- "yesNo": {
3506
- "baspiRef": "A7.1.0.9.1"
3507
- }
3508
- }
3509
- }
3510
- }
3511
- },
3512
- "mainsGas": {
3513
- "baspiRef": "A7.1.0.2",
3514
- "discriminator": {
3515
- "propertyName": "yesNo"
3516
- },
3517
- "oneOf": [
3518
- {
3519
- "properties": {
3520
- "yesNo": {
3521
- "enum": [
3522
- "No"
3523
- ]
3524
- }
3525
- }
3526
- },
3527
- {
3528
- "properties": {
3529
- "yesNo": {
3530
- "enum": [
3531
- "Yes"
3532
- ]
3533
- },
3534
- "supplier": {
3535
- "baspiRef": "A7.1.0.2.2"
3536
- }
3537
- }
3538
- },
3539
- {
3540
- "properties": {
3541
- "yesNo": {
3542
- "enum": [
3543
- "To be connected"
3544
- ]
3545
- },
3546
- "dateToBeConnected": {
3547
- "baspiRef": "A7.1.0.2.3"
3548
- },
3549
- "supplier": {
3550
- "baspiRef": "A7.1.0.2.2"
3551
- }
3552
- },
3553
- "required": [
3554
- "dateToBeConnected"
3555
- ]
3556
- }
3557
- ],
3558
- "required": [
3559
- "yesNo"
3560
- ],
3561
- "properties": {
3562
- "yesNo": {
3563
- "baspiRef": "A7.1.0.2.1"
3564
- }
3565
- }
3566
- },
3567
- "lpg": {
3568
- "baspiRef": "A7.1.0.3",
3569
- "discriminator": {
3570
- "propertyName": "yesNo"
3571
- },
3572
- "oneOf": [
3573
- {
3574
- "properties": {
3575
- "yesNo": {
3576
- "enum": [
3577
- "No"
3578
- ]
3579
- }
3580
- }
3581
- },
3582
- {
3583
- "properties": {
3584
- "yesNo": {
3585
- "enum": [
3586
- "Yes"
3587
- ]
3588
- },
3589
- "supplier": {
3590
- "baspiRef": "A7.1.0.3.2"
3591
- }
3592
- }
3593
- },
3594
- {
3595
- "properties": {
3596
- "yesNo": {
3597
- "enum": [
3598
- "To be connected"
3599
- ]
3600
- },
3601
- "dateToBeConnected": {
3602
- "baspiRef": "A7.1.0.3.3"
3603
- },
3604
- "supplier": {
3605
- "baspiRef": "A7.1.0.3.2"
3606
- }
3607
- },
3608
- "required": [
3609
- "dateToBeConnected"
3610
- ]
3611
- }
3612
- ],
3613
- "required": [
3614
- "yesNo"
3615
- ],
3616
- "properties": {
3617
- "yesNo": {
3618
- "baspiRef": "A7.1.0.3.1"
3619
- }
3620
- }
3621
- },
3622
- "oil": {
3623
- "baspiRef": "A7.1.0.4",
3624
3335
  "discriminator": {
3625
3336
  "propertyName": "yesNo"
3626
3337
  },
@@ -3642,7 +3353,7 @@
3642
3353
  ]
3643
3354
  },
3644
3355
  "supplier": {
3645
- "baspiRef": "A7.1.0.4.2"
3356
+ "baspiRef": "A7.1.0.1.2"
3646
3357
  }
3647
3358
  }
3648
3359
  },
@@ -3654,10 +3365,10 @@
3654
3365
  ]
3655
3366
  },
3656
3367
  "dateToBeConnected": {
3657
- "baspiRef": "A7.1.0.4.3"
3368
+ "baspiRef": "A7.1.0.1.3"
3658
3369
  },
3659
3370
  "supplier": {
3660
- "baspiRef": "A7.1.0.4.2"
3371
+ "baspiRef": "A7.1.0.1.2"
3661
3372
  }
3662
3373
  },
3663
3374
  "required": [
@@ -3670,12 +3381,12 @@
3670
3381
  ],
3671
3382
  "properties": {
3672
3383
  "yesNo": {
3673
- "baspiRef": "A7.1.0.4.1"
3384
+ "baspiRef": "A7.1.0.1.1"
3674
3385
  }
3675
3386
  }
3676
3387
  },
3677
- "telephone": {
3678
- "baspiRef": "A7.1.0.5",
3388
+ "solarPanels": {
3389
+ "baspiRef": "A7.1.0.8",
3679
3390
  "discriminator": {
3680
3391
  "propertyName": "yesNo"
3681
3392
  },
@@ -3697,7 +3408,7 @@
3697
3408
  ]
3698
3409
  },
3699
3410
  "supplier": {
3700
- "baspiRef": "A7.1.0.5.2"
3411
+ "baspiRef": "A7.1.0.8.2"
3701
3412
  }
3702
3413
  }
3703
3414
  },
@@ -3709,10 +3420,10 @@
3709
3420
  ]
3710
3421
  },
3711
3422
  "dateToBeConnected": {
3712
- "baspiRef": "A7.1.0.5.3"
3423
+ "baspiRef": "A7.1.0.8.3"
3713
3424
  },
3714
3425
  "supplier": {
3715
- "baspiRef": "A7.1.0.5.2"
3426
+ "baspiRef": "A7.1.0.8.2"
3716
3427
  }
3717
3428
  },
3718
3429
  "required": [
@@ -3725,12 +3436,12 @@
3725
3436
  ],
3726
3437
  "properties": {
3727
3438
  "yesNo": {
3728
- "baspiRef": "A7.1.0.5.1"
3439
+ "baspiRef": "A7.1.0.8.1"
3729
3440
  }
3730
3441
  }
3731
3442
  },
3732
- "cableSatelliteTV": {
3733
- "baspiRef": "A7.1.0.6",
3443
+ "otherSources": {
3444
+ "baspiRef": "A7.1.0.9",
3734
3445
  "discriminator": {
3735
3446
  "propertyName": "yesNo"
3736
3447
  },
@@ -3752,7 +3463,7 @@
3752
3463
  ]
3753
3464
  },
3754
3465
  "supplier": {
3755
- "baspiRef": "A7.1.0.6.2"
3466
+ "baspiRef": "A7.1.0.9.2"
3756
3467
  }
3757
3468
  }
3758
3469
  },
@@ -3763,69 +3474,14 @@
3763
3474
  "To be connected"
3764
3475
  ]
3765
3476
  },
3766
- "dateToBeConnected": {
3767
- "baspiRef": "A7.1.0.6.3"
3768
- },
3769
- "supplier": {
3770
- "baspiRef": "A7.1.0.6.2"
3771
- }
3772
- },
3773
- "required": [
3774
- "dateToBeConnected"
3775
- ]
3776
- }
3777
- ],
3778
- "required": [
3779
- "yesNo"
3780
- ],
3781
- "properties": {
3782
- "yesNo": {
3783
- "baspiRef": "A7.1.0.6.1"
3784
- }
3785
- }
3786
- },
3787
- "broadband": {
3788
- "baspiRef": "A7.1.0.7",
3789
- "discriminator": {
3790
- "propertyName": "yesNo"
3791
- },
3792
- "oneOf": [
3793
- {
3794
- "properties": {
3795
- "yesNo": {
3796
- "enum": [
3797
- "No"
3798
- ]
3799
- }
3800
- }
3801
- },
3802
- {
3803
- "properties": {
3804
- "yesNo": {
3805
- "enum": [
3806
- "Yes"
3807
- ]
3808
- },
3809
- "supplier": {
3810
- "baspiRef": "A7.1.0.7.2"
3811
- },
3812
- "typeOfConnection": {
3813
- "baspiRef": "A7.1.0.7.2"
3814
- }
3815
- }
3816
- },
3817
- {
3818
- "properties": {
3819
- "yesNo": {
3820
- "enum": [
3821
- "To be connected"
3822
- ]
3477
+ "details": {
3478
+ "baspiRef": "A7.1.0.9.2"
3823
3479
  },
3824
3480
  "dateToBeConnected": {
3825
- "baspiRef": "A7.1.0.7.3"
3481
+ "baspiRef": "A7.1.0.9.3"
3826
3482
  },
3827
3483
  "supplier": {
3828
- "baspiRef": "A7.1.0.7.2"
3484
+ "baspiRef": "A7.1.0.9.4"
3829
3485
  }
3830
3486
  },
3831
3487
  "required": [
@@ -3838,51 +3494,7 @@
3838
3494
  ],
3839
3495
  "properties": {
3840
3496
  "yesNo": {
3841
- "baspiRef": "A7.1.0.7.1"
3842
- }
3843
- }
3844
- },
3845
- "maintenanceAgreements": {
3846
- "baspiRef": "A7.2",
3847
- "discriminator": {
3848
- "propertyName": "yesNo"
3849
- },
3850
- "oneOf": [
3851
- {
3852
- "properties": {
3853
- "yesNo": {
3854
- "enum": [
3855
- "No"
3856
- ]
3857
- }
3858
- }
3859
- },
3860
- {
3861
- "properties": {
3862
- "yesNo": {
3863
- "enum": [
3864
- "Yes"
3865
- ]
3866
- },
3867
- "details": {
3868
- "baspiRef": "A7.2.2"
3869
- },
3870
- "attachments": {
3871
- "baspiRef": "A7.2.3"
3872
- }
3873
- },
3874
- "required": [
3875
- "details",
3876
- "attachments"
3877
- ]
3878
- }
3879
- ],
3880
- "required": [
3881
- "yesNo"
3882
- ],
3883
- "properties": {
3884
- "yesNo": {
3885
- "baspiRef": "A7.2.1"
3497
+ "baspiRef": "A7.1.0.9.1"
3886
3498
  }
3887
3499
  }
3888
3500
  }
@@ -4031,15 +3643,6 @@
4031
3643
  }
4032
3644
  }
4033
3645
  },
4034
- {
4035
- "properties": {
4036
- "yesNo": {
4037
- "enum": [
4038
- "Not known"
4039
- ]
4040
- }
4041
- }
4042
- },
4043
3646
  {
4044
3647
  "properties": {
4045
3648
  "yesNo": {
@@ -4062,7 +3665,8 @@
4062
3665
  "properties": {
4063
3666
  "yesNo": {
4064
3667
  "enum": [
4065
- "No"
3668
+ "No",
3669
+ "Not known"
4066
3670
  ]
4067
3671
  },
4068
3672
  "offMainsDrainageSystem": {
@@ -4136,6 +3740,16 @@
4136
3740
  "dateLastServiced",
4137
3741
  "attachments"
4138
3742
  ]
3743
+ },
3744
+ {
3745
+ "properties": {
3746
+ "offMainsDrainageSystemType": {
3747
+ "enum": [
3748
+ "Other",
3749
+ "Not known"
3750
+ ]
3751
+ }
3752
+ }
4139
3753
  }
4140
3754
  ],
4141
3755
  "required": [
@@ -4391,7 +4005,8 @@
4391
4005
  "properties": {
4392
4006
  "heatingType": {
4393
4007
  "enum": [
4394
- "None"
4008
+ "None",
4009
+ "Room heaters only"
4395
4010
  ]
4396
4011
  }
4397
4012
  }
@@ -4575,6 +4190,135 @@
4575
4190
  }
4576
4191
  }
4577
4192
  },
4193
+ "connectivity": {
4194
+ "baspiRef": "A7",
4195
+ "required": [
4196
+ "telephone",
4197
+ "cableSatelliteTV",
4198
+ "broadband",
4199
+ "maintenanceAgreements"
4200
+ ],
4201
+ "properties": {
4202
+ "telephone": {
4203
+ "baspiRef": "A7.1.0.5",
4204
+ "discriminator": {
4205
+ "propertyName": "yesNo"
4206
+ },
4207
+ "oneOf": [
4208
+ {
4209
+ "properties": {
4210
+ "yesNo": {
4211
+ "enum": [
4212
+ "No"
4213
+ ]
4214
+ }
4215
+ }
4216
+ },
4217
+ {
4218
+ "properties": {
4219
+ "yesNo": {
4220
+ "enum": [
4221
+ "Yes"
4222
+ ]
4223
+ },
4224
+ "supplier": {
4225
+ "baspiRef": "A7.1.0.5.2"
4226
+ }
4227
+ }
4228
+ },
4229
+ {
4230
+ "properties": {
4231
+ "yesNo": {
4232
+ "enum": [
4233
+ "To be connected"
4234
+ ]
4235
+ },
4236
+ "dateToBeConnected": {
4237
+ "baspiRef": "A7.1.0.5.3"
4238
+ },
4239
+ "supplier": {
4240
+ "baspiRef": "A7.1.0.5.2"
4241
+ }
4242
+ },
4243
+ "required": [
4244
+ "dateToBeConnected"
4245
+ ]
4246
+ }
4247
+ ],
4248
+ "required": [
4249
+ "yesNo"
4250
+ ],
4251
+ "properties": {
4252
+ "yesNo": {
4253
+ "baspiRef": "A7.1.0.5.1"
4254
+ }
4255
+ }
4256
+ },
4257
+ "cableSatelliteTV": {
4258
+ "baspiRef": "A7.1.0.6",
4259
+ "discriminator": {
4260
+ "propertyName": "yesNo"
4261
+ },
4262
+ "oneOf": [
4263
+ {
4264
+ "properties": {
4265
+ "yesNo": {
4266
+ "enum": [
4267
+ "No"
4268
+ ]
4269
+ }
4270
+ }
4271
+ },
4272
+ {
4273
+ "properties": {
4274
+ "yesNo": {
4275
+ "enum": [
4276
+ "Yes"
4277
+ ]
4278
+ },
4279
+ "supplier": {
4280
+ "baspiRef": "A7.1.0.6.2"
4281
+ }
4282
+ }
4283
+ },
4284
+ {
4285
+ "properties": {
4286
+ "yesNo": {
4287
+ "enum": [
4288
+ "To be connected"
4289
+ ]
4290
+ },
4291
+ "dateToBeConnected": {
4292
+ "baspiRef": "A7.1.0.6.3"
4293
+ },
4294
+ "supplier": {
4295
+ "baspiRef": "A7.1.0.6.2"
4296
+ }
4297
+ },
4298
+ "required": [
4299
+ "dateToBeConnected"
4300
+ ]
4301
+ }
4302
+ ],
4303
+ "required": [
4304
+ "yesNo"
4305
+ ],
4306
+ "properties": {
4307
+ "yesNo": {
4308
+ "baspiRef": "A7.1.0.6.1"
4309
+ }
4310
+ }
4311
+ },
4312
+ "broadband": {
4313
+ "baspiRef": "A7.1.0.7",
4314
+ "properties": {
4315
+ "typeOfConnection": {
4316
+ "baspiRef": "A7.1.0.7.2"
4317
+ }
4318
+ }
4319
+ }
4320
+ }
4321
+ },
4578
4322
  "insurance": {
4579
4323
  "baspiRef": "A8",
4580
4324
  "discriminator": {
@@ -6783,10 +6527,10 @@
6783
6527
  }
6784
6528
  }
6785
6529
  },
6786
- "electricityMeterLocation": {
6530
+ "electricityMeter": {
6787
6531
  "baspiRef": "B4.4",
6788
6532
  "properties": {
6789
- "description": {
6533
+ "location": {
6790
6534
  "baspiRef": "4.4.1"
6791
6535
  },
6792
6536
  "attachments": {
@@ -6794,10 +6538,10 @@
6794
6538
  }
6795
6539
  }
6796
6540
  },
6797
- "gasMeterLocation": {
6541
+ "gasMeter": {
6798
6542
  "baspiRef": "B4.5",
6799
6543
  "properties": {
6800
- "description": {
6544
+ "location": {
6801
6545
  "baspiRef": "4.5.1"
6802
6546
  },
6803
6547
  "attachments": {
@@ -6805,10 +6549,10 @@
6805
6549
  }
6806
6550
  }
6807
6551
  },
6808
- "stopcockLocation": {
6552
+ "stopcock": {
6809
6553
  "baspiRef": "B4.6.1",
6810
6554
  "properties": {
6811
- "description": {
6555
+ "location": {
6812
6556
  "baspiRef": "4.6.1.1"
6813
6557
  },
6814
6558
  "attachments": {
@@ -6816,10 +6560,10 @@
6816
6560
  }
6817
6561
  }
6818
6562
  },
6819
- "waterMeterLocation": {
6563
+ "waterMeter": {
6820
6564
  "baspiRef": "B4.6.2",
6821
6565
  "properties": {
6822
- "description": {
6566
+ "location": {
6823
6567
  "baspiRef": "4.6.2.1"
6824
6568
  },
6825
6569
  "attachments": {