@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,3668 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://trust.propdata.org.uk/schemas/v3/overlays/rds.json",
4
+ "properties": {
5
+ "participants": {
6
+ "items": {
7
+ "oneOf": [
8
+ null,
9
+ null,
10
+ {
11
+ "properties": {
12
+ "sellersCapacity": {
13
+ "rdsRef": "Participants/description=?,Participants/ActingFor/Participants/Role",
14
+ "discriminator": {
15
+ "propertyName": "capacity"
16
+ },
17
+ "oneOf": [
18
+ {
19
+ "properties": {
20
+ "capacity": {
21
+ "enum": [
22
+ "Legal Owner",
23
+ "Mortgagee in Possession"
24
+ ]
25
+ },
26
+ "sellersCapacityDetails": {
27
+ "rdsRef": "Participants/OtherDocumentation"
28
+ }
29
+ }
30
+ },
31
+ {
32
+ "properties": {
33
+ "capacity": {
34
+ "enum": [
35
+ "Personal Representative for a Deceased Owner",
36
+ "Under Power of Attorney",
37
+ "Trustee",
38
+ "Assistant",
39
+ "Other"
40
+ ]
41
+ },
42
+ "sellersCapacityDetails": {
43
+ "rdsRef": "Participants/OtherDocumentation"
44
+ }
45
+ }
46
+ },
47
+ {
48
+ "properties": {
49
+ "capacity": {
50
+ "enum": [
51
+ "Company Director",
52
+ "Company Secretary"
53
+ ]
54
+ },
55
+ "sellersCapacityDetails": {
56
+ "rdsRef": "Participants/OtherDocumentation"
57
+ }
58
+ }
59
+ }
60
+ ]
61
+ }
62
+ }
63
+ }
64
+ ]
65
+ }
66
+ },
67
+ "propertyPack": {
68
+ "properties": {
69
+ "address": {
70
+ "rdsRef": "Property/Address/xal:AddressDetails"
71
+ },
72
+ "uprn": {
73
+ "rdsRef": "Property/GUID/{name='UPRN',id=?}"
74
+ },
75
+ "ownership": {
76
+ "properties": {
77
+ "ownershipsToBeTransferred": {
78
+ "items": {
79
+ "properties": {
80
+ "ownershipType": {
81
+ "rdsRef": "Tenure/Tenure"
82
+ }
83
+ },
84
+ "oneOf": [
85
+ null,
86
+ null,
87
+ {
88
+ "properties": {
89
+ "leaseholdInformation": {
90
+ "properties": {
91
+ "groundRent": {
92
+ "oneOf": [
93
+ null,
94
+ {
95
+ "properties": {
96
+ "annualGroundRent": {
97
+ "rdsRef": "TenureAgreements/RentPayable/Value"
98
+ }
99
+ }
100
+ }
101
+ ]
102
+ }
103
+ }
104
+ }
105
+ }
106
+ }
107
+ ]
108
+ }
109
+ }
110
+ }
111
+ },
112
+ "parking": {
113
+ "rdsRef": "Services/Parking"
114
+ },
115
+ "listingAndConservation": {
116
+ "properties": {
117
+ "isListed": {
118
+ "rdsRef": "Protections",
119
+ "discriminator": {
120
+ "propertyName": "yesNo"
121
+ },
122
+ "oneOf": [
123
+ {
124
+ "properties": {
125
+ "yesNo": {
126
+ "enum": [
127
+ "No",
128
+ "Not known"
129
+ ]
130
+ }
131
+ }
132
+ },
133
+ {
134
+ "properties": {
135
+ "yesNo": {
136
+ "enum": [
137
+ "Yes"
138
+ ]
139
+ }
140
+ }
141
+ }
142
+ ]
143
+ },
144
+ "isConservationArea": {
145
+ "rdsRef": "Protections",
146
+ "discriminator": {
147
+ "propertyName": "yesNo"
148
+ },
149
+ "oneOf": [
150
+ {
151
+ "properties": {
152
+ "yesNo": {
153
+ "enum": [
154
+ "No",
155
+ "Not known"
156
+ ]
157
+ }
158
+ }
159
+ },
160
+ {
161
+ "properties": {
162
+ "yesNo": {
163
+ "enum": [
164
+ "Yes"
165
+ ]
166
+ }
167
+ }
168
+ }
169
+ ]
170
+ },
171
+ "hasTreePreservationOrder": {
172
+ "rdsRef": "Property/Flags",
173
+ "discriminator": {
174
+ "propertyName": "yesNo"
175
+ },
176
+ "oneOf": [
177
+ {
178
+ "properties": {
179
+ "yesNo": {
180
+ "enum": [
181
+ "No",
182
+ "Not known"
183
+ ]
184
+ }
185
+ }
186
+ },
187
+ {
188
+ "properties": {
189
+ "yesNo": {
190
+ "enum": [
191
+ "Yes"
192
+ ]
193
+ },
194
+ "workCarriedOut": {
195
+ "rdsRef": "WorksAlterationsChanges",
196
+ "discriminator": {
197
+ "propertyName": "yesNo"
198
+ },
199
+ "oneOf": [
200
+ {
201
+ "properties": {
202
+ "yesNo": {
203
+ "enum": [
204
+ "No"
205
+ ]
206
+ }
207
+ }
208
+ },
209
+ {
210
+ "properties": {
211
+ "yesNo": {
212
+ "enum": [
213
+ "Yes"
214
+ ]
215
+ },
216
+ "consentsObtained": {
217
+ "rdsRef": "Protections"
218
+ }
219
+ }
220
+ }
221
+ ]
222
+ }
223
+ }
224
+ }
225
+ ]
226
+ }
227
+ }
228
+ },
229
+ "typeOfConstruction": {
230
+ "properties": {
231
+ "isStandardForm": {
232
+ "rdsRef": "Buildings,BuildingSections/ConstructionType,ConstructionMaterials",
233
+ "discriminator": {
234
+ "propertyName": "yesNo"
235
+ },
236
+ "oneOf": [
237
+ {
238
+ "properties": {
239
+ "yesNo": {
240
+ "enum": [
241
+ "Yes"
242
+ ]
243
+ }
244
+ }
245
+ },
246
+ {
247
+ "properties": {
248
+ "yesNo": {
249
+ "enum": [
250
+ "No"
251
+ ]
252
+ }
253
+ }
254
+ }
255
+ ]
256
+ }
257
+ }
258
+ },
259
+ "energyEfficiency": {
260
+ "rdsRef": "Certificates/{category='energyEfficiency',standard='EPC',gradeLevelRating=?},Certificates/{category='energyEfficiency',standard='EPC',status='exempt'},",
261
+ "properties": {
262
+ "greenDealLoan": {
263
+ "rdsRef": "RightsHolders/Loans,RightsHolders/OtherDocumentation"
264
+ }
265
+ }
266
+ },
267
+ "councilTax": {
268
+ "properties": {
269
+ "councilTaxBand": {
270
+ "rdsRef": "TenureAgreements/Taxes/{banding=?}"
271
+ },
272
+ "councilTaxAffectingAlterations": {
273
+ "rdsRef": "TenureAgreements/Taxes/WorksAlterationsChanges",
274
+ "discriminator": {
275
+ "propertyName": "yesNo"
276
+ },
277
+ "oneOf": [
278
+ {
279
+ "properties": {
280
+ "yesNo": {
281
+ "enum": [
282
+ "No"
283
+ ]
284
+ }
285
+ }
286
+ },
287
+ {
288
+ "properties": {
289
+ "yesNo": {
290
+ "enum": [
291
+ "Yes"
292
+ ]
293
+ }
294
+ }
295
+ }
296
+ ]
297
+ }
298
+ }
299
+ },
300
+ "disputesAndComplaints": {
301
+ "properties": {
302
+ "hasDisputesAndComplaints": {
303
+ "rdsRef": "Tenure/DisputesComplaints,Tenure/LegalClaims",
304
+ "discriminator": {
305
+ "propertyName": "yesNo"
306
+ },
307
+ "oneOf": [
308
+ {
309
+ "properties": {
310
+ "yesNo": {
311
+ "enum": [
312
+ "No"
313
+ ]
314
+ }
315
+ }
316
+ },
317
+ {
318
+ "properties": {
319
+ "yesNo": {
320
+ "enum": [
321
+ "Yes"
322
+ ]
323
+ }
324
+ }
325
+ }
326
+ ]
327
+ },
328
+ "leadingToDisputesAndComplaints": {
329
+ "rdsRef": "Tenure/DisputesComplaints,Tenure/LegalClaims",
330
+ "discriminator": {
331
+ "propertyName": "yesNo"
332
+ },
333
+ "oneOf": [
334
+ {
335
+ "properties": {
336
+ "yesNo": {
337
+ "enum": [
338
+ "No"
339
+ ]
340
+ }
341
+ }
342
+ },
343
+ {
344
+ "properties": {
345
+ "yesNo": {
346
+ "enum": [
347
+ "Yes"
348
+ ]
349
+ }
350
+ }
351
+ }
352
+ ]
353
+ }
354
+ }
355
+ },
356
+ "alterationsAndChanges": {
357
+ "properties": {
358
+ "hasStructuralAlterations": {
359
+ "rdsRef": "WorksAlterationsChanges",
360
+ "discriminator": {
361
+ "propertyName": "yesNo"
362
+ },
363
+ "oneOf": [
364
+ {
365
+ "properties": {
366
+ "yesNo": {
367
+ "enum": [
368
+ "No"
369
+ ]
370
+ }
371
+ }
372
+ },
373
+ {
374
+ "properties": {
375
+ "yesNo": {
376
+ "enum": [
377
+ "Yes"
378
+ ]
379
+ },
380
+ "buildingRegApproval": {
381
+ "rdsRef": "WorksAlterationsChanges/ConsentApproval",
382
+ "discriminator": {
383
+ "propertyName": "yesNo"
384
+ },
385
+ "oneOf": [
386
+ {
387
+ "properties": {
388
+ "yesNo": {
389
+ "enum": [
390
+ "Yes"
391
+ ]
392
+ }
393
+ }
394
+ },
395
+ {
396
+ "properties": {
397
+ "yesNo": {
398
+ "enum": [
399
+ "No",
400
+ "Not required"
401
+ ]
402
+ }
403
+ }
404
+ }
405
+ ]
406
+ },
407
+ "planningPermission": {
408
+ "rdsRef": "WorksAlterationsChanges/ConsentApproval",
409
+ "discriminator": {
410
+ "propertyName": "yesNo"
411
+ },
412
+ "oneOf": [
413
+ {
414
+ "properties": {
415
+ "yesNo": {
416
+ "enum": [
417
+ "Yes"
418
+ ]
419
+ }
420
+ }
421
+ },
422
+ {
423
+ "properties": {
424
+ "yesNo": {
425
+ "enum": [
426
+ "No",
427
+ "Not required"
428
+ ]
429
+ }
430
+ }
431
+ }
432
+ ]
433
+ },
434
+ "listedBuildingConsent": {
435
+ "rdsRef": "WorksAlterationsChanges/ConsentApproval",
436
+ "discriminator": {
437
+ "propertyName": "yesNo"
438
+ },
439
+ "oneOf": [
440
+ {
441
+ "properties": {
442
+ "yesNo": {
443
+ "enum": [
444
+ "Yes"
445
+ ]
446
+ }
447
+ }
448
+ },
449
+ {
450
+ "properties": {
451
+ "yesNo": {
452
+ "enum": [
453
+ "No",
454
+ "Not required"
455
+ ]
456
+ }
457
+ }
458
+ }
459
+ ]
460
+ },
461
+ "deedRestrictionConsent": {
462
+ "rdsRef": "WorksAlterationsChanges/ConsentApproval",
463
+ "discriminator": {
464
+ "propertyName": "yesNo"
465
+ },
466
+ "oneOf": [
467
+ {
468
+ "properties": {
469
+ "yesNo": {
470
+ "enum": [
471
+ "Yes"
472
+ ]
473
+ }
474
+ }
475
+ },
476
+ {
477
+ "properties": {
478
+ "yesNo": {
479
+ "enum": [
480
+ "No",
481
+ "Not required"
482
+ ]
483
+ }
484
+ }
485
+ }
486
+ ]
487
+ }
488
+ }
489
+ }
490
+ ]
491
+ },
492
+ "changeOfUse": {
493
+ "rdsRef": "WorksAlterationsChanges",
494
+ "discriminator": {
495
+ "propertyName": "yesNo"
496
+ },
497
+ "oneOf": [
498
+ {
499
+ "properties": {
500
+ "yesNo": {
501
+ "enum": [
502
+ "No"
503
+ ]
504
+ }
505
+ }
506
+ },
507
+ {
508
+ "properties": {
509
+ "yesNo": {
510
+ "enum": [
511
+ "Yes"
512
+ ]
513
+ },
514
+ "buildingRegApproval": {
515
+ "rdsRef": "WorksAlterationsChanges/ConsentApproval",
516
+ "discriminator": {
517
+ "propertyName": "yesNo"
518
+ },
519
+ "oneOf": [
520
+ {
521
+ "properties": {
522
+ "yesNo": {
523
+ "enum": [
524
+ "Yes"
525
+ ]
526
+ }
527
+ }
528
+ },
529
+ {
530
+ "properties": {
531
+ "yesNo": {
532
+ "enum": [
533
+ "No",
534
+ "Not required"
535
+ ]
536
+ }
537
+ }
538
+ }
539
+ ]
540
+ },
541
+ "planningPermission": {
542
+ "rdsRef": "WorksAlterationsChanges/ConsentApproval",
543
+ "discriminator": {
544
+ "propertyName": "yesNo"
545
+ },
546
+ "oneOf": [
547
+ {
548
+ "properties": {
549
+ "yesNo": {
550
+ "enum": [
551
+ "Yes"
552
+ ]
553
+ }
554
+ }
555
+ },
556
+ {
557
+ "properties": {
558
+ "yesNo": {
559
+ "enum": [
560
+ "No",
561
+ "Not required"
562
+ ]
563
+ }
564
+ }
565
+ }
566
+ ]
567
+ },
568
+ "listedBuildingConsent": {
569
+ "rdsRef": "WorksAlterationsChanges/ConsentApproval",
570
+ "discriminator": {
571
+ "propertyName": "yesNo"
572
+ },
573
+ "oneOf": [
574
+ {
575
+ "properties": {
576
+ "yesNo": {
577
+ "enum": [
578
+ "Yes"
579
+ ]
580
+ }
581
+ }
582
+ },
583
+ {
584
+ "properties": {
585
+ "yesNo": {
586
+ "enum": [
587
+ "No",
588
+ "Not required"
589
+ ]
590
+ }
591
+ }
592
+ }
593
+ ]
594
+ },
595
+ "deedRestrictionConsent": {
596
+ "rdsRef": "WorksAlterationsChanges/ConsentApproval",
597
+ "discriminator": {
598
+ "propertyName": "yesNo"
599
+ },
600
+ "oneOf": [
601
+ {
602
+ "properties": {
603
+ "yesNo": {
604
+ "enum": [
605
+ "Yes"
606
+ ]
607
+ }
608
+ }
609
+ },
610
+ {
611
+ "properties": {
612
+ "yesNo": {
613
+ "enum": [
614
+ "No",
615
+ "Not required"
616
+ ]
617
+ }
618
+ }
619
+ }
620
+ ]
621
+ }
622
+ }
623
+ }
624
+ ]
625
+ },
626
+ "windowReplacementsSince2002": {
627
+ "rdsRef": "WorksAlterationsChanges",
628
+ "discriminator": {
629
+ "propertyName": "yesNo"
630
+ },
631
+ "oneOf": [
632
+ {
633
+ "properties": {
634
+ "yesNo": {
635
+ "enum": [
636
+ "No"
637
+ ]
638
+ }
639
+ }
640
+ },
641
+ {
642
+ "properties": {
643
+ "yesNo": {
644
+ "enum": [
645
+ "Yes"
646
+ ]
647
+ },
648
+ "buildingRegApproval": {
649
+ "rdsRef": "WorksAlterationsChanges/ConsentApproval",
650
+ "discriminator": {
651
+ "propertyName": "yesNo"
652
+ },
653
+ "oneOf": [
654
+ {
655
+ "properties": {
656
+ "yesNo": {
657
+ "enum": [
658
+ "Yes"
659
+ ]
660
+ }
661
+ }
662
+ },
663
+ {
664
+ "properties": {
665
+ "yesNo": {
666
+ "enum": [
667
+ "No",
668
+ "Not required"
669
+ ]
670
+ }
671
+ }
672
+ }
673
+ ]
674
+ },
675
+ "planningPermission": {
676
+ "rdsRef": "WorksAlterationsChanges/ConsentApproval",
677
+ "discriminator": {
678
+ "propertyName": "yesNo"
679
+ },
680
+ "oneOf": [
681
+ {
682
+ "properties": {
683
+ "yesNo": {
684
+ "enum": [
685
+ "Yes"
686
+ ]
687
+ }
688
+ }
689
+ },
690
+ {
691
+ "properties": {
692
+ "yesNo": {
693
+ "enum": [
694
+ "No",
695
+ "Not required"
696
+ ]
697
+ }
698
+ }
699
+ }
700
+ ]
701
+ },
702
+ "listedBuildingConsent": {
703
+ "rdsRef": "WorksAlterationsChanges/ConsentApproval",
704
+ "discriminator": {
705
+ "propertyName": "yesNo"
706
+ },
707
+ "oneOf": [
708
+ {
709
+ "properties": {
710
+ "yesNo": {
711
+ "enum": [
712
+ "Yes"
713
+ ]
714
+ }
715
+ }
716
+ },
717
+ {
718
+ "properties": {
719
+ "yesNo": {
720
+ "enum": [
721
+ "No",
722
+ "Not required"
723
+ ]
724
+ }
725
+ }
726
+ }
727
+ ]
728
+ },
729
+ "deedRestrictionConsent": {
730
+ "rdsRef": "WorksAlterationsChanges/ConsentApproval",
731
+ "discriminator": {
732
+ "propertyName": "yesNo"
733
+ },
734
+ "oneOf": [
735
+ {
736
+ "properties": {
737
+ "yesNo": {
738
+ "enum": [
739
+ "Yes"
740
+ ]
741
+ }
742
+ }
743
+ },
744
+ {
745
+ "properties": {
746
+ "yesNo": {
747
+ "enum": [
748
+ "No",
749
+ "Not required"
750
+ ]
751
+ }
752
+ }
753
+ }
754
+ ]
755
+ }
756
+ }
757
+ }
758
+ ]
759
+ },
760
+ "hasAddedConservatory": {
761
+ "rdsRef": "WorksAlterationsChanges",
762
+ "discriminator": {
763
+ "propertyName": "yesNo"
764
+ },
765
+ "oneOf": [
766
+ {
767
+ "properties": {
768
+ "yesNo": {
769
+ "enum": [
770
+ "No"
771
+ ]
772
+ }
773
+ }
774
+ },
775
+ {
776
+ "properties": {
777
+ "yesNo": {
778
+ "enum": [
779
+ "Yes"
780
+ ]
781
+ },
782
+ "buildingRegApproval": {
783
+ "rdsRef": "WorksAlterationsChanges/ConsentApproval",
784
+ "discriminator": {
785
+ "propertyName": "yesNo"
786
+ },
787
+ "oneOf": [
788
+ {
789
+ "properties": {
790
+ "yesNo": {
791
+ "enum": [
792
+ "Yes"
793
+ ]
794
+ }
795
+ }
796
+ },
797
+ {
798
+ "properties": {
799
+ "yesNo": {
800
+ "enum": [
801
+ "No",
802
+ "Not required"
803
+ ]
804
+ }
805
+ }
806
+ }
807
+ ]
808
+ },
809
+ "planningPermission": {
810
+ "rdsRef": "WorksAlterationsChanges/ConsentApproval",
811
+ "discriminator": {
812
+ "propertyName": "yesNo"
813
+ },
814
+ "oneOf": [
815
+ {
816
+ "properties": {
817
+ "yesNo": {
818
+ "enum": [
819
+ "Yes"
820
+ ]
821
+ }
822
+ }
823
+ },
824
+ {
825
+ "properties": {
826
+ "yesNo": {
827
+ "enum": [
828
+ "No",
829
+ "Not required"
830
+ ]
831
+ }
832
+ }
833
+ }
834
+ ]
835
+ },
836
+ "listedBuildingConsent": {
837
+ "rdsRef": "WorksAlterationsChanges/ConsentApproval",
838
+ "discriminator": {
839
+ "propertyName": "yesNo"
840
+ },
841
+ "oneOf": [
842
+ {
843
+ "properties": {
844
+ "yesNo": {
845
+ "enum": [
846
+ "Yes"
847
+ ]
848
+ }
849
+ }
850
+ },
851
+ {
852
+ "properties": {
853
+ "yesNo": {
854
+ "enum": [
855
+ "No",
856
+ "Not required"
857
+ ]
858
+ }
859
+ }
860
+ }
861
+ ]
862
+ },
863
+ "deedRestrictionConsent": {
864
+ "rdsRef": "WorksAlterationsChanges/ConsentApproval",
865
+ "discriminator": {
866
+ "propertyName": "yesNo"
867
+ },
868
+ "oneOf": [
869
+ {
870
+ "properties": {
871
+ "yesNo": {
872
+ "enum": [
873
+ "Yes"
874
+ ]
875
+ }
876
+ }
877
+ },
878
+ {
879
+ "properties": {
880
+ "yesNo": {
881
+ "enum": [
882
+ "No",
883
+ "Not required"
884
+ ]
885
+ }
886
+ }
887
+ }
888
+ ]
889
+ }
890
+ }
891
+ }
892
+ ]
893
+ },
894
+ "worksUnfinished": {
895
+ "rdsRef": "WorksAlterationsChanges/isIncomplete",
896
+ "discriminator": {
897
+ "propertyName": "yesNo"
898
+ },
899
+ "oneOf": [
900
+ {
901
+ "properties": {
902
+ "yesNo": {
903
+ "enum": [
904
+ "No"
905
+ ]
906
+ }
907
+ }
908
+ },
909
+ {
910
+ "properties": {
911
+ "yesNo": {
912
+ "enum": [
913
+ "Yes"
914
+ ]
915
+ }
916
+ }
917
+ }
918
+ ]
919
+ },
920
+ "planningPermissionBreaches": {
921
+ "rdsRef": "Property/Flags",
922
+ "discriminator": {
923
+ "propertyName": "yesNo"
924
+ },
925
+ "oneOf": [
926
+ {
927
+ "properties": {
928
+ "yesNo": {
929
+ "enum": [
930
+ "No"
931
+ ]
932
+ }
933
+ }
934
+ },
935
+ {
936
+ "properties": {
937
+ "yesNo": {
938
+ "enum": [
939
+ "Yes"
940
+ ]
941
+ },
942
+ "details": {
943
+ "rdsRef": "Buildings,BuildingsSections/StructureAuthorised,BuildingsSections/StructureUnauthorised"
944
+ },
945
+ "willingToInsure": {
946
+ "rdsRef": "Insurance/isWillingToProvide"
947
+ }
948
+ }
949
+ }
950
+ ]
951
+ },
952
+ "unresolvedPlanningIssues": {
953
+ "rdsRef": "Buildings,BuildingsSections/StructureAuthorised,BuildingsSections/StructureUnauthorised",
954
+ "discriminator": {
955
+ "propertyName": "yesNo"
956
+ },
957
+ "oneOf": [
958
+ {
959
+ "properties": {
960
+ "yesNo": {
961
+ "enum": [
962
+ "No"
963
+ ]
964
+ }
965
+ }
966
+ },
967
+ {
968
+ "properties": {
969
+ "yesNo": {
970
+ "enum": [
971
+ "Yes"
972
+ ]
973
+ },
974
+ "details": {
975
+ "rdsRef": "Buildings,BuildingsSections/StructureAuthorised,BuildingsSections/StructureUnauthorised"
976
+ },
977
+ "willingToInsure": {
978
+ "rdsRef": "Insurance/isWillingToProvide"
979
+ }
980
+ }
981
+ }
982
+ ]
983
+ }
984
+ }
985
+ },
986
+ "notices": {
987
+ "properties": {
988
+ "neighbourDevelopment": {
989
+ "rdsRef": "Property/Flags,Planning",
990
+ "discriminator": {
991
+ "propertyName": "yesNo"
992
+ },
993
+ "oneOf": [
994
+ {
995
+ "properties": {
996
+ "yesNo": {
997
+ "enum": [
998
+ "No"
999
+ ]
1000
+ }
1001
+ }
1002
+ },
1003
+ {
1004
+ "properties": {
1005
+ "yesNo": {
1006
+ "enum": [
1007
+ "Yes"
1008
+ ]
1009
+ }
1010
+ }
1011
+ }
1012
+ ]
1013
+ },
1014
+ "planningApplication": {
1015
+ "rdsRef": "Property/Flags,Planning",
1016
+ "discriminator": {
1017
+ "propertyName": "yesNo"
1018
+ },
1019
+ "oneOf": [
1020
+ {
1021
+ "properties": {
1022
+ "yesNo": {
1023
+ "enum": [
1024
+ "No"
1025
+ ]
1026
+ }
1027
+ }
1028
+ },
1029
+ {
1030
+ "properties": {
1031
+ "yesNo": {
1032
+ "enum": [
1033
+ "Yes"
1034
+ ]
1035
+ }
1036
+ }
1037
+ }
1038
+ ]
1039
+ },
1040
+ "requiredMaintenance": {
1041
+ "rdsRef": "Property/Flags,Notifications",
1042
+ "discriminator": {
1043
+ "propertyName": "yesNo"
1044
+ },
1045
+ "oneOf": [
1046
+ {
1047
+ "properties": {
1048
+ "yesNo": {
1049
+ "enum": [
1050
+ "No"
1051
+ ]
1052
+ }
1053
+ }
1054
+ },
1055
+ {
1056
+ "properties": {
1057
+ "yesNo": {
1058
+ "enum": [
1059
+ "Yes"
1060
+ ]
1061
+ }
1062
+ }
1063
+ }
1064
+ ]
1065
+ },
1066
+ "listedBuildingApplication": {
1067
+ "rdsRef": "Property/Flags,Protections",
1068
+ "discriminator": {
1069
+ "propertyName": "yesNo"
1070
+ },
1071
+ "oneOf": [
1072
+ {
1073
+ "properties": {
1074
+ "yesNo": {
1075
+ "enum": [
1076
+ "No"
1077
+ ]
1078
+ }
1079
+ }
1080
+ },
1081
+ {
1082
+ "properties": {
1083
+ "yesNo": {
1084
+ "enum": [
1085
+ "Yes"
1086
+ ]
1087
+ }
1088
+ }
1089
+ }
1090
+ ]
1091
+ },
1092
+ "infrastructureProject": {
1093
+ "rdsRef": "Property/Flags,Planning",
1094
+ "discriminator": {
1095
+ "propertyName": "yesNo"
1096
+ },
1097
+ "oneOf": [
1098
+ {
1099
+ "properties": {
1100
+ "yesNo": {
1101
+ "enum": [
1102
+ "No"
1103
+ ]
1104
+ }
1105
+ }
1106
+ },
1107
+ {
1108
+ "properties": {
1109
+ "yesNo": {
1110
+ "enum": [
1111
+ "Yes"
1112
+ ]
1113
+ }
1114
+ }
1115
+ }
1116
+ ]
1117
+ },
1118
+ "partyWallAct": {
1119
+ "rdsRef": "Property/Flags,Notifications",
1120
+ "discriminator": {
1121
+ "propertyName": "yesNo"
1122
+ },
1123
+ "oneOf": [
1124
+ {
1125
+ "properties": {
1126
+ "yesNo": {
1127
+ "enum": [
1128
+ "No"
1129
+ ]
1130
+ }
1131
+ }
1132
+ },
1133
+ {
1134
+ "properties": {
1135
+ "yesNo": {
1136
+ "enum": [
1137
+ "Yes"
1138
+ ]
1139
+ }
1140
+ }
1141
+ }
1142
+ ]
1143
+ },
1144
+ "otherNotices": {
1145
+ "rdsRef": "Property/Flags,Notifications",
1146
+ "discriminator": {
1147
+ "propertyName": "yesNo"
1148
+ },
1149
+ "oneOf": [
1150
+ {
1151
+ "properties": {
1152
+ "yesNo": {
1153
+ "enum": [
1154
+ "No"
1155
+ ]
1156
+ }
1157
+ }
1158
+ },
1159
+ {
1160
+ "properties": {
1161
+ "yesNo": {
1162
+ "enum": [
1163
+ "Yes"
1164
+ ]
1165
+ }
1166
+ }
1167
+ }
1168
+ ]
1169
+ }
1170
+ }
1171
+ },
1172
+ "specialistIssues": {
1173
+ "properties": {
1174
+ "dryRotEtcTreatment": {
1175
+ "rdsRef": "Property/Flags,BuildingSections/EnvironmentalIssues",
1176
+ "discriminator": {
1177
+ "propertyName": "yesNo"
1178
+ },
1179
+ "oneOf": [
1180
+ {
1181
+ "properties": {
1182
+ "yesNo": {
1183
+ "enum": [
1184
+ "No"
1185
+ ]
1186
+ }
1187
+ }
1188
+ },
1189
+ {
1190
+ "properties": {
1191
+ "yesNo": {
1192
+ "enum": [
1193
+ "Yes"
1194
+ ]
1195
+ }
1196
+ }
1197
+ }
1198
+ ]
1199
+ },
1200
+ "containsAsbestos": {
1201
+ "rdsRef": "Property/Flags,BuildingSections/EnvironmentalIssues",
1202
+ "discriminator": {
1203
+ "propertyName": "yesNo"
1204
+ },
1205
+ "oneOf": [
1206
+ {
1207
+ "properties": {
1208
+ "yesNo": {
1209
+ "enum": [
1210
+ "No"
1211
+ ]
1212
+ }
1213
+ }
1214
+ },
1215
+ {
1216
+ "properties": {
1217
+ "yesNo": {
1218
+ "enum": [
1219
+ "Yes"
1220
+ ]
1221
+ }
1222
+ }
1223
+ }
1224
+ ]
1225
+ },
1226
+ "japaneseKnotweed": {
1227
+ "rdsRef": "Property/Flags,BuildingSections/EnvironmentalIssues,Use/EnvironmentalIssues",
1228
+ "discriminator": {
1229
+ "propertyName": "yesNo"
1230
+ },
1231
+ "oneOf": [
1232
+ {
1233
+ "properties": {
1234
+ "yesNo": {
1235
+ "enum": [
1236
+ "No",
1237
+ "Not known"
1238
+ ]
1239
+ }
1240
+ }
1241
+ },
1242
+ {
1243
+ "properties": {
1244
+ "yesNo": {
1245
+ "enum": [
1246
+ "Yes"
1247
+ ]
1248
+ }
1249
+ }
1250
+ }
1251
+ ]
1252
+ },
1253
+ "subsidenceOrStructuralFault": {
1254
+ "rdsRef": "Property/Flags,BuildingSections/EnvironmentalIssues",
1255
+ "discriminator": {
1256
+ "propertyName": "yesNo"
1257
+ },
1258
+ "oneOf": [
1259
+ {
1260
+ "properties": {
1261
+ "yesNo": {
1262
+ "enum": [
1263
+ "No"
1264
+ ]
1265
+ }
1266
+ }
1267
+ },
1268
+ {
1269
+ "properties": {
1270
+ "yesNo": {
1271
+ "enum": [
1272
+ "Yes"
1273
+ ]
1274
+ }
1275
+ }
1276
+ }
1277
+ ]
1278
+ },
1279
+ "ongoingHealthOrSafetyIssue": {
1280
+ "rdsRef": "Property/Flags,BuildingSections/EnvironmentalIssues",
1281
+ "discriminator": {
1282
+ "propertyName": "yesNo"
1283
+ },
1284
+ "oneOf": [
1285
+ {
1286
+ "properties": {
1287
+ "yesNo": {
1288
+ "enum": [
1289
+ "No"
1290
+ ]
1291
+ }
1292
+ }
1293
+ },
1294
+ {
1295
+ "properties": {
1296
+ "yesNo": {
1297
+ "enum": [
1298
+ "Yes"
1299
+ ]
1300
+ }
1301
+ }
1302
+ }
1303
+ ]
1304
+ }
1305
+ }
1306
+ },
1307
+ "fixturesAndFittings": {
1308
+ "properties": {
1309
+ "itemsToRemove": {
1310
+ "rdsRef": "Objects/{isIncludedInExchange='no',class='fixture|fitting}",
1311
+ "discriminator": {
1312
+ "propertyName": "yesNo"
1313
+ },
1314
+ "oneOf": [
1315
+ {
1316
+ "properties": {
1317
+ "yesNo": {
1318
+ "enum": [
1319
+ "No"
1320
+ ]
1321
+ }
1322
+ }
1323
+ },
1324
+ {
1325
+ "properties": {
1326
+ "yesNo": {
1327
+ "enum": [
1328
+ "Yes"
1329
+ ]
1330
+ }
1331
+ }
1332
+ }
1333
+ ]
1334
+ },
1335
+ "itemsToInclude": {
1336
+ "rdsRef": "Objects/{isIncludedInExchange='true',class='equipment|furniture}",
1337
+ "discriminator": {
1338
+ "propertyName": "yesNo"
1339
+ },
1340
+ "oneOf": [
1341
+ {
1342
+ "properties": {
1343
+ "yesNo": {
1344
+ "enum": [
1345
+ "No"
1346
+ ]
1347
+ }
1348
+ }
1349
+ },
1350
+ {
1351
+ "properties": {
1352
+ "yesNo": {
1353
+ "enum": [
1354
+ "Yes"
1355
+ ]
1356
+ }
1357
+ }
1358
+ }
1359
+ ]
1360
+ }
1361
+ }
1362
+ },
1363
+ "electricity": {
1364
+ "rdsRef": "Services/Electricity",
1365
+ "properties": {
1366
+ "mainsElectricity": {
1367
+ "rdsRef": "Services/Electricity",
1368
+ "discriminator": {
1369
+ "propertyName": "yesNo"
1370
+ },
1371
+ "oneOf": [
1372
+ {
1373
+ "properties": {
1374
+ "yesNo": {
1375
+ "enum": [
1376
+ "No"
1377
+ ]
1378
+ }
1379
+ }
1380
+ },
1381
+ {
1382
+ "properties": {
1383
+ "yesNo": {
1384
+ "enum": [
1385
+ "Yes"
1386
+ ]
1387
+ },
1388
+ "electricityMeter": {
1389
+ "rdsRef": "Objects/class='meters|'&access=?&accessLocation=?"
1390
+ }
1391
+ }
1392
+ },
1393
+ {
1394
+ "properties": {
1395
+ "yesNo": {
1396
+ "enum": [
1397
+ "To be connected"
1398
+ ]
1399
+ }
1400
+ }
1401
+ }
1402
+ ]
1403
+ },
1404
+ "solarPanels": {
1405
+ "oneOf": [
1406
+ null,
1407
+ {
1408
+ "properties": {
1409
+ "yearInstalled": {
1410
+ "rdsRef": "Objects/Installation"
1411
+ },
1412
+ "panelsOwnedOutright": {
1413
+ "rdsRef": "Objects/Ownership",
1414
+ "discriminator": {
1415
+ "propertyName": "yesNo"
1416
+ },
1417
+ "oneOf": [
1418
+ {
1419
+ "properties": {
1420
+ "yesNo": {
1421
+ "enum": [
1422
+ "Yes"
1423
+ ]
1424
+ }
1425
+ }
1426
+ },
1427
+ {
1428
+ "properties": {
1429
+ "yesNo": {
1430
+ "enum": [
1431
+ "No"
1432
+ ]
1433
+ }
1434
+ }
1435
+ }
1436
+ ]
1437
+ },
1438
+ "panelProviderLease": {
1439
+ "rdsRef": "Objects/Ownership",
1440
+ "discriminator": {
1441
+ "propertyName": "yesNo"
1442
+ },
1443
+ "oneOf": [
1444
+ {
1445
+ "properties": {
1446
+ "yesNo": {
1447
+ "enum": [
1448
+ "No"
1449
+ ]
1450
+ }
1451
+ }
1452
+ },
1453
+ {
1454
+ "properties": {
1455
+ "yesNo": {
1456
+ "enum": [
1457
+ "Yes"
1458
+ ]
1459
+ }
1460
+ }
1461
+ }
1462
+ ]
1463
+ },
1464
+ "lastMaintained": {
1465
+ "rdsRef": "Objects/Servicing"
1466
+ },
1467
+ "inGoodWorkingOrder": {
1468
+ "rdsRef": "Objects/isNotWorking=yes|no|true|false",
1469
+ "discriminator": {
1470
+ "propertyName": "yesNo"
1471
+ },
1472
+ "oneOf": [
1473
+ {
1474
+ "properties": {
1475
+ "yesNo": {
1476
+ "enum": [
1477
+ "Yes"
1478
+ ]
1479
+ }
1480
+ }
1481
+ },
1482
+ {
1483
+ "properties": {
1484
+ "yesNo": {
1485
+ "enum": [
1486
+ "No"
1487
+ ]
1488
+ }
1489
+ }
1490
+ }
1491
+ ]
1492
+ },
1493
+ "photovoltaicMeterPanelLocation": {
1494
+ "rdsRef": "Objects/class='meters|valve|stopcock'&access=?&accessLocation=?"
1495
+ },
1496
+ "photovoltaicBatteries": {
1497
+ "rdsRef": "Objects/class='meters|valve|stopcock'&access=?&accessLocation=?",
1498
+ "discriminator": {
1499
+ "propertyName": "yesNo"
1500
+ },
1501
+ "oneOf": [
1502
+ {
1503
+ "properties": {
1504
+ "yesNo": {
1505
+ "enum": [
1506
+ "No"
1507
+ ]
1508
+ }
1509
+ }
1510
+ },
1511
+ {
1512
+ "properties": {
1513
+ "yesNo": {
1514
+ "enum": [
1515
+ "Yes"
1516
+ ]
1517
+ }
1518
+ }
1519
+ }
1520
+ ]
1521
+ },
1522
+ "nationalGrid": {
1523
+ "rdsRef": "Objects/isExternallyConnected=yes|no|true|false,Connection,Objects/ExternalConnection",
1524
+ "discriminator": {
1525
+ "propertyName": "yesNo"
1526
+ },
1527
+ "oneOf": [
1528
+ {
1529
+ "properties": {
1530
+ "yesNo": {
1531
+ "enum": [
1532
+ "No"
1533
+ ]
1534
+ }
1535
+ }
1536
+ },
1537
+ {
1538
+ "properties": {
1539
+ "yesNo": {
1540
+ "enum": [
1541
+ "Yes"
1542
+ ]
1543
+ }
1544
+ }
1545
+ }
1546
+ ]
1547
+ }
1548
+ }
1549
+ }
1550
+ ]
1551
+ },
1552
+ "otherSources": {
1553
+ "rdsRef": "Services/Other",
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
+ }
1575
+ },
1576
+ {
1577
+ "properties": {
1578
+ "yesNo": {
1579
+ "enum": [
1580
+ "To be connected"
1581
+ ]
1582
+ }
1583
+ }
1584
+ }
1585
+ ]
1586
+ }
1587
+ }
1588
+ },
1589
+ "waterAndDrainage": {
1590
+ "properties": {
1591
+ "water": {
1592
+ "properties": {
1593
+ "mainsWater": {
1594
+ "rdsRef": "Services/PotableWaterSupply",
1595
+ "discriminator": {
1596
+ "propertyName": "yesNo"
1597
+ },
1598
+ "oneOf": [
1599
+ {
1600
+ "properties": {
1601
+ "yesNo": {
1602
+ "enum": [
1603
+ "No"
1604
+ ]
1605
+ }
1606
+ }
1607
+ },
1608
+ {
1609
+ "properties": {
1610
+ "yesNo": {
1611
+ "enum": [
1612
+ "Yes"
1613
+ ]
1614
+ },
1615
+ "stopcock": {
1616
+ "rdsRef": "Objects/class='meters|valve|stopcock'&access=?&accessLocation=?"
1617
+ }
1618
+ }
1619
+ },
1620
+ {
1621
+ "properties": {
1622
+ "yesNo": {
1623
+ "enum": [
1624
+ "To be connected"
1625
+ ]
1626
+ }
1627
+ }
1628
+ }
1629
+ ]
1630
+ }
1631
+ }
1632
+ },
1633
+ "drainage": {
1634
+ "properties": {
1635
+ "mainsSurfaceWaterDrainage": {
1636
+ "rdsRef": "Services/StormWaterDrainage",
1637
+ "discriminator": {
1638
+ "propertyName": "yesNo"
1639
+ },
1640
+ "oneOf": [
1641
+ {
1642
+ "properties": {
1643
+ "yesNo": {
1644
+ "enum": [
1645
+ "No",
1646
+ "Not known"
1647
+ ]
1648
+ }
1649
+ }
1650
+ },
1651
+ {
1652
+ "properties": {
1653
+ "yesNo": {
1654
+ "enum": [
1655
+ "Yes"
1656
+ ]
1657
+ }
1658
+ }
1659
+ },
1660
+ {
1661
+ "properties": {
1662
+ "yesNo": {
1663
+ "enum": [
1664
+ "To be connected"
1665
+ ]
1666
+ }
1667
+ }
1668
+ }
1669
+ ]
1670
+ },
1671
+ "mainsFoulDrainage": {
1672
+ "rdsRef": "Services/WasteWaterSewerageDisposal",
1673
+ "discriminator": {
1674
+ "propertyName": "yesNo"
1675
+ },
1676
+ "oneOf": [
1677
+ {
1678
+ "properties": {
1679
+ "yesNo": {
1680
+ "enum": [
1681
+ "Yes"
1682
+ ]
1683
+ }
1684
+ }
1685
+ },
1686
+ {
1687
+ "properties": {
1688
+ "yesNo": {
1689
+ "enum": [
1690
+ "To be connected"
1691
+ ]
1692
+ }
1693
+ }
1694
+ },
1695
+ {
1696
+ "properties": {
1697
+ "yesNo": {
1698
+ "enum": [
1699
+ "No",
1700
+ "Not known"
1701
+ ]
1702
+ },
1703
+ "offMainsDrainageSystem": {
1704
+ "properties": {
1705
+ "otherConnectedProperties": {
1706
+ "rdsRef": "Services/OtherServices/SharedWith",
1707
+ "discriminator": {
1708
+ "propertyName": "yesNo"
1709
+ },
1710
+ "oneOf": [
1711
+ {
1712
+ "properties": {
1713
+ "yesNo": {
1714
+ "enum": [
1715
+ "No"
1716
+ ]
1717
+ }
1718
+ }
1719
+ },
1720
+ {
1721
+ "properties": {
1722
+ "yesNo": {
1723
+ "enum": [
1724
+ "Yes"
1725
+ ]
1726
+ }
1727
+ }
1728
+ }
1729
+ ]
1730
+ },
1731
+ "plantOnOtherLand": {
1732
+ "rdsRef": "Services/OtherServices/Located,Services/OtherServices/{access=?}",
1733
+ "discriminator": {
1734
+ "propertyName": "yesNo"
1735
+ },
1736
+ "oneOf": [
1737
+ {
1738
+ "properties": {
1739
+ "yesNo": {
1740
+ "enum": [
1741
+ "No"
1742
+ ]
1743
+ }
1744
+ }
1745
+ },
1746
+ {
1747
+ "properties": {
1748
+ "yesNo": {
1749
+ "enum": [
1750
+ "Yes"
1751
+ ]
1752
+ }
1753
+ }
1754
+ }
1755
+ ]
1756
+ },
1757
+ "plantRegistered": {
1758
+ "rdsRef": "Services/OtherServices/Certificates",
1759
+ "discriminator": {
1760
+ "propertyName": "yesNo"
1761
+ },
1762
+ "oneOf": [
1763
+ {
1764
+ "properties": {
1765
+ "yesNo": {
1766
+ "enum": [
1767
+ "No"
1768
+ ]
1769
+ }
1770
+ }
1771
+ },
1772
+ {
1773
+ "properties": {
1774
+ "yesNo": {
1775
+ "enum": [
1776
+ "Yes"
1777
+ ]
1778
+ }
1779
+ }
1780
+ }
1781
+ ]
1782
+ },
1783
+ "plantDrainsIntoWaterway": {
1784
+ "rdsRef": "Services/OtherServices/{isExternallyConnected='yes?true'}",
1785
+ "discriminator": {
1786
+ "propertyName": "yesNo"
1787
+ },
1788
+ "oneOf": [
1789
+ {
1790
+ "properties": {
1791
+ "yesNo": {
1792
+ "enum": [
1793
+ "No, the effluent is discharged through a soakaway system."
1794
+ ]
1795
+ }
1796
+ }
1797
+ },
1798
+ {
1799
+ "properties": {
1800
+ "yesNo": {
1801
+ "enum": [
1802
+ "Yes"
1803
+ ]
1804
+ },
1805
+ "dischargeCompliesWithGBR": {
1806
+ "rdsRef": "Services/OtherServices/ExternalConnections/Flags"
1807
+ }
1808
+ }
1809
+ }
1810
+ ]
1811
+ }
1812
+ }
1813
+ }
1814
+ }
1815
+ }
1816
+ ]
1817
+ }
1818
+ }
1819
+ },
1820
+ "maintenanceAgreements": {
1821
+ "rdsRef": "Services/Certificates,Services/OtherServices/Certificates",
1822
+ "discriminator": {
1823
+ "propertyName": "yesNo"
1824
+ },
1825
+ "oneOf": [
1826
+ {
1827
+ "properties": {
1828
+ "yesNo": {
1829
+ "enum": [
1830
+ "No"
1831
+ ]
1832
+ }
1833
+ }
1834
+ },
1835
+ {
1836
+ "properties": {
1837
+ "yesNo": {
1838
+ "enum": [
1839
+ "Yes"
1840
+ ]
1841
+ }
1842
+ }
1843
+ }
1844
+ ]
1845
+ }
1846
+ }
1847
+ },
1848
+ "heating": {
1849
+ "rdsRef": "Buildings|BuildingSections/isUnheated=no|yes|true|false",
1850
+ "properties": {
1851
+ "heatingSystem": {
1852
+ "oneOf": [
1853
+ null,
1854
+ {
1855
+ "properties": {
1856
+ "centralHeatingDetails": {
1857
+ "properties": {
1858
+ "centralHeatingFuel": {
1859
+ "rdsRef": "Buildings|BuildingSections/Heating/isGas=no|yes|true|false",
1860
+ "discriminator": {
1861
+ "propertyName": "centralHeatingFuelType"
1862
+ },
1863
+ "oneOf": [
1864
+ {
1865
+ "properties": {
1866
+ "centralHeatingFuelType": {
1867
+ "enum": [
1868
+ "Mains gas"
1869
+ ]
1870
+ },
1871
+ "gasMeter": {
1872
+ "rdsRef": "Objects/class='meters'&access=?&accessLocation=?"
1873
+ }
1874
+ }
1875
+ },
1876
+ {
1877
+ "properties": {
1878
+ "centralHeatingFuelType": {
1879
+ "enum": [
1880
+ "Electricity"
1881
+ ]
1882
+ }
1883
+ }
1884
+ },
1885
+ {
1886
+ "properties": {
1887
+ "centralHeatingFuelType": {
1888
+ "enum": [
1889
+ "Oil",
1890
+ "LPG",
1891
+ "Biomass"
1892
+ ]
1893
+ }
1894
+ }
1895
+ },
1896
+ {
1897
+ "properties": {
1898
+ "centralHeatingFuelType": {
1899
+ "enum": [
1900
+ "Other"
1901
+ ]
1902
+ }
1903
+ }
1904
+ }
1905
+ ]
1906
+ },
1907
+ "centralHeatingInstalled": {
1908
+ "rdsRef": "Objects/Installed"
1909
+ },
1910
+ "boilerInstallationCertificate": {
1911
+ "rdsRef": "Objects/Installation,Objects/Certificates",
1912
+ "discriminator": {
1913
+ "propertyName": "yesNo"
1914
+ },
1915
+ "oneOf": [
1916
+ {
1917
+ "properties": {
1918
+ "yesNo": {
1919
+ "enum": [
1920
+ "No"
1921
+ ]
1922
+ }
1923
+ }
1924
+ },
1925
+ {
1926
+ "properties": {
1927
+ "yesNo": {
1928
+ "enum": [
1929
+ "Yes"
1930
+ ]
1931
+ }
1932
+ }
1933
+ }
1934
+ ]
1935
+ },
1936
+ "heatingLastServicedDate": {
1937
+ "rdsRef": "Objects/Maintenance"
1938
+ },
1939
+ "heatingInGoodWorkingOrder": {
1940
+ "rdsRef": "Objects/Condition=?",
1941
+ "discriminator": {
1942
+ "propertyName": "yesNo"
1943
+ },
1944
+ "oneOf": [
1945
+ {
1946
+ "properties": {
1947
+ "yesNo": {
1948
+ "enum": [
1949
+ "Yes",
1950
+ "Not known"
1951
+ ]
1952
+ }
1953
+ }
1954
+ },
1955
+ {
1956
+ "properties": {
1957
+ "yesNo": {
1958
+ "enum": [
1959
+ "No"
1960
+ ]
1961
+ }
1962
+ }
1963
+ }
1964
+ ]
1965
+ }
1966
+ }
1967
+ }
1968
+ }
1969
+ }
1970
+ ]
1971
+ }
1972
+ }
1973
+ },
1974
+ "connectivity": {
1975
+ "properties": {
1976
+ "telephone": {
1977
+ "rdsRef": "Services/Telephone",
1978
+ "discriminator": {
1979
+ "propertyName": "yesNo"
1980
+ },
1981
+ "oneOf": [
1982
+ {
1983
+ "properties": {
1984
+ "yesNo": {
1985
+ "enum": [
1986
+ "No"
1987
+ ]
1988
+ }
1989
+ }
1990
+ },
1991
+ {
1992
+ "properties": {
1993
+ "yesNo": {
1994
+ "enum": [
1995
+ "Yes"
1996
+ ]
1997
+ }
1998
+ }
1999
+ },
2000
+ {
2001
+ "properties": {
2002
+ "yesNo": {
2003
+ "enum": [
2004
+ "To be connected"
2005
+ ]
2006
+ }
2007
+ }
2008
+ }
2009
+ ]
2010
+ },
2011
+ "cableSatelliteTV": {
2012
+ "rdsRef": "Services/CableSatelliteTV",
2013
+ "discriminator": {
2014
+ "propertyName": "yesNo"
2015
+ },
2016
+ "oneOf": [
2017
+ {
2018
+ "properties": {
2019
+ "yesNo": {
2020
+ "enum": [
2021
+ "No"
2022
+ ]
2023
+ }
2024
+ }
2025
+ },
2026
+ {
2027
+ "properties": {
2028
+ "yesNo": {
2029
+ "enum": [
2030
+ "Yes"
2031
+ ]
2032
+ }
2033
+ }
2034
+ },
2035
+ {
2036
+ "properties": {
2037
+ "yesNo": {
2038
+ "enum": [
2039
+ "To be connected"
2040
+ ]
2041
+ }
2042
+ }
2043
+ }
2044
+ ]
2045
+ },
2046
+ "broadband": {
2047
+ "rdsRef": "Services/Internet",
2048
+ "discriminator": {
2049
+ "propertyName": "typeOfConnection"
2050
+ },
2051
+ "oneOf": [
2052
+ {
2053
+ "properties": {
2054
+ "typeOfConnection": {
2055
+ "enum": [
2056
+ "None"
2057
+ ]
2058
+ }
2059
+ }
2060
+ },
2061
+ {
2062
+ "properties": {
2063
+ "typeOfConnection": {
2064
+ "enum": [
2065
+ "ADSL copper wire",
2066
+ "Cable",
2067
+ "FTTC (Fibre to the Cabinet)",
2068
+ "FTTP (Fibre to the Premises)"
2069
+ ]
2070
+ }
2071
+ }
2072
+ }
2073
+ ]
2074
+ }
2075
+ }
2076
+ },
2077
+ "insurance": {
2078
+ "properties": {
2079
+ "difficultiesObtainingInsurance": {
2080
+ "rdsRef": "Insurance/Flags,Insurance/refusalReason=?"
2081
+ },
2082
+ "isInsured": {
2083
+ "rdsRef": "Insurance/isInsured=no|yes|true|false"
2084
+ }
2085
+ },
2086
+ "oneOf": [
2087
+ null,
2088
+ {
2089
+ "properties": {
2090
+ "insuranceClaims": {
2091
+ "rdsRef": "Insurance/Claims",
2092
+ "discriminator": {
2093
+ "propertyName": "yesNo"
2094
+ },
2095
+ "oneOf": [
2096
+ {
2097
+ "properties": {
2098
+ "yesNo": {
2099
+ "enum": [
2100
+ "No"
2101
+ ]
2102
+ }
2103
+ }
2104
+ },
2105
+ {
2106
+ "properties": {
2107
+ "yesNo": {
2108
+ "enum": [
2109
+ "Yes"
2110
+ ]
2111
+ }
2112
+ }
2113
+ }
2114
+ ]
2115
+ }
2116
+ }
2117
+ }
2118
+ ]
2119
+ },
2120
+ "rightsAndInformalArrangements": {
2121
+ "properties": {
2122
+ "sharedContributions": {
2123
+ "rdsRef": "Services/SharedCosts",
2124
+ "discriminator": {
2125
+ "propertyName": "yesNo"
2126
+ },
2127
+ "oneOf": [
2128
+ {
2129
+ "properties": {
2130
+ "yesNo": {
2131
+ "enum": [
2132
+ "No",
2133
+ "Not applicable"
2134
+ ]
2135
+ }
2136
+ }
2137
+ },
2138
+ {
2139
+ "properties": {
2140
+ "yesNo": {
2141
+ "enum": [
2142
+ "Yes"
2143
+ ]
2144
+ }
2145
+ }
2146
+ }
2147
+ ]
2148
+ },
2149
+ "neighbouringLandRights": {
2150
+ "rdsRef": "Tenure/Rights,Tenure *with different property entity and references etc*",
2151
+ "discriminator": {
2152
+ "propertyName": "yesNo"
2153
+ },
2154
+ "oneOf": [
2155
+ {
2156
+ "properties": {
2157
+ "yesNo": {
2158
+ "enum": [
2159
+ "No"
2160
+ ]
2161
+ }
2162
+ }
2163
+ },
2164
+ {
2165
+ "properties": {
2166
+ "yesNo": {
2167
+ "enum": [
2168
+ "Yes"
2169
+ ]
2170
+ }
2171
+ }
2172
+ }
2173
+ ]
2174
+ },
2175
+ "accessRestrictionAttempts": {
2176
+ "rdsRef": "Tenure/Restrictions",
2177
+ "discriminator": {
2178
+ "propertyName": "yesNo"
2179
+ },
2180
+ "oneOf": [
2181
+ {
2182
+ "properties": {
2183
+ "yesNo": {
2184
+ "enum": [
2185
+ "No",
2186
+ "Not known"
2187
+ ]
2188
+ }
2189
+ }
2190
+ },
2191
+ {
2192
+ "properties": {
2193
+ "yesNo": {
2194
+ "enum": [
2195
+ "Yes"
2196
+ ]
2197
+ }
2198
+ }
2199
+ }
2200
+ ]
2201
+ },
2202
+ "rightsOrArrangements": {
2203
+ "properties": {
2204
+ "publicRightOfWay": {
2205
+ "rdsRef": "Tenure/Rights,Tenure/Restrictions,Tenure/Responsibilities,Tenure/CadastralMapOfParcels",
2206
+ "discriminator": {
2207
+ "propertyName": "yesNo"
2208
+ },
2209
+ "oneOf": [
2210
+ {
2211
+ "properties": {
2212
+ "yesNo": {
2213
+ "enum": [
2214
+ "No"
2215
+ ]
2216
+ }
2217
+ }
2218
+ },
2219
+ {
2220
+ "properties": {
2221
+ "yesNo": {
2222
+ "enum": [
2223
+ "Yes"
2224
+ ]
2225
+ }
2226
+ }
2227
+ }
2228
+ ]
2229
+ },
2230
+ "rightsOfLight": {
2231
+ "rdsRef": "Tenure/Rights,Tenure/Restrictions,Tenure/Responsibilities",
2232
+ "discriminator": {
2233
+ "propertyName": "yesNo"
2234
+ },
2235
+ "oneOf": [
2236
+ {
2237
+ "properties": {
2238
+ "yesNo": {
2239
+ "enum": [
2240
+ "No"
2241
+ ]
2242
+ }
2243
+ }
2244
+ },
2245
+ {
2246
+ "properties": {
2247
+ "yesNo": {
2248
+ "enum": [
2249
+ "Yes"
2250
+ ]
2251
+ }
2252
+ }
2253
+ }
2254
+ ]
2255
+ },
2256
+ "rightsOfSupport": {
2257
+ "rdsRef": "Tenure/Rights,Tenure/Restrictions,Tenure/Responsibilities",
2258
+ "discriminator": {
2259
+ "propertyName": "yesNo"
2260
+ },
2261
+ "oneOf": [
2262
+ {
2263
+ "properties": {
2264
+ "yesNo": {
2265
+ "enum": [
2266
+ "No"
2267
+ ]
2268
+ }
2269
+ }
2270
+ },
2271
+ {
2272
+ "properties": {
2273
+ "yesNo": {
2274
+ "enum": [
2275
+ "Yes"
2276
+ ]
2277
+ }
2278
+ }
2279
+ }
2280
+ ]
2281
+ },
2282
+ "rightsCreatedThroughCustom": {
2283
+ "rdsRef": "Tenure/Rights,Tenure/Restrictions,Tenure/Responsibilities",
2284
+ "discriminator": {
2285
+ "propertyName": "yesNo"
2286
+ },
2287
+ "oneOf": [
2288
+ {
2289
+ "properties": {
2290
+ "yesNo": {
2291
+ "enum": [
2292
+ "No"
2293
+ ]
2294
+ }
2295
+ }
2296
+ },
2297
+ {
2298
+ "properties": {
2299
+ "yesNo": {
2300
+ "enum": [
2301
+ "Yes"
2302
+ ]
2303
+ }
2304
+ }
2305
+ }
2306
+ ]
2307
+ },
2308
+ "rightsToTakeFromLand": {
2309
+ "rdsRef": "Tenure/Rights,Tenure/Restrictions,Tenure/Responsibilities",
2310
+ "discriminator": {
2311
+ "propertyName": "yesNo"
2312
+ },
2313
+ "oneOf": [
2314
+ {
2315
+ "properties": {
2316
+ "yesNo": {
2317
+ "enum": [
2318
+ "No"
2319
+ ]
2320
+ }
2321
+ }
2322
+ },
2323
+ {
2324
+ "properties": {
2325
+ "yesNo": {
2326
+ "enum": [
2327
+ "Yes"
2328
+ ]
2329
+ }
2330
+ }
2331
+ }
2332
+ ]
2333
+ },
2334
+ "minesAndMinerals": {
2335
+ "rdsRef": "Tenure/Rights,Tenure/Restrictions,Tenure/Responsibilities",
2336
+ "discriminator": {
2337
+ "propertyName": "yesNo"
2338
+ },
2339
+ "oneOf": [
2340
+ {
2341
+ "properties": {
2342
+ "yesNo": {
2343
+ "enum": [
2344
+ "No"
2345
+ ]
2346
+ }
2347
+ }
2348
+ },
2349
+ {
2350
+ "properties": {
2351
+ "yesNo": {
2352
+ "enum": [
2353
+ "Yes"
2354
+ ]
2355
+ }
2356
+ }
2357
+ }
2358
+ ]
2359
+ },
2360
+ "churchChancel": {
2361
+ "rdsRef": "Tenure/Rights,Tenure/Restrictions,Tenure/Responsibilities",
2362
+ "discriminator": {
2363
+ "propertyName": "yesNo"
2364
+ },
2365
+ "oneOf": [
2366
+ {
2367
+ "properties": {
2368
+ "yesNo": {
2369
+ "enum": [
2370
+ "No"
2371
+ ]
2372
+ }
2373
+ }
2374
+ },
2375
+ {
2376
+ "properties": {
2377
+ "yesNo": {
2378
+ "enum": [
2379
+ "Yes"
2380
+ ]
2381
+ }
2382
+ }
2383
+ }
2384
+ ]
2385
+ },
2386
+ "otherRights": {
2387
+ "rdsRef": "Tenure/Rights,Tenure/Restrictions,Tenure/Responsibilities",
2388
+ "discriminator": {
2389
+ "propertyName": "yesNo"
2390
+ },
2391
+ "oneOf": [
2392
+ {
2393
+ "properties": {
2394
+ "yesNo": {
2395
+ "enum": [
2396
+ "No"
2397
+ ]
2398
+ }
2399
+ }
2400
+ },
2401
+ {
2402
+ "properties": {
2403
+ "yesNo": {
2404
+ "enum": [
2405
+ "Yes"
2406
+ ]
2407
+ }
2408
+ }
2409
+ }
2410
+ ]
2411
+ }
2412
+ }
2413
+ }
2414
+ }
2415
+ },
2416
+ "environmentalIssues": {
2417
+ "properties": {
2418
+ "flooding": {
2419
+ "rdsRef": "Sustainability/Environmental|Natural|Situational",
2420
+ "properties": {
2421
+ "floodRisk": {
2422
+ "rdsRef": "Sustainability/Environmental|Natural|Situational",
2423
+ "discriminator": {
2424
+ "propertyName": "riskIndicator"
2425
+ },
2426
+ "oneOf": [
2427
+ {
2428
+ "properties": {
2429
+ "riskIndicator": {
2430
+ "enum": [
2431
+ "No"
2432
+ ]
2433
+ }
2434
+ }
2435
+ },
2436
+ {
2437
+ "properties": {
2438
+ "riskIndicator": {
2439
+ "enum": [
2440
+ "Yes"
2441
+ ]
2442
+ }
2443
+ }
2444
+ }
2445
+ ]
2446
+ },
2447
+ "historicalFlooding": {
2448
+ "oneOf": [
2449
+ null,
2450
+ {
2451
+ "properties": {
2452
+ "typeOfFlooding": {
2453
+ "rdsRef": "Sustainability/Environmental|Natural|Situational"
2454
+ }
2455
+ }
2456
+ }
2457
+ ]
2458
+ }
2459
+ }
2460
+ },
2461
+ "radon": {
2462
+ "rdsRef": "Sustainability/Environmental|Natural|Situational",
2463
+ "properties": {
2464
+ "remedialMeasuresOnConstruction": {
2465
+ "rdsRef": "Sustainability/Environmental|Natural|Situational"
2466
+ }
2467
+ }
2468
+ },
2469
+ "contaminatedLand": {
2470
+ "rdsRef": "Sustainability/Environmental|Natural|Situational"
2471
+ },
2472
+ "groundStability": {
2473
+ "rdsRef": "Sustainability/Environmental|Natural|Situational"
2474
+ },
2475
+ "infrastructure": {
2476
+ "rdsRef": "Sustainability/Environmental|Natural|Situational"
2477
+ },
2478
+ "energy": {
2479
+ "rdsRef": "Sustainability/Environmental|Natural|Situational"
2480
+ },
2481
+ "transportation": {
2482
+ "rdsRef": "Sustainability/Environmental|Natural|Situational"
2483
+ },
2484
+ "planning": {
2485
+ "rdsRef": "Sustainability/Environmental|Natural|Situational"
2486
+ },
2487
+ "climate": {
2488
+ "rdsRef": "Sustainability/Environmental|Natural|Situational"
2489
+ },
2490
+ "coalMining": {
2491
+ "rdsRef": "Sustainability/Environmental|Natural|Situational",
2492
+ "discriminator": {
2493
+ "propertyName": "riskIndicator"
2494
+ },
2495
+ "oneOf": [
2496
+ {
2497
+ "properties": {
2498
+ "riskIndicator": {
2499
+ "enum": [
2500
+ "No"
2501
+ ]
2502
+ }
2503
+ }
2504
+ },
2505
+ {
2506
+ "properties": {
2507
+ "riskIndicator": {
2508
+ "enum": [
2509
+ "Yes"
2510
+ ]
2511
+ }
2512
+ }
2513
+ }
2514
+ ]
2515
+ },
2516
+ "nonCoalMining": {
2517
+ "rdsRef": "Sustainability/Environmental|Natural|Situational",
2518
+ "discriminator": {
2519
+ "propertyName": "riskIndicator"
2520
+ },
2521
+ "oneOf": [
2522
+ {
2523
+ "properties": {
2524
+ "riskIndicator": {
2525
+ "enum": [
2526
+ "No"
2527
+ ]
2528
+ }
2529
+ }
2530
+ },
2531
+ {
2532
+ "properties": {
2533
+ "riskIndicator": {
2534
+ "enum": [
2535
+ "Yes"
2536
+ ]
2537
+ }
2538
+ }
2539
+ }
2540
+ ]
2541
+ },
2542
+ "coastalErosion": {
2543
+ "rdsRef": "Sustainability/Environmental|Natural|Situational",
2544
+ "discriminator": {
2545
+ "propertyName": "riskIndicator"
2546
+ },
2547
+ "oneOf": [
2548
+ {
2549
+ "properties": {
2550
+ "riskIndicator": {
2551
+ "enum": [
2552
+ "No"
2553
+ ]
2554
+ }
2555
+ }
2556
+ },
2557
+ {
2558
+ "properties": {
2559
+ "riskIndicator": {
2560
+ "enum": [
2561
+ "Yes"
2562
+ ]
2563
+ }
2564
+ }
2565
+ }
2566
+ ]
2567
+ },
2568
+ "otherEnvironmental": {
2569
+ "rdsRef": "Sustainability/Environmental|Natural|Situational",
2570
+ "discriminator": {
2571
+ "propertyName": "riskIndicator"
2572
+ },
2573
+ "oneOf": [
2574
+ {
2575
+ "properties": {
2576
+ "riskIndicator": {
2577
+ "enum": [
2578
+ "No"
2579
+ ]
2580
+ }
2581
+ }
2582
+ },
2583
+ {
2584
+ "properties": {
2585
+ "riskIndicator": {
2586
+ "enum": [
2587
+ "Yes"
2588
+ ]
2589
+ }
2590
+ }
2591
+ }
2592
+ ]
2593
+ }
2594
+ }
2595
+ },
2596
+ "otherIssues": {
2597
+ "properties": {
2598
+ "excessiveNoise": {
2599
+ "rdsRef": "Tenure/OtherMaterialIssues",
2600
+ "discriminator": {
2601
+ "propertyName": "yesNo"
2602
+ },
2603
+ "oneOf": [
2604
+ {
2605
+ "properties": {
2606
+ "yesNo": {
2607
+ "enum": [
2608
+ "No"
2609
+ ]
2610
+ }
2611
+ }
2612
+ },
2613
+ {
2614
+ "properties": {
2615
+ "yesNo": {
2616
+ "enum": [
2617
+ "Yes"
2618
+ ]
2619
+ }
2620
+ }
2621
+ }
2622
+ ]
2623
+ },
2624
+ "crime": {
2625
+ "rdsRef": "Tenure/OtherMaterialIssues",
2626
+ "discriminator": {
2627
+ "propertyName": "yesNo"
2628
+ },
2629
+ "oneOf": [
2630
+ {
2631
+ "properties": {
2632
+ "yesNo": {
2633
+ "enum": [
2634
+ "No"
2635
+ ]
2636
+ }
2637
+ }
2638
+ },
2639
+ {
2640
+ "properties": {
2641
+ "yesNo": {
2642
+ "enum": [
2643
+ "Yes"
2644
+ ]
2645
+ }
2646
+ }
2647
+ }
2648
+ ]
2649
+ },
2650
+ "cautionOrConviction": {
2651
+ "rdsRef": "Tenure/OtherMaterialIssues",
2652
+ "discriminator": {
2653
+ "propertyName": "yesNo"
2654
+ },
2655
+ "oneOf": [
2656
+ {
2657
+ "properties": {
2658
+ "yesNo": {
2659
+ "enum": [
2660
+ "No"
2661
+ ]
2662
+ }
2663
+ }
2664
+ },
2665
+ {
2666
+ "properties": {
2667
+ "yesNo": {
2668
+ "enum": [
2669
+ "Yes"
2670
+ ]
2671
+ }
2672
+ }
2673
+ }
2674
+ ]
2675
+ },
2676
+ "failedTransactionsInLast12Months": {
2677
+ "rdsRef": "Tenure/OtherMaterialIssues",
2678
+ "discriminator": {
2679
+ "propertyName": "yesNo"
2680
+ },
2681
+ "oneOf": [
2682
+ {
2683
+ "properties": {
2684
+ "yesNo": {
2685
+ "enum": [
2686
+ "No"
2687
+ ]
2688
+ }
2689
+ }
2690
+ },
2691
+ {
2692
+ "properties": {
2693
+ "yesNo": {
2694
+ "enum": [
2695
+ "Yes"
2696
+ ]
2697
+ }
2698
+ }
2699
+ }
2700
+ ]
2701
+ }
2702
+ }
2703
+ },
2704
+ "additionalInformation": {
2705
+ "properties": {
2706
+ "restrictionsOnUseNotCompliedWith": {
2707
+ "rdsRef": "Use/NonCompliance",
2708
+ "discriminator": {
2709
+ "propertyName": "yesNo"
2710
+ },
2711
+ "oneOf": [
2712
+ {
2713
+ "properties": {
2714
+ "yesNo": {
2715
+ "enum": [
2716
+ "No"
2717
+ ]
2718
+ }
2719
+ }
2720
+ },
2721
+ {
2722
+ "properties": {
2723
+ "yesNo": {
2724
+ "enum": [
2725
+ "Yes"
2726
+ ]
2727
+ }
2728
+ }
2729
+ }
2730
+ ]
2731
+ },
2732
+ "otherMaterialIssue": {
2733
+ "rdsRef": "Tenure/OtherMaterialIssues",
2734
+ "discriminator": {
2735
+ "propertyName": "yesNo"
2736
+ },
2737
+ "oneOf": [
2738
+ {
2739
+ "properties": {
2740
+ "yesNo": {
2741
+ "enum": [
2742
+ "No"
2743
+ ]
2744
+ }
2745
+ }
2746
+ },
2747
+ {
2748
+ "properties": {
2749
+ "yesNo": {
2750
+ "enum": [
2751
+ "Yes"
2752
+ ]
2753
+ }
2754
+ }
2755
+ }
2756
+ ]
2757
+ }
2758
+ }
2759
+ },
2760
+ "legalOwners": {
2761
+ "properties": {
2762
+ "namesOfLegalOwners": {
2763
+ "rdsRef": "RightsHolders",
2764
+ "items": {
2765
+ "discriminator": {
2766
+ "propertyName": "ownerType"
2767
+ },
2768
+ "oneOf": [
2769
+ {
2770
+ "properties": {
2771
+ "ownerType": {
2772
+ "enum": [
2773
+ "Private individual"
2774
+ ]
2775
+ }
2776
+ }
2777
+ },
2778
+ {
2779
+ "properties": {
2780
+ "ownerType": {
2781
+ "enum": [
2782
+ "Organisation"
2783
+ ]
2784
+ }
2785
+ }
2786
+ }
2787
+ ]
2788
+ }
2789
+ }
2790
+ }
2791
+ },
2792
+ "legalBoundaries": {
2793
+ "properties": {
2794
+ "partOutsideLegalOwnership": {
2795
+ "rdsRef": "Tenure/Interests",
2796
+ "discriminator": {
2797
+ "propertyName": "yesNo"
2798
+ },
2799
+ "oneOf": [
2800
+ {
2801
+ "properties": {
2802
+ "yesNo": {
2803
+ "enum": [
2804
+ "No"
2805
+ ]
2806
+ }
2807
+ }
2808
+ },
2809
+ {
2810
+ "properties": {
2811
+ "yesNo": {
2812
+ "enum": [
2813
+ "Yes"
2814
+ ]
2815
+ }
2816
+ }
2817
+ }
2818
+ ]
2819
+ },
2820
+ "partOnSeparateSiteOrDeed": {
2821
+ "rdsRef": "Tenure *with different property entity and references etc*",
2822
+ "discriminator": {
2823
+ "propertyName": "yesNo"
2824
+ },
2825
+ "oneOf": [
2826
+ {
2827
+ "properties": {
2828
+ "yesNo": {
2829
+ "enum": [
2830
+ "No"
2831
+ ]
2832
+ }
2833
+ }
2834
+ },
2835
+ {
2836
+ "properties": {
2837
+ "yesNo": {
2838
+ "enum": [
2839
+ "Yes"
2840
+ ]
2841
+ }
2842
+ }
2843
+ }
2844
+ ]
2845
+ },
2846
+ "boundariesDifferFromTitlePlan": {
2847
+ "rdsRef": "Tenure/Boundaries,Tenure/BoundaryDifferences,Tenure/CadastralMapOfParcels",
2848
+ "discriminator": {
2849
+ "propertyName": "yesNo"
2850
+ },
2851
+ "oneOf": [
2852
+ {
2853
+ "properties": {
2854
+ "yesNo": {
2855
+ "enum": [
2856
+ "No"
2857
+ ]
2858
+ }
2859
+ }
2860
+ },
2861
+ {
2862
+ "properties": {
2863
+ "yesNo": {
2864
+ "enum": [
2865
+ "Yes"
2866
+ ]
2867
+ }
2868
+ }
2869
+ }
2870
+ ]
2871
+ },
2872
+ "boundaryAlterationProposal": {
2873
+ "rdsRef": "Tenure/Boundaries/proposedAlterations=?",
2874
+ "discriminator": {
2875
+ "propertyName": "yesNo"
2876
+ },
2877
+ "oneOf": [
2878
+ {
2879
+ "properties": {
2880
+ "yesNo": {
2881
+ "enum": [
2882
+ "No"
2883
+ ]
2884
+ }
2885
+ }
2886
+ },
2887
+ {
2888
+ "properties": {
2889
+ "yesNo": {
2890
+ "enum": [
2891
+ "Yes"
2892
+ ]
2893
+ }
2894
+ }
2895
+ }
2896
+ ]
2897
+ },
2898
+ "ownership": {
2899
+ "rdsRef": "Tenure/Boundaries",
2900
+ "discriminator": {
2901
+ "propertyName": "areBoundariesUniform"
2902
+ },
2903
+ "oneOf": [
2904
+ {
2905
+ "properties": {
2906
+ "areBoundariesUniform": {
2907
+ "enum": [
2908
+ "Yes"
2909
+ ]
2910
+ },
2911
+ "uniformBoundaries": {
2912
+ "properties": {
2913
+ "left": {
2914
+ "rdsRef": "Tenure/Boundaries"
2915
+ },
2916
+ "right": {
2917
+ "rdsRef": "Tenure/Boundaries"
2918
+ },
2919
+ "rear": {
2920
+ "rdsRef": "Tenure/Boundaries"
2921
+ },
2922
+ "front": {
2923
+ "rdsRef": "Tenure/Boundaries"
2924
+ }
2925
+ }
2926
+ }
2927
+ }
2928
+ },
2929
+ {
2930
+ "properties": {
2931
+ "areBoundariesUniform": {
2932
+ "enum": [
2933
+ "No"
2934
+ ]
2935
+ }
2936
+ }
2937
+ },
2938
+ {
2939
+ "properties": {
2940
+ "areBoundariesUniform": {
2941
+ "enum": [
2942
+ "Not applicable"
2943
+ ]
2944
+ }
2945
+ }
2946
+ }
2947
+ ]
2948
+ },
2949
+ "haveBoundaryFeaturesMoved": {
2950
+ "rdsRef": "Tenure/Boundaries",
2951
+ "discriminator": {
2952
+ "propertyName": "yesNo"
2953
+ },
2954
+ "oneOf": [
2955
+ {
2956
+ "properties": {
2957
+ "yesNo": {
2958
+ "enum": [
2959
+ "No",
2960
+ "Not applicable"
2961
+ ]
2962
+ }
2963
+ }
2964
+ },
2965
+ {
2966
+ "properties": {
2967
+ "yesNo": {
2968
+ "enum": [
2969
+ "Yes"
2970
+ ]
2971
+ }
2972
+ }
2973
+ }
2974
+ ]
2975
+ },
2976
+ "adjacentLandIncluded": {
2977
+ "rdsRef": "Property/Flags,Property/GUID/name='UPRN'&id=?",
2978
+ "discriminator": {
2979
+ "propertyName": "yesNo"
2980
+ },
2981
+ "oneOf": [
2982
+ {
2983
+ "properties": {
2984
+ "yesNo": {
2985
+ "enum": [
2986
+ "No",
2987
+ "Not applicable"
2988
+ ]
2989
+ }
2990
+ }
2991
+ },
2992
+ {
2993
+ "properties": {
2994
+ "yesNo": {
2995
+ "enum": [
2996
+ "Yes"
2997
+ ]
2998
+ }
2999
+ }
3000
+ }
3001
+ ]
3002
+ },
3003
+ "flyingFreehold": {
3004
+ "rdsRef": "Tenure/tenure=?",
3005
+ "discriminator": {
3006
+ "propertyName": "yesNo"
3007
+ },
3008
+ "oneOf": [
3009
+ {
3010
+ "properties": {
3011
+ "yesNo": {
3012
+ "enum": [
3013
+ "No",
3014
+ "Not applicable",
3015
+ "Not known"
3016
+ ]
3017
+ }
3018
+ }
3019
+ },
3020
+ {
3021
+ "properties": {
3022
+ "yesNo": {
3023
+ "enum": [
3024
+ "Yes"
3025
+ ]
3026
+ }
3027
+ }
3028
+ }
3029
+ ]
3030
+ }
3031
+ }
3032
+ },
3033
+ "servicesCrossing": {
3034
+ "properties": {
3035
+ "pipesWiresCablesDrainsToProperty": {
3036
+ "rdsRef": "Services/.../Located",
3037
+ "discriminator": {
3038
+ "propertyName": "yesNo"
3039
+ },
3040
+ "oneOf": [
3041
+ {
3042
+ "properties": {
3043
+ "yesNo": {
3044
+ "enum": [
3045
+ "No",
3046
+ "Not known"
3047
+ ]
3048
+ }
3049
+ }
3050
+ },
3051
+ {
3052
+ "properties": {
3053
+ "yesNo": {
3054
+ "enum": [
3055
+ "Yes"
3056
+ ]
3057
+ }
3058
+ }
3059
+ }
3060
+ ]
3061
+ },
3062
+ "pipesWiresCablesDrainsFromProperty": {
3063
+ "rdsRef": "Services/.../Located *with Property entities and references for the related properties etc",
3064
+ "discriminator": {
3065
+ "propertyName": "yesNo"
3066
+ },
3067
+ "oneOf": [
3068
+ {
3069
+ "properties": {
3070
+ "yesNo": {
3071
+ "enum": [
3072
+ "No",
3073
+ "Not known"
3074
+ ]
3075
+ }
3076
+ }
3077
+ },
3078
+ {
3079
+ "properties": {
3080
+ "yesNo": {
3081
+ "enum": [
3082
+ "Yes"
3083
+ ]
3084
+ }
3085
+ }
3086
+ }
3087
+ ]
3088
+ },
3089
+ "formalOrInformalAgreements": {
3090
+ "rdsRef": "Services/.../Consent",
3091
+ "discriminator": {
3092
+ "propertyName": "yesNo"
3093
+ },
3094
+ "oneOf": [
3095
+ {
3096
+ "properties": {
3097
+ "yesNo": {
3098
+ "enum": [
3099
+ "No",
3100
+ "Not known"
3101
+ ]
3102
+ }
3103
+ }
3104
+ },
3105
+ {
3106
+ "properties": {
3107
+ "yesNo": {
3108
+ "enum": [
3109
+ "Yes"
3110
+ ]
3111
+ }
3112
+ }
3113
+ }
3114
+ ]
3115
+ }
3116
+ }
3117
+ },
3118
+ "electricalWorks": {
3119
+ "properties": {
3120
+ "testedByQualifiedElectrician": {
3121
+ "rdsRef": "Objects/Servicing",
3122
+ "discriminator": {
3123
+ "propertyName": "yesNo"
3124
+ },
3125
+ "oneOf": [
3126
+ {
3127
+ "properties": {
3128
+ "yesNo": {
3129
+ "enum": [
3130
+ "No"
3131
+ ]
3132
+ }
3133
+ }
3134
+ },
3135
+ {
3136
+ "properties": {
3137
+ "yesNo": {
3138
+ "enum": [
3139
+ "Yes"
3140
+ ]
3141
+ }
3142
+ }
3143
+ }
3144
+ ]
3145
+ },
3146
+ "electricalWorkSince2005": {
3147
+ "rdsRef": "WorksAlterationsChanges/Consent,WorksAlterationsChanges/Consent/Certificates",
3148
+ "discriminator": {
3149
+ "propertyName": "yesNo"
3150
+ },
3151
+ "oneOf": [
3152
+ {
3153
+ "properties": {
3154
+ "yesNo": {
3155
+ "enum": [
3156
+ "No",
3157
+ "Not known"
3158
+ ]
3159
+ }
3160
+ }
3161
+ },
3162
+ {
3163
+ "properties": {
3164
+ "yesNo": {
3165
+ "enum": [
3166
+ "Yes"
3167
+ ]
3168
+ }
3169
+ }
3170
+ }
3171
+ ]
3172
+ }
3173
+ }
3174
+ },
3175
+ "guaranteesWarrantiesAndIndemnityInsurances": {
3176
+ "properties": {
3177
+ "hasValidGuaranteesOrWarranties": {
3178
+ "rdsRef": "Certificates"
3179
+ }
3180
+ },
3181
+ "oneOf": [
3182
+ null,
3183
+ {
3184
+ "properties": {
3185
+ "newHomeWarranty": {
3186
+ "rdsRef": "Certificates",
3187
+ "discriminator": {
3188
+ "propertyName": "yesNo"
3189
+ },
3190
+ "oneOf": [
3191
+ {
3192
+ "properties": {
3193
+ "yesNo": {
3194
+ "enum": [
3195
+ "No"
3196
+ ]
3197
+ }
3198
+ }
3199
+ },
3200
+ {
3201
+ "properties": {
3202
+ "yesNo": {
3203
+ "enum": [
3204
+ "Yes"
3205
+ ]
3206
+ }
3207
+ }
3208
+ }
3209
+ ]
3210
+ },
3211
+ "roofingWork": {
3212
+ "rdsRef": "Certificates",
3213
+ "discriminator": {
3214
+ "propertyName": "yesNo"
3215
+ },
3216
+ "oneOf": [
3217
+ {
3218
+ "properties": {
3219
+ "yesNo": {
3220
+ "enum": [
3221
+ "No"
3222
+ ]
3223
+ }
3224
+ }
3225
+ },
3226
+ {
3227
+ "properties": {
3228
+ "yesNo": {
3229
+ "enum": [
3230
+ "Yes"
3231
+ ]
3232
+ }
3233
+ }
3234
+ }
3235
+ ]
3236
+ },
3237
+ "dampProofingTreatment": {
3238
+ "rdsRef": "Certificates",
3239
+ "discriminator": {
3240
+ "propertyName": "yesNo"
3241
+ },
3242
+ "oneOf": [
3243
+ {
3244
+ "properties": {
3245
+ "yesNo": {
3246
+ "enum": [
3247
+ "No"
3248
+ ]
3249
+ }
3250
+ }
3251
+ },
3252
+ {
3253
+ "properties": {
3254
+ "yesNo": {
3255
+ "enum": [
3256
+ "Yes"
3257
+ ]
3258
+ }
3259
+ }
3260
+ }
3261
+ ]
3262
+ },
3263
+ "timberRotOrInfestationTreatment": {
3264
+ "rdsRef": "Certificates",
3265
+ "discriminator": {
3266
+ "propertyName": "yesNo"
3267
+ },
3268
+ "oneOf": [
3269
+ {
3270
+ "properties": {
3271
+ "yesNo": {
3272
+ "enum": [
3273
+ "No"
3274
+ ]
3275
+ }
3276
+ }
3277
+ },
3278
+ {
3279
+ "properties": {
3280
+ "yesNo": {
3281
+ "enum": [
3282
+ "Yes"
3283
+ ]
3284
+ }
3285
+ }
3286
+ }
3287
+ ]
3288
+ },
3289
+ "centralHeatingAndorPlumbing": {
3290
+ "rdsRef": "Certificates",
3291
+ "discriminator": {
3292
+ "propertyName": "yesNo"
3293
+ },
3294
+ "oneOf": [
3295
+ {
3296
+ "properties": {
3297
+ "yesNo": {
3298
+ "enum": [
3299
+ "No"
3300
+ ]
3301
+ }
3302
+ }
3303
+ },
3304
+ {
3305
+ "properties": {
3306
+ "yesNo": {
3307
+ "enum": [
3308
+ "Yes"
3309
+ ]
3310
+ }
3311
+ }
3312
+ }
3313
+ ]
3314
+ },
3315
+ "doubleGlazing": {
3316
+ "rdsRef": "Certificates",
3317
+ "discriminator": {
3318
+ "propertyName": "yesNo"
3319
+ },
3320
+ "oneOf": [
3321
+ {
3322
+ "properties": {
3323
+ "yesNo": {
3324
+ "enum": [
3325
+ "No"
3326
+ ]
3327
+ }
3328
+ }
3329
+ },
3330
+ {
3331
+ "properties": {
3332
+ "yesNo": {
3333
+ "enum": [
3334
+ "Yes"
3335
+ ]
3336
+ }
3337
+ }
3338
+ }
3339
+ ]
3340
+ },
3341
+ "electricalRepairOrInstallation": {
3342
+ "rdsRef": "Certificates",
3343
+ "discriminator": {
3344
+ "propertyName": "yesNo"
3345
+ },
3346
+ "oneOf": [
3347
+ {
3348
+ "properties": {
3349
+ "yesNo": {
3350
+ "enum": [
3351
+ "No"
3352
+ ]
3353
+ }
3354
+ }
3355
+ },
3356
+ {
3357
+ "properties": {
3358
+ "yesNo": {
3359
+ "enum": [
3360
+ "Yes"
3361
+ ]
3362
+ }
3363
+ }
3364
+ }
3365
+ ]
3366
+ },
3367
+ "subsidenceWork": {
3368
+ "rdsRef": "Certificates",
3369
+ "discriminator": {
3370
+ "propertyName": "yesNo"
3371
+ },
3372
+ "oneOf": [
3373
+ {
3374
+ "properties": {
3375
+ "yesNo": {
3376
+ "enum": [
3377
+ "No"
3378
+ ]
3379
+ }
3380
+ }
3381
+ },
3382
+ {
3383
+ "properties": {
3384
+ "yesNo": {
3385
+ "enum": [
3386
+ "Yes"
3387
+ ]
3388
+ }
3389
+ }
3390
+ }
3391
+ ]
3392
+ },
3393
+ "insulation": {
3394
+ "rdsRef": "Certificates",
3395
+ "discriminator": {
3396
+ "propertyName": "yesNo"
3397
+ },
3398
+ "oneOf": [
3399
+ {
3400
+ "properties": {
3401
+ "yesNo": {
3402
+ "enum": [
3403
+ "No"
3404
+ ]
3405
+ }
3406
+ }
3407
+ },
3408
+ {
3409
+ "properties": {
3410
+ "yesNo": {
3411
+ "enum": [
3412
+ "Yes"
3413
+ ]
3414
+ }
3415
+ }
3416
+ }
3417
+ ]
3418
+ },
3419
+ "solarPanels": {
3420
+ "rdsRef": "Certificates",
3421
+ "discriminator": {
3422
+ "propertyName": "yesNo"
3423
+ },
3424
+ "oneOf": [
3425
+ {
3426
+ "properties": {
3427
+ "yesNo": {
3428
+ "enum": [
3429
+ "No"
3430
+ ]
3431
+ }
3432
+ }
3433
+ },
3434
+ {
3435
+ "properties": {
3436
+ "yesNo": {
3437
+ "enum": [
3438
+ "Yes"
3439
+ ]
3440
+ }
3441
+ }
3442
+ }
3443
+ ]
3444
+ },
3445
+ "otherGuarantees": {
3446
+ "rdsRef": "Certificates",
3447
+ "discriminator": {
3448
+ "propertyName": "yesNo"
3449
+ },
3450
+ "oneOf": [
3451
+ {
3452
+ "properties": {
3453
+ "yesNo": {
3454
+ "enum": [
3455
+ "No"
3456
+ ]
3457
+ }
3458
+ }
3459
+ },
3460
+ {
3461
+ "properties": {
3462
+ "yesNo": {
3463
+ "enum": [
3464
+ "Yes"
3465
+ ]
3466
+ }
3467
+ }
3468
+ }
3469
+ ]
3470
+ },
3471
+ "outstandingClaimsOrApplications": {
3472
+ "rdsRef": "Certificates",
3473
+ "discriminator": {
3474
+ "propertyName": "yesNo"
3475
+ },
3476
+ "oneOf": [
3477
+ {
3478
+ "properties": {
3479
+ "yesNo": {
3480
+ "enum": [
3481
+ "No"
3482
+ ]
3483
+ }
3484
+ }
3485
+ },
3486
+ {
3487
+ "properties": {
3488
+ "yesNo": {
3489
+ "enum": [
3490
+ "Yes"
3491
+ ]
3492
+ }
3493
+ }
3494
+ }
3495
+ ]
3496
+ },
3497
+ "titleDefectInsurance": {
3498
+ "rdsRef": "Certificates",
3499
+ "discriminator": {
3500
+ "propertyName": "yesNo"
3501
+ },
3502
+ "oneOf": [
3503
+ {
3504
+ "properties": {
3505
+ "yesNo": {
3506
+ "enum": [
3507
+ "No"
3508
+ ]
3509
+ }
3510
+ }
3511
+ },
3512
+ {
3513
+ "properties": {
3514
+ "yesNo": {
3515
+ "enum": [
3516
+ "Yes"
3517
+ ]
3518
+ }
3519
+ }
3520
+ }
3521
+ ]
3522
+ }
3523
+ }
3524
+ }
3525
+ ]
3526
+ },
3527
+ "occupiers": {
3528
+ "properties": {
3529
+ "sellerLivesAtProperty": {
3530
+ "rdsRef": "Property/Flags"
3531
+ },
3532
+ "othersAged17OrOver": {
3533
+ "rdsRef": "Participants",
3534
+ "discriminator": {
3535
+ "propertyName": "hasOthersAged17OrOver"
3536
+ },
3537
+ "oneOf": [
3538
+ {
3539
+ "properties": {
3540
+ "hasOthersAged17OrOver": {
3541
+ "enum": [
3542
+ "No"
3543
+ ]
3544
+ }
3545
+ }
3546
+ },
3547
+ {
3548
+ "properties": {
3549
+ "hasOthersAged17OrOver": {
3550
+ "enum": [
3551
+ "Yes"
3552
+ ]
3553
+ },
3554
+ "aged17OrOverTenantsOrLodgers": {
3555
+ "rdsRef": "Property/Flags"
3556
+ },
3557
+ "vacantPossession": {
3558
+ "oneOf": [
3559
+ null,
3560
+ {
3561
+ "properties": {
3562
+ "aged17OrOverAgreedToLeave": {
3563
+ "rdsRef": "RightsHolders,TenureAgreements,Notifications"
3564
+ },
3565
+ "aged17OrOverWillSignToConfirmWillVacate": {
3566
+ "rdsRef": "RightsHolders,TenureAgreements,Notifications",
3567
+ "discriminator": {
3568
+ "propertyName": "yesNo"
3569
+ },
3570
+ "oneOf": [
3571
+ {
3572
+ "properties": {
3573
+ "yesNo": {
3574
+ "enum": [
3575
+ "Yes"
3576
+ ]
3577
+ }
3578
+ }
3579
+ },
3580
+ {
3581
+ "properties": {
3582
+ "yesNo": {
3583
+ "enum": [
3584
+ "No"
3585
+ ]
3586
+ }
3587
+ }
3588
+ }
3589
+ ]
3590
+ }
3591
+ }
3592
+ }
3593
+ ]
3594
+ }
3595
+ }
3596
+ }
3597
+ ],
3598
+ "properties": {
3599
+ "hasOthersAged17OrOver": {
3600
+ "rdsRef": "Participants"
3601
+ }
3602
+ }
3603
+ }
3604
+ }
3605
+ },
3606
+ "completionAndMoving": {
3607
+ "properties": {
3608
+ "sellerWillEnsure": {
3609
+ "rdsRef": "RightsHolders/Flags"
3610
+ },
3611
+ "otherPropertyInChain": {
3612
+ "rdsRef": "RightsHolders/Flags",
3613
+ "discriminator": {
3614
+ "propertyName": "yesNo"
3615
+ },
3616
+ "oneOf": [
3617
+ {
3618
+ "properties": {
3619
+ "yesNo": {
3620
+ "enum": [
3621
+ "No"
3622
+ ]
3623
+ }
3624
+ }
3625
+ },
3626
+ {
3627
+ "properties": {
3628
+ "yesNo": {
3629
+ "enum": [
3630
+ "Yes"
3631
+ ]
3632
+ }
3633
+ }
3634
+ }
3635
+ ]
3636
+ },
3637
+ "moveRestrictionDates": {
3638
+ "rdsRef": "RightsHolders/Text",
3639
+ "discriminator": {
3640
+ "propertyName": "yesNo"
3641
+ },
3642
+ "oneOf": [
3643
+ {
3644
+ "properties": {
3645
+ "yesNo": {
3646
+ "enum": [
3647
+ "No"
3648
+ ]
3649
+ }
3650
+ }
3651
+ },
3652
+ {
3653
+ "properties": {
3654
+ "yesNo": {
3655
+ "enum": [
3656
+ "Yes"
3657
+ ]
3658
+ }
3659
+ }
3660
+ }
3661
+ ]
3662
+ }
3663
+ }
3664
+ }
3665
+ }
3666
+ }
3667
+ }
3668
+ }