@pdtf/schemas 2.0.0-23 → 2.0.0-25

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.
@@ -2,8 +2,6 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "$id": "https://trust.propdata.org.uk/schemas/v2/overlays/baspi.json",
4
4
  "required": [
5
- "transactionId",
6
- "status",
7
5
  "participants",
8
6
  "propertyPack"
9
7
  ],
@@ -34,6 +32,10 @@
34
32
  "propertyPack": {
35
33
  "baspiRef": "-",
36
34
  "title": "Property Pack",
35
+ "required": [
36
+ "materialFacts",
37
+ "additionalLegalInfo"
38
+ ],
37
39
  "properties": {
38
40
  "materialFacts": {
39
41
  "baspiRef": "A",
@@ -140,7 +142,7 @@
140
142
  },
141
143
  "details": {
142
144
  "baspiRef": "A1.2.2",
143
- "title": "Provide details and likely timescale for delay (if known)"
145
+ "title": "Provide details and likely timescale for delay"
144
146
  },
145
147
  "attachments": {
146
148
  "baspiRef": "A1.2.3",
@@ -1844,7 +1846,8 @@
1844
1846
  "baspiRef": "A2",
1845
1847
  "title": "Disputes and Complaints",
1846
1848
  "required": [
1847
- "hasDisputesAndComplaints"
1849
+ "hasDisputesAndComplaints",
1850
+ "leadingToDisputesAndComplaints"
1848
1851
  ],
1849
1852
  "properties": {
1850
1853
  "hasDisputesAndComplaints": {
@@ -1951,6 +1954,7 @@
1951
1954
  "changeOfUse",
1952
1955
  "windowReplacementsSince2002",
1953
1956
  "hasAddedConservatory",
1957
+ "worksUnfinished",
1954
1958
  "planningPermissionBreaches",
1955
1959
  "unresolvedPlanningIssues"
1956
1960
  ],
@@ -3202,7 +3206,7 @@
3202
3206
  },
3203
3207
  "details": {
3204
3208
  "baspiRef": "A3.7.2",
3205
- "title": "Details"
3209
+ "title": "Please give details"
3206
3210
  },
3207
3211
  "willingToInsure": {
3208
3212
  "baspiRef": "A3.9",
@@ -3266,7 +3270,7 @@
3266
3270
  },
3267
3271
  "details": {
3268
3272
  "baspiRef": "A3.8.2",
3269
- "title": "Details"
3273
+ "title": "Please give details"
3270
3274
  },
3271
3275
  "willingToInsure": {
3272
3276
  "baspiRef": "A3.9",
@@ -4140,7 +4144,7 @@
4140
4144
  },
4141
4145
  "supplier": {
4142
4146
  "baspiRef": "A7.1.0.1.2",
4143
- "title": "Supplier (if known)"
4147
+ "title": "Supplier"
4144
4148
  }
4145
4149
  }
4146
4150
  },
@@ -4157,7 +4161,7 @@
4157
4161
  },
4158
4162
  "supplier": {
4159
4163
  "baspiRef": "A7.1.0.1.2",
4160
- "title": "Supplier (if known)"
4164
+ "title": "Supplier"
4161
4165
  }
4162
4166
  },
4163
4167
  "required": [
@@ -4204,7 +4208,7 @@
4204
4208
  },
4205
4209
  "supplier": {
4206
4210
  "baspiRef": "A7.1.0.2.2",
4207
- "title": "Supplier (if known)"
4211
+ "title": "Supplier"
4208
4212
  }
4209
4213
  }
4210
4214
  },
@@ -4221,7 +4225,7 @@
4221
4225
  },
4222
4226
  "supplier": {
4223
4227
  "baspiRef": "A7.1.0.2.2",
4224
- "title": "Supplier (if known)"
4228
+ "title": "Supplier"
4225
4229
  }
4226
4230
  },
4227
4231
  "required": [
@@ -4268,7 +4272,7 @@
4268
4272
  },
4269
4273
  "supplier": {
4270
4274
  "baspiRef": "A7.1.0.3.2",
4271
- "title": "Supplier (if known)"
4275
+ "title": "Supplier"
4272
4276
  }
4273
4277
  }
4274
4278
  },
@@ -4285,7 +4289,7 @@
4285
4289
  },
