@pdtf/schemas 3.6.0-dev.7 → 3.6.0-dev.8

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 (130) hide show
  1. package/busy-spence-79c6bf/CLAUDE.md +101 -0
  2. package/busy-spence-79c6bf/LICENSE +21 -0
  3. package/busy-spence-79c6bf/README.md +435 -0
  4. package/busy-spence-79c6bf/docs/branch-release-workflow.md +138 -0
  5. package/busy-spence-79c6bf/docs/sef25-extensions-ui-spec.md +355 -0
  6. package/busy-spence-79c6bf/index.js +654 -0
  7. package/busy-spence-79c6bf/package-lock.json +7299 -0
  8. package/busy-spence-79c6bf/package.json +44 -0
  9. package/busy-spence-79c6bf/scripts/ta6ed6-titles.js +403 -0
  10. package/busy-spence-79c6bf/scripts/ta7ed5-titles.js +183 -0
  11. package/busy-spence-79c6bf/src/examples/v1/exampleAddParticipantVouch.json +32 -0
  12. package/busy-spence-79c6bf/src/examples/v1/exampleDocumentedVouch.json +40 -0
  13. package/busy-spence-79c6bf/src/examples/v1/exampleElectronicRecord.json +30 -0
  14. package/busy-spence-79c6bf/src/examples/v1/exampleTransaction.json +878 -0
  15. package/busy-spence-79c6bf/src/examples/v1/exampleVouch.json +25 -0
  16. package/busy-spence-79c6bf/src/examples/v2/exampleTransaction.json +901 -0
  17. package/busy-spence-79c6bf/src/examples/v3/exampleAddParticipantVouch.json +38 -0
  18. package/busy-spence-79c6bf/src/examples/v3/exampleCustomOverlay.json +55 -0
  19. package/busy-spence-79c6bf/src/examples/v3/exampleCustomOverlay2.json +93 -0
  20. package/busy-spence-79c6bf/src/examples/v3/exampleDocumentedVouch.json +47 -0
  21. package/busy-spence-79c6bf/src/examples/v3/exampleElectronicRecord.json +36 -0
  22. package/busy-spence-79c6bf/src/examples/v3/exampleTransaction.json +1038 -0
  23. package/busy-spence-79c6bf/src/examples/v3/exampleVouch.json +32 -0
  24. package/busy-spence-79c6bf/src/mappings/SendPropertyDetailsRequestSchema.json +1588 -0
  25. package/busy-spence-79c6bf/src/mappings/adf.js +198 -0
  26. package/busy-spence-79c6bf/src/schemas/v1/GeoJSON.json +1279 -0
  27. package/busy-spence-79c6bf/src/schemas/v1/baspiNotes.html +102 -0
  28. package/busy-spence-79c6bf/src/schemas/v1/energy-performance-certificate.json +124 -0
  29. package/busy-spence-79c6bf/src/schemas/v1/freehold-information.json +2051 -0
  30. package/busy-spence-79c6bf/src/schemas/v1/leasehold-information.json +2064 -0
  31. package/busy-spence-79c6bf/src/schemas/v1/legal-information.json +1045 -0
  32. package/busy-spence-79c6bf/src/schemas/v1/material-facts.json +2109 -0
  33. package/busy-spence-79c6bf/src/schemas/v1/pdtf-transaction-search-results.json +40 -0
  34. package/busy-spence-79c6bf/src/schemas/v1/pdtf-transaction.json +191 -0
  35. package/busy-spence-79c6bf/src/schemas/v1/searches/drainage-and-water.json +261 -0
  36. package/busy-spence-79c6bf/src/schemas/v1/searches/local-land-charges.json +69 -0
  37. package/busy-spence-79c6bf/src/schemas/v1/searches/local-searches-required.json +857 -0
  38. package/busy-spence-79c6bf/src/schemas/v1/searches.json +237 -0
  39. package/busy-spence-79c6bf/src/schemas/v1/title-deed.json +841 -0
  40. package/busy-spence-79c6bf/src/schemas/v2/baspiNotes.html +102 -0
  41. package/busy-spence-79c6bf/src/schemas/v2/combined.json +37731 -0
  42. package/busy-spence-79c6bf/src/schemas/v2/overlays/baspi.json +8132 -0
  43. package/busy-spence-79c6bf/src/schemas/v2/overlays/con29DW.json +705 -0
  44. package/busy-spence-79c6bf/src/schemas/v2/overlays/con29R.json +2956 -0
  45. package/busy-spence-79c6bf/src/schemas/v2/overlays/fme1.json +1259 -0
  46. package/busy-spence-79c6bf/src/schemas/v2/overlays/llc1.json +25 -0
  47. package/busy-spence-79c6bf/src/schemas/v2/overlays/lpe1.json +2171 -0
  48. package/busy-spence-79c6bf/src/schemas/v2/overlays/nts.json +326 -0
  49. package/busy-spence-79c6bf/src/schemas/v2/overlays/oc1.json +2799 -0
  50. package/busy-spence-79c6bf/src/schemas/v2/overlays/piq.json +3419 -0
  51. package/busy-spence-79c6bf/src/schemas/v2/overlays/rds.json +3736 -0
  52. package/busy-spence-79c6bf/src/schemas/v2/overlays/ta10.json +5306 -0
  53. package/busy-spence-79c6bf/src/schemas/v2/overlays/ta6.json +4533 -0
  54. package/busy-spence-79c6bf/src/schemas/v2/overlays/ta7.json +1045 -0
  55. package/busy-spence-79c6bf/src/schemas/v2/pdtf-transaction.json +34351 -0
  56. package/busy-spence-79c6bf/src/schemas/v2/skeleton.json +3973 -0
  57. package/busy-spence-79c6bf/src/schemas/v3/combined.json +48643 -0
  58. package/busy-spence-79c6bf/src/schemas/v3/compactSkeleton.txt +4519 -0
  59. package/busy-spence-79c6bf/src/schemas/v3/overlays/README.md +299 -0
  60. package/busy-spence-79c6bf/src/schemas/v3/overlays/baspi4.json +8030 -0
  61. package/busy-spence-79c6bf/src/schemas/v3/overlays/baspi5.json +8180 -0
  62. package/busy-spence-79c6bf/src/schemas/v3/overlays/con29DW.json +716 -0
  63. package/busy-spence-79c6bf/src/schemas/v3/overlays/con29R.json +2981 -0
  64. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/ac.json +334 -0
  65. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/as.json +74 -0
  66. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/dk.json +33 -0
  67. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/dr.json +73 -0
  68. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/er.json +85 -0
  69. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/fd.json +75 -0
  70. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/hi.json +51 -0
  71. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/hs.json +73 -0
  72. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/ic.json +94 -0
  73. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/jk.json +96 -0
  74. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/la.json +85 -0
  75. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/lc.json +76 -0
  76. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/ma.json +90 -0
  77. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/mc.json +38 -0
  78. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/mi.json +70 -0
  79. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/nd.json +44 -0
  80. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/oa.json +24 -0
  81. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/oc.json +57 -0
  82. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/pc.json +38 -0
  83. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/ph.json +195 -0
  84. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/rw.json +69 -0
  85. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/sb.json +73 -0
  86. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/sc.json +133 -0
  87. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/sd.json +64 -0
  88. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/sf.json +74 -0
  89. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/sl.json +68 -0
  90. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/ta.json +204 -0
  91. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/tf.json +103 -0
  92. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/tr.json +74 -0
  93. package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/wg.json +351 -0
  94. package/busy-spence-79c6bf/src/schemas/v3/overlays/fme1.json +1266 -0
  95. package/busy-spence-79c6bf/src/schemas/v3/overlays/llc1.json +25 -0
  96. package/busy-spence-79c6bf/src/schemas/v3/overlays/lpe1.json +2199 -0
  97. package/busy-spence-79c6bf/src/schemas/v3/overlays/nts.json +2159 -0
  98. package/busy-spence-79c6bf/src/schemas/v3/overlays/nts2.json +2744 -0
  99. package/busy-spence-79c6bf/src/schemas/v3/overlays/ntsl.json +1815 -0
  100. package/busy-spence-79c6bf/src/schemas/v3/overlays/ntsl2.json +2219 -0
  101. package/busy-spence-79c6bf/src/schemas/v3/overlays/oc1.json +2817 -0
  102. package/busy-spence-79c6bf/src/schemas/v3/overlays/piq.json +3324 -0
  103. package/busy-spence-79c6bf/src/schemas/v3/overlays/rds.json +3668 -0
  104. package/busy-spence-79c6bf/src/schemas/v3/overlays/sef25.json +1653 -0
  105. package/busy-spence-79c6bf/src/schemas/v3/overlays/sr24.json +38 -0
  106. package/busy-spence-79c6bf/src/schemas/v3/overlays/ta10.json +4645 -0
  107. package/busy-spence-79c6bf/src/schemas/v3/overlays/ta6.json +4572 -0
  108. package/busy-spence-79c6bf/src/schemas/v3/overlays/ta6ed6.json +6665 -0
  109. package/busy-spence-79c6bf/src/schemas/v3/overlays/ta7.json +1537 -0
  110. package/busy-spence-79c6bf/src/schemas/v3/overlays/ta7ed5.json +1585 -0
  111. package/busy-spence-79c6bf/src/schemas/v3/pdtf-transaction.json +41570 -0
  112. package/busy-spence-79c6bf/src/schemas/v3/skeleton.json +5767 -0
  113. package/busy-spence-79c6bf/src/schemas/verifiedClaims/README.md +21 -0
  114. package/busy-spence-79c6bf/src/schemas/verifiedClaims/pdtf-verified-claims.json +447 -0
  115. package/busy-spence-79c6bf/src/utils/compactSkeleton.js +84 -0
  116. package/busy-spence-79c6bf/src/utils/countTokens.js +67 -0
  117. package/busy-spence-79c6bf/src/utils/extractExtensionOverlays.js +633 -0
  118. package/busy-spence-79c6bf/src/utils/extractOverlay.js +381 -0
  119. package/busy-spence-79c6bf/src/utils/extractProperties.js +44 -0
  120. package/busy-spence-79c6bf/src/utils/listPathTitles.js +36 -0
  121. package/busy-spence-79c6bf/src/utils/minimalSkeleton.js +85 -0
  122. package/busy-spence-79c6bf/src/utils/pathList.csv +903 -0
  123. package/busy-spence-79c6bf/src/utils/pathSkeleton.js +181 -0
  124. package/busy-spence-79c6bf/ta6ed6-titles-plan.md +118 -0
  125. package/busy-spence-79c6bf/ta7ed5-titles-spec.md +89 -0
  126. package/package.json +1 -1
  127. package/src/schemas/v3/combined.json +225 -47
  128. package/src/schemas/v3/overlays/llc1.json +1 -2
  129. package/src/schemas/v3/overlays/ta6ed6.json +204 -75
  130. package/src/schemas/v3/overlays/ta7ed5.json +54 -20
