@pdtf/schemas 3.0.0-3 → 3.0.0-31

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 (39) hide show
  1. package/index.js +15 -13
  2. package/package.json +1 -1
  3. package/src/examples/v3/exampleAddParticipantVouch.json +32 -0
  4. package/src/examples/v3/exampleDocumentedVouch.json +40 -0
  5. package/src/examples/v3/exampleElectronicRecord.json +30 -0
  6. package/src/examples/v3/exampleTransaction.json +713 -665
  7. package/src/examples/v3/exampleVouch.json +25 -0
  8. package/src/schemas/v2/overlays/baspi.json +510 -2331
  9. package/src/schemas/v2/overlays/con29DW.json +36 -125
  10. package/src/schemas/v2/overlays/con29R.json +5 -143
  11. package/src/schemas/v2/overlays/fme1.json +48 -233
  12. package/src/schemas/v2/overlays/lpe1.json +75 -367
  13. package/src/schemas/v2/overlays/nts.json +17 -103
  14. package/src/schemas/v2/overlays/piq.json +146 -693
  15. package/src/schemas/v2/overlays/rds.json +50 -316
  16. package/src/schemas/v2/overlays/ta10.json +540 -1755
  17. package/src/schemas/v2/overlays/ta6.json +241 -1193
  18. package/src/schemas/v2/overlays/ta7.json +106 -440
  19. package/src/schemas/v3/combined.json +22591 -22479
  20. package/src/schemas/v3/overlays/baspi.json +5358 -7480
  21. package/src/schemas/v3/overlays/con29DW.json +537 -615
  22. package/src/schemas/v3/overlays/con29R.json +5 -143
  23. package/src/schemas/v3/overlays/fme1.json +1035 -1215
  24. package/src/schemas/v3/overlays/llc1.json +5 -5
  25. package/src/schemas/v3/overlays/lpe1.json +1782 -2024
  26. package/src/schemas/v3/overlays/nts.json +1393 -1329
  27. package/src/schemas/v3/overlays/oc1.json +821 -821
  28. package/src/schemas/v3/overlays/piq.json +2134 -2884
  29. package/src/schemas/v3/overlays/rds.json +2713 -3284
  30. package/src/schemas/v3/overlays/ta10.json +5286 -5530
  31. package/src/schemas/v3/overlays/ta6.json +2987 -3798
  32. package/src/schemas/v3/overlays/ta7.json +942 -1033
  33. package/src/schemas/v3/pdtf-transaction.json +19590 -18979
  34. package/src/schemas/v3/skeleton.json +2792 -2749
  35. package/src/tests/v3/transactionSchema.test.js +61 -59
  36. package/src/tests/v3/verifiedClaimsValidator.test.js +15 -15
  37. package/src/utils/extractOverlay.js +10 -27
  38. package/src/tests/v2/transactionSchema.test.js +0 -361
  39. package/src/tests/v2/verifiedClaimsValidator.test.js +0 -128