4286
4290
  "supplier": {
4287
4291
  "baspiRef": "A7.1.0.3.2",
4288
- "title": "Supplier (if known)"
4292
+ "title": "Supplier"
4289
4293
  }
4290
4294
  },
4291
4295
  "required": [
@@ -4332,7 +4336,7 @@
4332
4336
  },
4333
4337
  "supplier": {
4334
4338
  "baspiRef": "A7.1.0.4.2",
4335
- "title": "Supplier (if known)"
4339
+ "title": "Supplier"
4336
4340
  }
4337
4341
  }
4338
4342
  },
@@ -4349,7 +4353,7 @@
4349
4353
  },
4350
4354
  "supplier": {
4351
4355
  "baspiRef": "A7.1.0.4.2",
4352
- "title": "Supplier (if known)"
4356
+ "title": "Supplier"
4353
4357
  }
4354
4358
  },
4355
4359
  "required": [
@@ -4396,7 +4400,7 @@
4396
4400
  },
4397
4401
  "supplier": {
4398
4402
  "baspiRef": "A7.1.0.5.2",
4399
- "title": "Supplier (if known)"
4403
+ "title": "Supplier"
4400
4404
  }
4401
4405
  }
4402
4406
  },
@@ -4413,7 +4417,7 @@
4413
4417
  },
4414
4418
  "supplier": {
4415
4419
  "baspiRef": "A7.1.0.5.2",
4416
- "title": "Supplier (if known)"
4420
+ "title": "Supplier"
4417
4421
  }
4418
4422
  },
4419
4423
  "required": [
@@ -4460,7 +4464,7 @@
4460
4464
  },
4461
4465
  "supplier": {
4462
4466
  "baspiRef": "A7.1.0.6.2",
4463
- "title": "Supplier (if known)"
4467
+ "title": "Supplier"
4464
4468
  }
4465
4469
  }
4466
4470
  },
@@ -4477,7 +4481,7 @@
4477
4481
  },
4478
4482
  "supplier": {
4479
4483
  "baspiRef": "A7.1.0.6.2",
4480
- "title": "Supplier (if known)"
4484
+ "title": "Supplier"
4481
4485
  }
4482
4486
  },
4483
4487
  "required": [
@@ -4524,7 +4528,7 @@
4524
4528
  },
4525
4529
  "supplier": {
4526
4530
  "baspiRef": "A7.1.0.7.2",
4527
- "title": "Supplier (if known)"
4531
+ "title": "Supplier"
4528
4532
  }
4529
4533
  }
4530
4534
  },
@@ -4541,7 +4545,7 @@
4541
4545
  },
4542
4546
  "supplier": {
4543
4547
  "baspiRef": "A7.1.0.7.2",
4544
- "title": "Supplier (if known)"
4548
+ "title": "Supplier"
4545
4549
  }
4546
4550
  },
4547
4551
  "required": [
@@ -4588,7 +4592,7 @@
4588
4592
  },
4589
4593
  "supplier": {
4590
4594
  "baspiRef": "A7.1.0.8.2",
4591
- "title": "Supplier (if known)"
4595
+ "title": "Supplier"
4592
4596
  }
4593
4597
  }
4594
4598
  },
@@ -4605,7 +4609,7 @@
4605
4609
  },
4606
4610
  "supplier": {
4607
4611
  "baspiRef": "A7.1.0.8.2",
4608
- "title": "Supplier (if known)"
4612
+ "title": "Supplier"
4609
4613
  }
4610
4614
  },
4611
4615
  "required": [
@@ -4653,7 +4657,7 @@
4653
4657
  },
4654
4658
  "supplier": {
4655
4659
  "baspiRef": "A7.1.0.9.2",
4656
- "title": "Supplier (if known)"
4660
+ "title": "Supplier"
4657
4661
  }
4658
4662
  }
4659
4663
  },
@@ -4670,7 +4674,7 @@
4670
4674
  },
4671
4675
  "supplier": {
4672
4676
  "baspiRef": "A7.1.0.9.2",
4673
- "title": "Supplier (if known)"
4677
+ "title": "Supplier"
4674
4678
  }
4675
4679
  },
4676
4680
  "required": [
@@ -4791,7 +4795,7 @@
4791
4795
  },
4792
4796
  "supplier": {
4793
4797
  "baspiRef": "A7.1.0.10.2",
4794
- "title": "Supplier (if known)"
4798
+ "title": "Supplier"
4795
4799
  }