@@ -0,0 +1,1653 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://trust.propdata.org.uk/schemas/v3/overlays/sef25.json",
4
+ "properties": {
5
+ "propertyPack": {
6
+ "properties": {
7
+ "ownership": {
8
+ "sef25Ref": "T1",
9
+ "properties": {
10
+ "ownershipsToBeTransferred": {
11
+ "items": {
12
+ "oneOf": [
13
+ {
14
+ "required": [
15
+ "titleRestrictions"
16
+ ],
17
+ "properties": {
18
+ "titleRestrictions": {
19
+ "sef25Ref": "T1.1",
20
+ "discriminator": {
21
+ "propertyName": "yesNo"
22
+ },
23
+ "oneOf": [
24
+ {
25
+ "properties": {
26
+ "yesNo": {
27
+ "enum": [
28
+ "No"
29
+ ]
30
+ }
31
+ }
32
+ },
33
+ {
34
+ "properties": {
35
+ "yesNo": {
36
+ "enum": [
37
+ "Yes"
38
+ ]
39
+ },
40
+ "details": {
41
+ "sef25Ref": "T1.1.2"
42
+ }
43
+ },
44
+ "required": [
45
+ "details"
46
+ ]
47
+ }
48
+ ],
49
+ "required": [
50
+ "yesNo"
51
+ ],
52
+ "properties": {
53
+ "yesNo": {
54
+ "sef25Ref": "T1.1.1"
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
60
+ ]
61
+ }
62
+ }
63
+ }
64
+ },
65
+ "parking": {
66
+ "sef25Ref": "K1",
67
+ "required": [
68
+ "droppedKerbAccess"
69
+ ],
70
+ "properties": {
71
+ "controlledParking": {
72
+ "oneOf": [
73
+ null,
74
+ {
75
+ "required": [
76
+ "costOfPermit",
77
+ "costOfPermitFrequency"
78
+ ],
79
+ "properties": {
80
+ "costOfPermit": {
81
+ "sef25Ref": "P1.1"
82
+ },
83
+ "costOfPermitFrequency": {
84
+ "sef25Ref": "P1.2"
85
+ }
86
+ }
87
+ }
88
+ ]
89
+ },
90
+ "droppedKerbAccess": {
91
+ "sef25Ref": "K1.1",
92
+ "required": [
93
+ "yesNo"
94
+ ],
95
+ "properties": {
96
+ "yesNo": {
97
+ "sef25Ref": "K1.1.1"
98
+ }
99
+ }
100
+ }
101
+ }
102
+ },
103
+ "alterationsAndChanges": {
104
+ "sef25Ref": "A1",
105
+ "required": [
106
+ "extension",
107
+ "loftConversion",
108
+ "garageConversion",
109
+ "removalOfInternalWalls",
110
+ "changeOfUse"
111
+ ],
112
+ "properties": {
113
+ "changeOfUse": {
114
+ "sef25Ref": "A1.5",
115
+ "discriminator": {
116
+ "propertyName": "yesNo"
117
+ },
118
+ "oneOf": [
119
+ {
120
+ "properties": {
121
+ "yesNo": {
122
+ "enum": [
123
+ "No"
124
+ ]
125
+ }
126
+ }
127
+ },
128
+ {
129
+ "properties": {
130
+ "yesNo": {
131
+ "enum": [
132
+ "Yes"
133
+ ]
134
+ },
135
+ "details": {
136
+ "sef25Ref": "A1.5.2"
137
+ },
138
+ "buildingRegApproval": {
139
+ "sef25Ref": "A1.5.4",
140
+ "discriminator": {
141
+ "propertyName": "yesNo"
142
+ },
143
+ "oneOf": [
144
+ {
145
+ "properties": {
146
+ "yesNo": {
147
+ "enum": [
148
+ "Yes"
149
+ ]
150
+ }
151
+ }
152
+ },
153
+ {
154
+ "properties": {
155
+ "yesNo": {
156
+ "enum": [
157
+ "No",
158
+ "Not required"
159
+ ]
160
+ }
161
+ }
162
+ }
163
+ ],
164
+ "required": [
165
+ "yesNo"
166
+ ],
167
+ "properties": {
168
+ "yesNo": {
169
+ "sef25Ref": "A1.5.4.1"
170
+ }
171
+ }
172
+ },
173
+ "planningPermission": {
174
+ "sef25Ref": "A1.5.3",
175
+ "discriminator": {
176
+ "propertyName": "yesNo"
177
+ },
178
+ "oneOf": [
179
+ {
180
+ "properties": {
181
+ "yesNo": {
182
+ "enum": [
183
+ "Yes"
184
+ ]
185
+ }
186
+ }
187
+ },
188
+ {
189
+ "properties": {
190
+ "yesNo": {
191
+ "enum": [
192
+ "No",
193
+ "Not required"
194
+ ]
195
+ }
196
+ }
197
+ }
198
+ ],
199
+ "required": [
200
+ "yesNo"
201
+ ],
202
+ "properties": {
203
+ "yesNo": {
204
+ "sef25Ref": "A1.5.3.1"
205
+ }
206
+ }
207
+ }
208
+ },
209
+ "required": [
210
+ "details",
211
+ "planningPermission",
212
+ "buildingRegApproval"
213
+ ]
214
+ }
215
+ ],
216
+ "required": [
217
+ "yesNo"
218
+ ],
219
+ "properties": {
220
+ "yesNo": {
221
+ "sef25Ref": "A1.5.1"
222
+ }
223
+ }
224
+ },
225
+ "extension": {
226
+ "sef25Ref": "A1.1",
227
+ "discriminator": {
228
+ "propertyName": "yesNo"
229
+ },
230
+ "oneOf": [
231
+ {
232
+ "properties": {
233
+ "yesNo": {
234
+ "enum": [
235
+ "No"
236
+ ]
237
+ }
238
+ }
239
+ },
240
+ {
241
+ "properties": {
242
+ "yesNo": {
243
+ "enum": [
244
+ "Yes"
245
+ ]
246
+ },
247
+ "details": {
248
+ "sef25Ref": "A1.1.2"
249
+ },
250
+ "planningPermission": {
251
+ "sef25Ref": "A1.1.3",
252
+ "discriminator": {
253
+ "propertyName": "yesNo"
254
+ },
255
+ "oneOf": [
256
+ {
257
+ "properties": {
258
+ "yesNo": {
259
+ "enum": [
260
+ "Yes"
261
+ ]
262
+ }
263
+ }
264
+ },
265
+ {
266
+ "properties": {
267
+ "yesNo": {
268
+ "enum": [
269
+ "No",
270
+ "Not required"
271
+ ]
272
+ }
273
+ }
274
+ }
275
+ ],
276
+ "required": [
277
+ "yesNo"
278
+ ],
279
+ "properties": {
280
+ "yesNo": {
281
+ "sef25Ref": "A1.1.3.1"
282
+ }
283
+ }
284
+ },
285
+ "buildingRegApproval": {
286
+ "sef25Ref": "A1.1.4",
287
+ "discriminator": {
288
+ "propertyName": "yesNo"
289
+ },
290
+ "oneOf": [
291
+ {
292
+ "properties": {
293
+ "yesNo": {
294
+ "enum": [
295
+ "Yes"
296
+ ]
297
+ }
298
+ }
299
+ },
300
+ {
301
+ "properties": {
302
+ "yesNo": {
303
+ "enum": [
304
+ "No",
305
+ "Not required"
306
+ ]
307
+ }
308
+ }
309
+ }
310
+ ],
311
+ "required": [
312
+ "yesNo"
313
+ ],
314
+ "properties": {
315
+ "yesNo": {
316
+ "sef25Ref": "A1.1.4.1"
317
+ }
318
+ }
319
+ }
320
+ },
321
+ "required": [
322
+ "details",
323
+ "planningPermission",
324
+ "buildingRegApproval"
325
+ ]
326
+ }
327
+ ],
328
+ "required": [
329
+ "yesNo"
330
+ ],
331
+ "properties": {
332
+ "yesNo": {
333
+ "sef25Ref": "A1.1.1"
334
+ }
335
+ }
336
+ },
337
+ "loftConversion": {
338
+ "sef25Ref": "A1.2",
339
+ "discriminator": {
340
+ "propertyName": "yesNo"
341
+ },
342
+ "oneOf": [
343
+ {
344
+ "properties": {
345
+ "yesNo": {
346
+ "enum": [
347
+ "No"
348
+ ]
349
+ }
350
+ }
351
+ },
352
+ {
353
+ "properties": {
354
+ "yesNo": {
355
+ "enum": [
356
+ "Yes"
357
+ ]
358
+ },
359
+ "details": {
360
+ "sef25Ref": "A1.2.2"
361
+ },
362
+ "planningPermission": {
363
+ "sef25Ref": "A1.2.3",
364
+ "discriminator": {
365
+ "propertyName": "yesNo"
366
+ },
367
+ "oneOf": [
368
+ {
369
+ "properties": {
370
+ "yesNo": {
371
+ "enum": [
372
+ "Yes"
373
+ ]
374
+ }
375
+ }
376
+ },
377
+ {
378
+ "properties": {
379
+ "yesNo": {
380
+ "enum": [
381
+ "No",
382
+ "Not required"
383
+ ]
384
+ }
385
+ }
386
+ }
387
+ ],
388
+ "required": [
389
+ "yesNo"
390
+ ],
391
+ "properties": {
392
+ "yesNo": {
393
+ "sef25Ref": "A1.2.3.1"
394
+ }
395
+ }
396
+ },
397
+ "buildingRegApproval": {
398
+ "sef25Ref": "A1.2.4",
399
+ "discriminator": {
400
+ "propertyName": "yesNo"
401
+ },
402
+ "oneOf": [
403
+ {
404
+ "properties": {
405
+ "yesNo": {
406
+ "enum": [
407
+ "Yes"
408
+ ]
409
+ }
410
+ }
411
+ },
412
+ {
413
+ "properties": {
414
+ "yesNo": {
415
+ "enum": [
416
+ "No",
417
+ "Not required"
418
+ ]
419
+ }
420
+ }
421
+ }
422
+ ],
423
+ "required": [
424
+ "yesNo"
425
+ ],
426
+ "properties": {
427
+ "yesNo": {
428
+ "sef25Ref": "A1.2.4.1"
429
+ }
430
+ }
431
+ }
432
+ },
433
+ "required": [
434
+ "details",
435
+ "planningPermission",
436
+ "buildingRegApproval"
437
+ ]
438
+ }
439
+ ],
440
+ "required": [
441
+ "yesNo"
442
+ ],
443
+ "properties": {
444
+ "yesNo": {
445
+ "sef25Ref": "A1.2.1"
446
+ }
447
+ }
448
+ },
449
+ "garageConversion": {
450
+ "sef25Ref": "A1.3",
451
+ "discriminator": {
452
+ "propertyName": "yesNo"
453
+ },
454
+ "oneOf": [
455
+ {
456
+ "properties": {
457
+ "yesNo": {
458
+ "enum": [
459
+ "No"
460
+ ]
461
+ }
462
+ }
463
+ },
464
+ {
465
+ "properties": {
466
+ "yesNo": {
467
+ "enum": [
468
+ "Yes"
469
+ ]
470
+ },
471
+ "details": {
472
+ "sef25Ref": "A1.3.2"
473
+ },
474
+ "planningPermission": {
475
+ "sef25Ref": "A1.3.3",
476
+ "discriminator": {
477
+ "propertyName": "yesNo"
478
+ },
479
+ "oneOf": [
480
+ {
481
+ "properties": {
482
+ "yesNo": {
483
+ "enum": [
484
+ "Yes"
485
+ ]
486
+ }
487
+ }
488
+ },
489
+ {
490
+ "properties": {
491
+ "yesNo": {
492
+ "enum": [
493
+ "No",
494
+ "Not required"
495
+ ]
496
+ }
497
+ }
498
+ }
499
+ ],
500
+ "required": [
501
+ "yesNo"
502
+ ],
503
+ "properties": {
504
+ "yesNo": {
505
+ "sef25Ref": "A1.3.3.1"
506
+ }
507
+ }
508
+ },
509
+ "buildingRegApproval": {
510
+ "sef25Ref": "A1.3.4",
511
+ "discriminator": {
512
+ "propertyName": "yesNo"
513
+ },
514
+ "oneOf": [
515
+ {
516
+ "properties": {
517
+ "yesNo": {
518
+ "enum": [
519
+ "Yes"
520
+ ]
521
+ }
522
+ }
523
+ },
524
+ {
525
+ "properties": {
526
+ "yesNo": {
527
+ "enum": [
528
+ "No",
529
+ "Not required"
530
+ ]
531
+ }
532
+ }
533
+ }
534
+ ],
535
+ "required": [
536
+ "yesNo"
537
+ ],
538
+ "properties": {
539
+ "yesNo": {
540
+ "sef25Ref": "A1.3.4.1"
541
+ }
542
+ }
543
+ }
544
+ },
545
+ "required": [
546
+ "details",
547
+ "planningPermission",
548
+ "buildingRegApproval"
549
+ ]
550
+ }
551
+ ],
552
+ "required": [
553
+ "yesNo"
554
+ ],
555
+ "properties": {
556
+ "yesNo": {
557
+ "sef25Ref": "A1.3.1"
558
+ }
559
+ }
560
+ },
561
+ "removalOfInternalWalls": {
562
+ "sef25Ref": "A1.4",
563
+ "discriminator": {
564
+ "propertyName": "yesNo"
565
+ },
566
+ "oneOf": [
567
+ {
568
+ "properties": {
569
+ "yesNo": {
570
+ "enum": [
571
+ "No"
572
+ ]
573
+ }
574
+ }
575
+ },
576
+ {
577
+ "properties": {
578
+ "yesNo": {
579
+ "enum": [
580
+ "Yes"
581
+ ]
582
+ },
583
+ "details": {
584
+ "sef25Ref": "A1.4.2"
585
+ },
586
+ "planningPermission": {
587
+ "sef25Ref": "A1.4.3",
588
+ "discriminator": {
589
+ "propertyName": "yesNo"
590
+ },
591
+ "oneOf": [
592
+ {
593
+ "properties": {
594
+ "yesNo": {
595
+ "enum": [
596
+ "Yes"
597
+ ]
598
+ }
599
+ }
600
+ },
601
+ {
602
+ "properties": {
603
+ "yesNo": {
604
+ "enum": [
605
+ "No",
606
+ "Not required"
607
+ ]
608
+ }
609
+ }
610
+ }
611
+ ],
612
+ "required": [
613
+ "yesNo"
614
+ ],
615
+ "properties": {
616
+ "yesNo": {
617
+ "sef25Ref": "A1.4.3.1"
618
+ }
619
+ }
620
+ },
621
+ "buildingRegApproval": {
622
+ "sef25Ref": "A1.4.4",
623
+ "discriminator": {
624
+ "propertyName": "yesNo"
625
+ },
626
+ "oneOf": [
627
+ {
628
+ "properties": {
629
+ "yesNo": {
630
+ "enum": [
631
+ "Yes"
632
+ ]
633
+ }
634
+ }
635
+ },
636
+ {
637
+ "properties": {
638
+ "yesNo": {
639
+ "enum": [
640
+ "No",
641
+ "Not required"
642
+ ]
643
+ }
644
+ }
645
+ }
646
+ ],
647
+ "required": [
648
+ "yesNo"
649
+ ],
650
+ "properties": {
651
+ "yesNo": {
652
+ "sef25Ref": "A1.4.4.1"
653
+ }
654
+ }
655
+ }
656
+ },
657
+ "required": [
658
+ "details",
659
+ "planningPermission",
660
+ "buildingRegApproval"
661
+ ]
662
+ }
663
+ ],
664
+ "required": [
665
+ "yesNo"
666
+ ],
667
+ "properties": {
668
+ "yesNo": {
669
+ "sef25Ref": "A1.4.1"
670
+ }
671
+ }
672
+ }
673
+ }
674
+ },
675
+ "notices": {
676
+ "sef25Ref": "N1",
677
+ "properties": {
678
+ "neighbourDevelopment": {
679
+ "sef25Ref": "N1.1",
680
+ "discriminator": {
681
+ "propertyName": "yesNo"
682
+ },
683
+ "oneOf": [
684
+ {
685
+ "properties": {
686
+ "yesNo": {
687
+ "enum": [
688
+ "No"
689
+ ]
690
+ }
691
+ }
692
+ },
693
+ {
694
+ "properties": {
695
+ "yesNo": {
696
+ "enum": [
697
+ "Yes"
698
+ ]
699
+ }
700
+ }
701
+ }
702
+ ]
703
+ }
704
+ }
705
+ },
706
+ "specialistIssues": {
707
+ "required": [
708
+ "wellsDitchesShaft",
709
+ "damagedOrExposedElectrics",
710
+ "damageToFlooringOrStaircases",
711
+ "knownAreasInPoorCondition"
712
+ ],
713
+ "properties": {
714
+ "wellsDitchesShaft": {
715
+ "sef25Ref": "H1.1",
716
+ "discriminator": {
717
+ "propertyName": "yesNo"
718
+ },
719
+ "oneOf": [
720
+ {
721
+ "properties": {
722
+ "yesNo": {
723
+ "enum": [
724
+ "No"
725
+ ]
726
+ }
727
+ }
728
+ },
729
+ {
730
+ "properties": {
731
+ "yesNo": {
732
+ "enum": [
733
+ "Yes"
734
+ ]
735
+ },
736
+ "details": {
737
+ "sef25Ref": "H1.1.2"
738
+ }
739
+ },
740
+ "required": [
741
+ "details"
742
+ ]
743
+ }
744
+ ],
745
+ "required": [
746
+ "yesNo"
747
+ ],
748
+ "properties": {
749
+ "yesNo": {
750
+ "sef25Ref": "H1.1.1"
751
+ }
752
+ }
753
+ },
754
+ "damagedOrExposedElectrics": {
755
+ "sef25Ref": "H1.2",
756
+ "discriminator": {
757
+ "propertyName": "yesNo"
758
+ },
759
+ "oneOf": [
760
+ {
761
+ "properties": {
762
+ "yesNo": {
763
+ "enum": [
764
+ "No"
765
+ ]
766
+ }
767
+ }
768
+ },
769
+ {
770
+ "properties": {
771
+ "yesNo": {
772
+ "enum": [
773
+ "Yes"
774
+ ]
775
+ },
776
+ "details": {
777
+ "sef25Ref": "H1.2.2"
778
+ }
779
+ },
780
+ "required": [
781
+ "details"
782
+ ]
783
+ }
784
+ ],
785
+ "required": [
786
+ "yesNo"
787
+ ],
788
+ "properties": {
789
+ "yesNo": {
790
+ "sef25Ref": "H1.2.1"
791
+ }
792
+ }
793
+ },
794
+ "damageToFlooringOrStaircases": {
795
+ "sef25Ref": "H1.3",
796
+ "discriminator": {
797
+ "propertyName": "yesNo"
798
+ },
799
+ "oneOf": [
800
+ {
801
+ "properties": {
802
+ "yesNo": {
803
+ "enum": [
804
+ "No"
805
+ ]
806
+ }
807
+ }
808
+ },
809
+ {
810
+ "properties": {
811
+ "yesNo": {
812
+ "enum": [
813
+ "Yes"
814
+ ]
815
+ },
816
+ "details": {
817
+ "sef25Ref": "H1.3.2"
818
+ }
819
+ },
820
+ "required": [
821
+ "details"
822
+ ]
823
+ }
824
+ ],
825
+ "required": [
826
+ "yesNo"
827
+ ],
828
+ "properties": {
829
+ "yesNo": {
830
+ "sef25Ref": "H1.3.1"
831
+ }
832
+ }
833
+ },
834
+ "knownAreasInPoorCondition": {
835
+ "sef25Ref": "H1.4",
836
+ "discriminator": {
837
+ "propertyName": "yesNo"
838
+ },
839
+ "oneOf": [
840
+ {
841
+ "properties": {
842
+ "yesNo": {
843
+ "enum": [
844
+ "No"
845
+ ]
846
+ }
847
+ }
848
+ },
849
+ {
850
+ "properties": {
851
+ "yesNo": {
852
+ "enum": [
853
+ "Yes"
854
+ ]
855
+ },
856
+ "details": {
857
+ "sef25Ref": "H1.4.2"
858
+ }
859
+ },
860
+ "required": [
861
+ "details"
862
+ ]
863
+ }
864
+ ],
865
+ "required": [
866
+ "yesNo"
867
+ ],
868
+ "properties": {
869
+ "yesNo": {
870
+ "sef25Ref": "H1.4.1"
871
+ }
872
+ }
873
+ }
874
+ }
875
+ },
876
+ "electricity": {
877
+ "sef25Ref": "S1",
878
+ "properties": {
879
+ "solarPanels": {
880
+ "sef25Ref": "S1",
881
+ "discriminator": {
882
+ "propertyName": "yesNo"
883
+ },
884
+ "oneOf": [
885
+ {
886
+ "properties": {
887
+ "yesNo": {
888
+ "enum": [
889
+ "No"
890
+ ]
891
+ }
892
+ }
893
+ },
894
+ {
895
+ "properties": {
896
+ "yesNo": {
897
+ "enum": [
898
+ "Yes"
899
+ ]
900
+ },
901
+ "panelsOwnedOutright": {
902
+ "sef25Ref": "S1.1",
903
+ "discriminator": {
904
+ "propertyName": "yesNo"
905
+ },
906
+ "oneOf": [
907
+ {
908
+ "properties": {
909
+ "yesNo": {
910
+ "enum": [
911
+ "Yes"
912
+ ]
913
+ }
914
+ }
915
+ },
916
+ {
917
+ "properties": {
918
+ "yesNo": {
919
+ "enum": [
920
+ "No"
921
+ ]
922
+ },
923
+ "associatedCost": {
924
+ "sef25Ref": "S1.1",
925
+ "discriminator": {
926
+ "propertyName": "frequency"
927
+ },
928
+ "oneOf": [
929
+ {
930
+ "properties": {
931
+ "frequency": {
932
+ "enum": [
933
+ "Not applicable"
934
+ ]
935
+ }
936
+ }
937
+ },
938
+ {
939
+ "properties": {
940
+ "frequency": {
941
+ "enum": [
942
+ "Per month",
943
+ "Per year"
944
+ ]
945
+ },
946
+ "amount": {
947
+ "sef25Ref": "S1.1.1"
948
+ }
949
+ }
950
+ }
951
+ ],
952
+ "required": [
953
+ "frequency"
954
+ ],
955
+ "properties": {
956
+ "frequency": {
957
+ "sef25Ref": "S1.1.2"
958
+ }
959
+ }
960
+ }
961
+ }
962
+ }
963
+ ]
964
+ }
965
+ }
966
+ },
967
+ {
968
+ "properties": {
969
+ "yesNo": {
970
+ "enum": [
971
+ "To be connected"
972
+ ]
973
+ }
974
+ }
975
+ }
976
+ ]
977
+ }
978
+ }
979
+ },
980
+ "waterAndDrainage": {
981
+ "properties": {
982
+ "water": {
983
+ "properties": {
984
+ "mainsWater": {
985
+ "oneOf": [
986
+ {
987
+ "required": [
988
+ "associatedCost"
989
+ ],
990
+ "properties": {
991
+ "associatedCost": {
992
+ "sef25Ref": "U1.1",
993
+ "discriminator": {
994
+ "propertyName": "frequency"
995
+ },
996
+ "oneOf": [
997
+ {
998
+ "properties": {
999
+ "frequency": {
1000
+ "enum": [
1001
+ "Not applicable"
1002
+ ]
1003
+ }
1004
+ }
1005
+ },
1006
+ {
1007
+ "properties": {
1008
+ "frequency": {
1009
+ "enum": [
1010
+ "Per month",
1011
+ "Per year"
1012
+ ]
1013
+ },
1014
+ "amount": {
1015
+ "sef25Ref": "U1.1.1"
1016
+ }
1017
+ }
1018
+ }
1019
+ ],
1020
+ "required": [
1021
+ "frequency"
1022
+ ],
1023
+ "properties": {
1024
+ "frequency": {
1025
+ "sef25Ref": "U1.1.2"
1026
+ }
1027
+ }
1028
+ }
1029
+ }
1030
+ }
1031
+ ]
1032
+ }
1033
+ }
1034
+ },
1035
+ "drainage": {
1036
+ "properties": {
1037
+ "mainsFoulDrainage": {
1038
+ "oneOf": [
1039
+ null,
1040
+ null,
1041
+ {
1042
+ "required": [
1043
+ "associatedCost"
1044
+ ],
1045
+ "properties": {
1046
+ "associatedCost": {
1047
+ "sef25Ref": "U1.2",
1048
+ "discriminator": {
1049
+ "propertyName": "frequency"
1050
+ },
1051
+ "oneOf": [
1052
+ {
1053
+ "properties": {
1054
+ "frequency": {
1055
+ "enum": [
1056
+ "Not applicable"
1057
+ ]
1058
+ }
1059
+ }
1060
+ },
1061
+ {
1062
+ "properties": {
1063
+ "frequency": {
1064
+ "enum": [
1065
+ "Per month",
1066
+ "Per year"
1067
+ ]
1068
+ },
1069
+ "amount": {
1070
+ "sef25Ref": "U1.2.1"
1071
+ }
1072
+ }
1073
+ }
1074
+ ],
1075
+ "required": [
1076
+ "frequency"
1077
+ ],
1078
+ "properties": {
1079
+ "frequency": {
1080
+ "sef25Ref": "U1.2.2"
1081
+ }
1082
+ }
1083
+ }
1084
+ }
1085
+ }
1086
+ ]
1087
+ }
1088
+ }
1089
+ }
1090
+ }
1091
+ },
1092
+ "insurance": {
1093
+ "sef25Ref": "I1",
1094
+ "discriminator": {
1095
+ "propertyName": "isInsured"
1096
+ },
1097
+ "oneOf": [
1098
+ {
1099
+ "properties": {
1100
+ "isInsured": {
1101
+ "enum": [
1102
+ "No"
1103
+ ]
1104
+ }
1105
+ }
1106
+ },
1107
+ {
1108
+ "properties": {
1109
+ "isInsured": {
1110
+ "enum": [
1111
+ "Yes"
1112
+ ]
1113
+ },
1114
+ "insuranceClaims": {
1115
+ "sef25Ref": "I1.1",
1116
+ "discriminator": {
1117
+ "propertyName": "yesNo"
1118
+ },
1119
+ "oneOf": [
1120
+ {
1121
+ "properties": {
1122
+ "yesNo": {
1123
+ "enum": [
1124
+ "No"
1125
+ ]
1126
+ }
1127
+ }
1128
+ },
1129
+ {
1130
+ "properties": {
1131
+ "yesNo": {
1132
+ "enum": [
1133
+ "Yes"
1134
+ ]
1135
+ },
1136
+ "details": {
1137
+ "sef25Ref": "I1.1.2"
1138
+ }
1139
+ },
1140
+ "required": [
1141
+ "details"
1142
+ ]
1143
+ }
1144
+ ],
1145
+ "required": [
1146
+ "yesNo"
1147
+ ],
1148
+ "properties": {
1149
+ "yesNo": {
1150
+ "sef25Ref": "I1.1.1"
1151
+ }
1152
+ }
1153
+ }
1154
+ },
1155
+ "required": [
1156
+ "insuranceClaims"
1157
+ ]
1158
+ }
1159
+ ],
1160
+ "required": [
1161
+ "isInsured"
1162
+ ],
1163
+ "properties": {
1164
+ "isInsured": {
1165
+ "sef25Ref": "I1.2"
1166
+ }
1167
+ }
1168
+ },
1169
+ "rightsAndInformalArrangements": {
1170
+ "sef25Ref": "R1",
1171
+ "properties": {
1172
+ "rightsOrArrangements": {
1173
+ "sef25Ref": "R1",
1174
+ "required": [
1175
+ "privateRightOfWay"
1176
+ ],
1177
+ "properties": {
1178
+ "privateRightOfWay": {
1179
+ "sef25Ref": "R1.1",
1180
+ "discriminator": {
1181
+ "propertyName": "yesNo"
1182
+ },
1183
+ "oneOf": [
1184
+ {
1185
+ "properties": {
1186
+ "yesNo": {
1187
+ "enum": [
1188
+ "No"
1189
+ ]
1190
+ }
1191
+ }
1192
+ },
1193
+ {
1194
+ "properties": {
1195
+ "yesNo": {
1196
+ "enum": [
1197
+ "Yes"
1198
+ ]
1199
+ },
1200
+ "details": {
1201
+ "sef25Ref": "R1.1.2"
1202
+ }
1203
+ },
1204
+ "required": [
1205
+ "details"
1206
+ ]
1207
+ }
1208
+ ],
1209
+ "required": [
1210
+ "yesNo"
1211
+ ],
1212
+ "properties": {
1213
+ "yesNo": {
1214
+ "sef25Ref": "R1.1.1"
1215
+ }
1216
+ }
1217
+ }
1218
+ }
1219
+ }
1220
+ }
1221
+ },
1222
+ "environmentalIssues": {
1223
+ "sef25Ref": "E1",
1224
+ "required": [
1225
+ "stormFireFloodDamage"
1226
+ ],
1227
+ "properties": {
1228
+ "flooding": {
1229
+ "properties": {
1230
+ "historicalFlooding": {
1231
+ "properties": {
1232
+ "hasBeenFlooded": {
1233
+ "sef25Ref": "E1.2"
1234
+ }
1235
+ }
1236
+ }
1237
+ }
1238
+ },
1239
+ "stormFireFloodDamage": {
1240
+ "sef25Ref": "E1.1",
1241
+ "discriminator": {
1242
+ "propertyName": "yesNo"
1243
+ },
1244
+ "oneOf": [
1245
+ {
1246
+ "properties": {
1247
+ "yesNo": {
1248
+ "enum": [
1249
+ "No"
1250
+ ]
1251
+ }
1252
+ }
1253
+ },
1254
+ {
1255
+ "properties": {
1256
+ "yesNo": {
1257
+ "enum": [
1258
+ "Yes"
1259
+ ]
1260
+ },
1261
+ "details": {
1262
+ "sef25Ref": "E1.1.2"
1263
+ }
1264
+ },
1265
+ "required": [
1266
+ "details"
1267
+ ]
1268
+ }
1269
+ ],
1270
+ "required": [
1271
+ "yesNo"
1272
+ ],
1273
+ "properties": {
1274
+ "yesNo": {
1275
+ "sef25Ref": "E1.1.1"
1276
+ }
1277
+ }
1278
+ }
1279
+ }
1280
+ },
1281
+ "additionalInformation": {
1282
+ "sef25Ref": "M1",
1283
+ "required": [
1284
+ "otherMaterialIssue"
1285
+ ],
1286
+ "properties": {
1287
+ "otherMaterialIssue": {
1288
+ "sef25Ref": "M1.1",
1289
+ "discriminator": {
1290
+ "propertyName": "yesNo"
1291
+ },
1292
+ "oneOf": [
1293
+ {
1294
+ "properties": {
1295
+ "yesNo": {
1296
+ "enum": [
1297
+ "No"
1298
+ ]
1299
+ }
1300
+ }
1301
+ },
1302
+ {
1303
+ "properties": {
1304
+ "yesNo": {
1305
+ "enum": [
1306
+ "Yes"
1307
+ ]
1308
+ },
1309
+ "details": {
1310
+ "sef25Ref": "M1.1.2"
1311
+ }
1312
+ },
1313
+ "required": [
1314
+ "details"
1315
+ ]
1316
+ }
1317
+ ],
1318
+ "required": [
1319
+ "yesNo"
1320
+ ],
1321
+ "properties": {
1322
+ "yesNo": {
1323
+ "sef25Ref": "M1.1.1"
1324
+ }
1325
+ }
1326
+ }
1327
+ }
1328
+ },
1329
+ "guaranteesWarrantiesAndIndemnityInsurances": {
1330
+ "sef25Ref": "W1",
1331
+ "discriminator": {
1332
+ "propertyName": "hasValidGuaranteesOrWarranties"
1333
+ },
1334
+ "oneOf": [
1335
+ {
1336
+ "properties": {
1337
+ "hasValidGuaranteesOrWarranties": {
1338
+ "enum": [
1339
+ "No"
1340
+ ]
1341
+ }
1342
+ }
1343
+ },
1344
+ {
1345
+ "properties": {
1346
+ "hasValidGuaranteesOrWarranties": {
1347
+ "enum": [
1348
+ "Yes"
1349
+ ]
1350
+ },
1351
+ "newHomeWarranty": {
1352
+ "sef25Ref": "W1.1",
1353
+ "discriminator": {
1354
+ "propertyName": "yesNo"
1355
+ },
1356
+ "oneOf": [
1357
+ {
1358
+ "properties": {
1359
+ "yesNo": {
1360
+ "enum": [
1361
+ "No"
1362
+ ]
1363
+ }
1364
+ }
1365
+ },
1366
+ {
1367
+ "properties": {
1368
+ "yesNo": {
1369
+ "enum": [
1370
+ "Yes"
1371
+ ]
1372
+ }
1373
+ }
1374
+ }
1375
+ ],
1376
+ "required": [
1377
+ "yesNo"
1378
+ ],
1379
+ "properties": {
1380
+ "yesNo": {
1381
+ "sef25Ref": "W1.1.1"
1382
+ }
1383
+ }
1384
+ },
1385
+ "roofingWork": {
1386
+ "sef25Ref": "W1.2",
1387
+ "discriminator": {
1388
+ "propertyName": "yesNo"
1389
+ },
1390
+ "oneOf": [
1391
+ {
1392
+ "properties": {
1393
+ "yesNo": {
1394
+ "enum": [
1395
+ "No"
1396
+ ]
1397
+ }
1398
+ }
1399
+ },
1400
+ {
1401
+ "properties": {
1402
+ "yesNo": {
1403
+ "enum": [
1404
+ "Yes"
1405
+ ]
1406
+ }
1407
+ }
1408
+ }
1409
+ ],
1410
+ "required": [
1411
+ "yesNo"
1412
+ ],
1413
+ "properties": {
1414
+ "yesNo": {
1415
+ "sef25Ref": "W1.2.1"
1416
+ }
1417
+ }
1418
+ },
1419
+ "dampProofingTreatment": {
1420
+ "sef25Ref": "W1.3",
1421
+ "discriminator": {
1422
+ "propertyName": "yesNo"
1423
+ },
1424
+ "oneOf": [
1425
+ {
1426
+ "properties": {
1427
+ "yesNo": {
1428
+ "enum": [
1429
+ "No"
1430
+ ]
1431
+ }
1432
+ }
1433
+ },
1434
+ {
1435
+ "properties": {
1436
+ "yesNo": {
1437
+ "enum": [
1438
+ "Yes"
1439
+ ]
1440
+ }
1441
+ }
1442
+ }
1443
+ ],
1444
+ "required": [
1445
+ "yesNo"
1446
+ ],
1447
+ "properties": {
1448
+ "yesNo": {
1449
+ "sef25Ref": "W1.3.1"
1450
+ }
1451
+ }
1452
+ },
1453
+ "centralHeatingAndorPlumbing": {
1454
+ "sef25Ref": "W1.4",
1455
+ "discriminator": {
1456
+ "propertyName": "yesNo"
1457
+ },
1458
+ "oneOf": [
1459
+ {
1460
+ "properties": {
1461
+ "yesNo": {
1462
+ "enum": [
1463
+ "No"
1464
+ ]
1465
+ }
1466
+ }
1467
+ },
1468
+ {
1469
+ "properties": {
1470
+ "yesNo": {
1471
+ "enum": [
1472
+ "Yes"
1473
+ ]
1474
+ }
1475
+ }
1476
+ }
1477
+ ],
1478
+ "required": [
1479
+ "yesNo"
1480
+ ],
1481
+ "properties": {
1482
+ "yesNo": {
1483
+ "sef25Ref": "W1.4.1"
1484
+ }
1485
+ }
1486
+ },
1487
+ "doubleGlazing": {
1488
+ "sef25Ref": "W1.8",
1489
+ "discriminator": {
1490
+ "propertyName": "yesNo"
1491
+ },
1492
+ "oneOf": [
1493
+ {
1494
+ "properties": {
1495
+ "yesNo": {
1496
+ "enum": [
1497
+ "No"
1498
+ ]
1499
+ }
1500
+ }
1501
+ },
1502
+ {
1503
+ "properties": {
1504
+ "yesNo": {
1505
+ "enum": [
1506
+ "Yes"
1507
+ ]
1508
+ }
1509
+ }
1510
+ }
1511
+ ],
1512
+ "required": [
1513
+ "yesNo"
1514
+ ],
1515
+ "properties": {
1516
+ "yesNo": {
1517
+ "sef25Ref": "W1.8.1"
1518
+ }
1519
+ }
1520
+ },
1521
+ "electricalRepairOrInstallation": {
1522
+ "sef25Ref": "W1.5",
1523
+ "discriminator": {
1524
+ "propertyName": "yesNo"
1525
+ },
1526
+ "oneOf": [
1527
+ {
1528
+ "properties": {
1529
+ "yesNo": {
1530
+ "enum": [
1531
+ "No"
1532
+ ]
1533
+ }
1534
+ }
1535
+ },
1536
+ {
1537
+ "properties": {
1538
+ "yesNo": {
1539
+ "enum": [
1540
+ "Yes"
1541
+ ]
1542
+ }
1543
+ }
1544
+ }
1545
+ ],
1546
+ "required": [
1547
+ "yesNo"
1548
+ ],
1549
+ "properties": {
1550
+ "yesNo": {
1551
+ "sef25Ref": "W1.5.1"
1552
+ }
1553
+ }
1554
+ },
1555
+ "subsidenceWork": {
1556
+ "sef25Ref": "W1.6",
1557
+ "discriminator": {
1558
+ "propertyName": "yesNo"
1559
+ },
1560
+ "oneOf": [
1561
+ {
1562
+ "properties": {
1563
+ "yesNo": {
1564
+ "enum": [
1565
+ "No"
1566
+ ]
1567
+ }
1568
+ }
1569
+ },
1570
+ {
1571
+ "properties": {
1572
+ "yesNo": {
1573
+ "enum": [
1574
+ "Yes"
1575
+ ]
1576
+ }
1577
+ }
1578
+ }
1579
+ ],
1580
+ "required": [
1581
+ "yesNo"
1582
+ ],
1583
+ "properties": {
1584
+ "yesNo": {
1585
+ "sef25Ref": "W1.6.1"
1586
+ }
1587
+ }
1588
+ },
1589
+ "otherGuarantees": {
1590
+ "sef25Ref": "W1.7",
1591
+ "discriminator": {
1592
+ "propertyName": "yesNo"
1593
+ },
1594
+ "oneOf": [
1595
+ {
1596
+ "properties": {
1597
+ "yesNo": {
1598
+ "enum": [
1599
+ "No"
1600
+ ]
1601
+ }
1602
+ }
1603
+ },
1604
+ {
1605
+ "properties": {
1606
+ "yesNo": {
1607
+ "enum": [
1608
+ "Yes"
1609
+ ]
1610
+ },
1611
+ "details": {
1612
+ "sef25Ref": "W1.7.2"
1613
+ }
1614
+ },
1615
+ "required": [
1616
+ "details"
1617
+ ]
1618
+ }
1619
+ ],
1620
+ "required": [
1621
+ "yesNo"
1622
+ ],
1623
+ "properties": {
1624
+ "yesNo": {
1625
+ "sef25Ref": "W1.7.1"
1626
+ }
1627
+ }
1628
+ }
1629
+ },
1630
+ "required": [
1631
+ "newHomeWarranty",
1632
+ "roofingWork",
1633
+ "dampProofingTreatment",
1634
+ "centralHeatingAndorPlumbing",
1635
+ "electricalRepairOrInstallation",
1636
+ "subsidenceWork",
1637
+ "otherGuarantees"
1638
+ ]
1639
+ }
1640
+ ],
1641
+ "required": [
1642
+ "hasValidGuaranteesOrWarranties"
1643
+ ],
1644
+ "properties": {
1645
+ "hasValidGuaranteesOrWarranties": {
1646
+ "sef25Ref": "W1.0"
1647
+ }
1648
+ }
1649
+ }
1650
+ }
1651
+ }
1652
+ }
1653
+ }