@pdtf/schemas 3.6.0-9 → 3.6.0-dev.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 (85) hide show
  1. package/README.md +57 -33
  2. package/docs/branch-release-workflow.md +138 -0
  3. package/docs/sef25-extensions-ui-spec.md +355 -0
  4. package/index.js +131 -75
  5. package/package.json +14 -2
  6. package/src/schemas/v3/combined.json +7952 -1721
  7. package/src/schemas/v3/compactSkeleton.txt +379 -5
  8. package/src/schemas/v3/overlays/baspi4.json +205 -93
  9. package/src/schemas/v3/overlays/baspi5.json +210 -95
  10. package/src/schemas/v3/overlays/extensions/ac.json +334 -0
  11. package/src/schemas/v3/overlays/extensions/as.json +4 -2
  12. package/src/schemas/v3/overlays/extensions/dk.json +33 -0
  13. package/src/schemas/v3/overlays/extensions/dr.json +9 -9
  14. package/src/schemas/v3/overlays/extensions/er.json +4 -2
  15. package/src/schemas/v3/overlays/extensions/fd.json +6 -3
  16. package/src/schemas/v3/overlays/extensions/hi.json +6 -3
  17. package/src/schemas/v3/overlays/extensions/hs.json +4 -2
  18. package/src/schemas/v3/overlays/extensions/ic.json +94 -0
  19. package/src/schemas/v3/overlays/extensions/jk.json +28 -8
  20. package/src/schemas/v3/overlays/extensions/la.json +4 -2
  21. package/src/schemas/v3/overlays/extensions/lc.json +76 -0
  22. package/src/schemas/v3/overlays/extensions/ma.json +6 -3
  23. package/src/schemas/v3/overlays/extensions/mc.json +4 -2
  24. package/src/schemas/v3/overlays/extensions/mi.json +70 -0
  25. package/src/schemas/v3/overlays/extensions/nd.json +44 -0
  26. package/src/schemas/v3/overlays/extensions/oa.json +4 -2
  27. package/src/schemas/v3/overlays/extensions/oc.json +4 -2
  28. package/src/schemas/v3/overlays/extensions/pc.json +38 -0
  29. package/src/schemas/v3/overlays/extensions/ph.json +195 -0
  30. package/src/schemas/v3/overlays/extensions/rw.json +69 -0
  31. package/src/schemas/v3/overlays/extensions/sb.json +4 -2
  32. package/src/schemas/v3/overlays/extensions/sc.json +133 -0
  33. package/src/schemas/v3/overlays/extensions/sd.json +64 -0
  34. package/src/schemas/v3/overlays/extensions/sf.json +4 -2
  35. package/src/schemas/v3/overlays/extensions/sl.json +4 -2
  36. package/src/schemas/v3/overlays/extensions/ta.json +204 -0
  37. package/src/schemas/v3/overlays/extensions/tf.json +6 -3
  38. package/src/schemas/v3/overlays/extensions/tr.json +74 -0
  39. package/src/schemas/v3/overlays/extensions/wg.json +351 -0
  40. package/src/schemas/v3/overlays/fme1.json +16 -14
  41. package/src/schemas/v3/overlays/llc1.json +1 -2
  42. package/src/schemas/v3/overlays/lpe1.json +61 -31
  43. package/src/schemas/v3/overlays/nts.json +71 -2
  44. package/src/schemas/v3/overlays/nts2.json +71 -5
  45. package/src/schemas/v3/overlays/ntsl.json +71 -2
  46. package/src/schemas/v3/overlays/ntsl2.json +71 -5
  47. package/src/schemas/v3/overlays/piq.json +60 -27
  48. package/src/schemas/v3/overlays/rds.json +139 -57
  49. package/src/schemas/v3/overlays/sef25.json +1653 -0
  50. package/src/schemas/v3/overlays/ta10.json +0 -9
  51. package/src/schemas/v3/overlays/ta6.json +83 -85
  52. package/src/schemas/v3/overlays/ta6ed6.json +6641 -0
  53. package/src/schemas/v3/overlays/ta7.json +70 -6
  54. package/src/schemas/v3/overlays/ta7ed5.json +1597 -0
  55. package/src/schemas/v3/pdtf-transaction.json +4525 -1013
  56. package/src/schemas/v3/skeleton.json +512 -40
  57. package/src/utils/extractExtensionOverlays.js +302 -31
  58. package/src/utils/extractOverlay.js +114 -27
  59. package/src/utils/pathSkeleton.js +1 -1
  60. package/.claude/settings.local.json +0 -42
  61. package/.github/workflows/pages.yml +0 -50
  62. package/CNAME +0 -1
  63. package/_config.yml +0 -1
  64. package/src/examples/v1/exampleAddParticipantVouch.json +0 -32
  65. package/src/examples/v1/exampleDocumentedVouch.json +0 -40
  66. package/src/examples/v1/exampleElectronicRecord.json +0 -30
  67. package/src/examples/v1/exampleTransaction.json +0 -878
  68. package/src/examples/v1/exampleVouch.json +0 -25
  69. package/src/examples/v2/exampleTransaction.json +0 -901
  70. package/src/examples/v3/exampleAddParticipantVouch.json +0 -38
  71. package/src/examples/v3/exampleCustomOverlay.json +0 -55
  72. package/src/examples/v3/exampleCustomOverlay2.json +0 -93
  73. package/src/examples/v3/exampleDocumentedVouch.json +0 -47
  74. package/src/examples/v3/exampleElectronicRecord.json +0 -36
  75. package/src/examples/v3/exampleTransaction.json +0 -1038
  76. package/src/examples/v3/exampleVouch.json +0 -32
  77. package/src/mappings/SendPropertyDetailsRequestSchema.json +0 -1588
  78. package/src/mappings/adf.js +0 -198
  79. package/src/tests/v3/caching.test.js +0 -591
  80. package/src/tests/v3/enquiries.test.js +0 -1096
  81. package/src/tests/v3/extensionOverlays.test.js +0 -525
  82. package/src/tests/v3/offers.test.js +0 -823
  83. package/src/tests/v3/patternProperties.test.js +0 -688
  84. package/src/tests/v3/transactionSchema.test.js +0 -615
  85. package/src/tests/v3/verifiedClaimsValidator.test.js +0 -195