4796
4800
  }
4797
4801
  },
@@ -4808,7 +4812,7 @@
4808
4812
  },
4809
4813
  "supplier": {
4810
4814
  "baspiRef": "A7.1.0.10.2",
4811
- "title": "Supplier (if known)"
4815
+ "title": "Supplier"
4812
4816
  }
4813
4817
  },
4814
4818
  "required": [
@@ -4865,7 +4869,7 @@
4865
4869
  },
4866
4870
  "supplier": {
4867
4871
  "baspiRef": "A7.1.0.12.2",
4868
- "title": "Supplier (if known)"
4872
+ "title": "Supplier"
4869
4873
  }
4870
4874
  }
4871
4875
  },
@@ -4882,7 +4886,7 @@
4882
4886
  },
4883
4887
  "supplier": {
4884
4888
  "baspiRef": "A7.1.0.12.2",
4885
- "title": "Supplier (if known)"
4889
+ "title": "Supplier"
4886
4890
  }
4887
4891
  },
4888
4892
  "required": [
@@ -4920,7 +4924,7 @@
4920
4924
  },
4921
4925
  "supplier": {
4922
4926
  "baspiRef": "A7.1.0.11.3",
4923
- "title": "Supplier (if known)"
4927
+ "title": "Supplier"
4924
4928
  }
4925
4929
  }
4926
4930
  },
@@ -4937,7 +4941,7 @@
4937
4941
  },
4938
4942
  "supplier": {
4939
4943
  "baspiRef": "A7.1.0.11.3",
4940
- "title": "Supplier (if known)"
4944
+ "title": "Supplier"
4941
4945
  }
4942
4946
  },
4943
4947
  "required": [
@@ -4976,7 +4980,7 @@
4976
4980
  },
4977
4981
  "supplier": {
4978
4982
  "baspiRef": "A7.1.0.13.3",
4979
- "title": "Supplier (if known)"
4983
+ "title": "Supplier"
4980
4984
  }
4981
4985
  }
4982
4986
  },
@@ -4993,7 +4997,7 @@
4993
4997
  },
4994
4998
  "supplier": {
4995
4999
  "baspiRef": "A7.1.0.13.3",
4996
- "title": "Supplier (if known)"
5000
+ "title": "Supplier"
4997
5001
  }
4998
5002
  },
4999
5003
  "required": [
@@ -5206,8 +5210,8 @@
5206
5210
  }
5207
5211
  },
5208
5212
  "required": [
5209
- "details",
5210
- "attachments"
5213
+ "numberOfPropertiesSharing",
5214
+ "details"
5211
5215
  ]
5212
5216
  }
5213
5217
  ],
@@ -5700,10 +5704,20 @@
5700
5704
  "details": {
5701
5705
  "baspiRef": "A8.1.1",
5702
5706
  "title": "Why not?"
5707
+ },
5708
+ "landlordInsuresIfFlat": {
5709
+ "baspiRef": "A8.1.2",
5710
+ "title": "If the property is a flat, does the landlord insure the building?",
5711
+ "enum": [
5712
+ "Yes",
5713
+ "No",
5714
+ "Not applicable"
5715
+ ]
5703
5716
  }
5704
5717
  },
5705
5718
  "required": [
5706
- "details"
5719
+ "details",
5720
+ "landlordInsuresIfFlat"
5707
5721
  ]
5708
5722
  },
5709
5723
  {
@@ -5714,49 +5728,198 @@
5714
5728
  ]
5715
5729
  },
