@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,705 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://trust.propdata.org.uk/schemas/v2/overlays/con29DW.json",
4
+ "properties": {
5
+ "propertyPack": {
6
+ "properties": {
7
+ "materialFacts": {
8
+ "properties": {
9
+ "waterAndDrainage": {
10
+ "con29DWRef": "0",
11
+ "required": [
12
+ "maps",
13
+ "water",
14
+ "drainage",
15
+ "charging"
16
+ ],
17
+ "properties": {
18
+ "maps": {
19
+ "con29DWRef": "1",
20
+ "required": [
21
+ "publicSewerMapAttached",
22
+ "waterworksMapAttached"
23
+ ],
24
+ "properties": {
25
+ "publicSewerMapAttached": {
26
+ "con29DWRef": "1.1"
27
+ },
28
+ "waterworksMapAttached": {
29
+ "con29DWRef": "1.2"
30
+ }
31
+ }
32
+ },
33
+ "water": {
34
+ "con29DWRef": "3",
35
+ "required": [
36
+ "mainsWater",
37
+ "waterMainsWithinBoundaries",
38
+ "waterMainsSubjectOfAdoptionAgreement",
39
+ "lowWaterPressureRisk",
40
+ "waterQualityAnalysis",
41
+ "waterMeterLocation"
42
+ ],
43
+ "properties": {
44
+ "mainsWater": {
45
+ "con29DWRef": "3.1",
46
+ "discriminator": {
47
+ "propertyName": "yesNo"
48
+ },
49
+ "oneOf": [
50
+ {
51
+ "properties": {
52
+ "yesNo": {
53
+ "enum": [
54
+ "No"
55
+ ]
56
+ }
57
+ }
58
+ },
59
+ {
60
+ "properties": {
61
+ "yesNo": {
62
+ "enum": [
63
+ "Yes"
64
+ ]
65
+ },
66
+ "details": {
67
+ "con29DWRef": "3.1.2"
68
+ }
69
+ },
70
+ "required": [
71
+ "details"
72
+ ]
73
+ },
74
+ {
75
+ "properties": {
76
+ "yesNo": {
77
+ "enum": [
78
+ "To be connected"
79
+ ]
80
+ }
81
+ }
82
+ }
83
+ ],
84
+ "required": [
85
+ "yesNo"
86
+ ],
87
+ "properties": {
88
+ "yesNo": {
89
+ "con29DWRef": "3.1.1",
90
+ "enum": [
91
+ "Yes",
92
+ "No"
93
+ ]
94
+ }
95
+ }
96
+ },
97
+ "waterMainsWithinBoundaries": {
98
+ "con29DWRef": "3.2",
99
+ "discriminator": {
100
+ "propertyName": "yesNo"
101
+ },
102
+ "oneOf": [
103
+ {
104
+ "properties": {
105
+ "yesNo": {
106
+ "enum": [
107
+ "No"
108
+ ]
109
+ }
110
+ }
111
+ },
112
+ {
113
+ "properties": {
114
+ "yesNo": {
115
+ "enum": [
116
+ "Yes"
117
+ ]
118
+ },
119
+ "details": {
120
+ "con29DWRef": "3.2.2"
121
+ }
122
+ },
123
+ "required": [
124
+ "details"
125
+ ]
126
+ }
127
+ ],
128
+ "required": [
129
+ "yesNo"
130
+ ],
131
+ "properties": {
132
+ "yesNo": {
133
+ "con29DWRef": "3.2.1"
134
+ }
135
+ }
136
+ },
137
+ "waterMainsSubjectOfAdoptionAgreement": {
138
+ "con29DWRef": "3.3",
139
+ "discriminator": {
140
+ "propertyName": "yesNo"
141
+ },
142
+ "oneOf": [
143
+ {
144
+ "properties": {
145
+ "yesNo": {
146
+ "enum": [
147
+ "No"
148
+ ]
149
+ }
150
+ }
151
+ },
152
+ {
153
+ "properties": {
154
+ "yesNo": {
155
+ "enum": [
156
+ "Yes"
157
+ ]
158
+ },
159
+ "details": {
160
+ "con29DWRef": "3.3.2"
161
+ }
162
+ },
163
+ "required": [
164
+ "details"
165
+ ]
166
+ }
167
+ ],
168
+ "required": [
169
+ "yesNo"
170
+ ],
171
+ "properties": {
172
+ "yesNo": {
173
+ "con29DWRef": "3.3.1"
174
+ }
175
+ }
176
+ },
177
+ "lowWaterPressureRisk": {
178
+ "con29DWRef": "3.4",
179
+ "discriminator": {
180
+ "propertyName": "yesNo"
181
+ },
182
+ "oneOf": [
183
+ {
184
+ "properties": {
185
+ "yesNo": {
186
+ "enum": [
187
+ "No"
188
+ ]
189
+ }
190
+ }
191
+ },
192
+ {
193
+ "properties": {
194
+ "yesNo": {
195
+ "enum": [
196
+ "Yes"
197
+ ]
198
+ },
199
+ "details": {
200
+ "con29DWRef": "3.4.2"
201
+ }
202
+ },
203
+ "required": [
204
+ "details"
205
+ ]
206
+ }
207
+ ],
208
+ "required": [
209
+ "yesNo"
210
+ ],
211
+ "properties": {
212
+ "yesNo": {
213
+ "con29DWRef": "3.4.1"
214
+ }
215
+ }
216
+ },
217
+ "supplyClassification": {
218
+ "con29DWRef": "3.5"
219
+ },
220
+ "waterMeterLocation": {
221
+ "con29DWRef": "3.6"
222
+ }
223
+ }
224
+ },
225
+ "drainage": {
226
+ "con29DWRef": "2",
227
+ "required": [
228
+ "mainsSurfaceWaterDrainage",
229
+ "mainsFoulDrainage",
230
+ "surfaceDrainageCharge",
231
+ "publicDrainWithinBoundaries",
232
+ "publicPumpingStationWithinBoundaries",
233
+ "publicSewerWithin100ft",
234
+ "publicPumpingStationWithin50mOfBuildings",
235
+ "sewersSubjectOfAdoptionAgreement",
236
+ "sewerageUndertakerApproval",
237
+ "riskOfInternalFlooding",
238
+ "distanceToNearestSewerageTreatment"
239
+ ],
240
+ "properties": {
241
+ "mainsSurfaceWaterDrainage": {
242
+ "con29DWRef": "2.2",
243
+ "discriminator": {
244
+ "propertyName": "yesNo"
245
+ },
246
+ "oneOf": [
247
+ {
248
+ "properties": {
249
+ "yesNo": {
250
+ "enum": [
251
+ "No",
252
+ "Not known"
253
+ ]
254
+ }
255
+ }
256
+ },
257
+ {
258
+ "properties": {
259
+ "yesNo": {
260
+ "enum": [
261
+ "Yes"
262
+ ]
263
+ },
264
+ "details": {
265
+ "con29DWRef": "2.2.2"
266
+ }
267
+ },
268
+ "required": [
269
+ "details"
270
+ ]
271
+ },
272
+ {
273
+ "properties": {
274
+ "yesNo": {
275
+ "enum": [
276
+ "To be connected"
277
+ ]
278
+ }
279
+ }
280
+ }
281
+ ],
282
+ "properties": {
283
+ "yesNo": {
284
+ "con29DWRef": "2.2.1",
285
+ "enum": [
286
+ "Yes",
287
+ "No"
288
+ ]
289
+ }
290
+ }
291
+ },
292
+ "mainsFoulDrainage": {
293
+ "con29DWRef": "2.1",
294
+ "discriminator": {
295
+ "propertyName": "yesNo"
296
+ },
297
+ "oneOf": [
298
+ {
299
+ "properties": {
300
+ "yesNo": {
301
+ "enum": [
302
+ "Yes"
303
+ ]
304
+ },
305
+ "details": {
306
+ "con29DWRef": "2.1.2"
307
+ }
308
+ },
309
+ "required": [
310
+ "details"
311
+ ]
312
+ },
313
+ {
314
+ "properties": {
315
+ "yesNo": {
316
+ "enum": [
317
+ "To be connected"
318
+ ]
319
+ }
320
+ }
321
+ },
322
+ {
323
+ "properties": {
324
+ "yesNo": {
325
+ "enum": [
326
+ "No",
327
+ "Not known"
328
+ ]
329
+ }
330
+ }
331
+ }
332
+ ],
333
+ "properties": {
334
+ "yesNo": {
335
+ "enum": [
336
+ "Yes",
337
+ "No"
338
+ ]
339
+ }
340
+ }
341
+ },
342
+ "surfaceDrainageCharge": {
343
+ "con29DWRef": "2.3",
344
+ "discriminator": {
345
+ "propertyName": "yesNo"
346
+ },
347
+ "oneOf": [
348
+ {
349
+ "properties": {
350
+ "yesNo": {
351
+ "enum": [
352
+ "No"
353
+ ]
354
+ }
355
+ }
356
+ },
357
+ {
358
+ "properties": {
359
+ "yesNo": {
360
+ "enum": [
361
+ "Yes"
362
+ ]
363
+ },
364
+ "details": {
365
+ "con29DWRef": "2.3.2"
366
+ }
367
+ },
368
+ "required": [
369
+ "details"
370
+ ]
371
+ }
372
+ ],
373
+ "required": [
374
+ "yesNo"
375
+ ],
376
+ "properties": {
377
+ "yesNo": {
378
+ "con29DWRef": "2.3.1"
379
+ }
380
+ }
381
+ },
382
+ "publicDrainWithinBoundaries": {
383
+ "con29DWRef": "2.4",
384
+ "discriminator": {
385
+ "propertyName": "yesNo"
386
+ },
387
+ "oneOf": [
388
+ {
389
+ "properties": {
390
+ "yesNo": {
391
+ "enum": [
392
+ "No"
393
+ ]
394
+ }
395
+ }
396
+ },
397
+ {
398
+ "properties": {
399
+ "yesNo": {
400
+ "enum": [
401
+ "Yes"
402
+ ]
403
+ },
404
+ "details": {
405
+ "con29DWRef": "2.4.0.2"
406
+ }
407
+ },
408
+ "required": [
409
+ "details"
410
+ ]
411
+ }
412
+ ],
413
+ "required": [
414
+ "yesNo"
415
+ ],
416
+ "properties": {
417
+ "yesNo": {
418
+ "con29DWRef": "2.4.0.1"
419
+ }
420
+ }
421
+ },
422
+ "publicPumpingStationWithinBoundaries": {
423
+ "con29DWRef": "2.4.1",
424
+ "discriminator": {
425
+ "propertyName": "yesNo"
426
+ },
427
+ "oneOf": [
428
+ {
429
+ "properties": {
430
+ "yesNo": {
431
+ "enum": [
432
+ "No"
433
+ ]
434
+ }
435
+ }
436
+ },
437
+ {
438
+ "properties": {
439
+ "yesNo": {
440
+ "enum": [
441
+ "Yes"
442
+ ]
443
+ },
444
+ "details": {
445
+ "con29DWRef": "2.4.1.2"
446
+ }
447
+ },
448
+ "required": [
449
+ "details"
450
+ ]
451
+ }
452
+ ],
453
+ "required": [
454
+ "yesNo"
455
+ ],
456
+ "properties": {
457
+ "yesNo": {
458
+ "con29DWRef": "2.4.1.1"
459
+ }
460
+ }
461
+ },
462
+ "publicSewerWithin100ft": {
463
+ "con29DWRef": "2.5",
464
+ "discriminator": {
465
+ "propertyName": "yesNo"
466
+ },
467
+ "oneOf": [
468
+ {
469
+ "properties": {
470
+ "yesNo": {
471
+ "enum": [
472
+ "No"
473
+ ]
474
+ }
475
+ }
476
+ },
477
+ {
478
+ "properties": {
479
+ "yesNo": {
480
+ "enum": [
481
+ "Yes"
482
+ ]
483
+ },
484
+ "details": {
485
+ "con29DWRef": "2.5.0.2"
486
+ }
487
+ },
488
+ "required": [
489
+ "details"
490
+ ]
491
+ }
492
+ ],
493
+ "required": [
494
+ "yesNo"
495
+ ],
496
+ "properties": {
497
+ "yesNo": {
498
+ "con29DWRef": "2.5.0.1"
499
+ }
500
+ }
501
+ },
502
+ "publicPumpingStationWithin50mOfBuildings": {
503
+ "con29DWRef": "2.5.1",
504
+ "discriminator": {
505
+ "propertyName": "yesNo"
506
+ },
507
+ "oneOf": [
508
+ {
509
+ "properties": {
510
+ "yesNo": {
511
+ "enum": [
512
+ "No"
513
+ ]
514
+ }
515
+ }
516
+ },
517
+ {
518
+ "properties": {
519
+ "yesNo": {
520
+ "enum": [
521
+ "Yes"
522
+ ]
523
+ },
524
+ "details": {
525
+ "con29DWRef": "2.5.1.2"
526
+ }
527
+ },
528
+ "required": [
529
+ "details"
530
+ ]
531
+ }
532
+ ],
533
+ "required": [
534
+ "yesNo"
535
+ ],
536
+ "properties": {
537
+ "yesNo": {
538
+ "con29DWRef": "2.5.1.1"
539
+ }
540
+ }
541
+ },
542
+ "sewersSubjectOfAdoptionAgreement": {
543
+ "con29DWRef": "2.6",
544
+ "discriminator": {
545
+ "propertyName": "yesNo"
546
+ },
547
+ "oneOf": [
548
+ {
549
+ "properties": {
550
+ "yesNo": {
551
+ "enum": [
552
+ "No"
553
+ ]
554
+ }
555
+ }
556
+ },
557
+ {
558
+ "properties": {
559
+ "yesNo": {
560
+ "enum": [
561
+ "Yes"
562
+ ]
563
+ },
564
+ "details": {
565
+ "con29DWRef": "2.6.2"
566
+ }
567
+ },
568
+ "required": [
569
+ "details"
570
+ ]
571
+ }
572
+ ],
573
+ "required": [
574
+ "yesNo"
575
+ ],
576
+ "properties": {
577
+ "yesNo": {
578
+ "con29DWRef": "2.6.1"
579
+ }
580
+ }
581
+ },
582
+ "sewerageUndertakerApproval": {
583
+ "con29DWRef": "2.7",
584
+ "discriminator": {
585
+ "propertyName": "yesNo"
586
+ },
587
+ "oneOf": [
588
+ {
589
+ "properties": {
590
+ "yesNo": {
591
+ "enum": [
592
+ "No"
593
+ ]
594
+ }
595
+ }
596
+ },
597
+ {
598
+ "properties": {
599
+ "yesNo": {
600
+ "enum": [
601
+ "Yes"
602
+ ]
603
+ },
604
+ "details": {
605
+ "con29DWRef": "2.7.2"
606
+ }
607
+ },
608
+ "required": [
609
+ "details"
610
+ ]
611
+ }
612
+ ],
613
+ "required": [
614
+ "yesNo"
615
+ ],
616
+ "properties": {
617
+ "yesNo": {
618
+ "con29DWRef": "2.7.1"
619
+ }
620
+ }
621
+ },
622
+ "riskOfInternalFlooding": {
623
+ "con29DWRef": "2.8",
624
+ "discriminator": {
625
+ "propertyName": "yesNo"
626
+ },
627
+ "oneOf": [
628
+ {
629
+ "properties": {
630
+ "yesNo": {
631
+ "enum": [
632
+ "No"
633
+ ]
634
+ }
635
+ }
636
+ },
637
+ {
638
+ "properties": {
639
+ "yesNo": {
640
+ "enum": [
641
+ "Yes"
642
+ ]
643
+ },
644
+ "details": {
645
+ "con29DWRef": "2.8.2"
646
+ }
647
+ },
648
+ "required": [
649
+ "details"
650
+ ]
651
+ }
652
+ ],
653
+ "required": [
654
+ "yesNo"
655
+ ],
656
+ "properties": {
657
+ "yesNo": {
658
+ "con29DWRef": "2.8.1"
659
+ }
660
+ }
661
+ },
662
+ "distanceToNearestSewerageTreatment": {
663
+ "con29DWRef": "2.9"
664
+ }
665
+ }
666
+ },
667
+ "charging": {
668
+ "con29DWRef": "4",
669
+ "required": [
670
+ "sewerageProvider",
671
+ "waterProvider",
672
+ "sewerageBills",
673
+ "waterBills",
674
+ "currentChargingBasis",
675
+ "consequentialChargingBasis"
676
+ ],
677
+ "properties": {
678
+ "sewerageProvider": {
679
+ "con29DWRef": "4.1.1"
680
+ },
681
+ "waterProvider": {
682
+ "con29DWRef": "4.1.2"
683
+ },
684
+ "sewerageBills": {
685
+ "con29DWRef": "4.2"
686
+ },
687
+ "waterBills": {
688
+ "con29DWRef": "4.3"
689
+ },
690
+ "currentChargingBasis": {
691
+ "con29DWRef": "4.4"
692
+ },
693
+ "consequentialChargingBasis": {
694
+ "con29DWRef": "4.5"
695
+ }
696
+ }
697
+ }
698
+ }
699
+ }
700
+ }
701
+ }
702
+ }
703
+ }
704
+ }
705
+ }