@@ -4,785 +4,707 @@
4
4
  "properties": {
5
5
  "propertyPack": {
6
6
  "properties": {
7
- "materialFacts": {
7
+ "waterAndDrainage": {
8
+ "con29DWRef": "0",
9
+ "required": [
10
+ "maps",
11
+ "water",
12
+ "drainage",
13
+ "charging"
14
+ ],
8
15
  "properties": {
9
- "waterAndDrainage": {
10
- "con29DWRef": "0",
11
- "title": "Water and Drainage",
12
- "description": "Please describe the water and drainage services that are connected to the property.",
16
+ "maps": {
17
+ "con29DWRef": "1",
13
18
  "required": [
14
- "maps",
15
- "water",
16
- "drainage",
17
- "charging"
19
+ "publicSewerMapAttached",
20
+ "waterworksMapAttached"
18
21
  ],
19
22
  "properties": {
20
- "maps": {
21
- "con29DWRef": "1",
22
- "title": "Maps",
23
- "required": [
24
- "publicSewerMapAttached",
25
- "waterworksMapAttached"
26
- ],
27
- "properties": {
28
- "publicSewerMapAttached": {
29
- "con29DWRef": "1.1",
30
- "title": "Where relevant, please include a copy of an extract from the public sewer map."
31
- },
32
- "waterworksMapAttached": {
33
- "con29DWRef": "1.2",
34
- "title": "Where relevant, please include a copy of an extract from the map of waterworks."
35
- }
36
- }
23
+ "publicSewerMapAttached": {
24
+ "con29DWRef": "1.1"
37
25
  },
38
- "water": {
39
- "con29DWRef": "3",
40
- "title": "Water",
41
- "required": [
42
- "mainsWater",
43
- "waterMainsWithinBoundaries",
44
- "waterMainsSubjectOfAdoptionAgreement",
45
- "lowWaterPressureRisk",
46
- "waterQualityAnalysis",
47
- "waterMeterLocation"
48
- ],
49
- "properties": {
50
- "mainsWater": {
51
- "con29DWRef": "3.1",
52
- "title": "Mains water",
53
- "discriminator": {
54
- "propertyName": "yesNo"
55
- },
56
- "oneOf": [
57
- {
58
- "properties": {
59
- "yesNo": {
60
- "enum": [
61
- "No"
62
- ]
63
- }
64
- }
65
- },
66
- {
67
- "properties": {
68
- "yesNo": {
69
- "enum": [
70
- "Yes"
71
- ]
72
- },
73
- "details": {
74
- "con29DWRef": "3.1.2",
75
- "title": "Details"
76
- }
77
- },
78
- "required": [
79
- "details"
80
- ]
81
- },
82
- {
83
- "properties": {
84
- "yesNo": {
85
- "enum": [
86
- "To be connected"
87
- ]
88
- }
89
- }
90
- }
91
- ],
92
- "required": [
93
- "yesNo"
94
- ],
26
+ "waterworksMapAttached": {
27
+ "con29DWRef": "1.2"
28
+ }
29
+ }
30
+ },
31
+ "water": {
32
+ "con29DWRef": "3",
33
+ "required": [
34
+ "mainsWater",
35
+ "waterMainsWithinBoundaries",
36
+ "waterMainsSubjectOfAdoptionAgreement",
37
+ "lowWaterPressureRisk",
38
+ "waterQualityAnalysis"
39
+ ],
40
+ "properties": {
41
+ "mainsWater": {
42
+ "con29DWRef": "3.1",
43
+ "discriminator": {
44
+ "propertyName": "yesNo"
45
+ },
46
+ "oneOf": [
47
+ {
95
48
  "properties": {
96
49
  "yesNo": {
97
- "con29DWRef": "3.1.1",
98
50
  "enum": [
99
- "Yes",
100
51
  "No"
101
52
  ]
102
53
  }
103
54
  }
104
55
  },
105
- "waterMainsWithinBoundaries": {
106
- "con29DWRef": "3.2",
107
- "title": "Are there any water mains, resource mains or discharge pipes within the boundaries of the property?",
108
- "discriminator": {
109
- "propertyName": "yesNo"
110
- },
111
- "oneOf": [
112
- {
113
- "properties": {
114
- "yesNo": {
115
- "enum": [
116
- "No"
117
- ]
118
- }
119
- }
56
+ {
57
+ "properties": {
58
+ "yesNo": {
59
+ "enum": [
60
+ "Yes"
61
+ ]
120
62
  },
121
- {
122
- "properties": {
123
- "yesNo": {
124
- "enum": [
125
- "Yes"
126
- ]
127
- },
128
- "details": {
129
- "con29DWRef": "3.2.2",
130
- "title": "Details"
131
- }
132
- },
63
+ "details": {
64
+ "con29DWRef": "3.1.2"
65
+ },
66
+ "waterMeter": {
133
67
  "required": [
134
- "details"
68
+ "isSupplyMetered"
69
+ ],
70
+ "oneOf": [
71
+ null,
72
+ {
73
+ "required": [
74
+ "location"
75
+ ],
76
+ "properties": {
77
+ "location": {
78
+ "con29DWRef": "3.6"
79
+ }
80
+ }
81
+ }
135
82
  ]
136
83
  }
137
- ],
84
+ },
138
85
  "required": [
139
- "yesNo"
140
- ],
86
+ "details",
87
+ "waterMeter"
88
+ ]
89
+ },
90
+ {
91
+ "properties": {
92
+ "yesNo": {
93
+ "enum": [
94
+ "To be connected"
95
+ ]
96
+ }
97
+ }
98
+ }
99
+ ],
100
+ "required": [
101
+ "yesNo"
102
+ ],
103
+ "properties": {
104
+ "yesNo": {
105
+ "con29DWRef": "3.1.1",
106
+ "enum": [
107
+ "Yes",
108
+ "No"
109
+ ]
110
+ }
111
+ }
112
+ },
113
+ "waterMainsWithinBoundaries": {
114
+ "con29DWRef": "3.2",
115
+ "discriminator": {
116
+ "propertyName": "yesNo"
117
+ },
118
+ "oneOf": [
119
+ {
141
120
  "properties": {
142
121
  "yesNo": {
143
- "con29DWRef": "3.2.1",
144
122
  "enum": [
145
- "Yes",
146
123
  "No"
147
124
  ]
148
125
  }
149
126
  }
150
127
  },
151
- "waterMainsSubjectOfAdoptionAgreement": {
152
- "con29DWRef": "3.3",
153
- "title": "Is any water main or service pipe serving or which is proposed to serve the property, the subject of an existing adoption agreement or an application for such an agreement?",
154
- "discriminator": {
155
- "propertyName": "yesNo"
156
- },
157
- "oneOf": [
158
- {
159
- "properties": {
160
- "yesNo": {
161
- "enum": [
162
- "No"
163
- ]
164
- }
165
- }
166
- },
167
- {
168
- "properties": {
169
- "yesNo": {
170
- "enum": [
171
- "Yes"
172
- ]
173
- },
174
- "details": {
175
- "con29DWRef": "3.3.2",
176
- "title": "Details"
177
- }
178
- },
179
- "required": [
180
- "details"
128
+ {
129
+ "properties": {
130
+ "yesNo": {
131
+ "enum": [
132
+ "Yes"
181
133
  ]
134
+ },
135
+ "details": {
136
+ "con29DWRef": "3.2.2"
182
137
  }
183
- ],
138
+ },
184
139
  "required": [
185
- "yesNo"
186
- ],
140
+ "details"
141
+ ]
142
+ }
143
+ ],
144
+ "required": [
145
+ "yesNo"
146
+ ],
147
+ "properties": {
148
+ "yesNo": {
149
+ "con29DWRef": "3.2.1"
150
+ }
151
+ }
152
+ },
153
+ "waterMainsSubjectOfAdoptionAgreement": {
154
+ "con29DWRef": "3.3",
155
+ "discriminator": {
156
+ "propertyName": "yesNo"
157
+ },
158
+ "oneOf": [
159
+ {
187
160
  "properties": {
188
161
  "yesNo": {
189
- "con29DWRef": "3.3.1",
190
162
  "enum": [
191
- "Yes",
192
163
  "No"
193
164
  ]
194
165
  }
195
166
  }
196
167
  },
197
- "lowWaterPressureRisk": {
198
- "con29DWRef": "3.4",
199
- "title": "Is the property at risk of receiving low water pressure or flow?",
200
- "discriminator": {
201
- "propertyName": "yesNo"
202
- },
203
- "oneOf": [
204
- {
205
- "properties": {
206
- "yesNo": {
207
- "enum": [
208
- "No"
209
- ]
210
- }
211
- }
212
- },
213
- {
214
- "properties": {
215
- "yesNo": {
216
- "enum": [
217
- "Yes"
218
- ]
219
- },
220
- "details": {
221
- "con29DWRef": "3.4.2",
222
- "title": "Details"
223
- }
224
- },
225
- "required": [
226
- "details"
168
+ {
169
+ "properties": {
170
+ "yesNo": {
171
+ "enum": [
172
+ "Yes"
227
173
  ]
174
+ },
175
+ "details": {
176
+ "con29DWRef": "3.3.2"
228
177
  }
229
- ],
178
+ },
230
179
  "required": [
231
- "yesNo"
232
- ],
180
+ "details"
181
+ ]
182
+ }
183
+ ],
184
+ "required": [
185
+ "yesNo"
186
+ ],
187
+ "properties": {
188
+ "yesNo": {
189
+ "con29DWRef": "3.3.1"
190
+ }
191
+ }
192
+ },
193
+ "lowWaterPressureRisk": {
194
+ "con29DWRef": "3.4",
195
+ "discriminator": {
196
+ "propertyName": "yesNo"
197
+ },
198
+ "oneOf": [
199
+ {
233
200
  "properties": {
234
201
  "yesNo": {
235
- "con29DWRef": "3.4.1",
236
202
  "enum": [
237
- "Yes",
238
203
  "No"
239
204
  ]
240
205
  }
241
206
  }
242
207
  },
243
- "supplyClassification": {
244
- "con29DWRef": "3.5",
245
- "title": "What is the classification of the water supply for the property?"
246
- },
247
- "waterMeterLocation": {
248
- "con29DWRef": "3.6",
249
- "title": "Please include details of the location of any water meter serving the property."
208
+ {
209
+ "properties": {
210
+ "yesNo": {
211
+ "enum": [
212
+ "Yes"
213
+ ]
214
+ },
215
+ "details": {
216
+ "con29DWRef": "3.4.2"
217
+ }
218
+ },
219
+ "required": [
220
+ "details"
221
+ ]
250
222
  }
251
- }
252
- },
253
- "drainage": {
254
- "con29DWRef": "2",
255
- "title": "Drainage",
223
+ ],
256
224
  "required": [
257
- "mainsSurfaceWaterDrainage",
258
- "mainsFoulDrainage",
259
- "surfaceDrainageCharge",
260
- "publicDrainWithinBoundaries",
261
- "publicPumpingStationWithinBoundaries",
262
- "publicSewerWithin100ft",
263
- "publicPumpingStationWithin50mOfBuildings",
264
- "sewersSubjectOfAdoptionAgreement",
265
- "sewerageUndertakerApproval",
266
- "riskOfInternalFlooding",
267
- "distanceToNearestSewerageTreatment"
225
+ "yesNo"
268
226
  ],
269
227
  "properties": {
270
- "mainsSurfaceWaterDrainage": {
271
- "con29DWRef": "2.2",
272
- "title": "Mains surface water drainage",
273
- "discriminator": {
274
- "propertyName": "yesNo"
275
- },
276
- "oneOf": [
277
- {
278
- "properties": {
279
- "yesNo": {
280
- "enum": [
281
- "No",
282
- "Not known"
283
- ]
284
- }
285
- }
286
- },
287
- {
288
- "properties": {
289
- "yesNo": {
290
- "enum": [
291
- "Yes"
292
- ]
293
- },
294
- "details": {
295
- "con29DWRef": "2.2.2",
296
- "title": "Details"
297
- }
298
- },
299
- "required": [
300
- "details"
228
+ "yesNo": {
229
+ "con29DWRef": "3.4.1"
230
+ }
231
+ }
232
+ },
233
+ "supplyClassification": {
234
+ "con29DWRef": "3.5"
235
+ }
236
+ }
237
+ },
238
+ "drainage": {
239
+ "con29DWRef": "2",
240
+ "required": [
241
+ "mainsSurfaceWaterDrainage",
242
+ "mainsFoulDrainage",
243
+ "surfaceDrainageCharge",
244
+ "publicDrainWithinBoundaries",
245
+ "publicPumpingStationWithinBoundaries",
246
+ "publicSewerWithin100ft",
247
+ "publicPumpingStationWithin50mOfBuildings",
248
+ "sewersSubjectOfAdoptionAgreement",
249
+ "sewerageUndertakerApproval",
250
+ "riskOfInternalFlooding",
251
+ "distanceToNearestSewerageTreatment"
252
+ ],
253
+ "properties": {
254
+ "mainsSurfaceWaterDrainage": {
255
+ "con29DWRef": "2.2",
256
+ "discriminator": {
257
+ "propertyName": "yesNo"
258
+ },
259
+ "oneOf": [
260
+ {
261
+ "properties": {
262
+ "yesNo": {
263
+ "enum": [
264
+ "No",
265
+ "Not known"
266
+ ]
267
+ }
268
+ }
269
+ },
270
+ {
271
+ "properties": {
272
+ "yesNo": {
273
+ "enum": [
274
+ "Yes"
301
275
  ]
302
276
  },
303
- {
304
- "properties": {
305
- "yesNo": {
306
- "enum": [
307
- "To be connected"
308
- ]
309
- }
310
- }
277
+ "details": {
278
+ "con29DWRef": "2.2.2"
311
279
  }
312
- ],
280
+ },
281
+ "required": [
282
+ "details"
283
+ ]
284
+ },
285
+ {
313
286
  "properties": {
314
287
  "yesNo": {
315
- "con29DWRef": "2.2.1",
316
288
  "enum": [
317
- "Yes",
318
- "No"
289
+ "To be connected"
319
290
  ]
320
291
  }
321
292
  }
322
- },
323
- "mainsFoulDrainage": {
324
- "con29DWRef": "2.1",
325
- "title": "Mains foul drainage / sweerage",
326
- "discriminator": {
327
- "propertyName": "yesNo"
328
- },
329
- "oneOf": [
330
- {
331
- "properties": {
332
- "yesNo": {
333
- "enum": [
334
- "Yes"
335
- ]
336
- },
337
- "details": {
338
- "con29DWRef": "2.1.2",
339
- "title": "Details"
340
- }
341
- },
342
- "required": [
343
- "details"
293
+ }
294
+ ],
295
+ "properties": {
296
+ "yesNo": {
297
+ "con29DWRef": "2.2.1",
298
+ "enum": [
299
+ "Yes",
300
+ "No"
301
+ ]
302
+ }
303
+ }
304
+ },
305
+ "mainsFoulDrainage": {
306
+ "con29DWRef": "2.1",
307
+ "discriminator": {
308
+ "propertyName": "yesNo"
309
+ },
310
+ "oneOf": [
311
+ {
312
+ "properties": {
313
+ "yesNo": {
314
+ "enum": [
315
+ "Yes"
344
316
  ]
345
317
  },
346
- {
347
- "properties": {
348
- "yesNo": {
349
- "enum": [
350
- "To be connected"
351
- ]
352
- }
353
- }
354
- },
355
- {
356
- "properties": {
357
- "yesNo": {
358
- "enum": [
359
- "No",
360
- "Not known"
361
- ]
362
- }
363
- }
318
+ "details": {
319
+ "con29DWRef": "2.1.2"
364
320
  }
365
- ],
321
+ },
322
+ "required": [
323
+ "details"
324
+ ]
325
+ },
326
+ {
366
327
  "properties": {
367
328
  "yesNo": {
368
329
  "enum": [
369
- "Yes",
370
- "No"
330
+ "To be connected"
371
331
  ]
372
332
  }
373
333
  }
374
334
  },
375
- "surfaceDrainageCharge": {
376
- "con29DWRef": "2.3",
377
- "title": "Is a surface water drainage charge payable?",
378
- "discriminator": {
379
- "propertyName": "yesNo"
380
- },
381
- "oneOf": [
382
- {
383
- "properties": {
384
- "yesNo": {
385
- "enum": [
386
- "No"
387
- ]
388
- }
389
- }
390
- },
391
- {
392
- "properties": {
393
- "yesNo": {
394
- "enum": [
395
- "Yes"
396
- ]
397
- },
398
- "details": {
399
- "con29DWRef": "2.3.2",
400
- "title": "Details"
401
- }
402
- },
403
- "required": [
404
- "details"
335
+ {
336
+ "properties": {
337
+ "yesNo": {
338
+ "enum": [
339
+ "No",
340
+ "Not known"
405
341
  ]
406
342
  }
407
- ],
408
- "required": [
409
- "yesNo"
410
- ],
343
+ }
344
+ }
345
+ ],
346
+ "properties": {
347
+ "yesNo": {
348
+ "enum": [
349
+ "Yes",
350
+ "No"
351
+ ]
352
+ }
353
+ }
354
+ },
355
+ "surfaceDrainageCharge": {
356
+ "con29DWRef": "2.3",
357
+ "discriminator": {
358
+ "propertyName": "yesNo"
359
+ },
360
+ "oneOf": [
361
+ {
411
362
  "properties": {
412
363
  "yesNo": {
413
- "con29DWRef": "2.3.1",
414
364
  "enum": [
415
- "Yes",
416
365
  "No"
417
366
  ]
418
367
  }
419
368
  }
420
369
  },
421
- "publicDrainWithinBoundaries": {
422
- "con29DWRef": "2.4",
423
- "title": "Does the public sewer map indicate any public sewer, disposal main or lateral drain within the boundaries of the property?",
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.0.2",
446
- "title": "Details"
447
- }
448
- },
449
- "required": [
450
- "details"
370
+ {
371
+ "properties": {
372
+ "yesNo": {
373
+ "enum": [
374
+ "Yes"
451
375
  ]
376
+ },
377
+ "details": {
378
+ "con29DWRef": "2.3.2"
452
379
  }
453
- ],
380
+ },
454
381
  "required": [
455
- "yesNo"
456
- ],
382
+ "details"
383
+ ]
384
+ }
385
+ ],
386
+ "required": [
387
+ "yesNo"
388
+ ],
389
+ "properties": {
390
+ "yesNo": {
391
+ "con29DWRef": "2.3.1"
392
+ }
393
+ }
394
+ },
395
+ "publicDrainWithinBoundaries": {
396
+ "con29DWRef": "2.4",
397
+ "discriminator": {
398
+ "propertyName": "yesNo"
399
+ },
400
+ "oneOf": [
401
+ {
457
402
  "properties": {
458
403
  "yesNo": {
459
- "con29DWRef": "2.4.0.1",
460
404
  "enum": [
461
- "Yes",
462
405
  "No"
463
406
  ]
464
407
  }
465
408
  }
466
409
  },
467
- "publicPumpingStationWithinBoundaries": {
468
- "con29DWRef": "2.4.1",
469
- "title": "Does the public sewer map indicate any public pumping station or any other ancillary apparatus within the boundaries of the property?",
470
- "discriminator": {
471
- "propertyName": "yesNo"
472
- },
473
- "oneOf": [
474
- {
475
- "properties": {
476
- "yesNo": {
477
- "enum": [
478
- "No"
479
- ]
480
- }
481
- }
482
- },
483
- {
484
- "properties": {
485
- "yesNo": {
486
- "enum": [
487
- "Yes"
488
- ]
489
- },
490
- "details": {
491
- "con29DWRef": "2.4.1.2",
492
- "title": "Details"
493
- }
494
- },
495
- "required": [
496
- "details"
410
+ {
411
+ "properties": {
412
+ "yesNo": {
413
+ "enum": [
414
+ "Yes"
497
415
  ]
416
+ },
417
+ "details": {
418
+ "con29DWRef": "2.4.0.2"
498
419
  }
499
- ],
420
+ },
500
421
  "required": [
501
- "yesNo"
502
- ],
422
+ "details"
423
+ ]
424
+ }
425
+ ],
426
+ "required": [
427
+ "yesNo"
428
+ ],
429
+ "properties": {
430
+ "yesNo": {
431
+ "con29DWRef": "2.4.0.1"
432
+ }
433
+ }
434
+ },
435
+ "publicPumpingStationWithinBoundaries": {
436
+ "con29DWRef": "2.4.1",
437
+ "discriminator": {
438
+ "propertyName": "yesNo"
439
+ },
440
+ "oneOf": [
441
+ {
503
442
  "properties": {
504
443
  "yesNo": {
505
- "con29DWRef": "2.4.1.1",
506
444
  "enum": [
507
- "Yes",
508
445
  "No"
509
446
  ]
510
447
  }
511
448
  }
512
449
  },
513
- "publicSewerWithin100ft": {
514
- "con29DWRef": "2.5",
515
- "title": "Does the public sewer map indicate any public sewer within 30.48 meters (100 feet) of any buildings within the property?",
516
- "discriminator": {
517
- "propertyName": "yesNo"
518
- },
519
- "oneOf": [
520
- {
521
- "properties": {
522
- "yesNo": {
523
- "enum": [
524
- "No"
525
- ]
526
- }
527
- }
528
- },
529
- {
530
- "properties": {
531
- "yesNo": {
532
- "enum": [
533
- "Yes"
534
- ]
535
- },
536
- "details": {
537
- "con29DWRef": "2.5.0.2",
538
- "title": "Details"
539
- }
540
- },
541
- "required": [
542
- "details"
450
+ {
451
+ "properties": {
452
+ "yesNo": {
453
+ "enum": [
454
+ "Yes"
543
455
  ]
456
+ },
457
+ "details": {
458
+ "con29DWRef": "2.4.1.2"
544
459
  }
545
- ],
460
+ },
546
461
  "required": [
547
- "yesNo"
548
- ],
462
+ "details"
463
+ ]
464
+ }
465
+ ],
466
+ "required": [
467
+ "yesNo"
468
+ ],
469
+ "properties": {
470
+ "yesNo": {
471
+ "con29DWRef": "2.4.1.1"
472
+ }
473
+ }
474
+ },
475
+ "publicSewerWithin100ft": {
476
+ "con29DWRef": "2.5",
477
+ "discriminator": {
478
+ "propertyName": "yesNo"
479
+ },
480
+ "oneOf": [
481
+ {
549
482
  "properties": {
550
483
  "yesNo": {
551
- "con29DWRef": "2.5.0.1",
552
484
  "enum": [
553
- "Yes",
554
485
  "No"
555
486
  ]
556
487
  }
557
488
  }
558
489
  },
559
- "publicPumpingStationWithin50mOfBuildings": {
560
- "con29DWRef": "2.5.1",
561
- "title": "Does the public sewer map indicate any public pumping station or any other ancillary apparatus within 50 metres of any buildings within the property?",
562
- "discriminator": {
563
- "propertyName": "yesNo"
564
- },
565
- "oneOf": [
566
- {
567
- "properties": {
568
- "yesNo": {
569
- "enum": [
570
- "No"
571
- ]
572
- }
573
- }
574
- },
575
- {
576
- "properties": {
577
- "yesNo": {
578
- "enum": [
579
- "Yes"
580
- ]
581
- },
582
- "details": {
583
- "con29DWRef": "2.5.1.2",
584
- "title": "Details"
585
- }
586
- },
587
- "required": [
588
- "details"
490
+ {
491
+ "properties": {
492
+ "yesNo": {
493
+ "enum": [
494
+ "Yes"
589
495
  ]
496
+ },
497
+ "details": {
498
+ "con29DWRef": "2.5.0.2"
590
499
  }
591
- ],
500
+ },
592
501
  "required": [
593
- "yesNo"
594
- ],
502
+ "details"
503
+ ]
504
+ }
505
+ ],
506
+ "required": [
507
+ "yesNo"
508
+ ],
509
+ "properties": {
510
+ "yesNo": {
511
+ "con29DWRef": "2.5.0.1"
512
+ }
513
+ }
514
+ },
515
+ "publicPumpingStationWithin50mOfBuildings": {
516
+ "con29DWRef": "2.5.1",
517
+ "discriminator": {
518
+ "propertyName": "yesNo"
519
+ },
520
+ "oneOf": [
521
+ {
595
522
  "properties": {
596
523
  "yesNo": {
597
- "con29DWRef": "2.5.1.1",
598
524
  "enum": [
599
- "Yes",
600
525
  "No"
601
526
  ]
602
527
  }
603
528
  }
604
529
  },
605
- "sewersSubjectOfAdoptionAgreement": {
606
- "con29DWRef": "2.6",
607
- "title": "Are any sewers or lateral drains serving, or which are proposed to serve the property, the subject of an existing adoption agreement or an application for such an agreement?",
608
- "discriminator": {
609
- "propertyName": "yesNo"
610
- },
611
- "oneOf": [
612
- {
613
- "properties": {
614
- "yesNo": {
615
- "enum": [
616
- "No"
617
- ]
618
- }
619
- }
620
- },
621
- {
622
- "properties": {
623
- "yesNo": {
624
- "enum": [
625
- "Yes"
626
- ]
627
- },
628
- "details": {
629
- "con29DWRef": "2.6.2",
630
- "title": "Details"
631
- }
632
- },
633
- "required": [
634
- "details"
530
+ {
531
+ "properties": {
532
+ "yesNo": {
533
+ "enum": [
534
+ "Yes"
635
535
  ]
536
+ },
537
+ "details": {
538
+ "con29DWRef": "2.5.1.2"
636
539
  }
637
- ],
540
+ },
638
541
  "required": [
639
- "yesNo"
640
- ],
542
+ "details"
543
+ ]
544
+ }
545
+ ],
546
+ "required": [
547
+ "yesNo"
548
+ ],
549
+ "properties": {
550
+ "yesNo": {
551
+ "con29DWRef": "2.5.1.1"
552
+ }
553
+ }
554
+ },
555
+ "sewersSubjectOfAdoptionAgreement": {
556
+ "con29DWRef": "2.6",
557
+ "discriminator": {
558
+ "propertyName": "yesNo"
559
+ },
560
+ "oneOf": [
561
+ {
641
562
  "properties": {
642
563
  "yesNo": {
643
- "con29DWRef": "2.6.1",
644
564
  "enum": [
645
- "Yes",
646
565
  "No"
647
566
  ]
648
567
  }
649
568
  }
650
569
  },
651
- "sewerageUndertakerApproval": {
652
- "con29DWRef": "2.7",
653
- "title": "Has the sewerage undertaker approved or been consulted about any plans to erect a building or extension on the property over, or in the vicinity of, a public sewer, disposal main or drain?",
654
- "discriminator": {
655
- "propertyName": "yesNo"
656
- },
657
- "oneOf": [
658
- {
659
- "properties": {
660
- "yesNo": {
661
- "enum": [
662
- "No"
663
- ]
664
- }
665
- }
666
- },
667
- {
668
- "properties": {
669
- "yesNo": {
670
- "enum": [
671
- "Yes"
672
- ]
673
- },
674
- "details": {
675
- "con29DWRef": "2.7.2",
676
- "title": "Details"
677
- }
678
- },
679
- "required": [
680
- "details"
570
+ {
571
+ "properties": {
572
+ "yesNo": {
573
+ "enum": [
574
+ "Yes"
681
575
  ]
576
+ },
577
+ "details": {
578
+ "con29DWRef": "2.6.2"
682
579
  }
683
- ],
580
+ },
684
581
  "required": [
685
- "yesNo"
686
- ],
582
+ "details"
583
+ ]
584
+ }
585
+ ],
586
+ "required": [
587
+ "yesNo"
588
+ ],
589
+ "properties": {
590
+ "yesNo": {
591
+ "con29DWRef": "2.6.1"
592
+ }
593
+ }
594
+ },
595
+ "sewerageUndertakerApproval": {
596
+ "con29DWRef": "2.7",
597
+ "discriminator": {
598
+ "propertyName": "yesNo"
599
+ },
600
+ "oneOf": [
601
+ {
687
602
  "properties": {
688
603
  "yesNo": {
689
- "con29DWRef": "2.7.1",
690
604
  "enum": [
691
- "Yes",
692
605
  "No"
693
606
  ]
694
607
  }
695
608
  }
696
609
  },
697
- "riskOfInternalFlooding": {
698
- "con29DWRef": "2.8",
699
- "title": "Is any building which is or forms part of the property, at risk of internal flooding due to overloaded public sewers?",
700
- "discriminator": {
701
- "propertyName": "yesNo"
702
- },
703
- "oneOf": [
704
- {
705
- "properties": {
706
- "yesNo": {
707
- "enum": [
708
- "No"
709
- ]
710
- }
711
- }
712
- },
713
- {
714
- "properties": {
715
- "yesNo": {
716
- "enum": [
717
- "Yes"
718
- ]
719
- },
720
- "details": {
721
- "con29DWRef": "2.8.2",
722
- "title": "Details"
723
- }
724
- },
725
- "required": [
726
- "details"
610
+ {
611
+ "properties": {
612
+ "yesNo": {
613
+ "enum": [
614
+ "Yes"
727
615
  ]
616
+ },
617
+ "details": {
618
+ "con29DWRef": "2.7.2"
728
619
  }
729
- ],
620
+ },
730
621
  "required": [
731
- "yesNo"
732
- ],
622
+ "details"
623
+ ]
624
+ }
625
+ ],
626
+ "required": [
627
+ "yesNo"
628
+ ],
629
+ "properties": {
630
+ "yesNo": {
631
+ "con29DWRef": "2.7.1"
632
+ }
633
+ }
634
+ },
635
+ "riskOfInternalFlooding": {
636
+ "con29DWRef": "2.8",
637
+ "discriminator": {
638
+ "propertyName": "yesNo"
639
+ },
640
+ "oneOf": [
641
+ {
733
642
  "properties": {
734
643
  "yesNo": {
735
- "con29DWRef": "2.8.1",
736
644
  "enum": [
737
- "Yes",
738
645
  "No"
739
646
  ]
740
647
  }
741
648
  }
742
649
  },
743
- "distanceToNearestSewerageTreatment": {
744
- "con29DWRef": "2.9",
745
- "title": "Please state the distance from the property to the nearest boundary of the nearest sewage treatment works."
650
+ {
651
+ "properties": {
652
+ "yesNo": {
653
+ "enum": [
654
+ "Yes"
655
+ ]
656
+ },
657
+ "details": {
658
+ "con29DWRef": "2.8.2"
659
+ }
660
+ },
661
+ "required": [
662
+ "details"
663
+ ]
746
664
  }
747
- }
748
- },
749
- "charging": {
750
- "con29DWRef": "4",
751
- "title": "Charging",
665
+ ],
752
666
  "required": [
753
- "sewerageProvider",
754
- "waterProvider",
755
- "sewerageBills",
756
- "waterBills",
757
- "currentChargingBasis",
758
- "consequentialChargingBasis"
667
+ "yesNo"
759
668
  ],
760
669
  "properties": {
761
- "sewerageProvider": {
762
- "con29DWRef": "4.1.1",
763
- "title": "Who are the sewerage undertakers for the property?"
764
- },
765
- "waterProvider": {
766
- "con29DWRef": "4.1.2",
767
- "title": "Who are the water undertakers for the property?"
768
- },
769
- "sewerageBills": {
770
- "con29DWRef": "4.2",
771
- "title": "Who bills the property for sewerage services?"
772
- },
773
- "waterBills": {
774
- "con29DWRef": "4.3",
775
- "title": "Who bills the property for water services?"
776
- },
777
- "currentChargingBasis": {
778
- "con29DWRef": "4.4",
779
- "title": "What is the current basis for charging for sewerage and/or water services at the property?"
780
- },
781
- "consequentialChargingBasis": {
782
- "con29DWRef": "4.5",
783
- "title": "Will the basis for charging for sewerage and water services at the property change as a consequence of a change of occupation?"
670
+ "yesNo": {
671
+ "con29DWRef": "2.8.1"
784
672
  }
785
673
  }
674
+ },
675
+ "distanceToNearestSewerageTreatment": {
676
+ "con29DWRef": "2.9"
677
+ }
678
+ }
679
+ },
680
+ "charging": {
681
+ "con29DWRef": "4",
682
+ "required": [
683
+ "sewerageProvider",
684
+ "waterProvider",
685
+ "sewerageBills",
686
+ "waterBills",
687
+ "currentChargingBasis",
688
+ "consequentialChargingBasis"
689
+ ],
690
+ "properties": {
691
+ "sewerageProvider": {
692
+ "con29DWRef": "4.1.1"
693
+ },
694
+ "waterProvider": {
695
+ "con29DWRef": "4.1.2"
696
+ },
697
+ "sewerageBills": {
698
+ "con29DWRef": "4.2"
699
+ },
700
+ "waterBills": {
701
+ "con29DWRef": "4.3"
702
+ },
703
+ "currentChargingBasis": {
704
+ "con29DWRef": "4.4"
705
+ },
706
+ "consequentialChargingBasis": {
707
+ "con29DWRef": "4.5"
786
708
  }
787
709
  }
788
710
  }