@pdtf/schemas 2.3.0 → 3.0.0-10

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.
Files changed (41) hide show
  1. package/index.js +52 -94
  2. package/package.json +1 -1
  3. package/src/examples/v2/exampleTransaction.json +6 -20
  4. package/src/examples/v3/exampleTransaction.json +904 -0
  5. package/src/mappings/SendPropertyDetailsRequestSchema.json +1588 -0
  6. package/src/mappings/adf.js +1 -1
  7. package/src/schemas/v2/combined.json +13206 -12615
  8. package/src/schemas/v2/overlays/baspi.json +510 -2331
  9. package/src/schemas/v2/overlays/con29DW.json +682 -762
  10. package/src/schemas/v2/overlays/con29R.json +2914 -3073
  11. package/src/schemas/v2/overlays/fme1.json +48 -233
  12. package/src/schemas/v2/overlays/llc1.json +12 -33
  13. package/src/schemas/v2/overlays/lpe1.json +75 -367
  14. package/src/schemas/v2/overlays/nts.json +17 -103
  15. package/src/schemas/v2/overlays/piq.json +146 -693
  16. package/src/schemas/v2/overlays/rds.json +66 -300
  17. package/src/schemas/v2/overlays/ta10.json +540 -1755
  18. package/src/schemas/v2/overlays/ta6.json +241 -1193
  19. package/src/schemas/v2/overlays/ta7.json +106 -440
  20. package/src/schemas/v2/pdtf-transaction.json +13656 -12911
  21. package/src/schemas/v2/skeleton.json +1342 -1155
  22. package/src/schemas/v3/combined.json +38477 -0
  23. package/src/schemas/v3/overlays/baspi.json +8022 -0
  24. package/src/schemas/v3/overlays/con29DW.json +705 -0
  25. package/src/schemas/v3/overlays/con29R.json +2956 -0
  26. package/src/schemas/v3/overlays/fme1.json +1264 -0
  27. package/src/schemas/v3/overlays/llc1.json +25 -0
  28. package/src/schemas/v3/overlays/lpe1.json +2181 -0
  29. package/src/schemas/v3/overlays/nts.json +1937 -0
  30. package/src/schemas/v3/overlays/oc1.json +2799 -0
  31. package/src/schemas/v3/overlays/piq.json +3391 -0
  32. package/src/schemas/v3/overlays/rds.json +3818 -0
  33. package/src/schemas/v3/overlays/ta10.json +5306 -0
  34. package/src/schemas/v3/overlays/ta6.json +4410 -0
  35. package/src/schemas/v3/overlays/ta7.json +1157 -0
  36. package/src/schemas/v3/pdtf-transaction.json +34858 -0
  37. package/src/schemas/v3/skeleton.json +4018 -0
  38. package/src/tests/{v2 → v3}/transactionSchema.test.js +46 -36
  39. package/src/tests/{v2 → v3}/verifiedClaimsValidator.test.js +11 -11
  40. package/src/utils/extractOverlay.js +12 -34
  41. package/src/utils/hmlrLLC1.json +0 -275