5716
5730
  "difficultiesObtainingInsurance": {
5717
- "baspiRef": "A8.1.2",
5731
+ "baspiRef": "A8.1.2.1",
5718
5732
  "title": "Have you had any difficulty obtaining competitively priced building insurance due to the structure or location of the property or had insurance refused?",
5719
- "description": "(e.g. high premiums, excess over £1,500, special conditions etc)",
5720
- "discriminator": {
5721
- "propertyName": "yesNo"
5722
- },
5723
- "oneOf": [
5724
- {
5733
+ "required": [
5734
+ "abnormalRiseInPremiums",
5735
+ "subjectToHighExcesses",
5736
+ "subjectToUnusualConditions",
5737
+ "refused"
5738
+ ],
5739
+ "properties": {
5740
+ "abnormalRiseInPremiums": {
5741
+ "baspiRef": "A8.1.2.1.1",
5742
+ "title": "Subject to abnormal rise in premiums?",
5743
+ "discriminator": {
5744
+ "propertyName": "yesNo"
5745
+ },
5746
+ "oneOf": [
5747
+ {
5748
+ "properties": {
5749
+ "yesNo": {
5750
+ "enum": [
5751
+ "No"
5752
+ ]
5753
+ }
5754
+ }
5755
+ },
5756
+ {
5757
+ "properties": {
5758
+ "yesNo": {
5759
+ "enum": [
5760
+ "Yes"
5761
+ ]
5762
+ },
5763
+ "details": {
5764
+ "baspiRef": "A8.1.2.1.3",
5765
+ "title": "Provide details"
5766
+ }
5767
+ },
5768
+ "required": [
5769
+ "details"
5770
+ ]
5771
+ }
5772
+ ],
5773
+ "required": [
5774
+ "yesNo"
5775
+ ],
5725
5776
  "properties": {
5726
5777
  "yesNo": {
5778
+ "baspiRef": "A8.1.2.1.2",
5727
5779
  "enum": [
5780
+ "Yes",
5728
5781
  "No"
5729
5782
  ]
5730
5783
  }
5731
5784
  }
5732
5785
  },
5733
- {
5786
+ "subjectToHighExcesses": {
5787
+ "baspiRef": "A8.1.1.2",
5788
+ "title": "Subject to high excesses?",
5789
+ "discriminator": {
5790
+ "propertyName": "yesNo"
5791
+ },
5792
+ "oneOf": [
5793
+ {
5794
+ "properties": {
5795
+ "yesNo": {
5796
+ "enum": [
5797
+ "No"
5798
+ ]
5799
+ }
5800
+ }
5801
+ },
5802
+ {
5803
+ "properties": {
5804
+ "yesNo": {
5805
+ "enum": [
5806
+ "Yes"
5807
+ ]
5808
+ },
5809
+ "details": {
5810
+ "baspiRef": "A8.1.2.1.2.2",
5811
+ "title": "Provide details"
5812
+ }
5813
+ },
5814
+ "required": [
5815
+ "details"
5816
+ ]
5817
+ }
5818
+ ],
5819
+ "required": [
5820
+ "yesNo"
5821
+ ],
5734
5822
  "properties": {
5735
5823
  "yesNo": {
5824
+ "baspiRef": "A8.1.1.2.1",
5736
5825
  "enum": [
5737
- "Yes"
5826
+ "Yes",
5827
+ "No"
5738
5828
  ]
5829
+ }
5830
+ }
5831
+ },
5832
+ "subjectToUnusualConditions": {
5833
+ "baspiRef": "A8.1.2.1.3",
5834
+ "title": "Subject to unusual conditions?",
5835
+ "discriminator": {
5836
+ "propertyName": "yesNo"
5837
+ },
5838
+ "oneOf": [
5839
+ {
5840
+ "properties": {
5841
+ "yesNo": {
5842
+ "enum": [
5843
+ "No"
5844
+ ]
5845
+ }
5846
+ }
5739
5847
  },
5740
- "details": {
5741
- "baspiRef": "A8.1.2.2",
5742
- "title": "Provide details"
5848
+ {
5849
+ "properties": {
5850
+ "yesNo": {
5851
+ "enum": [
5852
+ "Yes"
5853
+ ]
5854
+ },
5855
+ "details": {
5856
+ "baspiRef": "A8.1.2.1.3.2",
5857
+ "title": "Provide details"
5858
+ }
5859
+ },
5860
+ "required": [
5861
+ "details"
5862
+ ]
5743
5863
  }
5864
+ ],
5865
+ "required": [
5866
+ "yesNo"
5867
+ ],
5868
+ "properties": {
5869
+ "yesNo": {
5870
+ "baspiRef": "A8.1.2.1.3.1",
5871
+ "enum": [
5872
+ "Yes",
5873
+ "No"
5874
+ ]
5875
+ }
5876
+ }
5877
+ },
5878
+ "refused": {
5879
+ "baspiRef": "A8.1.2.1.4",
5880
+ "title": "Refused?",
5881
+ "discriminator": {
5882
+ "propertyName": "yesNo"
5744
5883
  },
5884
+ "oneOf": [
5885
+ {
5886
+ "properties": {
5887
+ "yesNo": {
5888
+ "enum": [
5889
+ "No"
5890
+ ]
5891
+ }
5892
+ }
5893
+ },
5894
+ {
5895
+ "properties": {
5896
+ "yesNo": {
5897
+ "enum": [
5898
+ "Yes"
5899
+ ]
5900
+ },
5901
+ "details": {
5902
+ "baspiRef": "A8.1.2.1.4.2",
5903
+ "title": "Provide details"
5904
+ }
5905
+ },
5906
+ "required": [
5907
+ "details"
5908
+ ]
5909
+ }
5910
+ ],
5745
5911
  "required": [
5746
- "details"
5747
- ]
5748
- }
5749
- ],
5750
- "required": [
5751
- "yesNo"
5752
- ],
5753
- "properties": {
5754
- "yesNo": {
5755
- "baspiRef": "A8.1.2.1",
5756
- "enum": [
5757
- "Yes",
5758
- "No"
5759
- ]
5912
+ "yesNo"
5913
+ ],
5914
+ "properties": {
5915
+ "yesNo": {
5916
+ "baspiRef": "A8.1.2.1.4.1",
5917
+ "enum": [
5918
+ "Yes",
5919
+ "No"
5920
+ ]
5921
+ }
5922
+ }
5760
5923
  }
5761
5924
  }
5762
5925
  },
@@ -6582,7 +6745,6 @@
6582
6745
  "other": {
6583
6746
  "baspiRef": "A11.1.2.2.6",
6584
6747
  "title": "Other",
6585
- "description": "Please state",
6586
6748
  "discriminator": {
6587
6749
  "propertyName": "yesNo"
6588
6750
  },
@@ -6733,11 +6895,15 @@
6733
6895
  },
6734
6896
  "details": {
6735
6897
  "baspiRef": "A11.1.3.2",
6736
- "title": "Please supply a copy of the report and indicate if the test result was below the recommended level."
6898
+ "title": "Was the test result was below the recommended level?",
6899
+ "enum": [
6900
+ "Yes",
6901
+ "No"
6902
+ ]
6737
6903
  },
6738
6904
  "attachments": {
6739
6905
  "baspiRef": "A11.1.3.3",
6740
- "title": "Attachments",
6906
+ "title": "Please supply a copy of the report",
6741
6907
  "enum": [
6742
6908
  "Attached",
6743
6909
  "To follow"
@@ -7062,7 +7228,8 @@
7062
7228
  "title": "Additional Information",
7063
7229
  "required": [
7064
7230
  "restrictionsOnUseNotCompliedWith",
7065
- "otherMaterialIssue"
7231
+ "otherMaterialIssue",
7232
+ "otherCharges"
7066
7233
  ],
7067
7234
  "properties": {
7068
7235
  "restrictionsOnUseNotCompliedWith": {
@@ -7173,6 +7340,52 @@
7173
7340
  ]
7174
7341
  }
7175
7342
  }
7343
+ },
7344
+ "otherCharges": {
7345
+ "baspiRef": "A12.3",
7346
+ "title": "Does the seller have to pay any charges relating to the property (excluding any payments such as council tax, utility charges, etc.), for example payments to a management company?",
7347
+ "discriminator": {
7348
+ "propertyName": "yesNo"
7349
+ },
7350
+ "oneOf": [
7351
+ {
7352
+ "properties": {
7353
+ "yesNo": {
7354
+ "enum": [
7355
+ "No"
7356
+ ]
7357
+ }
7358
+ }
7359
+ },
7360
+ {
7361
+ "properties": {
7362
+ "yesNo": {
7363
+ "enum": [
7364
+ "Yes"
7365
+ ]
7366
+ },
7367
+ "details": {
7368
+ "baspiRef": "A12.3.2",
7369
+ "title": "Please give details"
7370
+ }
7371
+ },
7372
+ "required": [
7373
+ "details"
7374
+ ]
7375
+ }
7376
+ ],
7377
+ "required": [
7378
+ "yesNo"
7379
+ ],
7380
+ "properties": {
7381
+ "yesNo": {
7382
+ "baspiRef": "A12.3.1",
7383
+ "enum": [
7384
+ "Yes",
7385
+ "No"
7386
+ ]
7387
+ }
7388
+ }
7176
7389
  }
7177
7390
  }
7178
7391
  },
@@ -7840,11 +8053,11 @@
7840
8053
  },