@@ -0,0 +1,1597 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://trust.propdata.org.uk/schemas/v3/overlays/ta7ed5.json",
4
+ "properties": {
5
+ "propertyPack": {
6
+ "required": [
7
+ "address",
8
+ "ownership"
9
+ ],
10
+ "properties": {
11
+ "address": {
12
+ "ta7ed5Ref": "1.1",
13
+ "title": "Address of the property",
14
+ "properties": {
15
+ "line1": {
16
+ "ta7ed5Ref": "1.1.1"
17
+ },
18
+ "line2": {
19
+ "ta7ed5Ref": "1.1.1"
20
+ },
21
+ "line3": {
22
+ "ta7ed5Ref": "1.1.1"
23
+ },
24
+ "town": {
25
+ "ta7ed5Ref": "1.1.1"
26
+ },
27
+ "postcode": {
28
+ "ta7ed5Ref": "1.1.2"
29
+ }
30
+ }
31
+ },
32
+ "uprn": {
33
+ "ta7ed5Ref": "1.1.3",
34
+ "title": "UPRN (if known)"
35
+ },
36
+ "ownership": {
37
+ "ta7ed5Ref": "2",
38
+ "required": [
39
+ "ownershipsToBeTransferred"
40
+ ],
41
+ "properties": {
42
+ "ownershipsToBeTransferred": {
43
+ "ta7ed5Ref": "2",
44
+ "items": {
45
+ "discriminator": {
46
+ "propertyName": "ownershipType"
47
+ },
48
+ "oneOf": [
49
+ {
50
+ "properties": {
51
+ "ownershipType": {
52
+ "enum": [
53
+ "Freehold"
54
+ ]
55
+ }
56
+ }
57
+ },
58
+ {
59
+ "properties": {
60
+ "ownershipType": {
61
+ "enum": [
62
+ "Managed Freehold",
63
+ "Commonhold"
64
+ ]
65
+ }
66
+ }
67
+ },
68
+ {
69
+ "properties": {
70
+ "ownershipType": {
71
+ "enum": [
72
+ "Leasehold"
73
+ ]
74
+ },
75
+ "leaseholdInformation": {
76
+ "ta7ed5Ref": "2",
77
+ "required": [
78
+ "typeOfLeasehold",
79
+ "contactDetails",
80
+ "consents",
81
+ "groundRent",
82
+ "ownershipAndManagement",
83
+ "serviceCharge",
84
+ "disputes",
85
+ "buildingSafetyAct",
86
+ "enfranchisement",
87
+ "requiredDocuments",
88
+ "additionalInformation",
89
+ "confirmationOfAccuracy"
90
+ ],
91
+ "properties": {
92
+ "typeOfLeasehold": {
93
+ "ta7ed5Ref": "2.1",
94
+ "discriminator": {
95
+ "propertyName": "leaseholdType"
96
+ },
97
+ "oneOf": [
98
+ {
99
+ "properties": {
100
+ "leaseholdType": {
101
+ "enum": [
102
+ "Flat",
103
+ "Shared ownership",
104
+ "Long leasehold house",
105
+ "Maisonette",
106
+ "Leasehold garage"
107
+ ]
108
+ }
109
+ }
110
+ },
111
+ {
112
+ "properties": {
113
+ "leaseholdType": {
114
+ "enum": [
115
+ "Other"
116
+ ]
117
+ },
118
+ "otherLeaseholdType": {
119
+ "ta7ed5Ref": "2.1.2"
120
+ }
121
+ },
122
+ "required": [
123
+ "otherLeaseholdType"
124
+ ]
125
+ }
126
+ ],
127
+ "required": [
128
+ "leaseholdType"
129
+ ],
130
+ "properties": {
131
+ "leaseholdType": {
132
+ "ta7ed5Ref": "2.1.1",
133
+ "title": "What is the type of property included in the lease?"
134
+ }
135
+ }
136
+ },
137
+ "contactDetails": {
138
+ "ta7ed5Ref": "3",
139
+ "required": [
140
+ "contacts",
141
+ "serviceContactAssignments"
142
+ ],
143
+ "title": "Contact details",
144
+ "properties": {
145
+ "contacts": {
146
+ "ta7ed5Ref": "3",
147
+ "properties": {
148
+ "landlord": {
149
+ "ta7ed5Ref": "3.1.1",
150
+ "properties": {
151
+ "contact": {
152
+ "ta7ed5Ref": "3.1.1",
153
+ "properties": {
154
+ "nameOrOrganisation": {
155
+ "ta7ed5Ref": "3.1.1.1",
156
+ "title": "Name"
157
+ },
158
+ "address": {
159
+ "ta7ed5Ref": "3.1.1.2",
160
+ "properties": {
161
+ "line1": {
162
+ "ta7ed5Ref": "3.1.1.2"
163
+ },
164
+ "postcode": {
165
+ "ta7ed5Ref": "3.1.1.2"
166
+ }
167
+ }
168
+ },
169
+ "emailAddress": {
170
+ "ta7ed5Ref": "3.1.1.3",
171
+ "title": "Email"
172
+ }
173
+ }
174
+ }
175
+ }
176
+ },
177
+ "managementCompany": {
178
+ "ta7ed5Ref": "3.1.2",
179
+ "title": "Management company",
180
+ "properties": {
181
+ "contact": {
182
+ "ta7ed5Ref": "3.1.2",
183
+ "properties": {
184
+ "nameOrOrganisation": {
185
+ "ta7ed5Ref": "3.1.2.1",
186
+ "title": "Name"
187
+ },
188
+ "address": {
189
+ "ta7ed5Ref": "3.1.2.2",
190
+ "properties": {
191
+ "line1": {
192
+ "ta7ed5Ref": "3.1.2.2"
193
+ },
194
+ "postcode": {
195
+ "ta7ed5Ref": "3.1.2.2"
196
+ }
197
+ }
198
+ },
199
+ "emailAddress": {
200
+ "ta7ed5Ref": "3.1.2.3",
201
+ "title": "Email"
202
+ }
203
+ }
204
+ }
205
+ }
206
+ },
207
+ "rightToManageCompany": {
208
+ "ta7ed5Ref": "3.1.3",
209
+ "properties": {
210
+ "contact": {
211
+ "ta7ed5Ref": "3.1.3",
212
+ "properties": {
213
+ "nameOrOrganisation": {
214
+ "ta7ed5Ref": "3.1.3.1",
215
+ "title": "Name"
216
+ },
217
+ "address": {
218
+ "ta7ed5Ref": "3.1.3.2",
219
+ "properties": {
220
+ "line1": {
221
+ "ta7ed5Ref": "3.1.3.2"
222
+ },
223
+ "postcode": {
224
+ "ta7ed5Ref": "3.1.3.2"
225
+ }
226
+ }
227
+ },
228
+ "emailAddress": {
229
+ "ta7ed5Ref": "3.1.3.3",
230
+ "title": "Email"
231
+ }
232
+ }
233
+ }
234
+ }
235
+ },
236
+ "freeholder": {
237
+ "ta7ed5Ref": "3.1.4",
238
+ "properties": {
239
+ "contact": {
240
+ "ta7ed5Ref": "3.1.4",
241
+ "properties": {
242
+ "nameOrOrganisation": {
243
+ "ta7ed5Ref": "3.1.4.1",
244
+ "title": "Name"
245
+ },
246
+ "address": {
247
+ "ta7ed5Ref": "3.1.4.2",
248
+ "properties": {
249
+ "line1": {
250
+ "ta7ed5Ref": "3.1.4.2"
251
+ },
252
+ "postcode": {
253
+ "ta7ed5Ref": "3.1.4.2"
254
+ }
255
+ }
256
+ },
257
+ "emailAddress": {
258
+ "ta7ed5Ref": "3.1.4.3",
259
+ "title": "Email"
260
+ }
261
+ }
262
+ }
263
+ }
264
+ },
265
+ "headLeaseHolder": {
266
+ "ta7ed5Ref": "3.1.5",
267
+ "properties": {
268
+ "contact": {
269
+ "ta7ed5Ref": "3.1.5",
270
+ "properties": {
271
+ "nameOrOrganisation": {
272
+ "ta7ed5Ref": "3.1.5.1",
273
+ "title": "Name"
274
+ },
275
+ "address": {
276
+ "ta7ed5Ref": "3.1.5.2",
277
+ "properties": {
278
+ "line1": {
279
+ "ta7ed5Ref": "3.1.5.2"
280
+ },
281
+ "postcode": {
282
+ "ta7ed5Ref": "3.1.5.2"
283
+ }
284
+ }
285
+ },
286
+ "emailAddress": {
287
+ "ta7ed5Ref": "3.1.5.3",
288
+ "title": "Email"
289
+ }
290
+ }
291
+ }
292
+ }
293
+ },
294
+ "managingAgent": {
295
+ "ta7ed5Ref": "4.1",
296
+ "required": [
297
+ "contact"
298
+ ],
299
+ "properties": {
300
+ "contact": {
301
+ "ta7ed5Ref": "4.1.2",
302
+ "required": [
303
+ "nameOrOrganisation",
304
+ "address",
305
+ "emailAddress"
306
+ ],
307
+ "properties": {
308
+ "nameOrOrganisation": {
309
+ "ta7ed5Ref": "4.1.2.1",
310
+ "title": "Name"
311
+ },
312
+ "address": {
313
+ "ta7ed5Ref": "4.1.2.2",
314
+ "properties": {
315
+ "line1": {
316
+ "ta7ed5Ref": "4.1.2.2"
317
+ },
318
+ "postcode": {
319
+ "ta7ed5Ref": "4.1.2.2"
320
+ }
321
+ }
322
+ },
323
+ "emailAddress": {
324
+ "ta7ed5Ref": "4.1.2.3",
325
+ "title": "Email"
326
+ }
327
+ }
328
+ }
329
+ }
330
+ }
331
+ }
332
+ },
333
+ "serviceContactAssignments": {
334
+ "ta7ed5Ref": "4",
335
+ "required": [
336
+ "collectsGroundRent",
337
+ "collectsbuildingInsurancePremiums"
338
+ ],
339
+ "properties": {
340
+ "collectsGroundRent": {
341
+ "ta7ed5Ref": "4.3",
342
+ "discriminator": {
343
+ "propertyName": "collector"
344
+ },
345
+ "oneOf": [
346
+ {
347
+ "properties": {
348
+ "collector": {
349
+ "enum": [
350
+ "Landlord",
351
+ "Management Company",
352
+ "Managing Agent",
353
+ "Not applicable"
354
+ ]
355
+ }
356
+ }
357
+ },
358
+ {
359
+ "properties": {
360
+ "collector": {
361
+ "enum": [
362
+ "Other"
363
+ ]
364
+ },
365
+ "otherCollector": {
366
+ "ta7ed5Ref": "4.3.3"
367
+ }
368
+ },
369
+ "required": [
370
+ "otherCollector"
371
+ ]
372
+ }
373
+ ],
374
+ "required": [
375
+ "collector"
376
+ ],
377
+ "title": "If ground rent is payable, is it collected by the managing agent?",
378
+ "properties": {
379
+ "collector": {
380
+ "ta7ed5Ref": "4.3.2",
381
+ "title": "Who collects the ground rent?",
382
+ "enum": [
383
+ "Landlord",
384
+ "Management Company",
385
+ "Other"
386
+ ]
387
+ }
388
+ }
389
+ },
390
+ "collectsbuildingInsurancePremiums": {
391
+ "ta7ed5Ref": "4.2",
392
+ "discriminator": {
393
+ "propertyName": "collector"
394
+ },
395
+ "oneOf": [
396
+ {
397
+ "properties": {
398
+ "collector": {
399
+ "enum": [
400
+ "Freeholder",
401
+ "Landlord",
402
+ "Management Company",
403
+ "Managing Agent",
404
+ "Head Leaseholder",
405
+ "Seller",
406
+ "Not applicable"
407
+ ]
408
+ }
409
+ }
410
+ },
411
+ {
412
+ "properties": {
413
+ "collector": {
414
+ "enum": [
415
+ "Other"
416
+ ]
417
+ },
418
+ "otherCollector": {
419
+ "ta7ed5Ref": "4.2.3"
420
+ }
421
+ },
422
+ "required": [
423
+ "otherCollector"
424
+ ]
425
+ }
426
+ ],
427
+ "required": [
428
+ "collector"
429
+ ],
430
+ "title": "Does the managing agent arrange or collect charges for the insurance of the building?",
431
+ "properties": {
432
+ "collector": {
433
+ "ta7ed5Ref": "4.2.2",
434
+ "enum": [
435
+ "Managing Agent",
436
+ "Freeholder",
437
+ "Landlord",
438
+ "Management Company",
439
+ "Head Leaseholder",
440
+ "Seller",
441
+ "Not applicable",
442
+ "Other"
443
+ ],
444
+ "enumNames": [
445
+ "Yes",
446
+ "Freeholder",
447
+ "Landlord",
448
+ "Management Company",
449
+ "Head Leaseholder",
450
+ "Seller",
451
+ "Not applicable",
452
+ "Other"
453
+ ]
454
+ }
455
+ }
456
+ }
457
+ }
458
+ }
459
+ }
460
+ },
461
+ "consents": {
462
+ "ta7ed5Ref": "8",
463
+ "required": [
464
+ "changesInTermOfLease",
465
+ "landlordConsents"
466
+ ],
467
+ "properties": {
468
+ "changesInTermOfLease": {
469
+ "ta7ed5Ref": "8.1",
470
+ "discriminator": {
471
+ "propertyName": "isSellerAwareOfChanges"
472
+ },
473
+ "oneOf": [
474
+ {
475
+ "properties": {
476
+ "isSellerAwareOfChanges": {
477
+ "enum": [
478
+ "No"
479
+ ]
480
+ }
481
+ }
482
+ },
483
+ {
484
+ "properties": {
485
+ "isSellerAwareOfChanges": {
486
+ "enum": [
487
+ "Yes"
488
+ ]
489
+ },
490
+ "details": {
491
+ "ta7ed5Ref": "8.1.2",
492
+ "title": "Please supply further details and any documents relating to the variation"
493
+ },
494
+ "attachments": {
495
+ "ta7ed5Ref": "8.1.3"
496
+ }
497
+ },
498
+ "required": [
499
+ "details"
500
+ ]
501
+ }
502
+ ],
503
+ "required": [
504
+ "isSellerAwareOfChanges"
505
+ ],
506
+ "title": "Are you aware of any changes to the terms of the lease?",
507
+ "properties": {
508
+ "isSellerAwareOfChanges": {
509
+ "ta7ed5Ref": "8.1.1"
510
+ }
511
+ }
512
+ },
513
+ "landlordConsents": {
514
+ "ta7ed5Ref": "8.2",
515
+ "discriminator": {
516
+ "propertyName": "isSellerAwareOfLandlordConsents"
517
+ },
518
+ "oneOf": [
519
+ {
520
+ "properties": {
521
+ "isSellerAwareOfLandlordConsents": {
522
+ "enum": [
523
+ "No"
524
+ ]
525
+ }
526
+ }
527
+ },
528
+ {
529
+ "properties": {
530
+ "isSellerAwareOfLandlordConsents": {
531
+ "enum": [
532
+ "Yes"
533
+ ]
534
+ },
535
+ "details": {
536
+ "ta7ed5Ref": "8.2.2"
537
+ },
538
+ "attachments": {
539
+ "ta7ed5Ref": "8.2.3"
540
+ }
541
+ },
542
+ "required": [
543
+ "details",
544
+ "attachments"
545
+ ]
546
+ }
547
+ ],
548
+ "required": [
549
+ "isSellerAwareOfLandlordConsents"
550
+ ],
551
+ "properties": {
552
+ "isSellerAwareOfLandlordConsents": {
553
+ "ta7ed5Ref": "8.2.1"
554
+ }
555
+ }
556
+ }
557
+ }
558
+ },
559
+ "groundRent": {
560
+ "ta7ed5Ref": "2.2",
561
+ "discriminator": {
562
+ "propertyName": "isGroundRentPayable"
563
+ },
564
+ "oneOf": [
565
+ {
566
+ "properties": {
567
+ "isGroundRentPayable": {
568
+ "enum": [
569
+ "No"
570
+ ]
571
+ }
572
+ }
573
+ },
574
+ {
575
+ "properties": {
576
+ "isGroundRentPayable": {
577
+ "enum": [
578
+ "Yes"
579
+ ]
580
+ },
581
+ "mostRecentGroundRentDemandStatus": {
582
+ "ta7ed5Ref": "2.2a",
583
+ "title": "Ground rent"
584
+ }
585
+ },
586
+ "required": [
587
+ "mostRecentGroundRentDemandStatus"
588
+ ]
589
+ }
590
+ ],
591
+ "required": [
592
+ "isGroundRentPayable"
593
+ ],
594
+ "properties": {
595
+ "isGroundRentPayable": {
596
+ "ta7ed5Ref": "2.2"
597
+ }
598
+ }
599
+ },
600
+ "ownershipAndManagement": {
601
+ "ta7ed5Ref": "4",
602
+ "discriminator": {
603
+ "propertyName": "hasTenantCompanyDissolved"
604
+ },
605
+ "oneOf": [
606
+ {
607
+ "properties": {
608
+ "hasTenantCompanyDissolved": {
609
+ "enum": [
610
+ "No",
611
+ "Not applicable"
612
+ ]
613
+ }
614
+ }
615
+ },
616
+ {
617
+ "properties": {
618
+ "hasTenantCompanyDissolved": {
619
+ "enum": [
620
+ "Yes"
621
+ ]
622
+ },
623
+ "hasTenantCompanyDissolvedDetails": {
624
+ "ta7ed5Ref": "4.5.2"
625
+ }
626
+ },
627
+ "required": [
628
+ "hasTenantCompanyDissolvedDetails"
629
+ ]
630
+ }
631
+ ],
632
+ "required": [
633
+ "isManagingAgentEmployed",
634
+ "sellerOwnership",
635
+ "hasTenantCompanyDissolved"
636
+ ],
637
+ "properties": {
638
+ "isManagingAgentEmployed": {
639
+ "ta7ed5Ref": "4.1.1",
640
+ "title": "Is a managing agent appointed to manage the building and collect service charges?",
641
+ "enum": [
642
+ "Yes",
643
+ "No",
644
+ "Not applicable"
645
+ ]
646
+ },
647
+ "sellerOwnership": {
648
+ "ta7ed5Ref": "4.4",
649
+ "discriminator": {
650
+ "propertyName": "yesNo"
651
+ },
652
+ "oneOf": [
653
+ {
654
+ "properties": {
655
+ "yesNo": {
656
+ "enum": [
657
+ "No",
658
+ "Not known"
659
+ ]
660
+ }
661
+ }
662
+ },
663
+ {
664
+ "properties": {
665
+ "yesNo": {
666
+ "enum": [
667
+ "Yes"
668
+ ]
669
+ },
670
+ "attachments": {
671
+ "ta7ed5Ref": "4.4.2",
672
+ "title": "Supply evidence of your ownership or share certificate for membership of the organisation that is responsible for the management of the building."
673
+ }
674
+ },
675
+ "required": [
676
+ "attachments"
677
+ ]
678
+ }
679
+ ],
680
+ "required": [
681
+ "yesNo"
682
+ ],
683
+ "properties": {
684
+ "yesNo": {
685
+ "ta7ed5Ref": "4.4.1"
686
+ }
687
+ }
688
+ },
689
+ "hasTenantCompanyDissolved": {
690
+ "ta7ed5Ref": "4.5.1",
691
+ "title": "Are you aware of any company responsible for managing the building having been dissolved or struck off the register at Companies House?",
692
+ "enum": [
693
+ "Yes",
694
+ "No",
695
+ "Not applicable"
696
+ ]
697
+ }
698
+ }
699
+ },
700
+ "serviceCharge": {
701
+ "ta7ed5Ref": "2.2",
702
+ "discriminator": {
703
+ "propertyName": "sellerContributesToServiceCharge"
704
+ },
705
+ "oneOf": [
706
+ {
707
+ "properties": {
708
+ "sellerContributesToServiceCharge": {
709
+ "enum": [
710
+ "No"
711
+ ]
712
+ }
713
+ }
714
+ },
715
+ {
716
+ "properties": {
717
+ "sellerContributesToServiceCharge": {
718
+ "enum": [
719
+ "Yes"
720
+ ]
721
+ },
722
+ "mostRecentServiceChargeDemandStatus": {
723
+ "ta7ed5Ref": "2.2b",
724
+ "title": "Service charge"
725
+ },
726
+ "largeAdditionalExpense": {
727
+ "ta7ed5Ref": "5.4",
728
+ "discriminator": {
729
+ "propertyName": "yesNo"
730
+ },
731
+ "oneOf": [
732
+ {
733
+ "properties": {
734
+ "yesNo": {
735
+ "enum": [
736
+ "No"
737
+ ]
738
+ }
739
+ }
740
+ },
741
+ {
742
+ "properties": {
743
+ "yesNo": {
744
+ "enum": [
745
+ "Yes"
746
+ ]
747
+ },
748
+ "details": {
749
+ "ta7ed5Ref": "5.4.2",
750
+ "title": "Please give details"
751
+ }
752
+ },
753
+ "required": [
754
+ "details"
755
+ ]
756
+ }
757
+ ],
758
+ "required": [
759
+ "yesNo"
760
+ ],
761
+ "title": "Do you know of any expense (e.g. the cost of redecoration of outside or communal areas that is not usually incurred annually) that is likely to be shown in the service charge accounts within the next three years?",
762
+ "properties": {
763
+ "yesNo": {
764
+ "ta7ed5Ref": "5.4.1"
765
+ }
766
+ }
767
+ },
768
+ "problemInServiceChargeLevel": {
769
+ "ta7ed5Ref": "5.6",
770
+ "discriminator": {
771
+ "propertyName": "yesNo"
772
+ },
773
+ "oneOf": [
774
+ {
775
+ "properties": {
776
+ "yesNo": {
777
+ "enum": [
778
+ "No"
779
+ ]
780
+ }
781
+ }
782
+ },
783
+ {
784
+ "properties": {
785
+ "yesNo": {
786
+ "enum": [
787
+ "Yes"
788
+ ]
789
+ },
790
+ "details": {
791
+ "ta7ed5Ref": "5.6.2"
792
+ }
793
+ },
794
+ "required": [
795
+ "details"
796
+ ]
797
+ }
798
+ ],
799
+ "required": [
800
+ "yesNo"
801
+ ],
802
+ "title": "Do you know of any issues in the last three years regarding the level of service charges or with the management?",
803
+ "properties": {
804
+ "yesNo": {
805
+ "ta7ed5Ref": "5.6.1"
806
+ }
807
+ }
808
+ },
809
+ "serviceChargeChallenged": {
810
+ "ta7ed5Ref": "5.5",
811
+ "discriminator": {
812
+ "propertyName": "yesNo"
813
+ },
814
+ "oneOf": [
815
+ {
816
+ "properties": {
817
+ "yesNo": {
818
+ "enum": [
819
+ "No"
820
+ ]
821
+ }
822
+ }
823
+ },
824
+ {
825
+ "properties": {
826
+ "yesNo": {
827
+ "enum": [
828
+ "Yes"
829
+ ]
830
+ },
831
+ "details": {
832
+ "ta7ed5Ref": "5.5.2"
833
+ }
834
+ },
835
+ "required": [
836
+ "details"
837
+ ]
838
+ }
839
+ ],
840
+ "required": [
841
+ "yesNo"
842
+ ],
843
+ "title": "Have you challenged the service charge or any expense in the last three years?",
844
+ "properties": {
845
+ "yesNo": {
846
+ "ta7ed5Ref": "5.5.1"
847
+ }
848
+ }
849
+ },
850
+ "dangerousCladdingOrDefects": {
851
+ "ta7ed5Ref": "11.1",
852
+ "discriminator": {
853
+ "propertyName": "yesNo"
854
+ },
855
+ "oneOf": [
856
+ {
857
+ "properties": {
858
+ "yesNo": {
859
+ "enum": [
860
+ "No"
861
+ ]
862
+ }
863
+ }
864
+ },
865
+ {
866
+ "properties": {
867
+ "yesNo": {
868
+ "enum": [
869
+ "Yes"
870
+ ]
871
+ },
872
+ "details": {
873
+ "ta7ed5Ref": "11.1.2"
874
+ }
875
+ },
876
+ "required": [
877
+ "details"
878
+ ]
879
+ }
880
+ ],
881
+ "required": [
882
+ "yesNo"
883
+ ],
884
+ "title": "Are you aware of the existence or suspected existence in the building of cladding or any defects that may create a building safety risk?",
885
+ "properties": {
886
+ "yesNo": {
887
+ "ta7ed5Ref": "11.1.1"
888
+ }
889
+ }
890
+ },
891
+ "lastDecoratedPeriod": {
892
+ "ta7ed5Ref": "5",
893
+ "properties": {
894
+ "externally": {
895
+ "ta7ed5Ref": "5.1",
896
+ "title": "In what year was the outside of the building last decorated?",
897
+ "properties": {
898
+ "year": {
899
+ "ta7ed5Ref": "5.1.1"
900
+ }
901
+ }
902
+ },
903
+ "internally": {
904
+ "ta7ed5Ref": "5.2",
905
+ "title": "In what year were any internal communal parts last decorated?",
906
+ "properties": {
907
+ "year": {
908
+ "ta7ed5Ref": "5.2.1"
909
+ }
910
+ }
911
+ }
912
+ }
913
+ }
914
+ },
915
+ "required": [
916
+ "mostRecentServiceChargeDemandStatus",
917
+ "largeAdditionalExpense",
918
+ "problemInServiceChargeLevel",
919
+ "serviceChargeChallenged",
920
+ "dangerousCladdingOrDefects",
921
+ "lastDecoratedPeriod"
922
+ ]
923
+ }
924
+ ],
925
+ "required": [
926
+ "sellerContributesToServiceCharge"
927
+ ],
928
+ "properties": {
929
+ "sellerContributesToServiceCharge": {
930
+ "ta7ed5Ref": "5.3",
931
+ "title": "Do you contribute to the cost of maintaining the building?"
932
+ }
933
+ }
934
+ },
935
+ "buildingsInsurance": {
936
+ "ta7ed5Ref": "2.2",
937
+ "required": [
938
+ "mostRecentBuildingsInsuranceDemandStatus"
939
+ ],
940
+ "properties": {
941
+ "mostRecentBuildingsInsuranceDemandStatus": {
942
+ "ta7ed5Ref": "2.2c",
943
+ "title": "Buildings insurance"
944
+ }
945
+ }
946
+ },
947
+ "disputes": {
948
+ "ta7ed5Ref": "10",
949
+ "required": [
950
+ "sellerReceivedComplaint",
951
+ "sellerSentComplaint"
952
+ ],
953
+ "title": "Complaints",
954
+ "properties": {
955
+ "sellerReceivedComplaint": {
956
+ "ta7ed5Ref": "10.1",
957
+ "discriminator": {
958
+ "propertyName": "yesNo"
959
+ },
960
+ "oneOf": [
961
+ {
962
+ "properties": {
963
+ "yesNo": {
964
+ "enum": [
965
+ "No",
966
+ "Not known"
967
+ ]
968
+ }
969
+ }
970
+ },
971
+ {
972
+ "properties": {
973
+ "yesNo": {
974
+ "enum": [
975
+ "Yes"
976
+ ]
977
+ },
978
+ "details": {
979
+ "ta7ed5Ref": "10.1.2"
980
+ }
981
+ },
982
+ "required": [
983
+ "details"
984
+ ]
985
+ }
986
+ ],
987
+ "required": [
988
+ "yesNo"
989
+ ],
990
+ "title": "Are you aware of any complaint received from the landlord, the management company or any neighbour about anything you have or have not done?",
991
+ "properties": {
992
+ "yesNo": {
993
+ "ta7ed5Ref": "10.1.1"
994
+ }
995
+ }
996
+ },
997
+ "sellerSentComplaint": {
998
+ "ta7ed5Ref": "10.2",
999
+ "discriminator": {
1000
+ "propertyName": "yesNo"
1001
+ },
1002
+ "oneOf": [
1003
+ {
1004
+ "properties": {
1005
+ "yesNo": {
1006
+ "enum": [
1007
+ "No",
1008
+ "Not known"
1009
+ ]
1010
+ }
1011
+ }
1012
+ },
1013
+ {
1014
+ "properties": {
1015
+ "yesNo": {
1016
+ "enum": [
1017
+ "Yes"
1018
+ ]
1019
+ },
1020
+ "details": {
1021
+ "ta7ed5Ref": "10.2.2"
1022
+ }
1023
+ },
1024
+ "required": [
1025
+ "details"
1026
+ ]
1027
+ }
1028
+ ],
1029
+ "required": [
1030
+ "yesNo"
1031
+ ],
1032
+ "title": "Are you aware of any complaint made to or about the landlord, the management company, or any neighbour?",
1033
+ "properties": {
1034
+ "yesNo": {
1035
+ "ta7ed5Ref": "10.2.1"
1036
+ }
1037
+ }
1038
+ }
1039
+ }
1040
+ },
1041
+ "buildingSafetyAct": {
1042
+ "ta7ed5Ref": "11",
1043
+ "required": [
1044
+ "isLeaseQualifying",
1045
+ "landlordNotifiedOfSale",
1046
+ "deedOfCertificateServed",
1047
+ "landlordsCertificateServed"
1048
+ ],
1049
+ "title": "Building safety for blocks of flats",
1050
+ "properties": {
1051
+ "isLeaseQualifying": {
1052
+ "ta7ed5Ref": "11.3",
1053
+ "title": "Is the property within a relevant building (11 metres or more in height or at least 5 storeys and contains at least 2 dwellings) and is not leaseholder-owned?",
1054
+ "enum": [
1055
+ "Yes",
1056
+ "No",
1057
+ "Not known"
1058
+ ]
1059
+ },
1060
+ "deedOfCertificateServed": {
1061
+ "ta7ed5Ref": "11.4",
1062
+ "discriminator": {
1063
+ "propertyName": "yesNoNotApplicable"
1064
+ },
1065
+ "oneOf": [
1066
+ {
1067
+ "properties": {
1068
+ "yesNoNotApplicable": {
1069
+ "enum": [
1070
+ "Not applicable",
1071
+ "No"
1072
+ ]
1073
+ }
1074
+ }
1075
+ },
1076
+ {
1077
+ "properties": {
1078
+ "yesNoNotApplicable": {
1079
+ "enum": [
1080
+ "Yes"
1081
+ ]
1082
+ },
1083
+ "attachments": {
1084
+ "ta7ed5Ref": "11.4.2",
1085
+ "title": "Please supply a copy of the leaseholder deed of certificate and the accompanying evidence."
1086
+ }
1087
+ },
1088
+ "required": [
1089
+ "attachments"
1090
+ ]
1091
+ }
1092
+ ],
1093
+ "required": [
1094
+ "yesNoNotApplicable"
1095
+ ],
1096
+ "title": "Is there a leaseholder deed of certificate for the property?",
1097
+ "properties": {
1098
+ "yesNoNotApplicable": {
1099
+ "ta7ed5Ref": "11.4.1"
1100
+ }
1101
+ }
1102
+ },
1103
+ "landlordNotifiedOfSale": {
1104
+ "ta7ed5Ref": "11.5",
1105
+ "title": "Has the landlord been notified of your intention to sell the property?",
1106
+ "enum": [
1107
+ "Yes",
1108
+ "No",
1109
+ "Not known"
1110
+ ]
1111
+ },
1112
+ "landlordsCertificateServed": {
1113
+ "ta7ed5Ref": "11.6",
1114
+ "discriminator": {
1115
+ "propertyName": "yesNoNotApplicable"
1116
+ },
1117
+ "oneOf": [
1118
+ {
1119
+ "properties": {
1120
+ "yesNoNotApplicable": {
1121
+ "enum": [
1122
+ "Not applicable",
1123
+ "No"
1124
+ ]
1125
+ }
1126
+ }
1127
+ },
1128
+ {
1129
+ "properties": {
1130
+ "yesNoNotApplicable": {
1131
+ "enum": [
1132
+ "Yes"
1133
+ ]
1134
+ },
1135
+ "attachments": {
1136
+ "ta7ed5Ref": "11.6.2",
1137
+ "title": "Please supply a copy of the landlord’s certificate and the accompanying evidence."
1138
+ }
1139
+ },
1140
+ "required": [
1141
+ "attachments"
1142
+ ]
1143
+ }
1144
+ ],
1145
+ "required": [
1146
+ "yesNoNotApplicable"
1147
+ ],
1148
+ "title": "Have you received a landlord’s certificate and the accompanying evidence?",
1149
+ "properties": {
1150
+ "yesNoNotApplicable": {
1151
+ "ta7ed5Ref": "11.6.1",
1152
+ "enum": [
1153
+ "Yes",
1154
+ "No"
1155
+ ]
1156
+ }
1157
+ }
1158
+ }
1159
+ }
1160
+ },
1161
+ "alterations": {
1162
+ "ta7ed5Ref": "9",
1163
+ "required": [
1164
+ "sellerAwareOfAlterations"
1165
+ ],
1166
+ "properties": {
1167
+ "sellerAwareOfAlterations": {
1168
+ "ta7ed5Ref": "9.1",
1169
+ "discriminator": {
1170
+ "propertyName": "yesNo"
1171
+ },
1172
+ "oneOf": [
1173
+ {
1174
+ "properties": {
1175
+ "yesNo": {
1176
+ "enum": [
1177
+ "No"
1178
+ ]
1179
+ }
1180
+ }
1181
+ },
1182
+ {
1183
+ "properties": {
1184
+ "yesNo": {
1185
+ "enum": [
1186
+ "Yes"
1187
+ ]
1188
+ },
1189
+ "details": {
1190
+ "ta7ed5Ref": "9.2"
1191
+ },
1192
+ "landlordConsentObtained": {
1193
+ "ta7ed5Ref": "9.3",
1194
+ "discriminator": {
1195
+ "propertyName": "yesNo"
1196
+ },
1197
+ "oneOf": [
1198
+ {
1199
+ "properties": {
1200
+ "yesNo": {
1201
+ "enum": [
1202
+ "No",
1203
+ "Not known",
1204
+ "Not required"
1205
+ ]
1206
+ }
1207
+ }
1208
+ },
1209
+ {
1210
+ "properties": {
1211
+ "yesNo": {
1212
+ "enum": [
1213
+ "Yes"
1214
+ ]
1215
+ },
1216
+ "attachments": {
1217
+ "ta7ed5Ref": "9.3.2"
1218
+ }
1219
+ },
1220
+ "required": [
1221
+ "attachments"
1222
+ ]
1223
+ }
1224
+ ],
1225
+ "required": [
1226
+ "yesNo"
1227
+ ],
1228
+ "properties": {
1229
+ "yesNo": {
1230
+ "ta7ed5Ref": "9.3.1"
1231
+ }
1232
+ }
1233
+ }
1234
+ },
1235
+ "required": [
1236
+ "details",
1237
+ "landlordConsentObtained"
1238
+ ]
1239
+ }
1240
+ ],
1241
+ "required": [
1242
+ "yesNo"
1243
+ ],
1244
+ "title": "Are you aware of any alterations having been made to the property since the lease was originally granted?",
1245
+ "properties": {
1246
+ "yesNo": {
1247
+ "ta7ed5Ref": "9.1.1"
1248
+ }
1249
+ }
1250
+ }
1251
+ }
1252
+ },
1253
+ "enfranchisement": {
1254
+ "ta7ed5Ref": "7",
1255
+ "required": [
1256
+ "sellerServedNoticeOnLandlord",
1257
+ "sellerAwareOfNoticeOfCollectivePurchase",
1258
+ "sellerAwareOfResponse"
1259
+ ],
1260
+ "properties": {
1261
+ "sellerServedNoticeOnLandlord": {
1262
+ "ta7ed5Ref": "7.1",
1263
+ "discriminator": {
1264
+ "propertyName": "yesNo"
1265
+ },
1266
+ "oneOf": [
1267
+ {
1268
+ "properties": {
1269
+ "yesNo": {
1270
+ "enum": [
1271
+ "No",
1272
+ "Not known",
1273
+ "Not required"
1274
+ ]
1275
+ }
1276
+ }
1277
+ },
1278
+ {
1279
+ "properties": {
1280
+ "yesNo": {
1281
+ "enum": [
1282
+ "Yes"
1283
+ ]
1284
+ },
1285
+ "attachments": {
1286
+ "ta7ed5Ref": "7.1.2"
1287
+ }
1288
+ },
1289
+ "required": [
1290
+ "attachments"
1291
+ ]
1292
+ }
1293
+ ],
1294
+ "required": [
1295
+ "yesNo"
1296
+ ],
1297
+ "title": "Have you served on the landlord a notice stating your wish to buy the freehold or be granted an extended lease?",
1298
+ "properties": {
1299
+ "yesNo": {
1300
+ "ta7ed5Ref": "7.1.1"
1301
+ }
1302
+ }
1303
+ },
1304
+ "sellerAwareOfNoticeOfCollectivePurchase": {
1305
+ "ta7ed5Ref": "7.2",
1306
+ "discriminator": {
1307
+ "propertyName": "yesNo"
1308
+ },
1309
+ "oneOf": [
1310
+ {
1311
+ "properties": {
1312
+ "yesNo": {
1313
+ "enum": [
1314
+ "No",
1315
+ "Not known",
1316
+ "Not required"
1317
+ ]
1318
+ }
1319
+ }
1320
+ },
1321
+ {
1322
+ "properties": {
1323
+ "yesNo": {
1324
+ "enum": [
1325
+ "Yes"
1326
+ ]
1327
+ },
1328
+ "attachments": {
1329
+ "ta7ed5Ref": "7.2.2"
1330
+ }
1331
+ },
1332
+ "required": [
1333
+ "attachments"
1334
+ ]
1335
+ }
1336
+ ],
1337
+ "required": [
1338
+ "yesNo"
1339
+ ],
1340
+ "title": "Are you aware of the service of any notice relating to the possible collective purchase of the freehold of the building or part of it by a group of tenants?",
1341
+ "properties": {
1342
+ "yesNo": {
1343
+ "ta7ed5Ref": "7.2.1"
1344
+ }
1345
+ }
1346
+ },
1347
+ "sellerAwareOfResponse": {
1348
+ "ta7ed5Ref": "7.3",
1349
+ "discriminator": {
1350
+ "propertyName": "yesNo"
1351
+ },
1352
+ "oneOf": [
1353
+ {
1354
+ "properties": {
1355
+ "yesNo": {
1356
+ "enum": [
1357
+ "No",
1358
+ "Not known",
1359
+ "Not required"
1360
+ ]
1361
+ }
1362
+ }
1363
+ },
1364
+ {
1365
+ "properties": {
1366
+ "yesNo": {
1367
+ "enum": [
1368
+ "Yes"
1369
+ ]
1370
+ },
1371
+ "attachments": {
1372
+ "ta7ed5Ref": "7.3.2"
1373
+ }
1374
+ },
1375
+ "required": [
1376
+ "attachments"
1377
+ ]
1378
+ }
1379
+ ],
1380
+ "required": [
1381
+ "yesNo"
1382
+ ],
1383
+ "title": "Are you aware of any response to a notice disclosed in replies to 7.1 and 7.2 above?",
1384
+ "properties": {
1385
+ "yesNo": {
1386
+ "ta7ed5Ref": "7.3.1"
1387
+ }
1388
+ }
1389
+ }
1390
+ }
1391
+ },
1392
+ "requiredDocuments": {
1393
+ "ta7ed5Ref": "6",
1394
+ "required": [
1395
+ "noticeOfSale",
1396
+ "noticeOfBuildingCondition"
1397
+ ],
1398
+ "properties": {
1399
+ "noticeOfSale": {
1400
+ "ta7ed5Ref": "6.1",
1401
+ "discriminator": {
1402
+ "propertyName": "yesNo"
1403
+ },
1404
+ "oneOf": [
1405
+ {
1406
+ "properties": {
1407
+ "yesNo": {
1408
+ "enum": [
1409
+ "No"
1410
+ ]
1411
+ }
1412
+ }
1413
+ },
1414
+ {
1415
+ "properties": {
1416
+ "yesNo": {
1417
+ "enum": [
1418
+ "Yes"
1419
+ ]
1420
+ },
1421
+ "attachments": {
1422
+ "ta7ed5Ref": "6.1.2"
1423
+ }
1424
+ },
1425
+ "required": [
1426
+ "attachments"
1427
+ ]
1428
+ }
1429
+ ],
1430
+ "required": [
1431
+ "yesNo"
1432
+ ],
1433
+ "title": "Have you received a notice that the landlord wants to sell the building?",
1434
+ "properties": {
1435
+ "yesNo": {
1436
+ "ta7ed5Ref": "6.1.1"
1437
+ }
1438
+ }
1439
+ },
1440
+ "noticeOfBuildingCondition": {
1441
+ "ta7ed5Ref": "6.2",
1442
+ "discriminator": {
1443
+ "propertyName": "yesNo"
1444
+ },
1445
+ "oneOf": [
1446
+ {
1447
+ "properties": {
1448
+ "yesNo": {
1449
+ "enum": [
1450
+ "No"
1451
+ ]
1452
+ }
1453
+ }
1454
+ },
1455
+ {
1456
+ "properties": {
1457
+ "yesNo": {
1458
+ "enum": [
1459
+ "Yes"
1460
+ ]
1461
+ },
1462
+ "attachments": {
1463
+ "ta7ed5Ref": "6.2.2"
1464
+ }
1465
+ },
1466
+ "required": [
1467
+ "attachments"
1468
+ ]
1469
+ }
1470
+ ],
1471
+ "required": [
1472
+ "yesNo"
1473
+ ],
1474
+ "title": "Have you received any other notice about the building, its use, its condition or its repair and maintenance?",
1475
+ "properties": {
1476
+ "yesNo": {
1477
+ "ta7ed5Ref": "6.2.1"
1478
+ }
1479
+ }
1480
+ }
1481
+ }
1482
+ },
1483
+ "additionalInformation": {
1484
+ "ta7ed5Ref": "12",
1485
+ "required": [
1486
+ "attachments"
1487
+ ],
1488
+ "properties": {
1489
+ "details": {
1490
+ "ta7ed5Ref": "12.1"
1491
+ },
1492
+ "attachments": {
1493
+ "ta7ed5Ref": "12.2"
1494
+ }
1495
+ }
1496
+ },
1497
+ "confirmationOfAccuracy": {
1498
+ "ta7ed5Ref": "13",
1499
+ "required": [
1500
+ "confirmation"
1501
+ ],
1502
+ "properties": {
1503
+ "confirmation": {
1504
+ "ta7ed5Ref": "13.1"
1505
+ }
1506
+ }
1507
+ }
1508
+ }
1509
+ }
1510
+ },
1511
+ "required": [
1512
+ "leaseholdInformation"
1513
+ ]
1514
+ },
1515
+ {
1516
+ "properties": {
1517
+ "ownershipType": {
1518
+ "enum": [
1519
+ "Other"
1520
+ ]
1521
+ }
1522
+ }
1523
+ }
1524
+ ],
1525
+ "ta7ed5Ref": "2",
1526
+ "required": [
1527
+ "ownershipType"
1528
+ ],
1529
+ "properties": {
1530
+ "ownershipType": {
1531
+ "ta7ed5Ref": "2"
1532
+ }
1533
+ }
1534
+ }
1535
+ }
1536
+ }
1537
+ },
1538
+ "typeOfConstruction": {
1539
+ "ta7ed5Ref": "11",
1540
+ "required": [
1541
+ "buildingSafety"
1542
+ ],
1543
+ "properties": {
1544
+ "buildingSafety": {
1545
+ "ta7ed5Ref": "11.2",
1546
+ "discriminator": {
1547
+ "propertyName": "yesNo"
1548
+ },
1549
+ "oneOf": [
1550
+ {
1551
+ "properties": {
1552
+ "yesNo": {
1553
+ "enum": [
1554
+ "No",
1555
+ "Not known"
1556
+ ]
1557
+ }
1558
+ }
1559
+ },
1560
+ {
1561
+ "properties": {
1562
+ "yesNo": {
1563
+ "enum": [
1564
+ "Yes"
1565
+ ]
1566
+ },
1567
+ "attachments": {
1568
+ "ta7ed5Ref": "11.2.2",
1569
+ "title": "Please provide details of the remediation works proposed and evidence of any carried out."
1570
+ }
1571
+ },
1572
+ "required": [
1573
+ "attachments"
1574
+ ]
1575
+ }
1576
+ ],
1577
+ "required": [
1578
+ "yesNo"
1579
+ ],
1580
+ "title": "Have any remediation works on the building been proposed or carried out?",
1581
+ "properties": {
1582
+ "yesNo": {
1583
+ "ta7ed5Ref": "11.2.1",
1584
+ "enum": [
1585
+ "Yes",
1586
+ "No",
1587
+ "Not known"
1588
+ ]
1589
+ }
1590
+ }
1591
+ }
1592
+ }
1593
+ }
1594
+ }
1595
+ }
1596
+ }
1597
+ }