@@ -0,0 +1,4410 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://trust.propdata.org.uk/schemas/v3/overlays/ta6.json",
4
+ "required": [
5
+ "participants",
6
+ "propertyPack"
7
+ ],
8
+ "properties": {
9
+ "propertyPack": {
10
+ "ta6Ref": "0",
11
+ "required": [
12
+ "materialFacts",
13
+ "additionalLegalInfo"
14
+ ],
15
+ "properties": {
16
+ "materialFacts": {
17
+ "required": [
18
+ "address",
19
+ "parking",
20
+ "listingAndConservation",
21
+ "energyEfficiency",
22
+ "disputesAndComplaints",
23
+ "alterationsAndChanges",
24
+ "notices",
25
+ "specialistIssues",
26
+ "waterAndDrainage",
27
+ "connectedUtilities",
28
+ "heating",
29
+ "insurance",
30
+ "rightsAndInformalArrangements",
31
+ "environmentalIssues",
32
+ "additionalInformation"
33
+ ],
34
+ "properties": {
35
+ "address": {
36
+ "ta6Ref": "0.1",
37
+ "required": [
38
+ "line1",
39
+ "postcode"
40
+ ],
41
+ "properties": {
42
+ "line1": {
43
+ "ta6Ref": "0.1.1"
44
+ },
45
+ "line2": {
46
+ "ta6Ref": "0.1.2"
47
+ },
48
+ "line3": {
49
+ "ta6Ref": "0.1.3"
50
+ },
51
+ "town": {
52
+ "ta6Ref": "0.1.4"
53
+ },
54
+ "postcode": {
55
+ "ta6Ref": "0.1.5"
56
+ }
57
+ }
58
+ },
59
+ "parking": {
60
+ "ta6Ref": "9",
61
+ "required": [
62
+ "parkingArrangements",
63
+ "controlledParking"
64
+ ],
65
+ "properties": {
66
+ "parkingArrangements": {
67
+ "ta6Ref": "9.1"
68
+ },
69
+ "controlledParking": {
70
+ "ta6Ref": "9.2",
71
+ "required": [
72
+ "yesNo"
73
+ ],
74
+ "properties": {
75
+ "yesNo": {
76
+ "ta6Ref": "9.2.1"
77
+ }
78
+ }
79
+ },
80
+ "electricVehicleChargingPoint": {
81
+ "required": [
82
+ "yesNo"
83
+ ]
84
+ }
85
+ }
86
+ },
87
+ "listingAndConservation": {
88
+ "ta6Ref": "4.7",
89
+ "required": [
90
+ "isListed",
91
+ "isConservationArea",
92
+ "hasTreePreservationOrder"
93
+ ],
94
+ "properties": {
95
+ "isListed": {
96
+ "ta6Ref": "4.7a",
97
+ "discriminator": {
98
+ "propertyName": "yesNo"
99
+ },
100
+ "oneOf": [
101
+ {
102
+ "properties": {
103
+ "yesNo": {
104
+ "enum": [
105
+ "No",
106
+ "Not known"
107
+ ]
108
+ }
109
+ }
110
+ },
111
+ {
112
+ "properties": {
113
+ "yesNo": {
114
+ "enum": [
115
+ "Yes"
116
+ ]
117
+ },
118
+ "details": {
119
+ "ta6Ref": "4.7a2"
120
+ },
121
+ "attachments": {
122
+ "ta6Ref": "4.7a3"
123
+ }
124
+ },
125
+ "required": [
126
+ "details",
127
+ "attachments"
128
+ ]
129
+ }
130
+ ],
131
+ "required": [
132
+ "yesNo"
133
+ ],
134
+ "properties": {
135
+ "yesNo": {
136
+ "ta6Ref": "4.7a1"
137
+ }
138
+ }
139
+ },
140
+ "isConservationArea": {
141
+ "ta6Ref": "4.7b",
142
+ "discriminator": {
143
+ "propertyName": "yesNo"
144
+ },
145
+ "oneOf": [
146
+ {
147
+ "properties": {
148
+ "yesNo": {
149
+ "enum": [
150
+ "No",
151
+ "Not known"
152
+ ]
153
+ }
154
+ }
155
+ },
156
+ {
157
+ "properties": {
158
+ "yesNo": {
159
+ "enum": [
160
+ "Yes"
161
+ ]
162
+ },
163
+ "details": {
164
+ "ta6Ref": "4.7b2"
165
+ },
166
+ "attachments": {
167
+ "ta6Ref": "4.7b3"
168
+ }
169
+ },
170
+ "required": [
171
+ "details",
172
+ "attachments"
173
+ ]
174
+ }
175
+ ],
176
+ "required": [
177
+ "yesNo"
178
+ ],
179
+ "properties": {
180
+ "yesNo": {
181
+ "ta6Ref": "4.7b1"
182
+ }
183
+ }
184
+ },
185
+ "hasTreePreservationOrder": {
186
+ "ta6Ref": "4.8",
187
+ "discriminator": {
188
+ "propertyName": "yesNo"
189
+ },
190
+ "oneOf": [
191
+ {
192
+ "properties": {
193
+ "yesNo": {
194
+ "enum": [
195
+ "No",
196
+ "Not known"
197
+ ]
198
+ }
199
+ }
200
+ },
201
+ {
202
+ "properties": {
203
+ "yesNo": {
204
+ "enum": [
205
+ "Yes"
206
+ ]
207
+ },
208
+ "workCarriedOut": {
209
+ "ta6Ref": "4.8a",
210
+ "discriminator": {
211
+ "propertyName": "yesNo"
212
+ },
213
+ "oneOf": [
214
+ {
215
+ "properties": {
216
+ "yesNo": {
217
+ "enum": [
218
+ "No"
219
+ ]
220
+ }
221
+ }
222
+ },
223
+ {
224
+ "properties": {
225
+ "yesNo": {
226
+ "enum": [
227
+ "Yes"
228
+ ]
229
+ },
230
+ "consentsObtained": {
231
+ "ta6Ref": "4.8a2"
232
+ },
233
+ "attachments": {
234
+ "ta6Ref": "4.8a3"
235
+ }
236
+ },
237
+ "required": [
238
+ "consentsObtained"
239
+ ]
240
+ }
241
+ ],
242
+ "required": [
243
+ "yesNo"
244
+ ],
245
+ "properties": {
246
+ "yesNo": {
247
+ "ta6Ref": "4.8a1"
248
+ }
249
+ }
250
+ }
251
+ },
252
+ "required": [
253
+ "workCarriedOut"
254
+ ]
255
+ }
256
+ ],
257
+ "required": [
258
+ "yesNo"
259
+ ],
260
+ "properties": {
261
+ "yesNo": {
262
+ "ta6Ref": "4.8.1"
263
+ }
264
+ }
265
+ }
266
+ }
267
+ },
268
+ "energyEfficiency": {
269
+ "ta6Ref": "7.6",
270
+ "required": [
271
+ "certificateIsSupplied",
272
+ "greenDealLoan"
273
+ ],
274
+ "properties": {
275
+ "certificateIsSupplied": {
276
+ "ta6Ref": "7.6.1"
277
+ },
278
+ "greenDealLoan": {
279
+ "ta6Ref": "7.7",
280
+ "required": [
281
+ "hasGreenDealLoan"
282
+ ],
283
+ "properties": {
284
+ "hasGreenDealLoan": {
285
+ "ta6Ref": "7.7.0",
286
+ "discriminator": {
287
+ "propertyName": "yesNo"
288
+ },
289
+ "oneOf": [
290
+ {
291
+ "properties": {
292
+ "yesNo": {
293
+ "enum": [
294
+ "No"
295
+ ]
296
+ }
297
+ }
298
+ },
299
+ {
300
+ "properties": {
301
+ "yesNo": {
302
+ "enum": [
303
+ "Yes"
304
+ ]
305
+ },
306
+ "details": {
307
+ "ta6Ref": "7.7.2"
308
+ },
309
+ "attachments": {
310
+ "ta6Ref": "7.7.3"
311
+ }
312
+ },
313
+ "required": [
314
+ "details",
315
+ "attachments"
316
+ ]
317
+ }
318
+ ],
319
+ "required": [
320
+ "yesNo"
321
+ ],
322
+ "properties": {
323
+ "yesNo": {
324
+ "ta6Ref": "7.7.1"
325
+ }
326
+ }
327
+ }
328
+ }
329
+ }
330
+ }
331
+ },
332
+ "disputesAndComplaints": {
333
+ "ta6Ref": "2",
334
+ "required": [
335
+ "hasDisputesAndComplaints",
336
+ "leadingToDisputesAndComplaints"
337
+ ],
338
+ "properties": {
339
+ "hasDisputesAndComplaints": {
340
+ "ta6Ref": "2.1",
341
+ "discriminator": {
342
+ "propertyName": "yesNo"
343
+ },
344
+ "oneOf": [
345
+ {
346
+ "properties": {
347
+ "yesNo": {
348
+ "enum": [
349
+ "No"
350
+ ]
351
+ }
352
+ }
353
+ },
354
+ {
355
+ "properties": {
356
+ "yesNo": {
357
+ "enum": [
358
+ "Yes"
359
+ ]
360
+ },
361
+ "details": {
362
+ "ta6Ref": "2.1.2"
363
+ }
364
+ },
365
+ "required": [
366
+ "details"
367
+ ]
368
+ }
369
+ ],
370
+ "required": [
371
+ "yesNo"
372
+ ],
373
+ "properties": {
374
+ "yesNo": {
375
+ "ta6Ref": "2.1.1"
376
+ }
377
+ }
378
+ },
379
+ "leadingToDisputesAndComplaints": {
380
+ "ta6Ref": "2.2",
381
+ "discriminator": {
382
+ "propertyName": "yesNo"
383
+ },
384
+ "oneOf": [
385
+ {
386
+ "properties": {
387
+ "yesNo": {
388
+ "enum": [
389
+ "No"
390
+ ]
391
+ }
392
+ }
393
+ },
394
+ {
395
+ "properties": {
396
+ "yesNo": {
397
+ "enum": [
398
+ "Yes"
399
+ ]
400
+ },
401
+ "details": {
402
+ "ta6Ref": "2.2.2"
403
+ }
404
+ },
405
+ "required": [
406
+ "details"
407
+ ]
408
+ }
409
+ ],
410
+ "required": [
411
+ "yesNo"
412
+ ],
413
+ "properties": {
414
+ "yesNo": {
415
+ "ta6Ref": "2.2.1"
416
+ }
417
+ }
418
+ }
419
+ }
420
+ },
421
+ "alterationsAndChanges": {
422
+ "ta6Ref": "4.1",
423
+ "required": [
424
+ "hasStructuralAlterations",
425
+ "changeOfUse",
426
+ "windowReplacementsSince2002",
427
+ "hasAddedConservatory",
428
+ "worksUnfinished",
429
+ "planningPermissionBreaches",
430
+ "unresolvedPlanningIssues"
431
+ ],
432
+ "properties": {
433
+ "hasStructuralAlterations": {
434
+ "ta6Ref": "4.1a",
435
+ "discriminator": {
436
+ "propertyName": "yesNo"
437
+ },
438
+ "oneOf": [
439
+ {
440
+ "properties": {
441
+ "yesNo": {
442
+ "enum": [
443
+ "No"
444
+ ]
445
+ }
446
+ }
447
+ },
448
+ {
449
+ "properties": {
450
+ "yesNo": {
451
+ "enum": [
452
+ "Yes"
453
+ ]
454
+ },
455
+ "details": {
456
+ "ta6Ref": "4.1a2"
457
+ },
458
+ "buildingRegApproval": {
459
+ "ta6Ref": "4.2",
460
+ "discriminator": {
461
+ "propertyName": "yesNo"
462
+ },
463
+ "oneOf": [
464
+ {
465
+ "properties": {
466
+ "yesNo": {
467
+ "enum": [
468
+ "Yes"
469
+ ]
470
+ },
471
+ "attachments": {
472
+ "ta6Ref": "4.2a"
473
+ }
474
+ },
475
+ "required": [
476
+ "attachments"
477
+ ]
478
+ },
479
+ {
480
+ "properties": {
481
+ "yesNo": {
482
+ "enum": [
483
+ "No",
484
+ "Not required"
485
+ ]
486
+ },
487
+ "details": {
488
+ "ta6Ref": "4.2b"
489
+ }
490
+ },
491
+ "required": [
492
+ "details"
493
+ ]
494
+ }
495
+ ],
496
+ "required": [
497
+ "yesNo"
498
+ ],
499
+ "properties": {
500
+ "yesNo": {
501
+ "ta6Ref": "4.2.1"
502
+ }
503
+ }
504
+ },
505
+ "planningPermission": {
506
+ "ta6Ref": "4.2.1",
507
+ "discriminator": {
508
+ "propertyName": "yesNo"
509
+ },
510
+ "oneOf": [
511
+ {
512
+ "properties": {
513
+ "yesNo": {
514
+ "enum": [
515
+ "Yes"
516
+ ]
517
+ },
518
+ "attachments": {
519
+ "ta6Ref": "4.2a"
520
+ }
521
+ },
522
+ "required": [
523
+ "attachments"
524
+ ]
525
+ },
526
+ {
527
+ "properties": {
528
+ "yesNo": {
529
+ "enum": [
530
+ "No",
531
+ "Not required"
532
+ ]
533
+ },
534
+ "details": {
535
+ "ta6Ref": "4.2b"
536
+ }
537
+ },
538
+ "required": [
539
+ "details"
540
+ ]
541
+ }
542
+ ],
543
+ "required": [
544
+ "yesNo"
545
+ ]
546
+ },
547
+ "listedBuildingConsent": {
548
+ "oneOf": [
549
+ {
550
+ "required": [
551
+ "attachments"
552
+ ]
553
+ }
554
+ ]
555
+ }
556
+ },
557
+ "required": [
558
+ "details"
559
+ ]
560
+ }
561
+ ],
562
+ "required": [
563
+ "yesNo"
564
+ ],
565
+ "properties": {
566
+ "yesNo": {
567
+ "ta6Ref": "4.1a1"
568
+ }
569
+ }
570
+ },
571
+ "changeOfUse": {
572
+ "ta6Ref": "4.1b",
573
+ "discriminator": {
574
+ "propertyName": "yesNo"
575
+ },
576
+ "oneOf": [
577
+ {
578
+ "properties": {
579
+ "yesNo": {
580
+ "enum": [
581
+ "No"
582
+ ]
583
+ }
584
+ }
585
+ },
586
+ {
587
+ "properties": {
588
+ "yesNo": {
589
+ "enum": [
590
+ "Yes"
591
+ ]
592
+ },
593
+ "yearCompleted": {
594
+ "ta6Ref": "4.1b2"
595
+ },
596
+ "buildingRegApproval": {
597
+ "ta6Ref": "4.2",
598
+ "discriminator": {
599
+ "propertyName": "yesNo"
600
+ },
601
+ "oneOf": [
602
+ {
603
+ "properties": {
604
+ "yesNo": {
605
+ "enum": [
606
+ "Yes"
607
+ ]
608
+ },
609
+ "attachments": {
610
+ "ta6Ref": "4.2a"
611
+ }
612
+ },
613
+ "required": [
614
+ "attachments"
615
+ ]
616
+ },
617
+ {
618
+ "properties": {
619
+ "yesNo": {
620
+ "enum": [
621
+ "No",
622
+ "Not required"
623
+ ]
624
+ },
625
+ "details": {
626
+ "ta6Ref": "4.2b"
627
+ }
628
+ },
629
+ "required": [
630
+ "details"
631
+ ]
632
+ }
633
+ ],
634
+ "required": [
635
+ "yesNo"
636
+ ],
637
+ "properties": {
638
+ "yesNo": {
639
+ "ta6Ref": "4.2.1"
640
+ }
641
+ }
642
+ },
643
+ "planningPermission": {
644
+ "ta6Ref": "4.2",
645
+ "discriminator": {
646
+ "propertyName": "yesNo"
647
+ },
648
+ "oneOf": [
649
+ {
650
+ "properties": {
651
+ "yesNo": {
652
+ "enum": [
653
+ "Yes"
654
+ ]
655
+ },
656
+ "attachments": {
657
+ "ta6Ref": "4.2a"
658
+ }
659
+ },
660
+ "required": [
661
+ "attachments"
662
+ ]
663
+ },
664
+ {
665
+ "properties": {
666
+ "yesNo": {
667
+ "enum": [
668
+ "No",
669
+ "Not required"
670
+ ]
671
+ },
672
+ "details": {
673
+ "ta6Ref": "4.2b"
674
+ }
675
+ },
676
+ "required": [
677
+ "details"
678
+ ]
679
+ }
680
+ ],
681
+ "required": [
682
+ "yesNo"
683
+ ],
684
+ "properties": {
685
+ "yesNo": {
686
+ "ta6Ref": "4.2.1"
687
+ }
688
+ }
689
+ }
690
+ },
691
+ "required": [
692
+ "yearCompleted"
693
+ ]
694
+ }
695
+ ],
696
+ "required": [
697
+ "yesNo"
698
+ ],
699
+ "properties": {
700
+ "yesNo": {
701
+ "ta6Ref": "4.1b1"
702
+ }
703
+ }
704
+ },
705
+ "windowReplacementsSince2002": {
706
+ "ta6Ref": "4.1c",
707
+ "discriminator": {
708
+ "propertyName": "yesNo"
709
+ },
710
+ "oneOf": [
711
+ {
712
+ "properties": {
713
+ "yesNo": {
714
+ "enum": [
715
+ "No"
716
+ ]
717
+ }
718
+ }
719
+ },
720
+ {
721
+ "properties": {
722
+ "yesNo": {
723
+ "enum": [
724
+ "Yes"
725
+ ]
726
+ },
727
+ "yearCompleted": {
728
+ "ta6Ref": "4.1c2"
729
+ },
730
+ "buildingRegApproval": {
731
+ "ta6Ref": "4.2",
732
+ "discriminator": {
733
+ "propertyName": "yesNo"
734
+ },
735
+ "oneOf": [
736
+ {
737
+ "properties": {
738
+ "yesNo": {
739
+ "enum": [
740
+ "Yes"
741
+ ]
742
+ },
743
+ "attachments": {
744
+ "ta6Ref": "4.2a"
745
+ }
746
+ },
747
+ "required": [
748
+ "attachments"
749
+ ]
750
+ },
751
+ {
752
+ "properties": {
753
+ "yesNo": {
754
+ "enum": [
755
+ "No",
756
+ "Not required"
757
+ ]
758
+ },
759
+ "details": {
760
+ "ta6Ref": "4.2b"
761
+ }
762
+ },
763
+ "required": [
764
+ "details"
765
+ ]
766
+ }
767
+ ],
768
+ "required": [
769
+ "yesNo"
770
+ ],
771
+ "properties": {
772
+ "yesNo": {
773
+ "ta6Ref": "4.2.1"
774
+ }
775
+ }
776
+ },
777
+ "planningPermission": {
778
+ "ta6Ref": "4.2",
779
+ "discriminator": {
780
+ "propertyName": "yesNo"
781
+ },
782
+ "oneOf": [
783
+ {
784
+ "properties": {
785
+ "yesNo": {
786
+ "enum": [
787
+ "Yes"
788
+ ]
789
+ },
790
+ "attachments": {
791
+ "ta6Ref": "4.2a"
792
+ }
793
+ },
794
+ "required": [
795
+ "attachments"
796
+ ]
797
+ },
798
+ {
799
+ "properties": {
800
+ "yesNo": {
801
+ "enum": [
802
+ "No",
803
+ "Not required"
804
+ ]
805
+ },
806
+ "details": {
807
+ "ta6Ref": "4.2b"
808
+ }
809
+ },
810
+ "required": [
811
+ "details"
812
+ ]
813
+ }
814
+ ],
815
+ "required": [
816
+ "yesNo"
817
+ ],
818
+ "properties": {
819
+ "yesNo": {
820
+ "ta6Ref": "4.2.1"
821
+ }
822
+ }
823
+ }
824
+ },
825
+ "required": [
826
+ "yearCompleted"
827
+ ]
828
+ }
829
+ ],
830
+ "required": [
831
+ "yesNo"
832
+ ],
833
+ "properties": {
834
+ "yesNo": {
835
+ "ta6Ref": "4.1c1"
836
+ }
837
+ }
838
+ },
839
+ "hasAddedConservatory": {
840
+ "ta6Ref": "4.1d",
841
+ "discriminator": {
842
+ "propertyName": "yesNo"
843
+ },
844
+ "oneOf": [
845
+ {
846
+ "properties": {
847
+ "yesNo": {
848
+ "enum": [
849
+ "No"
850
+ ]
851
+ }
852
+ }
853
+ },
854
+ {
855
+ "properties": {
856
+ "yesNo": {
857
+ "enum": [
858
+ "Yes"
859
+ ]
860
+ },
861
+ "yearCompleted": {
862
+ "ta6Ref": "4.1d2"
863
+ },
864
+ "buildingRegApproval": {
865
+ "ta6Ref": "4.2",
866
+ "discriminator": {
867
+ "propertyName": "yesNo"
868
+ },
869
+ "oneOf": [
870
+ {
871
+ "properties": {
872
+ "yesNo": {
873
+ "enum": [
874
+ "Yes"
875
+ ]
876
+ },
877
+ "attachments": {
878
+ "ta6Ref": "4.2a"
879
+ }
880
+ },
881
+ "required": [
882
+ "attachments"
883
+ ]
884
+ },
885
+ {
886
+ "properties": {
887
+ "yesNo": {
888
+ "enum": [
889
+ "No",
890
+ "Not required"
891
+ ]
892
+ },
893
+ "details": {
894
+ "ta6Ref": "4.2b"
895
+ }
896
+ },
897
+ "required": [
898
+ "details"
899
+ ]
900
+ }
901
+ ],
902
+ "required": [
903
+ "yesNo"
904
+ ],
905
+ "properties": {
906
+ "yesNo": {
907
+ "ta6Ref": "4.2.1"
908
+ }
909
+ }
910
+ },
911
+ "planningPermission": {
912
+ "ta6Ref": "4.2",
913
+ "discriminator": {
914
+ "propertyName": "yesNo"
915
+ },
916
+ "oneOf": [
917
+ {
918
+ "properties": {
919
+ "yesNo": {
920
+ "enum": [
921
+ "Yes"
922
+ ]
923
+ },
924
+ "attachments": {
925
+ "ta6Ref": "4.2a"
926
+ }
927
+ },
928
+ "required": [
929
+ "attachments"
930
+ ]
931
+ },
932
+ {
933
+ "properties": {
934
+ "yesNo": {
935
+ "enum": [
936
+ "No",
937
+ "Not required"
938
+ ]
939
+ },
940
+ "details": {
941
+ "ta6Ref": "4.2b"
942
+ }
943
+ },
944
+ "required": [
945
+ "details"
946
+ ]
947
+ }
948
+ ],
949
+ "required": [
950
+ "yesNo"
951
+ ],
952
+ "properties": {
953
+ "yesNo": {
954
+ "ta6Ref": "4.2.1"
955
+ }
956
+ }
957
+ }
958
+ },
959
+ "required": [
960
+ "yearCompleted"
961
+ ]
962
+ }
963
+ ],
964
+ "required": [
965
+ "yesNo"
966
+ ],
967
+ "properties": {
968
+ "yesNo": {
969
+ "ta6Ref": "4.1d1"
970
+ }
971
+ }
972
+ },
973
+ "worksUnfinished": {
974
+ "ta6Ref": "4.3",
975
+ "discriminator": {
976
+ "propertyName": "yesNo"
977
+ },
978
+ "oneOf": [
979
+ {
980
+ "properties": {
981
+ "yesNo": {
982
+ "enum": [
983
+ "No"
984
+ ]
985
+ }
986
+ }
987
+ },
988
+ {
989
+ "properties": {
990
+ "yesNo": {
991
+ "enum": [
992
+ "Yes"
993
+ ]
994
+ },
995
+ "details": {
996
+ "ta6Ref": "4.3.2"
997
+ }
998
+ },
999
+ "required": [
1000
+ "details"
1001
+ ]
1002
+ }
1003
+ ],
1004
+ "required": [
1005
+ "yesNo"
1006
+ ],
1007
+ "properties": {
1008
+ "yesNo": {
1009
+ "ta6Ref": "4.3.1"
1010
+ }
1011
+ }
1012
+ },
1013
+ "planningPermissionBreaches": {
1014
+ "ta6Ref": "4.4",
1015
+ "discriminator": {
1016
+ "propertyName": "yesNo"
1017
+ },
1018
+ "oneOf": [
1019
+ {
1020
+ "properties": {
1021
+ "yesNo": {
1022
+ "enum": [
1023
+ "No"
1024
+ ]
1025
+ }
1026
+ }
1027
+ },
1028
+ {
1029
+ "properties": {
1030
+ "yesNo": {
1031
+ "enum": [
1032
+ "Yes"
1033
+ ]
1034
+ },
1035
+ "details": {
1036
+ "ta6Ref": "4.4.2"
1037
+ }
1038
+ },
1039
+ "required": [
1040
+ "details"
1041
+ ]
1042
+ }
1043
+ ],
1044
+ "required": [
1045
+ "yesNo"
1046
+ ],
1047
+ "properties": {
1048
+ "yesNo": {
1049
+ "ta6Ref": "4.4.1"
1050
+ }
1051
+ }
1052
+ },
1053
+ "unresolvedPlanningIssues": {
1054
+ "ta6Ref": "4.5",
1055
+ "discriminator": {
1056
+ "propertyName": "yesNo"
1057
+ },
1058
+ "oneOf": [
1059
+ {
1060
+ "properties": {
1061
+ "yesNo": {
1062
+ "enum": [
1063
+ "No"
1064
+ ]
1065
+ }
1066
+ }
1067
+ },
1068
+ {
1069
+ "properties": {
1070
+ "yesNo": {
1071
+ "enum": [
1072
+ "Yes"
1073
+ ]
1074
+ },
1075
+ "details": {
1076
+ "ta6Ref": "4.5.2"
1077
+ }
1078
+ },
1079
+ "required": [
1080
+ "details"
1081
+ ]
1082
+ }
1083
+ ],
1084
+ "required": [
1085
+ "yesNo"
1086
+ ],
1087
+ "properties": {
1088
+ "yesNo": {
1089
+ "ta6Ref": "4.5.1"
1090
+ }
1091
+ }
1092
+ }
1093
+ }
1094
+ },
1095
+ "notices": {
1096
+ "ta6Ref": "3",
1097
+ "required": [
1098
+ "neighbourDevelopment",
1099
+ "partyWallAct",
1100
+ "otherNotices"
1101
+ ],
1102
+ "properties": {
1103
+ "neighbourDevelopment": {
1104
+ "ta6Ref": "3.2",
1105
+ "discriminator": {
1106
+ "propertyName": "yesNo"
1107
+ },
1108
+ "oneOf": [
1109
+ {
1110
+ "properties": {
1111
+ "yesNo": {
1112
+ "enum": [
1113
+ "No"
1114
+ ]
1115
+ }
1116
+ }
1117
+ },
1118
+ {
1119
+ "properties": {
1120
+ "yesNo": {
1121
+ "enum": [
1122
+ "Yes"
1123
+ ]
1124
+ },
1125
+ "details": {
1126
+ "ta6Ref": "3.2.2"
1127
+ }
1128
+ },
1129
+ "required": [
1130
+ "details"
1131
+ ]
1132
+ }
1133
+ ],
1134
+ "required": [
1135
+ "yesNo"
1136
+ ],
1137
+ "properties": {
1138
+ "yesNo": {
1139
+ "ta6Ref": "3.2.1"
1140
+ }
1141
+ }
1142
+ },
1143
+ "planningApplication": {
1144
+ "ta6Ref": "3.1",
1145
+ "discriminator": {
1146
+ "propertyName": "yesNo"
1147
+ },
1148
+ "oneOf": [
1149
+ {
1150
+ "properties": {
1151
+ "yesNo": {
1152
+ "enum": [
1153
+ "No"
1154
+ ]
1155
+ }
1156
+ }
1157
+ },
1158
+ {
1159
+ "properties": {
1160
+ "yesNo": {
1161
+ "enum": [
1162
+ "Yes"
1163
+ ]
1164
+ },
1165
+ "details": {
1166
+ "ta6Ref": "3.1.2"
1167
+ }
1168
+ },
1169
+ "required": [
1170
+ "details"
1171
+ ]
1172
+ }
1173
+ ],
1174
+ "required": [
1175
+ "yesNo"
1176
+ ],
1177
+ "properties": {
1178
+ "yesNo": {
1179
+ "ta6Ref": "3.1.1"
1180
+ }
1181
+ }
1182
+ },
1183
+ "requiredMaintenance": {
1184
+ "ta6Ref": "3.1",
1185
+ "discriminator": {
1186
+ "propertyName": "yesNo"
1187
+ },
1188
+ "oneOf": [
1189
+ {
1190
+ "properties": {
1191
+ "yesNo": {
1192
+ "enum": [
1193
+ "No"
1194
+ ]
1195
+ }
1196
+ }
1197
+ },
1198
+ {
1199
+ "properties": {
1200
+ "yesNo": {
1201
+ "enum": [
1202
+ "Yes"
1203
+ ]
1204
+ },
1205
+ "details": {
1206
+ "ta6Ref": "3.1.2"
1207
+ }
1208
+ },
1209
+ "required": [
1210
+ "details"
1211
+ ]
1212
+ }
1213
+ ],
1214
+ "required": [
1215
+ "yesNo"
1216
+ ],
1217
+ "properties": {
1218
+ "yesNo": {
1219
+ "ta6Ref": "3.1.1"
1220
+ }
1221
+ }
1222
+ },
1223
+ "listedBuildingApplication": {
1224
+ "ta6Ref": "3.1",
1225
+ "discriminator": {
1226
+ "propertyName": "yesNo"
1227
+ },
1228
+ "oneOf": [
1229
+ {
1230
+ "properties": {
1231
+ "yesNo": {
1232
+ "enum": [
1233
+ "No"
1234
+ ]
1235
+ }
1236
+ }
1237
+ },
1238
+ {
1239
+ "properties": {
1240
+ "yesNo": {
1241
+ "enum": [
1242
+ "Yes"
1243
+ ]
1244
+ },
1245
+ "details": {
1246
+ "ta6Ref": "3.1.2"
1247
+ }
1248
+ },
1249
+ "required": [
1250
+ "details"
1251
+ ]
1252
+ }
1253
+ ],
1254
+ "required": [
1255
+ "yesNo"
1256
+ ],
1257
+ "properties": {
1258
+ "yesNo": {
1259
+ "ta6Ref": "3.1.1"
1260
+ }
1261
+ }
1262
+ },
1263
+ "infrastructureProject": {
1264
+ "ta6Ref": "3.1",
1265
+ "discriminator": {
1266
+ "propertyName": "yesNo"
1267
+ },
1268
+ "oneOf": [
1269
+ {
1270
+ "properties": {
1271
+ "yesNo": {
1272
+ "enum": [
1273
+ "No"
1274
+ ]
1275
+ }
1276
+ }
1277
+ },
1278
+ {
1279
+ "properties": {
1280
+ "yesNo": {
1281
+ "enum": [
1282
+ "Yes"
1283
+ ]
1284
+ },
1285
+ "details": {
1286
+ "ta6Ref": "3.1.2"
1287
+ }
1288
+ },
1289
+ "required": [
1290
+ "details"
1291
+ ]
1292
+ }
1293
+ ],
1294
+ "required": [
1295
+ "yesNo"
1296
+ ],
1297
+ "properties": {
1298
+ "yesNo": {
1299
+ "ta6Ref": "3.1.1"
1300
+ }
1301
+ }
1302
+ },
1303
+ "partyWallAct": {
1304
+ "ta6Ref": "1.6",
1305
+ "discriminator": {
1306
+ "propertyName": "yesNo"
1307
+ },
1308
+ "oneOf": [
1309
+ {
1310
+ "properties": {
1311
+ "yesNo": {
1312
+ "enum": [
1313
+ "No"
1314
+ ]
1315
+ }
1316
+ }
1317
+ },
1318
+ {
1319
+ "properties": {
1320
+ "yesNo": {
1321
+ "enum": [
1322
+ "Yes"
1323
+ ]
1324
+ },
1325
+ "details": {
1326
+ "ta6Ref": "1.6.2"
1327
+ },
1328
+ "attachments": {
1329
+ "ta6Ref": "1.6.3"
1330
+ }
1331
+ },
1332
+ "required": [
1333
+ "details"
1334
+ ]
1335
+ }
1336
+ ],
1337
+ "required": [
1338
+ "yesNo"
1339
+ ],
1340
+ "properties": {
1341
+ "yesNo": {
1342
+ "ta6Ref": "1.6.1"
1343
+ }
1344
+ }
1345
+ },
1346
+ "otherNotices": {
1347
+ "ta6Ref": "3.1",
1348
+ "discriminator": {
1349
+ "propertyName": "yesNo"
1350
+ },
1351
+ "oneOf": [
1352
+ {
1353
+ "properties": {
1354
+ "yesNo": {
1355
+ "enum": [
1356
+ "No"
1357
+ ]
1358
+ }
1359
+ }
1360
+ },
1361
+ {
1362
+ "properties": {
1363
+ "yesNo": {
1364
+ "enum": [
1365
+ "Yes"
1366
+ ]
1367
+ },
1368
+ "details": {
1369
+ "ta6Ref": "3.1.2"
1370
+ }
1371
+ },
1372
+ "required": [
1373
+ "details"
1374
+ ]
1375
+ }
1376
+ ],
1377
+ "required": [
1378
+ "yesNo"
1379
+ ],
1380
+ "properties": {
1381
+ "yesNo": {
1382
+ "ta6Ref": "3.1.1"
1383
+ }
1384
+ }
1385
+ }
1386
+ }
1387
+ },
1388
+ "specialistIssues": {
1389
+ "required": [
1390
+ "japaneseKnotweed"
1391
+ ],
1392
+ "properties": {
1393
+ "japaneseKnotweed": {
1394
+ "ta6Ref": "7.8",
1395
+ "discriminator": {
1396
+ "propertyName": "yesNo"
1397
+ },
1398
+ "oneOf": [
1399
+ {
1400
+ "properties": {
1401
+ "yesNo": {
1402
+ "enum": [
1403
+ "No",
1404
+ "Not known"
1405
+ ]
1406
+ }
1407
+ }
1408
+ },
1409
+ {
1410
+ "properties": {
1411
+ "yesNo": {
1412
+ "enum": [
1413
+ "Yes"
1414
+ ]
1415
+ },
1416
+ "managementPlanInPlace": {
1417
+ "ta6Ref": "7.8.2"
1418
+ },
1419
+ "attachments": {
1420
+ "ta6Ref": "7.8.3"
1421
+ }
1422
+ },
1423
+ "required": [
1424
+ "managementPlanInPlace"
1425
+ ]
1426
+ }
1427
+ ],
1428
+ "required": [
1429
+ "yesNo"
1430
+ ],
1431
+ "properties": {
1432
+ "yesNo": {
1433
+ "ta6Ref": "7.8.1"
1434
+ }
1435
+ }
1436
+ }
1437
+ }
1438
+ },
1439
+ "connectedUtilities": {
1440
+ "ta6Ref": "13",
1441
+ "required": [
1442
+ "mainsElectricity",
1443
+ "mainsGas",
1444
+ "telephone",
1445
+ "cableSatelliteTV"
1446
+ ],
1447
+ "properties": {
1448
+ "mainsElectricity": {
1449
+ "ta6Ref": "13.1",
1450
+ "discriminator": {
1451
+ "propertyName": "yesNo"
1452
+ },
1453
+ "oneOf": [
1454
+ {
1455
+ "properties": {
1456
+ "yesNo": {
1457
+ "enum": [
1458
+ "No"
1459
+ ]
1460
+ }
1461
+ }
1462
+ },
1463
+ {
1464
+ "properties": {
1465
+ "yesNo": {
1466
+ "enum": [
1467
+ "Yes"
1468
+ ]
1469
+ },
1470
+ "supplier": {
1471
+ "ta6Ref": "13.1.2"
1472
+ }
1473
+ },
1474
+ "required": [
1475
+ "supplier"
1476
+ ]
1477
+ },
1478
+ {
1479
+ "properties": {
1480
+ "yesNo": {
1481
+ "enum": [
1482
+ "To be connected"
1483
+ ]
1484
+ },
1485
+ "supplier": {
1486
+ "ta6Ref": "13.1.2"
1487
+ }
1488
+ }
1489
+ }
1490
+ ],
1491
+ "required": [
1492
+ "yesNo"
1493
+ ],
1494
+ "properties": {
1495
+ "yesNo": {
1496
+ "ta6Ref": "13.1.1"
1497
+ }
1498
+ }
1499
+ },
1500
+ "mainsGas": {
1501
+ "ta6Ref": "13.2",
1502
+ "discriminator": {
1503
+ "propertyName": "yesNo"
1504
+ },
1505
+ "oneOf": [
1506
+ {
1507
+ "properties": {
1508
+ "yesNo": {
1509
+ "enum": [
1510
+ "No"
1511
+ ]
1512
+ }
1513
+ }
1514
+ },
1515
+ {
1516
+ "properties": {
1517
+ "yesNo": {
1518
+ "enum": [
1519
+ "Yes"
1520
+ ]
1521
+ },
1522
+ "supplier": {
1523
+ "ta6Ref": "13.2.2"
1524
+ }
1525
+ },
1526
+ "required": [
1527
+ "supplier"
1528
+ ]
1529
+ },
1530
+ {
1531
+ "properties": {
1532
+ "yesNo": {
1533
+ "enum": [
1534
+ "To be connected"
1535
+ ]
1536
+ },
1537
+ "supplier": {
1538
+ "ta6Ref": "13.2.2"
1539
+ }
1540
+ }
1541
+ }
1542
+ ],
1543
+ "required": [
1544
+ "yesNo"
1545
+ ],
1546
+ "properties": {
1547
+ "yesNo": {
1548
+ "ta6Ref": "13.2.1"
1549
+ }
1550
+ }
1551
+ },
1552
+ "telephone": {
1553
+ "ta6Ref": "13.5",
1554
+ "discriminator": {
1555
+ "propertyName": "yesNo"
1556
+ },
1557
+ "oneOf": [
1558
+ {
1559
+ "properties": {
1560
+ "yesNo": {
1561
+ "enum": [
1562
+ "No"
1563
+ ]
1564
+ }
1565
+ }
1566
+ },
1567
+ {
1568
+ "properties": {
1569
+ "yesNo": {
1570
+ "enum": [
1571
+ "Yes"
1572
+ ]
1573
+ },
1574
+ "supplier": {
1575
+ "ta6Ref": "13.5.2"
1576
+ }
1577
+ },
1578
+ "required": [
1579
+ "supplier"
1580
+ ]
1581
+ },
1582
+ {
1583
+ "properties": {
1584
+ "yesNo": {
1585
+ "enum": [
1586
+ "To be connected"
1587
+ ]
1588
+ },
1589
+ "supplier": {
1590
+ "ta6Ref": "13.5.2"
1591
+ }
1592
+ }
1593
+ }
1594
+ ],
1595
+ "required": [
1596
+ "yesNo"
1597
+ ],
1598
+ "properties": {
1599
+ "yesNo": {
1600
+ "ta6Ref": "13.5.1"
1601
+ }
1602
+ }
1603
+ },
1604
+ "cableSatelliteTV": {
1605
+ "ta6Ref": "13.6",
1606
+ "discriminator": {
1607
+ "propertyName": "yesNo"
1608
+ },
1609
+ "oneOf": [
1610
+ {
1611
+ "properties": {
1612
+ "yesNo": {
1613
+ "enum": [
1614
+ "No"
1615
+ ]
1616
+ }
1617
+ }
1618
+ },
1619
+ {
1620
+ "properties": {
1621
+ "yesNo": {
1622
+ "enum": [
1623
+ "Yes"
1624
+ ]
1625
+ },
1626
+ "supplier": {
1627
+ "ta6Ref": "13.6.2"
1628
+ }
1629
+ },
1630
+ "required": [
1631
+ "supplier"
1632
+ ]
1633
+ },
1634
+ {
1635
+ "properties": {
1636
+ "yesNo": {
1637
+ "enum": [
1638
+ "To be connected"
1639
+ ]
1640
+ }
1641
+ }
1642
+ }
1643
+ ],
1644
+ "required": [
1645
+ "yesNo"
1646
+ ],
1647
+ "properties": {
1648
+ "yesNo": {
1649
+ "ta6Ref": "13.6.1"
1650
+ }
1651
+ }
1652
+ }
1653
+ }
1654
+ },
1655
+ "waterAndDrainage": {
1656
+ "ta6Ref": "13",
1657
+ "required": [
1658
+ "water",
1659
+ "drainage"
1660
+ ],
1661
+ "properties": {
1662
+ "water": {
1663
+ "ta6Ref": "13",
1664
+ "required": [
1665
+ "mainsWater"
1666
+ ],
1667
+ "properties": {
1668
+ "mainsWater": {
1669
+ "ta6Ref": "13.3",
1670
+ "discriminator": {
1671
+ "propertyName": "yesNo"
1672
+ },
1673
+ "oneOf": [
1674
+ {
1675
+ "properties": {
1676
+ "yesNo": {
1677
+ "enum": [
1678
+ "No"
1679
+ ]
1680
+ }
1681
+ }
1682
+ },
1683
+ {
1684
+ "properties": {
1685
+ "yesNo": {
1686
+ "enum": [
1687
+ "Yes"
1688
+ ]
1689
+ },
1690
+ "supplier": {
1691
+ "ta6Ref": "13.3.2"
1692
+ }
1693
+ },
1694
+ "required": [
1695
+ "supplier"
1696
+ ]
1697
+ },
1698
+ {
1699
+ "properties": {
1700
+ "yesNo": {
1701
+ "enum": [
1702
+ "To be connected"
1703
+ ]
1704
+ },
1705
+ "supplier": {
1706
+ "ta6Ref": "13.3.2"
1707
+ }
1708
+ }
1709
+ }
1710
+ ],
1711
+ "required": [
1712
+ "yesNo"
1713
+ ],
1714
+ "properties": {
1715
+ "yesNo": {
1716
+ "ta6Ref": "13.3.1"
1717
+ }
1718
+ }
1719
+ }
1720
+ }
1721
+ },
1722
+ "drainage": {
1723
+ "required": [
1724
+ "mainsSurfaceWaterDrainage",
1725
+ "mainsFoulDrainage"
1726
+ ],
1727
+ "properties": {
1728
+ "mainsSurfaceWaterDrainage": {
1729
+ "ta6Ref": "12.4b",
1730
+ "discriminator": {
1731
+ "propertyName": "yesNo"
1732
+ },
1733
+ "oneOf": [
1734
+ {
1735
+ "properties": {
1736
+ "yesNo": {
1737
+ "enum": [
1738
+ "No",
1739
+ "Not known"
1740
+ ]
1741
+ }
1742
+ }
1743
+ },
1744
+ {
1745
+ "properties": {
1746
+ "yesNo": {
1747
+ "enum": [
1748
+ "Yes"
1749
+ ]
1750
+ }
1751
+ }
1752
+ },
1753
+ {
1754
+ "properties": {
1755
+ "yesNo": {
1756
+ "enum": [
1757
+ "To be connected"
1758
+ ]
1759
+ }
1760
+ }
1761
+ }
1762
+ ],
1763
+ "required": [
1764
+ "yesNo"
1765
+ ],
1766
+ "properties": {
1767
+ "yesNo": {
1768
+ "ta6Ref": "12.4b1",
1769
+ "enum": [
1770
+ "Yes",
1771
+ "No",
1772
+ "Not known"
1773
+ ]
1774
+ }
1775
+ }
1776
+ },
1777
+ "mainsFoulDrainage": {
1778
+ "ta6Ref": "12.4a",
1779
+ "discriminator": {
1780
+ "propertyName": "yesNo"
1781
+ },
1782
+ "oneOf": [
1783
+ {
1784
+ "properties": {
1785
+ "yesNo": {
1786
+ "enum": [
1787
+ "Yes"
1788
+ ]
1789
+ }
1790
+ }
1791
+ },
1792
+ {
1793
+ "properties": {
1794
+ "yesNo": {
1795
+ "enum": [
1796
+ "To be connected"
1797
+ ]
1798
+ },
1799
+ "supplier": {
1800
+ "ta6Ref": "12.4a2"
1801
+ }
1802
+ }
1803
+ },
1804
+ {
1805
+ "properties": {
1806
+ "yesNo": {
1807
+ "enum": [
1808
+ "No",
1809
+ "Not known"
1810
+ ]
1811
+ },
1812
+ "septicTank": {
1813
+ "ta6Ref": "12.5a",
1814
+ "discriminator": {
1815
+ "propertyName": "yesNo"
1816
+ },
1817
+ "oneOf": [
1818
+ {
1819
+ "properties": {
1820
+ "yesNo": {
1821
+ "enum": [
1822
+ "No"
1823
+ ]
1824
+ }
1825
+ }
1826
+ },
1827
+ {
1828
+ "properties": {
1829
+ "yesNo": {
1830
+ "enum": [
1831
+ "Yes"
1832
+ ]
1833
+ },
1834
+ "dateReplaced": {
1835
+ "ta6Ref": "12.5a2"
1836
+ },
1837
+ "dateLastEmptied": {
1838
+ "ta6Ref": "12.7"
1839
+ }
1840
+ },
1841
+ "required": [
1842
+ "dateReplaced",
1843
+ "dateLastEmptied"
1844
+ ]
1845
+ }
1846
+ ],
1847
+ "required": [
1848
+ "yesNo"
1849
+ ],
1850
+ "properties": {
1851
+ "yesNo": {
1852
+ "ta6Ref": "12.5a1"
1853
+ }
1854
+ }
1855
+ },
1856
+ "cesspit": {
1857
+ "ta6Ref": "12.5b",
1858
+ "discriminator": {
1859
+ "propertyName": "yesNo"
1860
+ },
1861
+ "oneOf": [
1862
+ {
1863
+ "properties": {
1864
+ "yesNo": {
1865
+ "enum": [
1866
+ "No"
1867
+ ]
1868
+ }
1869
+ }
1870
+ },
1871
+ {
1872
+ "properties": {
1873
+ "yesNo": {
1874
+ "enum": [
1875
+ "Yes"
1876
+ ]
1877
+ },
1878
+ "dateLastEmptied": {
1879
+ "ta6Ref": "12.7"
1880
+ }
1881
+ },
1882
+ "required": [
1883
+ "dateLastEmptied"
1884
+ ]
1885
+ }
1886
+ ],
1887
+ "required": [
1888
+ "yesNo"
1889
+ ],
1890
+ "properties": {
1891
+ "yesNo": {
1892
+ "ta6Ref": "12.5c1"
1893
+ }
1894
+ }
1895
+ },
1896
+ "sewerageTreatmentPlant": {
1897
+ "ta6Ref": "12.5b",
1898
+ "discriminator": {
1899
+ "propertyName": "yesNo"
1900
+ },
1901
+ "oneOf": [
1902
+ {
1903
+ "properties": {
1904
+ "yesNo": {
1905
+ "enum": [
1906
+ "No"
1907
+ ]
1908
+ }
1909
+ }
1910
+ },
1911
+ {
1912
+ "properties": {
1913
+ "yesNo": {
1914
+ "enum": [
1915
+ "Yes"
1916
+ ]
1917
+ },
1918
+ "dateInstalled": {
1919
+ "ta6Ref": "12.9"
1920
+ },
1921
+ "dateLastServiced": {
1922
+ "ta6Ref": "12.8"
1923
+ }
1924
+ },
1925
+ "required": [
1926
+ "dateInstalled",
1927
+ "dateLastServiced"
1928
+ ]
1929
+ }
1930
+ ],
1931
+ "required": [
1932
+ "yesNo"
1933
+ ],
1934
+ "properties": {
1935
+ "yesNo": {
1936
+ "ta6Ref": "12.5b1"
1937
+ }
1938
+ }
1939
+ },
1940
+ "otherConnectedProperties": {
1941
+ "ta6Ref": "12.6",
1942
+ "discriminator": {
1943
+ "propertyName": "yesNo"
1944
+ },
1945
+ "oneOf": [
1946
+ {
1947
+ "properties": {
1948
+ "yesNo": {
1949
+ "enum": [
1950
+ "No"
1951
+ ]
1952
+ }
1953
+ }
1954
+ },
1955
+ {
1956
+ "properties": {
1957
+ "yesNo": {
1958
+ "enum": [
1959
+ "Yes"
1960
+ ]
1961
+ },
1962
+ "numberOfPropertiesSharing": {
1963
+ "ta6Ref": "12.6.2"
1964
+ }
1965
+ },
1966
+ "required": [
1967
+ "numberOfPropertiesSharing"
1968
+ ]
1969
+ }
1970
+ ],
1971
+ "required": [
1972
+ "yesNo"
1973
+ ],
1974
+ "properties": {
1975
+ "yesNo": {
1976
+ "ta6Ref": "12.6.1"
1977
+ }
1978
+ }
1979
+ },
1980
+ "plantOnOtherLand": {
1981
+ "ta6Ref": "12.10",
1982
+ "discriminator": {
1983
+ "propertyName": "yesNo"
1984
+ },
1985
+ "oneOf": [
1986
+ {
1987
+ "properties": {
1988
+ "yesNo": {
1989
+ "enum": [
1990
+ "No"
1991
+ ]
1992
+ }
1993
+ }
1994
+ },
1995
+ {
1996
+ "properties": {
1997
+ "yesNo": {
1998
+ "enum": [
1999
+ "Yes"
2000
+ ]
2001
+ },
2002
+ "attachments": {
2003
+ "ta6Ref": "12.10.2"
2004
+ }
2005
+ },
2006
+ "required": [
2007
+ "attachments"
2008
+ ]
2009
+ }
2010
+ ],
2011
+ "required": [
2012
+ "yesNo"
2013
+ ],
2014
+ "properties": {
2015
+ "yesNo": {
2016
+ "ta6Ref": "12.10.1"
2017
+ }
2018
+ }
2019
+ }
2020
+ },
2021
+ "required": [
2022
+ "septicTank",
2023
+ "cesspit",
2024
+ "sewerageTreatmentPlant",
2025
+ "otherConnectedProperties",
2026
+ "plantOnOtherLand"
2027
+ ]
2028
+ }
2029
+ ],
2030
+ "required": [
2031
+ "yesNo"
2032
+ ],
2033
+ "properties": {
2034
+ "yesNo": {
2035
+ "ta6Ref": "12.4a1",
2036
+ "enum": [
2037
+ "Yes",
2038
+ "No",
2039
+ "Not known"
2040
+ ]
2041
+ }
2042
+ }
2043
+ }
2044
+ }
2045
+ }
2046
+ }
2047
+ },
2048
+ "heating": {
2049
+ "ta6Ref": "12.3",
2050
+ "discriminator": {
2051
+ "propertyName": "heatingType"
2052
+ },
2053
+ "oneOf": [
2054
+ {
2055
+ "properties": {
2056
+ "heatingType": {
2057
+ "enum": [
2058
+ "None"
2059
+ ]
2060
+ }
2061
+ }
2062
+ },
2063
+ {
2064
+ "properties": {
2065
+ "heatingType": {
2066
+ "enum": [
2067
+ "Central heating"
2068
+ ]
2069
+ },
2070
+ "centralHeatingDetails": {
2071
+ "ta6Ref": "12.3.2",
2072
+ "required": [
2073
+ "centralHeatingFuel",
2074
+ "centralHeatingInstalled",
2075
+ "boilerInstallationCertificate",
2076
+ "heatingLastServicedDate",
2077
+ "heatingLastServicedReport",
2078
+ "heatingInGoodWorkingOrder"
2079
+ ],
2080
+ "properties": {
2081
+ "centralHeatingFuel": {
2082
+ "ta6Ref": "12.3.3",
2083
+ "discriminator": {
2084
+ "propertyName": "centralHeatingFuelType"
2085
+ },
2086
+ "oneOf": [
2087
+ {
2088
+ "properties": {
2089
+ "centralHeatingFuelType": {
2090
+ "enum": [
2091
+ "Mains gas",
2092
+ "Electricity",
2093
+ "Oil",
2094
+ "LPG",
2095
+ "Biomass"
2096
+ ]
2097
+ }
2098
+ }
2099
+ },
2100
+ {
2101
+ "properties": {
2102
+ "centralHeatingFuelType": {
2103
+ "enum": [
2104
+ "Other"
2105
+ ]
2106
+ },
2107
+ "otherCentralHeatingFuelType": {
2108
+ "ta6Ref": "12.3a2"
2109
+ }
2110
+ },
2111
+ "required": [
2112
+ "otherCentralHeatingFuelType"
2113
+ ]
2114
+ }
2115
+ ],
2116
+ "required": [
2117
+ "centralHeatingFuelType"
2118
+ ],
2119
+ "properties": {
2120
+ "centralHeatingFuelType": {
2121
+ "ta6Ref": "12.3a1"
2122
+ }
2123
+ }
2124
+ },
2125
+ "centralHeatingInstalled": {
2126
+ "ta6Ref": "12.3b1"
2127
+ },
2128
+ "boilerInstallationCertificate": {
2129
+ "ta6Ref": "12.3b2",
2130
+ "discriminator": {
2131
+ "propertyName": "yesNo"
2132
+ },
2133
+ "oneOf": [
2134
+ {
2135
+ "properties": {
2136
+ "yesNo": {
2137
+ "enum": [
2138
+ "No"
2139
+ ]
2140
+ }
2141
+ }
2142
+ },
2143
+ {
2144
+ "properties": {
2145
+ "yesNo": {
2146
+ "enum": [
2147
+ "Yes"
2148
+ ]
2149
+ },
2150
+ "attachments": {
2151
+ "ta6Ref": "12.3b4"
2152
+ }
2153
+ },
2154
+ "required": [
2155
+ "attachments"
2156
+ ]
2157
+ }
2158
+ ],
2159
+ "required": [
2160
+ "yesNo"
2161
+ ],
2162
+ "properties": {
2163
+ "yesNo": {
2164
+ "ta6Ref": "12.3b3"
2165
+ }
2166
+ }
2167
+ },
2168
+ "heatingLastServicedDate": {
2169
+ "ta6Ref": "12.3d1"
2170
+ },
2171
+ "heatingLastServicedReport": {
2172
+ "ta6Ref": "12.3d2"
2173
+ },
2174
+ "heatingInGoodWorkingOrder": {
2175
+ "ta6Ref": "12.3c",
2176
+ "discriminator": {
2177
+ "propertyName": "yesNo"
2178
+ },
2179
+ "oneOf": [
2180
+ {
2181
+ "properties": {
2182
+ "yesNo": {
2183
+ "enum": [
2184
+ "Yes"
2185
+ ]
2186
+ }
2187
+ }
2188
+ },
2189
+ {
2190
+ "properties": {
2191
+ "yesNo": {
2192
+ "enum": [
2193
+ "No"
2194
+ ]
2195
+ }
2196
+ }
2197
+ }
2198
+ ],
2199
+ "required": [
2200
+ "yesNo"
2201
+ ],
2202
+ "properties": {
2203
+ "yesNo": {
2204
+ "ta6Ref": "12.3c1"
2205
+ }
2206
+ }
2207
+ }
2208
+ }
2209
+ }
2210
+ },
2211
+ "required": [
2212
+ "centralHeatingDetails"
2213
+ ]
2214
+ },
2215
+ {
2216
+ "properties": {
2217
+ "heatingType": {
2218
+ "enum": [
2219
+ "Community heating system"
2220
+ ]
2221
+ }
2222
+ }
2223
+ }
2224
+ ],
2225
+ "required": [
2226
+ "heatingType"
2227
+ ],
2228
+ "properties": {
2229
+ "heatingType": {
2230
+ "ta6Ref": "12.3.1"
2231
+ }
2232
+ }
2233
+ },
2234
+ "insurance": {
2235
+ "ta6Ref": "6",
2236
+ "discriminator": {
2237
+ "propertyName": "isInsured"
2238
+ },
2239
+ "oneOf": [
2240
+ {
2241
+ "properties": {
2242
+ "isInsured": {
2243
+ "enum": [
2244
+ "No"
2245
+ ]
2246
+ },
2247
+ "details": {
2248
+ "ta6Ref": "6.2"
2249
+ },
2250
+ "landlordInsuresIfFlat": {
2251
+ "ta6Ref": "6.3"
2252
+ }
2253
+ },
2254
+ "required": [
2255
+ "details",
2256
+ "landlordInsuresIfFlat"
2257
+ ]
2258
+ },
2259
+ {
2260
+ "properties": {
2261
+ "isInsured": {
2262
+ "enum": [
2263
+ "Yes"
2264
+ ]
2265
+ },
2266
+ "difficultiesObtainingInsurance": {
2267
+ "ta6Ref": "6.4",
2268
+ "required": [
2269
+ "abnormalRiseInPremiums",
2270
+ "subjectToHighExcesses",
2271
+ "subjectToUnusualConditions",
2272
+ "refused"
2273
+ ],
2274
+ "properties": {
2275
+ "abnormalRiseInPremiums": {
2276
+ "ta6Ref": "6.4a",
2277
+ "discriminator": {
2278
+ "propertyName": "yesNo"
2279
+ },
2280
+ "oneOf": [
2281
+ {
2282
+ "properties": {
2283
+ "yesNo": {
2284
+ "enum": [
2285
+ "No"
2286
+ ]
2287
+ }
2288
+ }
2289
+ },
2290
+ {
2291
+ "properties": {
2292
+ "yesNo": {
2293
+ "enum": [
2294
+ "Yes"
2295
+ ]
2296
+ },
2297
+ "details": {
2298
+ "ta6Ref": "6.4.2"
2299
+ }
2300
+ },
2301
+ "required": [
2302
+ "details"
2303
+ ]
2304
+ }
2305
+ ],
2306
+ "required": [
2307
+ "yesNo"
2308
+ ],
2309
+ "properties": {
2310
+ "yesNo": {
2311
+ "ta6Ref": "6.4a1"
2312
+ }
2313
+ }
2314
+ },
2315
+ "subjectToHighExcesses": {
2316
+ "ta6Ref": "6.4b",
2317
+ "discriminator": {
2318
+ "propertyName": "yesNo"
2319
+ },
2320
+ "oneOf": [
2321
+ {
2322
+ "properties": {
2323
+ "yesNo": {
2324
+ "enum": [
2325
+ "No"
2326
+ ]
2327
+ }
2328
+ }
2329
+ },
2330
+ {
2331
+ "properties": {
2332
+ "yesNo": {
2333
+ "enum": [
2334
+ "Yes"
2335
+ ]
2336
+ },
2337
+ "details": {
2338
+ "ta6Ref": "6.4.2"
2339
+ }
2340
+ },
2341
+ "required": [
2342
+ "details"
2343
+ ]
2344
+ }
2345
+ ],
2346
+ "required": [
2347
+ "yesNo"
2348
+ ],
2349
+ "properties": {
2350
+ "yesNo": {
2351
+ "ta6Ref": "6.4b1"
2352
+ }
2353
+ }
2354
+ },
2355
+ "subjectToUnusualConditions": {
2356
+ "ta6Ref": "6.4c",
2357
+ "discriminator": {
2358
+ "propertyName": "yesNo"
2359
+ },
2360
+ "oneOf": [
2361
+ {
2362
+ "properties": {
2363
+ "yesNo": {
2364
+ "enum": [
2365
+ "No"
2366
+ ]
2367
+ }
2368
+ }
2369
+ },
2370
+ {
2371
+ "properties": {
2372
+ "yesNo": {
2373
+ "enum": [
2374
+ "Yes"
2375
+ ]
2376
+ },
2377
+ "details": {
2378
+ "ta6Ref": "6.4.2"
2379
+ }
2380
+ },
2381
+ "required": [
2382
+ "details"
2383
+ ]
2384
+ }
2385
+ ],
2386
+ "required": [
2387
+ "yesNo"
2388
+ ],
2389
+ "properties": {
2390
+ "yesNo": {
2391
+ "ta6Ref": "6.4c1"
2392
+ }
2393
+ }
2394
+ },
2395
+ "refused": {
2396
+ "ta6Ref": "6.4d",
2397
+ "discriminator": {
2398
+ "propertyName": "yesNo"
2399
+ },
2400
+ "oneOf": [
2401
+ {
2402
+ "properties": {
2403
+ "yesNo": {
2404
+ "enum": [
2405
+ "No"
2406
+ ]
2407
+ }
2408
+ }
2409
+ },
2410
+ {
2411
+ "properties": {
2412
+ "yesNo": {
2413
+ "enum": [
2414
+ "Yes"
2415
+ ]
2416
+ },
2417
+ "details": {
2418
+ "ta6Ref": "6.4.2"
2419
+ }
2420
+ },
2421
+ "required": [
2422
+ "details"
2423
+ ]
2424
+ }
2425
+ ],
2426
+ "required": [
2427
+ "yesNo"
2428
+ ],
2429
+ "properties": {
2430
+ "yesNo": {
2431
+ "ta6Ref": "6.4d1"
2432
+ }
2433
+ }
2434
+ }
2435
+ }
2436
+ },
2437
+ "insuranceClaims": {
2438
+ "ta6Ref": "6.5",
2439
+ "discriminator": {
2440
+ "propertyName": "yesNo"
2441
+ },
2442
+ "oneOf": [
2443
+ {
2444
+ "properties": {
2445
+ "yesNo": {
2446
+ "enum": [
2447
+ "No"
2448
+ ]
2449
+ }
2450
+ }
2451
+ },
2452
+ {
2453
+ "properties": {
2454
+ "yesNo": {
2455
+ "enum": [
2456
+ "Yes"
2457
+ ]
2458
+ },
2459
+ "details": {
2460
+ "ta6Ref": "6.5.2"
2461
+ }
2462
+ },
2463
+ "required": [
2464
+ "details"
2465
+ ]
2466
+ }
2467
+ ],
2468
+ "required": [
2469
+ "yesNo"
2470
+ ],
2471
+ "properties": {
2472
+ "yesNo": {
2473
+ "ta6Ref": "6.5.1"
2474
+ }
2475
+ }
2476
+ }
2477
+ },
2478
+ "required": [
2479
+ "difficultiesObtainingInsurance",
2480
+ "insuranceClaims"
2481
+ ]
2482
+ }
2483
+ ],
2484
+ "required": [
2485
+ "isInsured"
2486
+ ],
2487
+ "properties": {
2488
+ "isInsured": {
2489
+ "ta6Ref": "6.1"
2490
+ }
2491
+ }
2492
+ },
2493
+ "rightsAndInformalArrangements": {
2494
+ "ta6Ref": "8",
2495
+ "required": [
2496
+ "sharedContributions",
2497
+ "neighbouringLandRights",
2498
+ "accessRestrictionAttempts",
2499
+ "rightsOrArrangements"
2500
+ ],
2501
+ "properties": {
2502
+ "sharedContributions": {
2503
+ "ta6Ref": "8.1",
2504
+ "discriminator": {
2505
+ "propertyName": "yesNo"
2506
+ },
2507
+ "oneOf": [
2508
+ {
2509
+ "properties": {
2510
+ "yesNo": {
2511
+ "enum": [
2512
+ "No"
2513
+ ]
2514
+ }
2515
+ }
2516
+ },
2517
+ {
2518
+ "properties": {
2519
+ "yesNo": {
2520
+ "enum": [
2521
+ "Yes"
2522
+ ]
2523
+ },
2524
+ "details": {
2525
+ "ta6Ref": "8.1.2"
2526
+ }
2527
+ },
2528
+ "required": [
2529
+ "details"
2530
+ ]
2531
+ }
2532
+ ],
2533
+ "required": [
2534
+ "yesNo"
2535
+ ],
2536
+ "properties": {
2537
+ "yesNo": {
2538
+ "ta6Ref": "8.1.1"
2539
+ }
2540
+ }
2541
+ },
2542
+ "neighbouringLandRights": {
2543
+ "ta6Ref": "8.2",
2544
+ "discriminator": {
2545
+ "propertyName": "yesNo"
2546
+ },
2547
+ "oneOf": [
2548
+ {
2549
+ "properties": {
2550
+ "yesNo": {
2551
+ "enum": [
2552
+ "No"
2553
+ ]
2554
+ }
2555
+ }
2556
+ },
2557
+ {
2558
+ "properties": {
2559
+ "yesNo": {
2560
+ "enum": [
2561
+ "Yes"
2562
+ ]
2563
+ },
2564
+ "details": {
2565
+ "ta6Ref": "8.2.2"
2566
+ }
2567
+ },
2568
+ "required": [
2569
+ "details"
2570
+ ]
2571
+ }
2572
+ ],
2573
+ "required": [
2574
+ "yesNo"
2575
+ ],
2576
+ "properties": {
2577
+ "yesNo": {
2578
+ "ta6Ref": "8.2.1"
2579
+ }
2580
+ }
2581
+ },
2582
+ "accessRestrictionAttempts": {
2583
+ "ta6Ref": "8.3",
2584
+ "discriminator": {
2585
+ "propertyName": "yesNo"
2586
+ },
2587
+ "oneOf": [
2588
+ {
2589
+ "properties": {
2590
+ "yesNo": {
2591
+ "enum": [
2592
+ "No"
2593
+ ]
2594
+ }
2595
+ }
2596
+ },
2597
+ {
2598
+ "properties": {
2599
+ "yesNo": {
2600
+ "enum": [
2601
+ "Yes"
2602
+ ]
2603
+ },
2604
+ "details": {
2605
+ "ta6Ref": "8.3.2"
2606
+ }
2607
+ },
2608
+ "required": [
2609
+ "details"
2610
+ ]
2611
+ }
2612
+ ],
2613
+ "required": [
2614
+ "yesNo"
2615
+ ],
2616
+ "properties": {
2617
+ "yesNo": {
2618
+ "ta6Ref": "8.3.1"
2619
+ }
2620
+ }
2621
+ },
2622
+ "rightsOrArrangements": {
2623
+ "ta6Ref": "8.4",
2624
+ "required": [
2625
+ "rightsOfLight",
2626
+ "rightsOfSupport",
2627
+ "rightsCreatedThroughCustom",
2628
+ "minesAndMinerals",
2629
+ "churchChancel",
2630
+ "rightsToTakeFromLand",
2631
+ "otherRights"
2632
+ ],
2633
+ "properties": {
2634
+ "publicRightOfWay": {
2635
+ "ta6Ref": "8.6",
2636
+ "discriminator": {
2637
+ "propertyName": "yesNo"
2638
+ },
2639
+ "oneOf": [
2640
+ {
2641
+ "properties": {
2642
+ "yesNo": {
2643
+ "enum": [
2644
+ "No"
2645
+ ]
2646
+ }
2647
+ }
2648
+ },
2649
+ {
2650
+ "properties": {
2651
+ "yesNo": {
2652
+ "enum": [
2653
+ "Yes"
2654
+ ]
2655
+ },
2656
+ "details": {
2657
+ "ta6Ref": "8.6.2"
2658
+ }
2659
+ },
2660
+ "required": [
2661
+ "details"
2662
+ ]
2663
+ }
2664
+ ],
2665
+ "required": [
2666
+ "yesNo"
2667
+ ],
2668
+ "properties": {
2669
+ "yesNo": {
2670
+ "ta6Ref": "8.6.1"
2671
+ }
2672
+ }
2673
+ },
2674
+ "rightsOfLight": {
2675
+ "ta6Ref": "8.4a",
2676
+ "discriminator": {
2677
+ "propertyName": "yesNo"
2678
+ },
2679
+ "oneOf": [
2680
+ {
2681
+ "properties": {
2682
+ "yesNo": {
2683
+ "enum": [
2684
+ "No"
2685
+ ]
2686
+ }
2687
+ }
2688
+ },
2689
+ {
2690
+ "properties": {
2691
+ "yesNo": {
2692
+ "enum": [
2693
+ "Yes"
2694
+ ]
2695
+ }
2696
+ }
2697
+ }
2698
+ ],
2699
+ "required": [
2700
+ "yesNo"
2701
+ ],
2702
+ "properties": {
2703
+ "yesNo": {
2704
+ "ta6Ref": "8.4a1"
2705
+ }
2706
+ }
2707
+ },
2708
+ "rightsOfSupport": {
2709
+ "ta6Ref": "8.4b",
2710
+ "discriminator": {
2711
+ "propertyName": "yesNo"
2712
+ },
2713
+ "oneOf": [
2714
+ {
2715
+ "properties": {
2716
+ "yesNo": {
2717
+ "enum": [
2718
+ "No"
2719
+ ]
2720
+ }
2721
+ }
2722
+ },
2723
+ {
2724
+ "properties": {
2725
+ "yesNo": {
2726
+ "enum": [
2727
+ "Yes"
2728
+ ]
2729
+ }
2730
+ }
2731
+ }
2732
+ ],
2733
+ "required": [
2734
+ "yesNo"
2735
+ ],
2736
+ "properties": {
2737
+ "yesNo": {
2738
+ "ta6Ref": "8.4b1"
2739
+ }
2740
+ }
2741
+ },
2742
+ "rightsCreatedThroughCustom": {
2743
+ "ta6Ref": "8.4c",
2744
+ "discriminator": {
2745
+ "propertyName": "yesNo"
2746
+ },
2747
+ "oneOf": [
2748
+ {
2749
+ "properties": {
2750
+ "yesNo": {
2751
+ "enum": [
2752
+ "No"
2753
+ ]
2754
+ }
2755
+ }
2756
+ },
2757
+ {
2758
+ "properties": {
2759
+ "yesNo": {
2760
+ "enum": [
2761
+ "Yes"
2762
+ ]
2763
+ }
2764
+ }
2765
+ }
2766
+ ],
2767
+ "required": [
2768
+ "yesNo"
2769
+ ],
2770
+ "properties": {
2771
+ "yesNo": {
2772
+ "ta6Ref": "8.4c1"
2773
+ }
2774
+ }
2775
+ },
2776
+ "rightsToTakeFromLand": {
2777
+ "ta6Ref": "8.5c",
2778
+ "discriminator": {
2779
+ "propertyName": "yesNo"
2780
+ },
2781
+ "oneOf": [
2782
+ {
2783
+ "properties": {
2784
+ "yesNo": {
2785
+ "enum": [
2786
+ "No"
2787
+ ]
2788
+ }
2789
+ }
2790
+ },
2791
+ {
2792
+ "properties": {
2793
+ "yesNo": {
2794
+ "enum": [
2795
+ "Yes"
2796
+ ]
2797
+ },
2798
+ "details": {
2799
+ "ta6Ref": "8.5c2"
2800
+ }
2801
+ },
2802
+ "required": [
2803
+ "details"
2804
+ ]
2805
+ }
2806
+ ],
2807
+ "required": [
2808
+ "yesNo"
2809
+ ],
2810
+ "properties": {
2811
+ "yesNo": {
2812
+ "ta6Ref": "8.5c1"
2813
+ }
2814
+ }
2815
+ },
2816
+ "minesAndMinerals": {
2817
+ "ta6Ref": "8.5a",
2818
+ "discriminator": {
2819
+ "propertyName": "yesNo"
2820
+ },
2821
+ "oneOf": [
2822
+ {
2823
+ "properties": {
2824
+ "yesNo": {
2825
+ "enum": [
2826
+ "No"
2827
+ ]
2828
+ }
2829
+ }
2830
+ },
2831
+ {
2832
+ "properties": {
2833
+ "yesNo": {
2834
+ "enum": [
2835
+ "Yes"
2836
+ ]
2837
+ }
2838
+ }
2839
+ }
2840
+ ],
2841
+ "required": [
2842
+ "yesNo"
2843
+ ],
2844
+ "properties": {
2845
+ "yesNo": {
2846
+ "ta6Ref": "8.5a1"
2847
+ }
2848
+ }
2849
+ },
2850
+ "churchChancel": {
2851
+ "ta6Ref": "8.5b",
2852
+ "discriminator": {
2853
+ "propertyName": "yesNo"
2854
+ },
2855
+ "oneOf": [
2856
+ {
2857
+ "properties": {
2858
+ "yesNo": {
2859
+ "enum": [
2860
+ "No"
2861
+ ]
2862
+ }
2863
+ }
2864
+ },
2865
+ {
2866
+ "properties": {
2867
+ "yesNo": {
2868
+ "enum": [
2869
+ "Yes"
2870
+ ]
2871
+ }
2872
+ }
2873
+ }
2874
+ ],
2875
+ "required": [
2876
+ "yesNo"
2877
+ ],
2878
+ "properties": {
2879
+ "yesNo": {
2880
+ "ta6Ref": "8.5b1"
2881
+ }
2882
+ }
2883
+ },
2884
+ "otherRights": {
2885
+ "ta6Ref": "8.6",
2886
+ "discriminator": {
2887
+ "propertyName": "yesNo"
2888
+ },
2889
+ "oneOf": [
2890
+ {
2891
+ "properties": {
2892
+ "yesNo": {
2893
+ "enum": [
2894
+ "No"
2895
+ ]
2896
+ }
2897
+ }
2898
+ },
2899
+ {
2900
+ "properties": {
2901
+ "yesNo": {
2902
+ "enum": [
2903
+ "Yes"
2904
+ ]
2905
+ },
2906
+ "details": {
2907
+ "ta6Ref": "8.6.2"
2908
+ }
2909
+ },
2910
+ "required": [
2911
+ "details"
2912
+ ]
2913
+ }
2914
+ ],
2915
+ "required": [
2916
+ "yesNo"
2917
+ ],
2918
+ "properties": {
2919
+ "yesNo": {
2920
+ "ta6Ref": "8.6.1"
2921
+ }
2922
+ }
2923
+ }
2924
+ }
2925
+ }
2926
+ }
2927
+ },
2928
+ "environmentalIssues": {
2929
+ "ta6Ref": "7",
2930
+ "required": [
2931
+ "flooding",
2932
+ "radon"
2933
+ ],
2934
+ "properties": {
2935
+ "flooding": {
2936
+ "ta6Ref": "7.1.0",
2937
+ "discriminator": {
2938
+ "propertyName": "hasBeenFlooded"
2939
+ },
2940
+ "oneOf": [
2941
+ {
2942
+ "properties": {
2943
+ "hasBeenFlooded": {
2944
+ "enum": [
2945
+ "No"
2946
+ ]
2947
+ }
2948
+ }
2949
+ },
2950
+ {
2951
+ "properties": {
2952
+ "hasBeenFlooded": {
2953
+ "enum": [
2954
+ "Yes"
2955
+ ]
2956
+ },
2957
+ "typeOfFlooding": {
2958
+ "ta6Ref": "7.2"
2959
+ },
2960
+ "details": {
2961
+ "ta6Ref": "7.1.2"
2962
+ }
2963
+ },
2964
+ "required": [
2965
+ "typeOfFlooding",
2966
+ "details"
2967
+ ]
2968
+ }
2969
+ ],
2970
+ "required": [
2971
+ "hasBeenFlooded"
2972
+ ],
2973
+ "properties": {
2974
+ "hasBeenFlooded": {
2975
+ "ta6Ref": "7.1.1"
2976
+ }
2977
+ }
2978
+ },
2979
+ "radon": {
2980
+ "ta6Ref": "7.4",
2981
+ "required": [
2982
+ "remedialMeasuresOnConstruction",
2983
+ "radonTest"
2984
+ ],
2985
+ "properties": {
2986
+ "radonTest": {
2987
+ "ta6Ref": "7.4",
2988
+ "discriminator": {
2989
+ "propertyName": "yesNo"
2990
+ },
2991
+ "oneOf": [
2992
+ {
2993
+ "properties": {
2994
+ "yesNo": {
2995
+ "enum": [
2996
+ "No"
2997
+ ]
2998
+ }
2999
+ }
3000
+ },
3001
+ {
3002
+ "properties": {
3003
+ "yesNo": {
3004
+ "enum": [
3005
+ "Yes"
3006
+ ]
3007
+ },
3008
+ "details": {
3009
+ "ta6Ref": "7.4b"
3010
+ },
3011
+ "attachments": {
3012
+ "ta6Ref": "7.4a"
3013
+ }
3014
+ },
3015
+ "required": [
3016
+ "details",
3017
+ "attachments"
3018
+ ]
3019
+ }
3020
+ ],
3021
+ "required": [
3022
+ "yesNo"
3023
+ ],
3024
+ "properties": {
3025
+ "yesNo": {
3026
+ "ta6Ref": "7.4.1"
3027
+ }
3028
+ }
3029
+ },
3030
+ "remedialMeasuresOnConstruction": {
3031
+ "ta6Ref": "7.5",
3032
+ "required": [
3033
+ "yesNo"
3034
+ ],
3035
+ "properties": {
3036
+ "yesNo": {
3037
+ "ta6Ref": "7.5.1"
3038
+ }
3039
+ }
3040
+ }
3041
+ }
3042
+ }
3043
+ }
3044
+ },
3045
+ "additionalInformation": {
3046
+ "ta6Ref": "10",
3047
+ "required": [
3048
+ "otherCharges"
3049
+ ],
3050
+ "properties": {
3051
+ "otherCharges": {
3052
+ "ta6Ref": "10.1",
3053
+ "discriminator": {
3054
+ "propertyName": "yesNo"
3055
+ },
3056
+ "oneOf": [
3057
+ {
3058
+ "properties": {
3059
+ "yesNo": {
3060
+ "enum": [
3061
+ "No"
3062
+ ]
3063
+ }
3064
+ }
3065
+ },
3066
+ {
3067
+ "properties": {
3068
+ "yesNo": {
3069
+ "enum": [
3070
+ "Yes"
3071
+ ]
3072
+ },
3073
+ "details": {
3074
+ "ta6Ref": "10.1.2"
3075
+ }
3076
+ },
3077
+ "required": [
3078
+ "details"
3079
+ ]
3080
+ }
3081
+ ],
3082
+ "required": [
3083
+ "yesNo"
3084
+ ],
3085
+ "properties": {
3086
+ "yesNo": {
3087
+ "ta6Ref": "10.1.1"
3088
+ }
3089
+ }
3090
+ }
3091
+ }
3092
+ }
3093
+ }
3094
+ },
3095
+ "additionalLegalInfo": {
3096
+ "ta6Ref": "0",
3097
+ "required": [
3098
+ "legalBoundaries",
3099
+ "servicesCrossing",
3100
+ "energyAndMeters",
3101
+ "guaranteesWarrantiesAndIndemnityInsurances",
3102
+ "occupiers",
3103
+ "completionAndMoving",
3104
+ "confirmationOfAccuracyByOwners"
3105
+ ],
3106
+ "properties": {
3107
+ "legalBoundaries": {
3108
+ "ta6Ref": "1",
3109
+ "required": [
3110
+ "ownership",
3111
+ "haveBoundaryFeaturesMoved",
3112
+ "adjacentLandIncluded",
3113
+ "flyingFreehold"
3114
+ ],
3115
+ "properties": {
3116
+ "ownership": {
3117
+ "required": [
3118
+ "areBoundariesUniform"
3119
+ ],
3120
+ "properties": {
3121
+ "areBoundariesUniform": {
3122
+ "ta6Ref": "1.2"
3123
+ }
3124
+ },
3125
+ "oneOf": [
3126
+ {
3127
+ "properties": {
3128
+ "uniformBoundaries": {
3129
+ "required": [
3130
+ "left",
3131
+ "right",
3132
+ "rear",
3133
+ "front"
3134
+ ],
3135
+ "properties": {
3136
+ "left": {
3137
+ "ta6Ref": "1.1a"
3138
+ },
3139
+ "right": {
3140
+ "ta6Ref": "1.1b"
3141
+ },
3142
+ "rear": {
3143
+ "ta6Ref": "1.1c"
3144
+ },
3145
+ "front": {
3146
+ "ta6Ref": "1.1d"
3147
+ }
3148
+ }
3149
+ }
3150
+ }
3151
+ },
3152
+ {
3153
+ "required": [
3154
+ "details",
3155
+ "attachments"
3156
+ ],
3157
+ "properties": {
3158
+ "details": {
3159
+ "ta6Ref": "1.2.1"
3160
+ },
3161
+ "attachments": {
3162
+ "ta6Ref": "1.2.2"
3163
+ }
3164
+ }
3165
+ }
3166
+ ]
3167
+ },
3168
+ "haveBoundaryFeaturesMoved": {
3169
+ "ta6Ref": "1.3",
3170
+ "discriminator": {
3171
+ "propertyName": "yesNo"
3172
+ },
3173
+ "oneOf": [
3174
+ {
3175
+ "properties": {
3176
+ "yesNo": {
3177
+ "enum": [
3178
+ "No",
3179
+ "Not applicable"
3180
+ ]
3181
+ }
3182
+ }
3183
+ },
3184
+ {
3185
+ "properties": {
3186
+ "yesNo": {
3187
+ "enum": [
3188
+ "Yes"
3189
+ ]
3190
+ },
3191
+ "details": {
3192
+ "ta6Ref": "1.3.2"
3193
+ }
3194
+ },
3195
+ "required": [
3196
+ "details"
3197
+ ]
3198
+ }
3199
+ ],
3200
+ "required": [
3201
+ "yesNo"
3202
+ ],
3203
+ "properties": {
3204
+ "yesNo": {
3205
+ "ta6Ref": "1.3.1"
3206
+ }
3207
+ }
3208
+ },
3209
+ "adjacentLandIncluded": {
3210
+ "ta6Ref": "1.4",
3211
+ "discriminator": {
3212
+ "propertyName": "yesNo"
3213
+ },
3214
+ "oneOf": [
3215
+ {
3216
+ "properties": {
3217
+ "yesNo": {
3218
+ "enum": [
3219
+ "No",
3220
+ "Not applicable"
3221
+ ]
3222
+ }
3223
+ }
3224
+ },
3225
+ {
3226
+ "properties": {
3227
+ "yesNo": {
3228
+ "enum": [
3229
+ "Yes"
3230
+ ]
3231
+ },
3232
+ "details": {
3233
+ "ta6Ref": "1.4.2"
3234
+ }
3235
+ },
3236
+ "required": [
3237
+ "details"
3238
+ ]
3239
+ }
3240
+ ],
3241
+ "required": [
3242
+ "yesNo"
3243
+ ],
3244
+ "properties": {
3245
+ "yesNo": {
3246
+ "ta6Ref": "1.4.1"
3247
+ }
3248
+ }
3249
+ },
3250
+ "flyingFreehold": {
3251
+ "ta6Ref": "1.5",
3252
+ "discriminator": {
3253
+ "propertyName": "yesNo"
3254
+ },
3255
+ "oneOf": [
3256
+ {
3257
+ "properties": {
3258
+ "yesNo": {
3259
+ "enum": [
3260
+ "No",
3261
+ "Not applicable"
3262
+ ]
3263
+ }
3264
+ }
3265
+ },
3266
+ {
3267
+ "properties": {
3268
+ "yesNo": {
3269
+ "enum": [
3270
+ "Yes"
3271
+ ]
3272
+ },
3273
+ "details": {
3274
+ "ta6Ref": "1.5.2"
3275
+ }
3276
+ },
3277
+ "required": [
3278
+ "details"
3279
+ ]
3280
+ }
3281
+ ],
3282
+ "required": [
3283
+ "yesNo"
3284
+ ],
3285
+ "properties": {
3286
+ "yesNo": {
3287
+ "ta6Ref": "1.5.1"
3288
+ }
3289
+ }
3290
+ }
3291
+ }
3292
+ },
3293
+ "servicesCrossing": {
3294
+ "ta6Ref": "8",
3295
+ "required": [
3296
+ "pipesWiresCablesDrainsToProperty",
3297
+ "pipesWiresCablesDrainsFromProperty",
3298
+ "formalOrInformalAgreements"
3299
+ ],
3300
+ "properties": {
3301
+ "pipesWiresCablesDrainsToProperty": {
3302
+ "ta6Ref": "8.7",
3303
+ "discriminator": {
3304
+ "propertyName": "yesNo"
3305
+ },
3306
+ "oneOf": [
3307
+ {
3308
+ "properties": {
3309
+ "yesNo": {
3310
+ "enum": [
3311
+ "No",
3312
+ "Not known"
3313
+ ]
3314
+ }
3315
+ }
3316
+ },
3317
+ {
3318
+ "properties": {
3319
+ "yesNo": {
3320
+ "enum": [
3321
+ "Yes"
3322
+ ]
3323
+ }
3324
+ }
3325
+ }
3326
+ ],
3327
+ "required": [
3328
+ "yesNo"
3329
+ ],
3330
+ "properties": {
3331
+ "yesNo": {
3332
+ "ta6Ref": "8.7.1"
3333
+ }
3334
+ }
3335
+ },
3336
+ "pipesWiresCablesDrainsFromProperty": {
3337
+ "ta6Ref": "8.8",
3338
+ "discriminator": {
3339
+ "propertyName": "yesNo"
3340
+ },
3341
+ "oneOf": [
3342
+ {
3343
+ "properties": {
3344
+ "yesNo": {
3345
+ "enum": [
3346
+ "No",
3347
+ "Not known"
3348
+ ]
3349
+ }
3350
+ }
3351
+ },
3352
+ {
3353
+ "properties": {
3354
+ "yesNo": {
3355
+ "enum": [
3356
+ "Yes"
3357
+ ]
3358
+ }
3359
+ }
3360
+ }
3361
+ ],
3362
+ "required": [
3363
+ "yesNo"
3364
+ ],
3365
+ "properties": {
3366
+ "yesNo": {
3367
+ "ta6Ref": "8.8.1"
3368
+ }
3369
+ }
3370
+ },
3371
+ "formalOrInformalAgreements": {
3372
+ "ta6Ref": "8.9",
3373
+ "discriminator": {
3374
+ "propertyName": "yesNo"
3375
+ },
3376
+ "oneOf": [
3377
+ {
3378
+ "properties": {
3379
+ "yesNo": {
3380
+ "enum": [
3381
+ "No",
3382
+ "Not known"
3383
+ ]
3384
+ }
3385
+ }
3386
+ },
3387
+ {
3388
+ "properties": {
3389
+ "yesNo": {
3390
+ "enum": [
3391
+ "Yes"
3392
+ ]
3393
+ },
3394
+ "details": {
3395
+ "ta6Ref": "8.9.2"
3396
+ },
3397
+ "attachments": {
3398
+ "ta6Ref": "8.9.3"
3399
+ }
3400
+ },
3401
+ "required": [
3402
+ "details"
3403
+ ]
3404
+ }
3405
+ ],
3406
+ "required": [
3407
+ "yesNo"
3408
+ ],
3409
+ "properties": {
3410
+ "yesNo": {
3411
+ "ta6Ref": "8.9.1"
3412
+ }
3413
+ }
3414
+ }
3415
+ }
3416
+ },
3417
+ "energyAndMeters": {
3418
+ "ta6Ref": "12",
3419
+ "required": [
3420
+ "testedByQualifiedElectrician",
3421
+ "electricalWorkSince2005",
3422
+ "solarPanels"
3423
+ ],
3424
+ "properties": {
3425
+ "testedByQualifiedElectrician": {
3426
+ "ta6Ref": "12.1",
3427
+ "discriminator": {
3428
+ "propertyName": "yesNo"
3429
+ },
3430
+ "oneOf": [
3431
+ {
3432
+ "properties": {
3433
+ "yesNo": {
3434
+ "enum": [
3435
+ "No"
3436
+ ]
3437
+ }
3438
+ }
3439
+ },
3440
+ {
3441
+ "properties": {
3442
+ "yesNo": {
3443
+ "enum": [
3444
+ "Yes"
3445
+ ]
3446
+ },
3447
+ "yearTested": {
3448
+ "ta6Ref": "12.1.2"
3449
+ },
3450
+ "attachments": {
3451
+ "ta6Ref": "12.1.3"
3452
+ }
3453
+ },
3454
+ "required": [
3455
+ "yearTested",
3456
+ "attachments"
3457
+ ]
3458
+ }
3459
+ ],
3460
+ "required": [
3461
+ "yesNo"
3462
+ ],
3463
+ "properties": {
3464
+ "yesNo": {
3465
+ "ta6Ref": "12.1.1"
3466
+ }
3467
+ }
3468
+ },
3469
+ "electricalWorkSince2005": {
3470
+ "ta6Ref": "12.2",
3471
+ "discriminator": {
3472
+ "propertyName": "yesNo"
3473
+ },
3474
+ "oneOf": [
3475
+ {
3476
+ "properties": {
3477
+ "yesNo": {
3478
+ "enum": [
3479
+ "No",
3480
+ "Not known"
3481
+ ]
3482
+ }
3483
+ }
3484
+ },
3485
+ {
3486
+ "properties": {
3487
+ "yesNo": {
3488
+ "enum": [
3489
+ "Yes"
3490
+ ]
3491
+ },
3492
+ "electricalSafetyCertificate": {
3493
+ "ta6Ref": "12.2.2a"
3494
+ },
3495
+ "buildingRegulationsComplianceCertificate": {
3496
+ "ta6Ref": "12.2.2b"
3497
+ },
3498
+ "buildingControlCompletionCertificate": {
3499
+ "ta6Ref": "12.2.2c"
3500
+ }
3501
+ }
3502
+ }
3503
+ ],
3504
+ "required": [
3505
+ "yesNo"
3506
+ ],
3507
+ "properties": {
3508
+ "yesNo": {
3509
+ "ta6Ref": "12.2.1"
3510
+ }
3511
+ }
3512
+ },
3513
+ "solarPanels": {
3514
+ "ta6Ref": "4.6",
3515
+ "discriminator": {
3516
+ "propertyName": "hasSolarPanels"
3517
+ },
3518
+ "oneOf": [
3519
+ {
3520
+ "properties": {
3521
+ "hasSolarPanels": {
3522
+ "enum": [
3523
+ "No"
3524
+ ]
3525
+ }
3526
+ }
3527
+ },
3528
+ {
3529
+ "properties": {
3530
+ "hasSolarPanels": {
3531
+ "enum": [
3532
+ "Yes"
3533
+ ]
3534
+ },
3535
+ "yearInstalled": {
3536
+ "ta6Ref": "4.6a"
3537
+ },
3538
+ "panelsOwnedOutright": {
3539
+ "ta6Ref": "4.6b",
3540
+ "discriminator": {
3541
+ "propertyName": "yesNo"
3542
+ },
3543
+ "oneOf": [
3544
+ {
3545
+ "properties": {
3546
+ "yesNo": {
3547
+ "enum": [
3548
+ "Yes"
3549
+ ]
3550
+ }
3551
+ }
3552
+ },
3553
+ {
3554
+ "properties": {
3555
+ "yesNo": {
3556
+ "enum": [
3557
+ "No"
3558
+ ]
3559
+ }
3560
+ }
3561
+ }
3562
+ ],
3563
+ "required": [
3564
+ "yesNo"
3565
+ ],
3566
+ "properties": {
3567
+ "yesNo": {
3568
+ "ta6Ref": "4.6b1"
3569
+ }
3570
+ }
3571
+ },
3572
+ "panelProviderLease": {
3573
+ "ta6Ref": "4.6c",
3574
+ "discriminator": {
3575
+ "propertyName": "yesNo"
3576
+ },
3577
+ "oneOf": [
3578
+ {
3579
+ "properties": {
3580
+ "yesNo": {
3581
+ "enum": [
3582
+ "No"
3583
+ ]
3584
+ }
3585
+ }
3586
+ },
3587
+ {
3588
+ "properties": {
3589
+ "yesNo": {
3590
+ "enum": [
3591
+ "Yes"
3592
+ ]
3593
+ },
3594
+ "attachments": {
3595
+ "ta6Ref": "4.6c2"
3596
+ }
3597
+ },
3598
+ "required": [
3599
+ "attachments"
3600
+ ]
3601
+ }
3602
+ ],
3603
+ "required": [
3604
+ "yesNo"
3605
+ ],
3606
+ "properties": {
3607
+ "yesNo": {
3608
+ "ta6Ref": "4.6c1"
3609
+ }
3610
+ }
3611
+ }
3612
+ },
3613
+ "required": [
3614
+ "yearInstalled",
3615
+ "panelsOwnedOutright",
3616
+ "panelProviderLease"
3617
+ ]
3618
+ }
3619
+ ],
3620
+ "required": [
3621
+ "hasSolarPanels"
3622
+ ],
3623
+ "properties": {
3624
+ "hasSolarPanels": {
3625
+ "ta6Ref": "4.6"
3626
+ }
3627
+ }
3628
+ },
3629
+ "electricityMeterLocation": {
3630
+ "ta6Ref": "13.1b",
3631
+ "properties": {
3632
+ "description": {
3633
+ "ta6Ref": "13.1b1"
3634
+ }
3635
+ }
3636
+ },
3637
+ "gasMeterLocation": {
3638
+ "ta6Ref": "13.2b",
3639
+ "properties": {
3640
+ "description": {
3641
+ "ta6Ref": "13.2b1"
3642
+ }
3643
+ }
3644
+ },
3645
+ "stopcockLocation": {
3646
+ "ta6Ref": "13.3b",
3647
+ "properties": {
3648
+ "description": {
3649
+ "ta6Ref": "13.3b1"
3650
+ }
3651
+ }
3652
+ },
3653
+ "waterMeterLocation": {
3654
+ "ta6Ref": "13.3b",
3655
+ "properties": {
3656
+ "description": {
3657
+ "ta6Ref": "13.3b2"
3658
+ }
3659
+ }
3660
+ }
3661
+ }
3662
+ },
3663
+ "guaranteesWarrantiesAndIndemnityInsurances": {
3664
+ "ta6Ref": "5",
3665
+ "discriminator": {
3666
+ "propertyName": "hasValidGuaranteesOrWarranties"
3667
+ },
3668
+ "oneOf": [
3669
+ {
3670
+ "properties": {
3671
+ "hasValidGuaranteesOrWarranties": {
3672
+ "enum": [
3673
+ "No"
3674
+ ]
3675
+ }
3676
+ }
3677
+ },
3678
+ {
3679
+ "properties": {
3680
+ "hasValidGuaranteesOrWarranties": {
3681
+ "enum": [
3682
+ "Yes"
3683
+ ]
3684
+ },
3685
+ "newHomeWarranty": {
3686
+ "ta6Ref": "5.1a",
3687
+ "discriminator": {
3688
+ "propertyName": "yesNo"
3689
+ },
3690
+ "oneOf": [
3691
+ {
3692
+ "properties": {
3693
+ "yesNo": {
3694
+ "enum": [
3695
+ "No"
3696
+ ]
3697
+ }
3698
+ }
3699
+ },
3700
+ {
3701
+ "properties": {
3702
+ "yesNo": {
3703
+ "enum": [
3704
+ "Yes"
3705
+ ]
3706
+ },
3707
+ "details": {
3708
+ "ta6Ref": "5.1a2"
3709
+ },
3710
+ "attachments": {
3711
+ "ta6Ref": "5.1a3"
3712
+ }
3713
+ },
3714
+ "required": [
3715
+ "attachments"
3716
+ ]
3717
+ }
3718
+ ],
3719
+ "required": [
3720
+ "yesNo"
3721
+ ],
3722
+ "properties": {
3723
+ "yesNo": {
3724
+ "ta6Ref": "5.1a1"
3725
+ }
3726
+ }
3727
+ },
3728
+ "roofingWork": {
3729
+ "ta6Ref": "5.1f",
3730
+ "discriminator": {
3731
+ "propertyName": "yesNo"
3732
+ },
3733
+ "oneOf": [
3734
+ {
3735
+ "properties": {
3736
+ "yesNo": {
3737
+ "enum": [
3738
+ "No"
3739
+ ]
3740
+ }
3741
+ }
3742
+ },
3743
+ {
3744
+ "properties": {
3745
+ "yesNo": {
3746
+ "enum": [
3747
+ "Yes"
3748
+ ]
3749
+ },
3750
+ "attachments": {
3751
+ "ta6Ref": "5.1f2"
3752
+ }
3753
+ },
3754
+ "required": [
3755
+ "attachments"
3756
+ ]
3757
+ }
3758
+ ],
3759
+ "required": [
3760
+ "yesNo"
3761
+ ],
3762
+ "properties": {
3763
+ "yesNo": {
3764
+ "ta6Ref": "5.1f1"
3765
+ }
3766
+ }
3767
+ },
3768
+ "dampProofingTreatment": {
3769
+ "ta6Ref": "5.1b",
3770
+ "discriminator": {
3771
+ "propertyName": "yesNo"
3772
+ },
3773
+ "oneOf": [
3774
+ {
3775
+ "properties": {
3776
+ "yesNo": {
3777
+ "enum": [
3778
+ "No"
3779
+ ]
3780
+ }
3781
+ }
3782
+ },
3783
+ {
3784
+ "properties": {
3785
+ "yesNo": {
3786
+ "enum": [
3787
+ "Yes"
3788
+ ]
3789
+ },
3790
+ "attachments": {
3791
+ "ta6Ref": "5.1b2"
3792
+ }
3793
+ },
3794
+ "required": [
3795
+ "attachments"
3796
+ ]
3797
+ }
3798
+ ],
3799
+ "required": [
3800
+ "yesNo"
3801
+ ],
3802
+ "properties": {
3803
+ "yesNo": {
3804
+ "ta6Ref": "5.1b1"
3805
+ }
3806
+ }
3807
+ },
3808
+ "timberRotOrInfestationTreatment": {
3809
+ "ta6Ref": "5.1c",
3810
+ "discriminator": {
3811
+ "propertyName": "yesNo"
3812
+ },
3813
+ "oneOf": [
3814
+ {
3815
+ "properties": {
3816
+ "yesNo": {
3817
+ "enum": [
3818
+ "No"
3819
+ ]
3820
+ }
3821
+ }
3822
+ },
3823
+ {
3824
+ "properties": {
3825
+ "yesNo": {
3826
+ "enum": [
3827
+ "Yes"
3828
+ ]
3829
+ },
3830
+ "attachments": {
3831
+ "ta6Ref": "5.1c2"
3832
+ }
3833
+ },
3834
+ "required": [
3835
+ "attachments"
3836
+ ]
3837
+ }
3838
+ ],
3839
+ "required": [
3840
+ "yesNo"
3841
+ ],
3842
+ "properties": {
3843
+ "yesNo": {
3844
+ "ta6Ref": "5.1c1"
3845
+ }
3846
+ }
3847
+ },
3848
+ "centralHeatingAndorPlumbing": {
3849
+ "ta6Ref": "5.1g",
3850
+ "discriminator": {
3851
+ "propertyName": "yesNo"
3852
+ },
3853
+ "oneOf": [
3854
+ {
3855
+ "properties": {
3856
+ "yesNo": {
3857
+ "enum": [
3858
+ "No"
3859
+ ]
3860
+ }
3861
+ }
3862
+ },
3863
+ {
3864
+ "properties": {
3865
+ "yesNo": {
3866
+ "enum": [
3867
+ "Yes"
3868
+ ]
3869
+ },
3870
+ "attachments": {
3871
+ "ta6Ref": "5.1g2"
3872
+ }
3873
+ },
3874
+ "required": [
3875
+ "attachments"
3876
+ ]
3877
+ }
3878
+ ],
3879
+ "required": [
3880
+ "yesNo"
3881
+ ],
3882
+ "properties": {
3883
+ "yesNo": {
3884
+ "ta6Ref": "5.1g1"
3885
+ }
3886
+ }
3887
+ },
3888
+ "doubleGlazing": {
3889
+ "ta6Ref": "5.1d",
3890
+ "discriminator": {
3891
+ "propertyName": "yesNo"
3892
+ },
3893
+ "oneOf": [
3894
+ {
3895
+ "properties": {
3896
+ "yesNo": {
3897
+ "enum": [
3898
+ "No"
3899
+ ]
3900
+ }
3901
+ }
3902
+ },
3903
+ {
3904
+ "properties": {
3905
+ "yesNo": {
3906
+ "enum": [
3907
+ "Yes"
3908
+ ]
3909
+ },
3910
+ "attachments": {
3911
+ "ta6Ref": "5.1d2"
3912
+ }
3913
+ },
3914
+ "required": [
3915
+ "attachments"
3916
+ ]
3917
+ }
3918
+ ],
3919
+ "required": [
3920
+ "yesNo"
3921
+ ],
3922
+ "properties": {
3923
+ "yesNo": {
3924
+ "ta6Ref": "5.1d1"
3925
+ }
3926
+ }
3927
+ },
3928
+ "electricalRepairOrInstallation": {
3929
+ "ta6Ref": "5.1e",
3930
+ "discriminator": {
3931
+ "propertyName": "yesNo"
3932
+ },
3933
+ "oneOf": [
3934
+ {
3935
+ "properties": {
3936
+ "yesNo": {
3937
+ "enum": [
3938
+ "No"
3939
+ ]
3940
+ }
3941
+ }
3942
+ },
3943
+ {
3944
+ "properties": {
3945
+ "yesNo": {
3946
+ "enum": [
3947
+ "Yes"
3948
+ ]
3949
+ },
3950
+ "attachments": {
3951
+ "ta6Ref": "5.1e2"
3952
+ }
3953
+ },
3954
+ "required": [
3955
+ "attachments"
3956
+ ]
3957
+ }
3958
+ ],
3959
+ "required": [
3960
+ "yesNo"
3961
+ ],
3962
+ "properties": {
3963
+ "yesNo": {
3964
+ "ta6Ref": "5.1e1"
3965
+ }
3966
+ }
3967
+ },
3968
+ "subsidenceWork": {
3969
+ "ta6Ref": "5.1h",
3970
+ "discriminator": {
3971
+ "propertyName": "yesNo"
3972
+ },
3973
+ "oneOf": [
3974
+ {
3975
+ "properties": {
3976
+ "yesNo": {
3977
+ "enum": [
3978
+ "No"
3979
+ ]
3980
+ }
3981
+ }
3982
+ },
3983
+ {
3984
+ "properties": {
3985
+ "yesNo": {
3986
+ "enum": [
3987
+ "Yes"
3988
+ ]
3989
+ },
3990
+ "attachments": {
3991
+ "ta6Ref": "5.1h2"
3992
+ }
3993
+ },
3994
+ "required": [
3995
+ "attachments"
3996
+ ]
3997
+ }
3998
+ ],
3999
+ "required": [
4000
+ "yesNo"
4001
+ ],
4002
+ "properties": {
4003
+ "yesNo": {
4004
+ "ta6Ref": "5.1h1"
4005
+ }
4006
+ }
4007
+ },
4008
+ "otherGuarantees": {
4009
+ "ta6Ref": "5.1i",
4010
+ "discriminator": {
4011
+ "propertyName": "yesNo"
4012
+ },
4013
+ "oneOf": [
4014
+ {
4015
+ "properties": {
4016
+ "yesNo": {
4017
+ "enum": [
4018
+ "No"
4019
+ ]
4020
+ }
4021
+ }
4022
+ },
4023
+ {
4024
+ "properties": {
4025
+ "yesNo": {
4026
+ "enum": [
4027
+ "Yes"
4028
+ ]
4029
+ },
4030
+ "details": {
4031
+ "ta6Ref": "5.1i2"
4032
+ },
4033
+ "attachments": {
4034
+ "ta6Ref": "5.1i3"
4035
+ }
4036
+ },
4037
+ "required": [
4038
+ "details",
4039
+ "attachments"
4040
+ ]
4041
+ }
4042
+ ],
4043
+ "required": [
4044
+ "yesNo"
4045
+ ],
4046
+ "properties": {
4047
+ "yesNo": {
4048
+ "ta6Ref": "5.1i1"
4049
+ }
4050
+ }
4051
+ },
4052
+ "outstandingClaimsOrApplications": {
4053
+ "ta6Ref": "5.2",
4054
+ "discriminator": {
4055
+ "propertyName": "yesNo"
4056
+ },
4057
+ "oneOf": [
4058
+ {
4059
+ "properties": {
4060
+ "yesNo": {
4061
+ "enum": [
4062
+ "No"
4063
+ ]
4064
+ }
4065
+ }
4066
+ },
4067
+ {
4068
+ "properties": {
4069
+ "yesNo": {
4070
+ "enum": [
4071
+ "Yes"
4072
+ ]
4073
+ },
4074
+ "details": {
4075
+ "ta6Ref": "5.2.2"
4076
+ },
4077
+ "attachments": {
4078
+ "ta6Ref": "5.2.3"
4079
+ }
4080
+ },
4081
+ "required": [
4082
+ "details"
4083
+ ]
4084
+ }
4085
+ ],
4086
+ "required": [
4087
+ "yesNo"
4088
+ ],
4089
+ "properties": {
4090
+ "yesNo": {
4091
+ "ta6Ref": "5.2.1"
4092
+ }
4093
+ }
4094
+ }
4095
+ },
4096
+ "required": [
4097
+ "newHomeWarranty",
4098
+ "roofingWork",
4099
+ "dampProofingTreatment",
4100
+ "timberRotOrInfestationTreatment",
4101
+ "centralHeatingAndorPlumbing",
4102
+ "doubleGlazing",
4103
+ "electricalRepairOrInstallation",
4104
+ "subsidenceWork",
4105
+ "otherGuarantees",
4106
+ "outstandingClaimsOrApplications"
4107
+ ]
4108
+ }
4109
+ ],
4110
+ "required": [
4111
+ "hasValidGuaranteesOrWarranties"
4112
+ ],
4113
+ "properties": {
4114
+ "hasValidGuaranteesOrWarranties": {
4115
+ "ta6Ref": "5.1"
4116
+ }
4117
+ }
4118
+ },
4119
+ "occupiers": {
4120
+ "ta6Ref": "11",
4121
+ "required": [
4122
+ "sellerLivesAtProperty",
4123
+ "othersAged17OrOver"
4124
+ ],
4125
+ "properties": {
4126
+ "sellerLivesAtProperty": {
4127
+ "ta6Ref": "11.1",
4128
+ "required": [
4129
+ "yesNo"
4130
+ ],
4131
+ "properties": {
4132
+ "yesNo": {
4133
+ "ta6Ref": "11.1.1"
4134
+ }
4135
+ }
4136
+ },
4137
+ "othersAged17OrOver": {
4138
+ "ta6Ref": "11.2",
4139
+ "discriminator": {
4140
+ "propertyName": "hasOthersAged17OrOver"
4141
+ },
4142
+ "oneOf": [
4143
+ {
4144
+ "properties": {
4145
+ "hasOthersAged17OrOver": {
4146
+ "enum": [
4147
+ "No"
4148
+ ]
4149
+ }
4150
+ }
4151
+ },
4152
+ {
4153
+ "properties": {
4154
+ "hasOthersAged17OrOver": {
4155
+ "enum": [
4156
+ "Yes"
4157
+ ]
4158
+ },
4159
+ "aged17OrOverNames": {
4160
+ "ta6Ref": "11.3"
4161
+ },
4162
+ "aged17OrOverTenantsOrLodgers": {
4163
+ "ta6Ref": "11.4",
4164
+ "required": [
4165
+ "yesNo"
4166
+ ],
4167
+ "properties": {
4168
+ "yesNo": {
4169
+ "ta6Ref": "11.4.1"
4170
+ }
4171
+ }
4172
+ },
4173
+ "vacantPossession": {
4174
+ "ta6Ref": "11.5",
4175
+ "discriminator": {
4176
+ "propertyName": "soldWithVacantPossession"
4177
+ },
4178
+ "oneOf": [
4179
+ {
4180
+ "properties": {
4181
+ "soldWithVacantPossession": {
4182
+ "enum": [
4183
+ "No"
4184
+ ]
4185
+ }
4186
+ }
4187
+ },
4188
+ {
4189
+ "properties": {
4190
+ "soldWithVacantPossession": {
4191
+ "enum": [
4192
+ "Yes"
4193
+ ]
4194
+ },
4195
+ "aged17OrOverAgreedToLeave": {
4196
+ "ta6Ref": "11.5a",
4197
+ "required": [
4198
+ "yesNo"
4199
+ ],
4200
+ "properties": {
4201
+ "yesNo": {
4202
+ "ta6Ref": "11.5a1"
4203
+ }
4204
+ }
4205
+ },
4206
+ "aged17OrOverWillSignToConfirmWillVacate": {
4207
+ "ta6Ref": "11.5b",
4208
+ "discriminator": {
4209
+ "propertyName": "yesNo"
4210
+ },
4211
+ "oneOf": [
4212
+ {
4213
+ "properties": {
4214
+ "yesNo": {
4215
+ "enum": [
4216
+ "Yes"
4217
+ ]
4218
+ }
4219
+ }
4220
+ },
4221
+ {
4222
+ "properties": {
4223
+ "yesNo": {
4224
+ "enum": [
4225
+ "No"
4226
+ ]
4227
+ },
4228
+ "attachments": {
4229
+ "ta6Ref": "11.5b2"
4230
+ }
4231
+ },
4232
+ "required": [
4233
+ "attachments"
4234
+ ]
4235
+ }
4236
+ ],
4237
+ "required": [
4238
+ "yesNo"
4239
+ ],
4240
+ "properties": {
4241
+ "yesNo": {
4242
+ "ta6Ref": "11.5b1"
4243
+ }
4244
+ }
4245
+ }
4246
+ },
4247
+ "required": [
4248
+ "aged17OrOverAgreedToLeave",
4249
+ "aged17OrOverWillSignToConfirmWillVacate"
4250
+ ]
4251
+ }
4252
+ ],
4253
+ "required": [
4254
+ "soldWithVacantPossession"
4255
+ ],
4256
+ "properties": {
4257
+ "soldWithVacantPossession": {
4258
+ "ta6Ref": "11.5.1"
4259
+ }
4260
+ }
4261
+ }
4262
+ },
4263
+ "required": [
4264
+ "aged17OrOverNames",
4265
+ "aged17OrOverTenantsOrLodgers",
4266
+ "vacantPossession"
4267
+ ]
4268
+ }
4269
+ ],
4270
+ "required": [
4271
+ "hasOthersAged17OrOver"
4272
+ ],
4273
+ "properties": {
4274
+ "hasOthersAged17OrOver": {
4275
+ "ta6Ref": "11.2.1"
4276
+ }
4277
+ }
4278
+ }
4279
+ }
4280
+ },
4281
+ "completionAndMoving": {
4282
+ "ta6Ref": "14",
4283
+ "required": [
4284
+ "sellerWillEnsure",
4285
+ "otherPropertyInChain",
4286
+ "moveRestrictionDates",
4287
+ "sufficientToRepayAllMortgages"
4288
+ ],
4289
+ "properties": {
4290
+ "sellerWillEnsure": {
4291
+ "ta6Ref": "14.4",
4292
+ "properties": {
4293
+ "removeRubbish": {
4294
+ "ta6Ref": "14.4a"
4295
+ },
4296
+ "replaceLightFittings": {
4297
+ "ta6Ref": "14.4b"
4298
+ },
4299
+ "takeReasonableCare": {
4300
+ "ta6Ref": "14.4c"
4301
+ },
4302
+ "leaveKeys": {
4303
+ "ta6Ref": "14.4d"
4304
+ }
4305
+ }
4306
+ },
4307
+ "otherPropertyInChain": {
4308
+ "ta6Ref": "14.1",
4309
+ "discriminator": {
4310
+ "propertyName": "yesNo"
4311
+ },
4312
+ "oneOf": [
4313
+ {
4314
+ "properties": {
4315
+ "yesNo": {
4316
+ "enum": [
4317
+ "No"
4318
+ ]
4319
+ }
4320
+ }
4321
+ },
4322
+ {
4323
+ "properties": {
4324
+ "yesNo": {
4325
+ "enum": [
4326
+ "Yes"
4327
+ ]
4328
+ }
4329
+ }
4330
+ }
4331
+ ],
4332
+ "required": [
4333
+ "yesNo"
4334
+ ],
4335
+ "properties": {
4336
+ "yesNo": {
4337
+ "ta6Ref": "14.1.1"
4338
+ }
4339
+ }
4340
+ },
4341
+ "moveRestrictionDates": {
4342
+ "ta6Ref": "14.2",
4343
+ "discriminator": {
4344
+ "propertyName": "yesNo"
4345
+ },
4346
+ "oneOf": [
4347
+ {
4348
+ "properties": {
4349
+ "yesNo": {
4350
+ "enum": [
4351
+ "No"
4352
+ ]
4353
+ }
4354
+ }
4355
+ },
4356
+ {
4357
+ "properties": {
4358
+ "yesNo": {
4359
+ "enum": [
4360
+ "Yes"
4361
+ ]
4362
+ },
4363
+ "details": {
4364
+ "ta6Ref": "14.2.2"
4365
+ }
4366
+ },
4367
+ "required": [
4368
+ "details"
4369
+ ]
4370
+ }
4371
+ ],
4372
+ "required": [
4373
+ "yesNo"
4374
+ ],
4375
+ "properties": {
4376
+ "yesNo": {
4377
+ "ta6Ref": "14.2.1"
4378
+ }
4379
+ }
4380
+ },
4381
+ "sufficientToRepayAllMortgages": {
4382
+ "ta6Ref": "14.3",
4383
+ "required": [
4384
+ "yesNo"
4385
+ ],
4386
+ "properties": {
4387
+ "yesNo": {
4388
+ "ta6Ref": "14.3.1"
4389
+ }
4390
+ }
4391
+ }
4392
+ }
4393
+ },
4394
+ "confirmationOfAccuracyByOwners": {
4395
+ "ta6Ref": "14.5",
4396
+ "required": [
4397
+ "confirmInformationIsAccurate"
4398
+ ],
4399
+ "properties": {
4400
+ "confirmInformationIsAccurate": {
4401
+ "ta6Ref": "14.5.1"
4402
+ }
4403
+ }
4404
+ }
4405
+ }
4406
+ }
4407
+ }
4408
+ }
4409
+ }
4410
+ }