7841
8054
  "yearTested": {
7842
8055
  "baspiRef": "B4.1.2",
7843
- "title": "State the year they were last tested and upload the test certificate."
8056
+ "title": "State the year they were last tested"
7844
8057
  },
7845
8058
  "attachments": {
7846
8059
  "baspiRef": "B4.1.3",
7847
- "title": "Attachments",
8060
+ "title": "Please upload the test certificate.",
7848
8061
  "enum": [
7849
8062
  "Attached",
7850
8063
  "To follow"
@@ -8233,7 +8446,7 @@
8233
8446
  },
8234
8447
  "attachments": {
8235
8448
  "baspiRef": "4.6.1.2",
8236
- "title": "Photograph of meter location",
8449
+ "title": "Photograph of stopcock location",
8237
8450
  "enum": [
8238
8451
  "Attached",
8239
8452
  "To follow"
@@ -8537,6 +8750,39 @@
8537
8750
  "roofingWork": {
8538
8751
  "baspiRef": "B5.1.2",
8539
8752
  "title": "Roofing work",
8753
+ "discriminator": {
8754
+ "propertyName": "yesNo"
8755
+ },
8756
+ "oneOf": [
8757
+ {
8758
+ "properties": {
8759
+ "yesNo": {
8760
+ "enum": [
8761
+ "No"
8762
+ ]
8763
+ }
8764
+ }
8765
+ },
8766
+ {
8767
+ "properties": {
8768
+ "yesNo": {
8769
+ "enum": [
8770
+ "Yes"
8771
+ ]
8772
+ },
8773
+ "attachments": {
8774
+ "baspiRef": "B5.1.1.2",
8775
+ "enum": [
8776
+ "Attached",
8777
+ "To follow"
8778
+ ]
8779
+ }
8780
+ },
8781
+ "required": [
8782
+ "attachments"
8783
+ ]
8784
+ }
8785
+ ],
8540
8786
  "required": [
8541
8787
  "yesNo"
8542
8788
  ],
@@ -8553,6 +8799,39 @@
8553
8799
  "dampProofingTreatment": {
8554
8800
  "baspiRef": "B5.1.3",
8555
8801
  "title": "Damp proofing treatment",
8802
+ "discriminator": {
8803
+ "propertyName": "yesNo"
8804
+ },
8805
+ "oneOf": [
8806
+ {
8807
+ "properties": {
8808
+ "yesNo": {
8809
+ "enum": [
8810
+ "No"
8811
+ ]
8812
+ }
8813
+ }
8814
+ },
8815
+ {
8816
+ "properties": {
8817
+ "yesNo": {
8818
+ "enum": [
8819
+ "Yes"
8820
+ ]
8821
+ },
8822
+ "attachments": {
8823
+ "baspiRef": "B5.1.1.2",
8824
+ "enum": [
8825
+ "Attached",
8826
+ "To follow"
8827
+ ]
8828
+ }
8829
+ },
8830
+ "required": [
8831
+ "attachments"
8832
+ ]
8833
+ }
8834
+ ],
8556
8835
  "required": [
8557
8836
  "yesNo"
8558
8837
  ],
@@ -8569,6 +8848,39 @@
8569
8848
  "timberRotOrInfestationTreatment": {
8570
8849
  "baspiRef": "B5.1.4",
8571
8850
  "title": "Timber rot or infestation treatment",
8851
+ "discriminator": {
8852
+ "propertyName": "yesNo"
8853
+ },
8854
+ "oneOf": [
8855
+ {
8856
+ "properties": {
8857
+ "yesNo": {
8858
+ "enum": [
8859
+ "No"
8860
+ ]
8861
+ }
8862
+ }
8863
+ },
8864
+ {
8865
+ "properties": {
8866
+ "yesNo": {
8867
+ "enum": [
8868
+ "Yes"
8869
+ ]
8870
+ },
8871
+ "attachments": {
8872
+ "baspiRef": "B5.1.1.2",
8873
+ "enum": [
8874
+ "Attached",
8875
+ "To follow"
8876
+ ]
8877
+ }
8878
+ },
8879
+ "required": [
8880
+ "attachments"
8881
+ ]
8882
+ }
8883
+ ],
8572
8884
  "required": [
8573
8885
  "yesNo"
8574
8886
  ],
@@ -8585,6 +8897,39 @@
8585
8897
  "centralHeatingAndorPlumbing": {
8586
8898
  "baspiRef": "B5.1.5",
8587
8899
  "title": "Central heating and/or plumbing",
8900
+ "discriminator": {
8901
+ "propertyName": "yesNo"
8902
+ },
8903
+ "oneOf": [
8904
+ {
8905
+ "properties": {
8906
+ "yesNo": {
8907
+ "enum": [
8908
+ "No"
8909
+ ]
8910
+ }
8911
+ }
8912
+ },
8913
+ {
8914
+ "properties": {
8915
+ "yesNo": {
8916
+ "enum": [
8917
+ "Yes"
8918
+ ]
8919
+ },
8920
+ "attachments": {
8921
+ "baspiRef": "B5.1.1.2",
8922
+ "enum": [
8923
+ "Attached",
8924
+ "To follow"
8925
+ ]
8926
+ }
8927
+ },
8928
+ "required": [
8929
+ "attachments"
8930
+ ]
8931
+ }
8932
+ ],
8588
8933
  "required": [
8589
8934
  "yesNo"
8590
8935
  ],
@@ -8601,6 +8946,39 @@
8601
8946
  "doubleGlazing": {
8602
8947
  "baspiRef": "B5.1.6",
8603
8948
  "title": "Double glazing (windows, doors, roof lights, conservatory etc)",
8949
+ "discriminator": {
8950
+ "propertyName": "yesNo"
8951
+ },
8952
+ "oneOf": [
8953
+ {
8954
+ "properties": {
8955
+ "yesNo": {
8956
+ "enum": [
8957
+ "No"
8958
+ ]
8959
+ }
8960
+ }
8961
+ },
8962
+ {
8963
+ "properties": {
8964
+ "yesNo": {
8965
+ "enum": [
8966
+ "Yes"
8967
+ ]
8968
+ },
8969
+ "attachments": {
8970
+ "baspiRef": "B5.1.1.2",
8971
+ "enum": [
8972
+ "Attached",
8973
+ "To follow"
8974
+ ]
8975
+ }
8976
+ },
8977
+ "required": [
8978
+ "attachments"
8979
+ ]
8980
+ }
8981
+ ],
8604
8982
  "required": [
8605
8983
  "yesNo"
8606
8984
  ],
@@ -8617,6 +8995,39 @@
8617
8995
  "electricalRepairOrInstallation": {
8618
8996
  "baspiRef": "B5.1.7",
8619
8997
  "title": "Electrical repair or installation",
8998
+ "discriminator": {
8999
+ "propertyName": "yesNo"
9000
+ },
9001
+ "oneOf": [
9002
+ {
9003
+ "properties": {
9004
+ "yesNo": {
9005
+ "enum": [
9006
+ "No"
9007
+ ]
9008
+ }
9009
+ }
9010
+ },
9011
+ {
9012
+ "properties": {
9013
+ "yesNo": {
9014
+ "enum": [
9015
+ "Yes"
9016
+ ]
9017
+ },
9018
+ "attachments": {
9019
+ "baspiRef": "B5.1.1.2",
9020
+ "enum": [
9021
+ "Attached",
9022
+ "To follow"
9023
+ ]
9024
+ }
9025
+ },
9026
+ "required": [
9027
+ "attachments"
9028
+ ]
9029
+ }
9030
+ ],
8620
9031
  "required": [
8621
9032
  "yesNo"
8622
9033
  ],
@@ -8633,6 +9044,39 @@
8633
9044
  "subsidenceWork": {
8634
9045
  "baspiRef": "B5.1.8",
8635
9046
  "title": "Underpinning or other preventative work and/or remedial action relating to subsidence",
9047
+ "discriminator": {
9048
+ "propertyName": "yesNo"
9049
+ },
9050
+ "oneOf": [
9051
+ {
9052
+ "properties": {
9053
+ "yesNo": {
9054
+ "enum": [
9055
+ "No"
9056
+ ]
9057
+ }
9058
+ }
9059
+ },
9060
+ {
9061
+ "properties": {
9062
+ "yesNo": {
9063
+ "enum": [
9064
+ "Yes"
9065
+ ]
9066
+ },
9067
+ "attachments": {
9068
+ "baspiRef": "B5.1.1.2",
9069
+ "enum": [
9070
+ "Attached",
9071
+ "To follow"
9072
+ ]
9073
+ }
9074
+ },
9075
+ "required": [
9076
+ "attachments"
9077
+ ]
9078
+ }
9079
+ ],
8636
9080
  "required": [
8637
9081
  "yesNo"
8638
9082
  ],
@@ -8649,6 +9093,39 @@
8649
9093
  "solarPanels": {
8650
9094
  "baspiRef": "B5.1.9",
8651
9095
  "title": "Solar panels",
9096
+ "discriminator": {
9097
+ "propertyName": "yesNo"
9098
+ },
9099
+ "oneOf": [
9100
+ {
9101
+ "properties": {
9102
+ "yesNo": {
9103
+ "enum": [
9104
+ "No"
9105
+ ]
9106
+ }
9107
+ }
9108
+ },
9109
+ {
9110
+ "properties": {
9111
+ "yesNo": {
9112
+ "enum": [
9113
+ "Yes"
9114
+ ]
9115
+ },
9116
+ "attachments": {
9117
+ "baspiRef": "B5.1.1.2",
9118
+ "enum": [
9119
+ "Attached",
9120
+ "To follow"
9121
+ ]
9122
+ }
9123
+ },
9124
+ "required": [
9125
+ "attachments"
9126
+ ]
9127
+ }
9128
+ ],
8652
9129
  "required": [
8653
9130
  "yesNo"
8654
9131
  ],
@@ -8708,10 +9185,6 @@
8708
9185
  }
8709
9186
  }
8710
9187
  },
8711
- "willLeaveGuaranteePaperwork": {
8712
- "baspiRef": "B5.1.11",
8713
- "title": "Please confirm that you will leave all paperwork relating to any guarantee or warranty at the property when you move out"
8714
- },
8715
9188
  "outstandingClaimsOrApplications": {
8716
9189
  "baspiRef": "B5.2",
8717
9190
  "title": "Are there any outstanding claims or current applications relating to any of the above?",
@@ -8833,7 +9306,6 @@
8833
9306
  "subsidenceWork",
8834
9307
  "solarPanels",
8835
9308
  "otherGuarantees",
8836
- "willLeaveGuaranteePaperwork",
8837
9309
  "outstandingClaimsOrApplications",
8838
9310
  "titleDefectInsurance"
8839
9311
  ]
@@ -8997,11 +9469,11 @@
8997
9469
  },
8998
9470
  "details": {
8999
9471
  "baspiRef": "B6.3.2.2",
9000
- "title": "Please supply other evidence that the property will be vacant on completion."
9472
+ "title": "Please provide details (eg the property is sold let to tenants)"
9001
9473
  },
9002
9474
  "attachments": {
9003
9475
  "baspiRef": "B6.3.2.3",
9004
- "title": "Attachments",
9476
+ "title": "Please supply other evidence that the property will be vacant on completion (a copy of the tenancy agreement together with a copy of any notice to quit which has been served upon them).",
9005
9477
  "enum": [
9006
9478
  "Attached",
9007
9479
  "To follow"
@@ -9009,7 +9481,8 @@
9009
9481
  }
9010
9482
  },
9011
9483
  "required": [
9012
- "details"
9484
+ "details",
9485
+ "attachments"
9013
9486
  ]
9014
9487
  }
9015
9488
  ],
@@ -9192,16 +9665,12 @@
9192
9665
  "Yes"
9193
9666
  ]
9194
9667
  },
9195
- "restrictedDates": {
9196
- "baspiRef": "B7.3.2",
9197
- "minItems": 1,
9198
- "items": {
9199
- "baspiRef": "B7.3.2.1"
9200
- }
9668
+ "details": {
9669
+ "baspiRef": "B7.3.2"
9201
9670
  }
9202
9671
  },
9203
9672
  "required": [
9204
- "restrictedDates"
9673
+ "details"
9205
9674
  ]
9206
9675
  }
9207
9676
  ],
@@ -9281,7 +9750,8 @@
9281
9750
  "baspiRef": "A7.6.1",
9282
9751
  "enum": [
9283
9752
  "Yes",
9284
- "No"
9753
+ "No",
9754
+ "Not applicable"
9285
9755
  ]
9286
9756
  }
9287
9757
  }