@pdtf/schemas 3.0.0-9 → 3.0.1-2

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 (31) hide show
  1. package/LICENSE +21 -0
  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 +716 -668
  7. package/src/examples/v3/exampleVouch.json +25 -0
  8. package/src/schemas/v2/combined.json +10 -2
  9. package/src/schemas/v2/overlays/baspi.json +14 -2
  10. package/src/schemas/v2/overlays/ta6.json +7 -0
  11. package/src/schemas/v2/pdtf-transaction.json +4 -6
  12. package/src/schemas/v2/skeleton.json +2 -1
  13. package/src/schemas/v3/combined.json +22993 -22893
  14. package/src/schemas/v3/overlays/baspi.json +5825 -6167
  15. package/src/schemas/v3/overlays/con29DW.json +568 -557
  16. package/src/schemas/v3/overlays/con29R.json +1 -1
  17. package/src/schemas/v3/overlays/fme1.json +1039 -1039
  18. package/src/schemas/v3/overlays/llc1.json +5 -5
  19. package/src/schemas/v3/overlays/lpe1.json +1720 -1680
  20. package/src/schemas/v3/overlays/nts.json +1436 -1245
  21. package/src/schemas/v3/overlays/oc1.json +821 -821
  22. package/src/schemas/v3/overlays/piq.json +2295 -2494
  23. package/src/schemas/v3/overlays/rds.json +2899 -3191
  24. package/src/schemas/v3/overlays/ta10.json +5280 -4282
  25. package/src/schemas/v3/overlays/ta6.json +3160 -3089
  26. package/src/schemas/v3/overlays/ta7.json +1071 -807
  27. package/src/schemas/v3/pdtf-transaction.json +19396 -18694
  28. package/src/schemas/v3/skeleton.json +2808 -2755
  29. package/src/tests/v3/transactionSchema.test.js +57 -46
  30. package/src/tests/v3/verifiedClaimsValidator.test.js +13 -13
  31. package/src/utils/extractOverlay.js +13 -6
@@ -8,926 +8,1231 @@
8
8
  "propertyPack": {
9
9
  "ntsRef": "0",
10
10
  "required": [
11
- "materialFacts"
11
+ "ownership",
12
+ "councilTax",
13
+ "energyEfficiency",
14
+ "buildInformation",
15
+ "typeOfConstruction",
16
+ "electricity",
17
+ "connectivity",
18
+ "waterAndDrainage",
19
+ "heating",
20
+ "parking",
21
+ "listingAndConservation",
22
+ "rightsAndInformalArrangements",
23
+ "environmentalIssues",
24
+ "notices"
12
25
  ],
13
26
  "properties": {
14
- "materialFacts": {
27
+ "priceInformation": {
28
+ "ntsRef": "A2",
15
29
  "required": [
16
- "ownership",
17
- "councilTax",
18
- "energyEfficiency",
19
- "buildInformation",
20
- "typeOfConstruction",
21
- "connectedUtilities",
22
- "waterAndDrainage",
23
- "heating",
24
- "parking",
25
- "listingAndConservation",
26
- "rightsAndInformalArrangements",
27
- "environmentalIssues",
28
- "notices"
30
+ "price",
31
+ "priceQualifier"
29
32
  ],
30
33
  "properties": {
31
- "priceInformation": {
32
- "ntsRef": "A2",
33
- "required": [
34
- "price",
35
- "priceQualifier"
36
- ],
37
- "properties": {
38
- "price": {
39
- "ntsRef": "A2.1"
40
- },
41
- "priceQualifier": {
42
- "ntsRef": "A2.2"
43
- }
44
- }
34
+ "price": {
35
+ "ntsRef": "A2.1"
45
36
  },
46
- "marketingTenure": {
47
- "ntsRef": "A3"
48
- },
49
- "buildInformation": {
50
- "ntsRef": "B1.1",
51
- "required": [
52
- "building"
53
- ],
54
- "properties": {
55
- "building": {
56
- "ntsRef": "B1.1.1",
57
- "discriminator": {
58
- "propertyName": "propertyType"
59
- },
60
- "oneOf": [
61
- {
62
- "properties": {
63
- "propertyType": {
64
- "enum": [
65
- "Other"
66
- ]
67
- },
68
- "otherType": {
69
- "ntsRef": "B1.1.1.1"
70
- }
71
- },
72
- "required": [
73
- "otherType"
74
- ]
75
- },
76
- {
77
- "properties": {
78
- "propertyType": {
79
- "enum": [
80
- "House",
81
- "Bungalow"
82
- ]
83
- },
84
- "builtForm": {
85
- "ntsRef": "B1.1.2"
86
- }
87
- },
88
- "required": [
89
- "builtForm"
37
+ "priceQualifier": {
38
+ "ntsRef": "A2.2"
39
+ }
40
+ }
41
+ },
42
+ "marketingTenure": {
43
+ "ntsRef": "A3"
44
+ },
45
+ "buildInformation": {
46
+ "ntsRef": "B1.1",
47
+ "required": [
48
+ "building",
49
+ "roomDimensions"
50
+ ],
51
+ "properties": {
52
+ "building": {
53
+ "ntsRef": "B1.1.1",
54
+ "discriminator": {
55
+ "propertyName": "propertyType"
56
+ },
57
+ "oneOf": [
58
+ {
59
+ "properties": {
60
+ "propertyType": {
61
+ "enum": [
62
+ "Other"
90
63
  ]
91
64
  },
92
- {
93
- "properties": {
94
- "propertyType": {
95
- "enum": [
96
- "Maisonette",
97
- "Flat"
98
- ]
99
- },
100
- "builtForm": {
101
- "ntsRef": "B1.1.2"
102
- },
103
- "numberOfFloors": {
104
- "ntsRef": "B1.1.3"
105
- },
106
- "entranceFloor": {
107
- "ntsRef": "B1.1.4"
108
- }
109
- },
110
- "required": [
111
- "builtForm",
112
- "numberOfFloors",
113
- "entranceFloor"
114
- ]
65
+ "otherType": {
66
+ "ntsRef": "B1.1.1.1"
115
67
  }
116
- ],
68
+ },
117
69
  "required": [
118
- "propertyType"
119
- ],
70
+ "otherType"
71
+ ]
72
+ },
73
+ {
120
74
  "properties": {
121
75
  "propertyType": {
122
- "ntsRef": "B1.1.1.1"
76
+ "enum": [
77
+ "House",
78
+ "Bungalow"
79
+ ]
123
80
  }
124
81
  }
125
82
  },
126
- "rooms": {
127
- "ntsRef": "B2",
128
- "items": {
129
- "properties": {
130
- "roomName": {
131
- "ntsRef": "B2.1"
132
- },
133
- "description": {
134
- "ntsRef": "B2.2"
135
- },
136
- "length": {
137
- "ntsRef": "B2.3"
138
- },
139
- "width": {
140
- "ntsRef": "B2.4"
141
- },
142
- "units": {
143
- "ntsRef": "B2.5"
144
- },
145
- "dimensionDetails": {
146
- "ntsRef": "B2.6"
83
+ {
84
+ "properties": {
85
+ "propertyType": {
86
+ "enum": [
87
+ "Maisonette",
88
+ "Flat"
89
+ ]
90
+ },
91
+ "numberOfFloors": {
92
+ "ntsRef": "B1.1.3"
93
+ },
94
+ "entranceFloor": {
95
+ "ntsRef": "B1.1.4"
96
+ },
97
+ "hasLift": {
98
+ "ntsRef": "B1.1.5"
99
+ },
100
+ "overCommercialPremises": {
101
+ "ntsRef": "B1.1.6",
102
+ "discriminator": {
103
+ "propertyName": "isLocatedOverCommercialPremises"
147
104
  },
148
- "photoUrls": {
149
- "ntsRef": "B2.7"
105
+ "oneOf": [
106
+ {
107
+ "properties": {
108
+ "isLocatedOverCommercialPremises": {
109
+ "enum": [
110
+ "No"
111
+ ]
112
+ }
113
+ }
114
+ },
115
+ {
116
+ "properties": {
117
+ "isLocatedOverCommercialPremises": {
118
+ "enum": [
119
+ "Yes"
120
+ ]
121
+ },
122
+ "details": {
123
+ "ntsRef": "B1.1.6.2"
124
+ }
125
+ },
126
+ "required": [
127
+ "details"
128
+ ]
129
+ }
130
+ ],
131
+ "properties": {
132
+ "isLocatedOverCommercialPremises": {
133
+ "ntsRef": "B1.1.6.1"
134
+ }
150
135
  }
151
136
  }
152
- }
137
+ },
138
+ "required": [
139
+ "numberOfFloors",
140
+ "entranceFloor",
141
+ "hasLift",
142
+ "overCommercialPremises"
143
+ ]
153
144
  }
154
- }
155
- },
156
- "ownership": {
157
- "ntsRef": "A3",
145
+ ],
158
146
  "required": [
159
- "ownershipsToBeTransferred"
147
+ "builtForm",
148
+ "propertyType"
160
149
  ],
161
150
  "properties": {
162
- "ownershipsToBeTransferred": {
163
- "ntsRef": "A3",
164
- "items": {
165
- "ntsRef": "A3.1",
166
- "discriminator": {
167
- "propertyName": "ownershipType"
151
+ "builtForm": {
152
+ "ntsRef": "B1.1.2"
153
+ },
154
+ "propertyType": {
155
+ "ntsRef": "B1.1.1.1"
156
+ }
157
+ }
158
+ },
159
+ "roomDimensions": {
160
+ "ntsRef": "B2",
161
+ "discriminator": {
162
+ "propertyName": "hasFloorplan"
163
+ },
164
+ "oneOf": [
165
+ {
166
+ "properties": {
167
+ "hasFloorplan": {
168
+ "enum": [
169
+ "Yes"
170
+ ]
171
+ },
172
+ "attachments": {
173
+ "ntsRef": "B2.1.1"
174
+ }
175
+ }
176
+ },
177
+ {
178
+ "properties": {
179
+ "hasFloorplan": {
180
+ "enum": [
181
+ "No"
182
+ ]
168
183
  },
169
- "oneOf": [
170
- {
184
+ "rooms": {
185
+ "ntsRef": "B2.2",
186
+ "items": {
187
+ "required": [
188
+ "roomName",
189
+ "length",
190
+ "width",
191
+ "units"
192
+ ],
171
193
  "properties": {
172
- "ownershipType": {
173
- "enum": [
174
- "Freehold"
175
- ]
194
+ "roomName": {
195
+ "ntsRef": "B2.2.1"
196
+ },
197
+ "description": {
198
+ "ntsRef": "B2.2.2"
199
+ },
200
+ "length": {
201
+ "ntsRef": "B2.2.3"
202
+ },
203
+ "width": {
204
+ "ntsRef": "B2.2.4"
205
+ },
206
+ "units": {
207
+ "ntsRef": "B2.2.5"
208
+ },
209
+ "dimensionDetails": {
210
+ "ntsRef": "B2.6"
176
211
  }
177
212
  }
213
+ }
214
+ }
215
+ }
216
+ }
217
+ ],
218
+ "required": [
219
+ "hasFloorplan"
220
+ ],
221
+ "properties": {
222
+ "hasFloorplan": {
223
+ "ntsRef": "B2.1"
224
+ }
225
+ }
226
+ }
227
+ }
228
+ },
229
+ "ownership": {
230
+ "ntsRef": "A3",
231
+ "required": [
232
+ "ownershipsToBeTransferred"
233
+ ],
234
+ "properties": {
235
+ "ownershipsToBeTransferred": {
236
+ "ntsRef": "A3",
237
+ "items": {
238
+ "discriminator": {
239
+ "propertyName": "ownershipType"
240
+ },
241
+ "ntsRef": "A3.1",
242
+ "oneOf": [
243
+ {
244
+ "properties": {
245
+ "ownershipType": {
246
+ "enum": [
247
+ "Freehold"
248
+ ]
249
+ }
250
+ }
251
+ },
252
+ {
253
+ "properties": {
254
+ "ownershipType": {
255
+ "enum": [
256
+ "Managed Freehold",
257
+ "Commonhold"
258
+ ]
178
259
  },
179
- {
260
+ "managedFreeholdOrCommonholdInformation": {
261
+ "ntsRef": "A3.2",
262
+ "required": [
263
+ "serviceCharge"
264
+ ],
180
265
  "properties": {
181
- "ownershipType": {
182
- "enum": [
183
- "Managed Freehold",
184
- "Commonhold"
185
- ]
186
- },
187
- "managedFreeholdOrCommonholdInformation": {
188
- "ntsRef": "A3.2",
266
+ "serviceCharge": {
267
+ "ntsRef": "A3.1.1",
189
268
  "required": [
190
- "serviceCharge"
269
+ "annualServiceCharge"
191
270
  ],
192
271
  "properties": {
193
- "serviceCharge": {
194
- "ntsRef": "A3.1.1",
195
- "required": [
196
- "annualServiceCharge"
197
- ],
198
- "properties": {
199
- "annualServiceCharge": {
200
- "ntsRef": "A3.1.2"
201
- }
202
- }
272
+ "annualServiceCharge": {
273
+ "ntsRef": "A3.1.2"
203
274
  }
204
275
  }
205
276
  }
206
277
  }
278
+ }
279
+ }
280
+ },
281
+ {
282
+ "properties": {
283
+ "ownershipType": {
284
+ "enum": [
285
+ "Leasehold"
286
+ ]
207
287
  },
208
- {
288
+ "leaseholdInformation": {
289
+ "ntsRef": "A3.2",
290
+ "required": [
291
+ "sharedOwnership",
292
+ "leaseTerm",
293
+ "groundRent",
294
+ "serviceCharge",
295
+ "leaseRestrictions"
296
+ ],
209
297
  "properties": {
210
- "ownershipType": {
211
- "enum": [
212
- "Leasehold"
213
- ]
214
- },
215
- "leaseholdInformation": {
298
+ "sharedOwnership": {
216
299
  "ntsRef": "A3.2",
217
- "required": [
218
- "typeOfLeasehold",
219
- "leaseTerm",
220
- "groundRent",
221
- "serviceCharge"
222
- ],
223
- "properties": {
224
- "typeOfLeasehold": {
225
- "ntsRef": "A3.2",
226
- "discriminator": {
227
- "propertyName": "leaseholdType"
228
- },
229
- "oneOf": [
230
- {
231
- "properties": {
232
- "leaseholdType": {
233
- "enum": [
234
- "Flat",
235
- "Long leasehold house"
236
- ]
237
- }
238
- }
239
- },
240
- {
241
- "properties": {
242
- "leaseholdType": {
243
- "enum": [
244
- "Shared ownership"
245
- ]
246
- },
247
- "sharedOwnershipPercentage": {
248
- "ntsRef": "A3.7.1"
249
- },
250
- "sharedOwnershipRent": {
251
- "ntsRef": "A3.7.2"
252
- },
253
- "sharedOwnershipRentFrequency": {
254
- "ntsRef": "A3.7.3"
255
- }
256
- },
257
- "required": [
258
- "sharedOwnershipPercentage",
259
- "sharedOwnershipRent",
260
- "sharedOwnershipRentFrequency"
300
+ "discriminator": {
301
+ "propertyName": "isSharedOwnership"
302
+ },
303
+ "oneOf": [
304
+ {
305
+ "properties": {
306
+ "isSharedOwnership": {
307
+ "enum": [
308
+ "No"
309
+ ]
310
+ }
311
+ }
312
+ },
313
+ {
314
+ "properties": {
315
+ "isSharedOwnership": {
316
+ "enum": [
317
+ "Yes"
261
318
  ]
319
+ },
320
+ "sharedOwnershipPercentage": {
321
+ "ntsRef": "A3.7.1"
322
+ },
323
+ "sharedOwnershipRent": {
324
+ "ntsRef": "A3.7.2"
325
+ },
326
+ "sharedOwnershipRentFrequency": {
327
+ "ntsRef": "A3.7.3"
262
328
  }
263
- ],
329
+ },
264
330
  "required": [
265
- "leaseholdType"
331
+ "sharedOwnershipPercentage",
332
+ "sharedOwnershipRent",
333
+ "sharedOwnershipRentFrequency"
266
334
  ]
335
+ }
336
+ ],
337
+ "required": [
338
+ "isSharedOwnership"
339
+ ],
340
+ "properties": {
341
+ "isSharedOwnership": {
342
+ "ntsRef": "A3.2.1"
343
+ }
344
+ }
345
+ },
346
+ "leaseTerm": {
347
+ "ntsRef": "A3.2.2",
348
+ "required": [
349
+ "startYearOfLease",
350
+ "lengthOfLeaseInYears"
351
+ ],
352
+ "properties": {
353
+ "startYearOfLease": {
354
+ "ntsRef": "A3.2.2.1"
267
355
  },
268
- "leaseTerm": {
269
- "ntsRef": "A3.2.1",
270
- "required": [
271
- "startYearOfLease",
272
- "lengthOfLeaseInYears"
273
- ],
356
+ "lengthOfLeaseInYears": {
357
+ "ntsRef": "A3.2.2.2"
358
+ }
359
+ }
360
+ },
361
+ "groundRent": {
362
+ "ntsRef": "A3.4",
363
+ "discriminator": {
364
+ "propertyName": "isGroundRentPayable"
365
+ },
366
+ "oneOf": [
367
+ {
274
368
  "properties": {
275
- "startYearOfLease": {
276
- "ntsRef": "A3.2.1.1"
277
- },
278
- "lengthOfLeaseInYears": {
279
- "ntsRef": "A3.2.1.2"
369
+ "isGroundRentPayable": {
370
+ "enum": [
371
+ "No"
372
+ ]
280
373
  }
281
374
  }
282
375
  },
283
- "groundRent": {
284
- "ntsRef": "A3.4",
285
- "discriminator": {
286
- "propertyName": "isGroundRentPayable"
287
- },
288
- "oneOf": [
289
- {
290
- "properties": {
291
- "isGroundRentPayable": {
292
- "enum": [
293
- "No"
294
- ]
295
- }
296
- }
376
+ {
377
+ "properties": {
378
+ "isGroundRentPayable": {
379
+ "enum": [
380
+ "Yes"
381
+ ]
297
382
  },
298
- {
299
- "properties": {
300
- "isGroundRentPayable": {
301
- "enum": [
302
- "Yes"
303
- ]
304
- },
305
- "annualGroundRent": {
306
- "ntsRef": "A3.4.2"
307
- },
308
- "rentSubjectToIncrease": {
309
- "ntsRef": "A3.4.3",
310
- "discriminator": {
311
- "propertyName": "yesNo"
312
- },
313
- "oneOf": [
314
- {
315
- "properties": {
316
- "yesNo": {
317
- "enum": [
318
- "No"
319
- ]
320
- }
321
- }
322
- },
323
- {
324
- "properties": {
325
- "yesNo": {
326
- "enum": [
327
- "Yes"
328
- ]
329
- },
330
- "rentReviewFrequency": {
331
- "ntsRef": "1.4.3.2"
332
- },
333
- "rentIncreaseCalculated": {
334
- "ntsRef": "1.4.3.3"
335
- }
336
- },
337
- "required": [
338
- "rentReviewFrequency",
339
- "rentIncreaseCalculated"
383
+ "annualGroundRent": {
384
+ "ntsRef": "A3.4.2"
385
+ },
386
+ "groundRentFrequency": {
387
+ "ntsRef": "A3.4.3"
388
+ },
389
+ "rentSubjectToIncrease": {
390
+ "ntsRef": "A3.4.4",
391
+ "discriminator": {
392
+ "propertyName": "yesNo"
393
+ },
394
+ "oneOf": [
395
+ {
396
+ "properties": {
397
+ "yesNo": {
398
+ "enum": [
399
+ "No"
340
400
  ]
341
401
  }
342
- ],
343
- "required": [
344
- "yesNo"
345
- ],
402
+ }
403
+ },
404
+ {
346
405
  "properties": {
347
406
  "yesNo": {
348
- "ntsRef": "1.4.3.1"
407
+ "enum": [
408
+ "Yes"
409
+ ]
410
+ },
411
+ "rentReviewFrequency": {
412
+ "ntsRef": "A3.4.4.2"
413
+ },
414
+ "rentIncreaseCalculated": {
415
+ "ntsRef": "A3.4.4.3"
349
416
  }
350
- }
417
+ },
418
+ "required": [
419
+ "rentReviewFrequency",
420
+ "rentIncreaseCalculated"
421
+ ]
351
422
  }
352
- },
423
+ ],
353
424
  "required": [
354
- "annualGroundRent",
355
- "rentSubjectToIncrease"
356
- ]
357
- }
358
- ],
359
- "required": [
360
- "isGroundRentPayable"
361
- ],
425
+ "yesNo"
426
+ ],
427
+ "properties": {
428
+ "yesNo": {
429
+ "ntsRef": "A3.4.4.1"
430
+ }
431
+ }
432
+ }
433
+ },
434
+ "required": [
435
+ "annualGroundRent",
436
+ "rentSubjectToIncrease"
437
+ ]
438
+ }
439
+ ],
440
+ "required": [
441
+ "isGroundRentPayable"
442
+ ],
443
+ "properties": {
444
+ "isGroundRentPayable": {
445
+ "ntsRef": "A3.4.1"
446
+ }
447
+ }
448
+ },
449
+ "serviceCharge": {
450
+ "ntsRef": "A3.5",
451
+ "discriminator": {
452
+ "propertyName": "sellerContributesToServiceCharge"
453
+ },
454
+ "oneOf": [
455
+ {
362
456
  "properties": {
363
- "isGroundRentPayable": {
364
- "ntsRef": "A3.4.1"
457
+ "sellerContributesToServiceCharge": {
458
+ "enum": [
459
+ "No"
460
+ ]
365
461
  }
366
462
  }
367
463
  },
368
- "serviceCharge": {
369
- "ntsRef": "A3.5",
370
- "discriminator": {
371
- "propertyName": "sellerContributesToServiceCharge"
372
- },
373
- "oneOf": [
374
- {
375
- "properties": {
376
- "sellerContributesToServiceCharge": {
377
- "enum": [
378
- "No"
379
- ]
380
- }
381
- }
464
+ {
465
+ "properties": {
466
+ "sellerContributesToServiceCharge": {
467
+ "enum": [
468
+ "Yes"
469
+ ]
382
470
  },
383
- {
384
- "properties": {
385
- "sellerContributesToServiceCharge": {
386
- "enum": [
387
- "Yes"
388
- ]
389
- },
390
- "annualServiceCharge": {
391
- "ntsRef": "A3.5.1.1"
392
- }
393
- }
471
+ "annualServiceCharge": {
472
+ "ntsRef": "A3.5.1.1"
394
473
  }
395
- ],
474
+ },
396
475
  "required": [
397
- "sellerContributesToServiceCharge"
398
- ],
476
+ "annualServiceCharge"
477
+ ]
478
+ }
479
+ ],
480
+ "required": [
481
+ "sellerContributesToServiceCharge"
482
+ ],
483
+ "properties": {
484
+ "sellerContributesToServiceCharge": {
485
+ "ntsRef": "A3.5.1"
486
+ }
487
+ }
488
+ },
489
+ "leaseRestrictions": {
490
+ "ntsRef": "A3.6",
491
+ "discriminator": {
492
+ "propertyName": "yesNo"
493
+ },
494
+ "oneOf": [
495
+ {
399
496
  "properties": {
400
- "sellerContributesToServiceCharge": {
401
- "ntsRef": "A3.5.1"
497
+ "yesNo": {
498
+ "enum": [
499
+ "No"
500
+ ]
402
501
  }
403
502
  }
503
+ },
504
+ {
505
+ "properties": {
506
+ "yesNo": {
507
+ "enum": [
508
+ "Yes"
509
+ ]
510
+ },
511
+ "details": {
512
+ "ntsRef": "A3.6.2"
513
+ }
514
+ },
515
+ "required": [
516
+ "details"
517
+ ]
518
+ }
519
+ ],
520
+ "required": [
521
+ "yesNo"
522
+ ],
523
+ "properties": {
524
+ "yesNo": {
525
+ "ntsRef": "A3.6.1"
404
526
  }
405
527
  }
406
528
  }
407
529
  }
408
- },
409
- {
410
- "properties": {
411
- "ownershipType": {
412
- "enum": [
413
- "Other"
414
- ]
415
- }
416
- }
417
530
  }
418
- ],
419
- "required": [
420
- "ownershipType"
421
- ],
531
+ }
532
+ },
533
+ {
422
534
  "properties": {
423
535
  "ownershipType": {
424
- "ntsRef": "A3.1"
536
+ "enum": [
537
+ "Other"
538
+ ]
539
+ },
540
+ "otherOwnershipDetails": {
541
+ "ntsRef": "A3.5"
425
542
  }
426
- }
543
+ },
544
+ "required": [
545
+ "otherOwnershipDetails"
546
+ ]
547
+ }
548
+ ],
549
+ "required": [
550
+ "ownershipType"
551
+ ],
552
+ "properties": {
553
+ "ownershipType": {
554
+ "ntsRef": "A3.1"
427
555
  }
428
556
  }
429
557
  }
558
+ }
559
+ }
560
+ },
561
+ "parking": {
562
+ "ntsRef": "B4",
563
+ "required": [
564
+ "parkingArrangements",
565
+ "disabledParking",
566
+ "controlledParking",
567
+ "electricVehicleChargingPoint"
568
+ ],
569
+ "properties": {
570
+ "parkingArrangements": {
571
+ "ntsRef": "B4.1",
572
+ "items": {
573
+ "ntsRef": "B4.1.1"
574
+ }
430
575
  },
431
- "parking": {
432
- "ntsRef": "B4",
576
+ "disabledParking": {
577
+ "ntsRef": "B4.2",
433
578
  "required": [
434
- "parkingArrangements",
435
- "controlledParking",
436
- "electricVehicleChargingPoint"
579
+ "yesNo"
437
580
  ],
438
581
  "properties": {
439
- "parkingArrangements": {
440
- "ntsRef": "B4.1",
441
- "items": {
442
- "ntsRef": "B4.1.1"
443
- }
444
- },
445
- "controlledParking": {
446
- "ntsRef": "B4.2",
447
- "required": [
448
- "yesNo"
449
- ],
582
+ "yesNo": {
583
+ "ntsRef": "B4.2.1"
584
+ }
585
+ }
586
+ },
587
+ "controlledParking": {
588
+ "ntsRef": "B4.3",
589
+ "required": [
590
+ "yesNo"
591
+ ],
592
+ "properties": {
593
+ "yesNo": {
594
+ "ntsRef": "B4.3.1"
595
+ }
596
+ }
597
+ },
598
+ "electricVehicleChargingPoint": {
599
+ "ntsRef": "B4.4",
600
+ "required": [
601
+ "yesNo"
602
+ ],
603
+ "properties": {
604
+ "yesNo": {
605
+ "ntsRef": "B4.4.1"
606
+ }
607
+ }
608
+ }
609
+ }
610
+ },
611
+ "listingAndConservation": {
612
+ "ntsRef": "C2.1",
613
+ "required": [
614
+ "isListed",
615
+ "isConservationArea",
616
+ "hasTreePreservationOrder"
617
+ ],
618
+ "properties": {
619
+ "isListed": {
620
+ "ntsRef": "C2.1.1",
621
+ "discriminator": {
622
+ "propertyName": "yesNo"
623
+ },
624
+ "oneOf": [
625
+ {
450
626
  "properties": {
451
627
  "yesNo": {
452
- "ntsRef": "B4.2.1"
628
+ "enum": [
629
+ "No",
630
+ "Not known"
631
+ ]
453
632
  }
454
633
  }
455
634
  },
456
- "electricVehicleChargingPoint": {
457
- "ntsRef": "B4.3",
458
- "required": [
459
- "yesNo"
460
- ],
635
+ {
461
636
  "properties": {
462
637
  "yesNo": {
463
- "ntsRef": "B4.2.1"
638
+ "enum": [
639
+ "Yes"
640
+ ]
641
+ },
642
+ "details": {
643
+ "ntsRef": "C2.1.1.2"
464
644
  }
465
- }
645
+ },
646
+ "required": [
647
+ "details"
648
+ ]
466
649
  }
467
- }
468
- },
469
- "listingAndConservation": {
470
- "ntsRef": "C2.1",
650
+ ],
471
651
  "required": [
472
- "isListed",
473
- "isConservationArea",
474
- "hasTreePreservationOrder"
652
+ "yesNo"
475
653
  ],
476
654
  "properties": {
477
- "isListed": {
478
- "ntsRef": "C2.1.1",
479
- "discriminator": {
480
- "propertyName": "yesNo"
481
- },
482
- "oneOf": [
483
- {
484
- "properties": {
485
- "yesNo": {
486
- "enum": [
487
- "No",
488
- "Not known"
489
- ]
490
- }
491
- }
492
- },
493
- {
494
- "properties": {
495
- "yesNo": {
496
- "enum": [
497
- "Yes"
498
- ]
499
- },
500
- "details": {
501
- "ntsRef": "C2.1.1.2"
502
- }
503
- },
504
- "required": [
505
- "details"
506
- ]
507
- }
508
- ],
509
- "required": [
510
- "yesNo"
511
- ],
655
+ "yesNo": {
656
+ "ntsRef": "C2.1.1.1",
657
+ "enum": [
658
+ "Yes",
659
+ "No"
660
+ ]
661
+ }
662
+ }
663
+ },
664
+ "isConservationArea": {
665
+ "ntsRef": "C2.1.2",
666
+ "discriminator": {
667
+ "propertyName": "yesNo"
668
+ },
669
+ "oneOf": [
670
+ {
512
671
  "properties": {
513
672
  "yesNo": {
514
- "ntsRef": "C2.1.1.1"
673
+ "enum": [
674
+ "No",
675
+ "Not known"
676
+ ]
515
677
  }
516
678
  }
517
679
  },
518
- "isConservationArea": {
519
- "ntsRef": "C2.1.2",
520
- "discriminator": {
521
- "propertyName": "yesNo"
522
- },
523
- "oneOf": [
524
- {
525
- "properties": {
526
- "yesNo": {
527
- "enum": [
528
- "No",
529
- "Not known"
530
- ]
531
- }
532
- }
533
- },
534
- {
535
- "properties": {
536
- "yesNo": {
537
- "enum": [
538
- "Yes"
539
- ]
540
- },
541
- "details": {
542
- "ntsRef": "C2.1.2.2"
543
- }
544
- },
545
- "required": [
546
- "details"
680
+ {
681
+ "properties": {
682
+ "yesNo": {
683
+ "enum": [
684
+ "Yes"
547
685
  ]
686
+ },
687
+ "details": {
688
+ "ntsRef": "C2.1.2.2"
548
689
  }
549
- ],
690
+ },
550
691
  "required": [
551
- "yesNo"
552
- ],
692
+ "details"
693
+ ]
694
+ }
695
+ ],
696
+ "required": [
697
+ "yesNo"
698
+ ],
699
+ "properties": {
700
+ "yesNo": {
701
+ "ntsRef": "C2.1.2.1",
702
+ "enum": [
703
+ "Yes",
704
+ "No"
705
+ ]
706
+ }
707
+ }
708
+ },
709
+ "hasTreePreservationOrder": {
710
+ "ntsRef": "C2.1.3",
711
+ "discriminator": {
712
+ "propertyName": "yesNo"
713
+ },
714
+ "oneOf": [
715
+ {
553
716
  "properties": {
554
717
  "yesNo": {
555
- "ntsRef": "C2.1.2.1"
718
+ "enum": [
719
+ "No",
720
+ "Not known"
721
+ ]
556
722
  }
557
723
  }
558
724
  },
559
- "hasTreePreservationOrder": {
560
- "ntsRef": "C2.1.3",
561
- "discriminator": {
562
- "propertyName": "yesNo"
563
- },
564
- "oneOf": [
565
- {
566
- "properties": {
567
- "yesNo": {
568
- "enum": [
569
- "No",
570
- "Not known"
571
- ]
572
- }
573
- }
725
+ {
726
+ "properties": {
727
+ "yesNo": {
728
+ "enum": [
729
+ "Yes"
730
+ ]
574
731
  },
575
- {
576
- "properties": {
577
- "yesNo": {
578
- "enum": [
579
- "Yes"
580
- ]
732
+ "workCarriedOut": {
733
+ "ntsRef": "C2.1.3.2",
734
+ "discriminator": {
735
+ "propertyName": "yesNo"
736
+ },
737
+ "oneOf": [
738
+ {
739
+ "properties": {
740
+ "yesNo": {
741
+ "enum": [
742
+ "No"
743
+ ]
744
+ }
745
+ }
581
746
  },
582
- "workCarriedOut": {
583
- "ntsRef": "C2.1.3.2",
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
- "consentsObtained": {
605
- "ntsRef": "C2.1.3.3"
606
- }
607
- },
608
- "required": [
609
- "consentsObtained"
747
+ {
748
+ "properties": {
749
+ "yesNo": {
750
+ "enum": [
751
+ "Yes"
610
752
  ]
753
+ },
754
+ "consentsObtained": {
755
+ "ntsRef": "C2.1.3.3"
611
756
  }
612
- ],
757
+ },
613
758
  "required": [
614
- "yesNo"
759
+ "consentsObtained"
615
760
  ]
616
761
  }
617
- }
762
+ ],
763
+ "required": [
764
+ "yesNo"
765
+ ]
618
766
  }
619
- ],
767
+ }
768
+ }
769
+ ],
770
+ "required": [
771
+ "yesNo"
772
+ ],
773
+ "properties": {
774
+ "yesNo": {
775
+ "ntsRef": "C2.1.3.1",
776
+ "enum": [
777
+ "Yes",
778
+ "No"
779
+ ]
780
+ }
781
+ }
782
+ }
783
+ }
784
+ },
785
+ "typeOfConstruction": {
786
+ "ntsRef": "A1.2",
787
+ "required": [
788
+ "isStandardForm",
789
+ "buildingSafety",
790
+ "accessibilityAndAdaptations"
791
+ ],
792
+ "properties": {
793
+ "isStandardForm": {
794
+ "ntsRef": "A1.2.1",
795
+ "discriminator": {
796
+ "propertyName": "yesNo"
797
+ },
798
+ "oneOf": [
799
+ {
800
+ "properties": {
801
+ "yesNo": {
802
+ "enum": [
803
+ "Yes"
804
+ ]
805
+ }
806
+ }
807
+ },
808
+ {
809
+ "properties": {
810
+ "yesNo": {
811
+ "enum": [
812
+ "No"
813
+ ]
814
+ },
815
+ "details": {
816
+ "ntsRef": "A1.2.1.2"
817
+ }
818
+ },
620
819
  "required": [
621
- "yesNo"
622
- ],
820
+ "details"
821
+ ]
822
+ }
823
+ ],
824
+ "required": [
825
+ "yesNo"
826
+ ],
827
+ "properties": {
828
+ "yesNo": {
829
+ "ntsRef": "A1.2.1.1"
830
+ }
831
+ }
832
+ },
833
+ "buildingSafety": {
834
+ "ntsRef": "C1",
835
+ "discriminator": {
836
+ "propertyName": "yesNo"
837
+ },
838
+ "oneOf": [
839
+ {
623
840
  "properties": {
624
841
  "yesNo": {
625
- "ntsRef": "C2.1.3.1"
842
+ "enum": [
843
+ "No"
844
+ ]
626
845
  }
627
846
  }
847
+ },
848
+ {
849
+ "properties": {
850
+ "yesNo": {
851
+ "enum": [
852
+ "Yes"
853
+ ]
854
+ },
855
+ "details": {
856
+ "ntsRef": "C1.2"
857
+ },
858
+ "workAlreadyDone": {
859
+ "ntsRef": "C1.3"
860
+ },
861
+ "workToBeDone": {
862
+ "ntsRef": "C1.4"
863
+ },
864
+ "potentialCost": {
865
+ "ntsRef": "C1.5"
866
+ },
867
+ "abilityToResideAtProperty": {
868
+ "ntsRef": "C1.6"
869
+ }
870
+ },
871
+ "required": [
872
+ "details",
873
+ "workAlreadyDone",
874
+ "workToBeDone",
875
+ "potentialCost",
876
+ "abilityToResideAtProperty"
877
+ ]
878
+ }
879
+ ],
880
+ "required": [
881
+ "yesNo"
882
+ ],
883
+ "properties": {
884
+ "yesNo": {
885
+ "ntsRef": "C1.1",
886
+ "enum": [
887
+ "Yes",
888
+ "No"
889
+ ]
628
890
  }
629
891
  }
630
892
  },
631
- "typeOfConstruction": {
632
- "ntsRef": "A1.2",
893
+ "accessibilityAndAdaptations": {
894
+ "ntsRef": "C5"
895
+ }
896
+ }
897
+ },
898
+ "energyEfficiency": {
899
+ "ntsRef": "A4",
900
+ "required": [
901
+ "certificate"
902
+ ],
903
+ "properties": {
904
+ "certificate": {
905
+ "ntsRef": "A4.1",
633
906
  "required": [
634
- "isStandardForm",
635
- "buildingSafety",
636
- "accessibilityAndAdaptations"
907
+ "currentEnergyRating"
637
908
  ],
638
909
  "properties": {
639
- "isStandardForm": {
640
- "ntsRef": "A1.2.1",
641
- "discriminator": {
642
- "propertyName": "yesNo"
643
- },
644
- "oneOf": [
645
- {
646
- "properties": {
647
- "yesNo": {
648
- "enum": [
649
- "Yes"
650
- ]
651
- }
652
- }
653
- },
654
- {
655
- "properties": {
656
- "yesNo": {
657
- "enum": [
658
- "No"
659
- ]
660
- },
661
- "details": {
662
- "ntsRef": "A1.2.1.2"
663
- }
664
- },
665
- "required": [
666
- "details"
910
+ "currentEnergyRating": {
911
+ "ntsRef": "A4.1.1"
912
+ }
913
+ }
914
+ }
915
+ }
916
+ },
917
+ "councilTax": {
918
+ "ntsRef": "A1",
919
+ "required": [
920
+ "councilTaxBand",
921
+ "councilTaxAffectingAlterations"
922
+ ],
923
+ "properties": {
924
+ "councilTaxBand": {
925
+ "ntsRef": "A1.1"
926
+ },
927
+ "councilTaxAffectingAlterations": {
928
+ "ntsRef": "A1.2",
929
+ "discriminator": {
930
+ "propertyName": "yesNo"
931
+ },
932
+ "oneOf": [
933
+ {
934
+ "properties": {
935
+ "yesNo": {
936
+ "enum": [
937
+ "No"
667
938
  ]
668
939
  }
669
- ],
940
+ }
941
+ },
942
+ {
943
+ "properties": {
944
+ "yesNo": {
945
+ "enum": [
946
+ "Yes"
947
+ ]
948
+ },
949
+ "details": {
950
+ "ntsRef": "A1.2.2"
951
+ },
952
+ "attachments": {
953
+ "ntsRef": "A1.2.3"
954
+ }
955
+ },
670
956
  "required": [
671
- "yesNo"
672
- ],
957
+ "details"
958
+ ]
959
+ }
960
+ ],
961
+ "required": [
962
+ "yesNo"
963
+ ],
964
+ "properties": {
965
+ "yesNo": {
966
+ "ntsRef": "A1.2.1"
967
+ }
968
+ }
969
+ }
970
+ }
971
+ },
972
+ "notices": {
973
+ "ntsRef": "C4",
974
+ "required": [
975
+ "neighbourDevelopment",
976
+ "planningApplication"
977
+ ],
978
+ "properties": {
979
+ "neighbourDevelopment": {
980
+ "ntsRef": "C4.1",
981
+ "discriminator": {
982
+ "propertyName": "yesNo"
983
+ },
984
+ "oneOf": [
985
+ {
673
986
  "properties": {
674
987
  "yesNo": {
675
- "ntsRef": "A1.2.1.1"
988
+ "enum": [
989
+ "No"
990
+ ]
676
991
  }
677
992
  }
678
993
  },
679
- "buildingSafety": {
680
- "ntsRef": "C1",
681
- "discriminator": {
682
- "propertyName": "yesNo"
683
- },
684
- "oneOf": [
685
- {
686
- "properties": {
687
- "yesNo": {
688
- "enum": [
689
- "No"
690
- ]
691
- }
692
- }
693
- },
694
- {
695
- "properties": {
696
- "yesNo": {
697
- "enum": [
698
- "Yes"
699
- ]
700
- },
701
- "details": {
702
- "ntsRef": "C1.2"
703
- },
704
- "workAlreadyDone": {
705
- "ntsRef": "C1.3"
706
- },
707
- "workToBeDone": {
708
- "ntsRef": "C1.4"
709
- },
710
- "potentialCost": {
711
- "ntsRef": "C1.5"
712
- },
713
- "abilityToResideAtProperty": {
714
- "ntsRef": "C1.6"
715
- }
716
- },
717
- "required": [
718
- "details",
719
- "workAlreadyDone",
720
- "workToBeDone",
721
- "potentialCost",
722
- "abilityToResideAtProperty"
994
+ {
995
+ "properties": {
996
+ "yesNo": {
997
+ "enum": [
998
+ "Yes"
723
999
  ]
1000
+ },
1001
+ "details": {
1002
+ "ntsRef": "C4.1.2"
724
1003
  }
725
- ],
1004
+ },
726
1005
  "required": [
727
- "yesNo"
728
- ],
1006
+ "details"
1007
+ ]
1008
+ }
1009
+ ],
1010
+ "required": [
1011
+ "yesNo"
1012
+ ],
1013
+ "properties": {
1014
+ "yesNo": {
1015
+ "ntsRef": "C4.1.1"
1016
+ }
1017
+ }
1018
+ },
1019
+ "planningApplication": {
1020
+ "ntsRef": "C4.2",
1021
+ "discriminator": {
1022
+ "propertyName": "yesNo"
1023
+ },
1024
+ "oneOf": [
1025
+ {
729
1026
  "properties": {
730
1027
  "yesNo": {
731
- "ntsRef": "C1.1",
732
1028
  "enum": [
733
- "Yes",
734
1029
  "No"
735
1030
  ]
736
1031
  }
737
1032
  }
738
1033
  },
739
- "accessibilityAndAdaptations": {
740
- "ntsRef": "C5",
741
- "items": {
742
- "ntsRef": "C5.1"
743
- }
1034
+ {
1035
+ "properties": {
1036
+ "yesNo": {
1037
+ "enum": [
1038
+ "Yes"
1039
+ ]
1040
+ },
1041
+ "details": {
1042
+ "ntsRef": "C4.2.2"
1043
+ }
1044
+ },
1045
+ "required": [
1046
+ "details"
1047
+ ]
744
1048
  }
745
- }
746
- },
747
- "energyEfficiency": {
748
- "ntsRef": "A4",
1049
+ ],
749
1050
  "required": [
750
- "certificate"
1051
+ "yesNo"
751
1052
  ],
752
1053
  "properties": {
753
- "certificate": {
754
- "ntsRef": "A4.1",
755
- "required": [
756
- "currentEnergyRating"
757
- ],
1054
+ "yesNo": {
1055
+ "ntsRef": "C4.2.1"
1056
+ }
1057
+ }
1058
+ }
1059
+ }
1060
+ },
1061
+ "electricity": {
1062
+ "ntsRef": "B3.1",
1063
+ "required": [
1064
+ "mainsElectricity",
1065
+ "solarPanels",
1066
+ "otherSources"
1067
+ ],
1068
+ "properties": {
1069
+ "mainsElectricity": {
1070
+ "ntsRef": "B3.1",
1071
+ "discriminator": {
1072
+ "propertyName": "yesNo"
1073
+ },
1074
+ "oneOf": [
1075
+ {
758
1076
  "properties": {
759
- "currentEnergyRating": {
760
- "ntsRef": "A4.1.1"
1077
+ "yesNo": {
1078
+ "enum": [
1079
+ "No"
1080
+ ]
761
1081
  }
762
1082
  }
763
- }
764
- }
765
- },
766
- "councilTax": {
767
- "ntsRef": "A1",
768
- "required": [
769
- "councilTaxBand",
770
- "councilTaxAffectingAlterations"
771
- ],
772
- "properties": {
773
- "councilTaxBand": {
774
- "ntsRef": "A1.1"
775
1083
  },
776
- "councilTaxAffectingAlterations": {
777
- "ntsRef": "A1.2",
778
- "discriminator": {
779
- "propertyName": "yesNo"
780
- },
781
- "oneOf": [
782
- {
783
- "properties": {
784
- "yesNo": {
785
- "enum": [
786
- "No"
787
- ]
788
- }
789
- }
790
- },
791
- {
792
- "properties": {
793
- "yesNo": {
794
- "enum": [
795
- "Yes"
796
- ]
797
- },
798
- "details": {
799
- "ntsRef": "A1.2.2"
800
- },
801
- "attachments": {
802
- "ntsRef": "A1.2.3"
803
- }
804
- },
805
- "required": [
806
- "details"
1084
+ {
1085
+ "properties": {
1086
+ "yesNo": {
1087
+ "enum": [
1088
+ "Yes"
807
1089
  ]
808
1090
  }
809
- ],
810
- "required": [
811
- "yesNo"
812
- ],
1091
+ }
1092
+ },
1093
+ {
813
1094
  "properties": {
814
1095
  "yesNo": {
815
- "ntsRef": "A1.2.1"
1096
+ "enum": [
1097
+ "To be connected"
1098
+ ]
816
1099
  }
817
1100
  }
818
1101
  }
819
- }
820
- },
821
- "connectedUtilities": {
822
- "ntsRef": "B3",
1102
+ ],
823
1103
  "required": [
824
- "mainsElectricity",
825
- "telephone",
826
- "cableSatelliteTV",
827
- "broadband",
828
- "solarPanels",
829
- "otherServices"
1104
+ "yesNo"
830
1105
  ],
831
1106
  "properties": {
832
- "mainsElectricity": {
833
- "ntsRef": "B3.1",
834
- "discriminator": {
835
- "propertyName": "yesNo"
836
- },
837
- "oneOf": [
838
- {
839
- "properties": {
840
- "yesNo": {
841
- "enum": [
842
- "No"
843
- ]
844
- }
845
- }
846
- },
847
- {
848
- "properties": {
849
- "yesNo": {
850
- "enum": [
851
- "Yes"
852
- ]
853
- }
854
- }
855
- },
856
- {
857
- "properties": {
858
- "yesNo": {
859
- "enum": [
860
- "To be connected"
861
- ]
862
- }
863
- }
864
- }
865
- ],
866
- "required": [
867
- "yesNo"
868
- ],
1107
+ "yesNo": {
1108
+ "ntsRef": "B3.1.1",
1109
+ "enum": [
1110
+ "Yes",
1111
+ "No"
1112
+ ]
1113
+ }
1114
+ }
1115
+ },
1116
+ "solarPanels": {
1117
+ "ntsRef": "B3.7",
1118
+ "discriminator": {
1119
+ "propertyName": "yesNo"
1120
+ },
1121
+ "oneOf": [
1122
+ {
869
1123
  "properties": {
870
1124
  "yesNo": {
871
- "ntsRef": "B3.1.1",
872
1125
  "enum": [
873
- "Yes",
874
1126
  "No"
875
1127
  ]
876
1128
  }
877
1129
  }
878
1130
  },
879
- "mainsGas": {
1131
+ {
880
1132
  "properties": {
881
1133
  "yesNo": {
882
1134
  "enum": [
883
- "Yes",
884
- "No"
1135
+ "Yes"
885
1136
  ]
886
1137
  }
887
1138
  }
888
1139
  },
889
- "lpg": {
1140
+ {
890
1141
  "properties": {
891
1142
  "yesNo": {
892
1143
  "enum": [
893
- "Yes",
894
- "No"
1144
+ "To be connected"
895
1145
  ]
896
1146
  }
897
1147
  }
898
- },
899
- "oil": {
1148
+ }
1149
+ ],
1150
+ "required": [
1151
+ "yesNo"
1152
+ ],
1153
+ "properties": {
1154
+ "yesNo": {
1155
+ "ntsRef": "B3.7.1",
1156
+ "enum": [
1157
+ "Yes",
1158
+ "No"
1159
+ ]
1160
+ }
1161
+ }
1162
+ },
1163
+ "otherSources": {
1164
+ "ntsRef": "B3.8",
1165
+ "discriminator": {
1166
+ "propertyName": "yesNo"
1167
+ },
1168
+ "oneOf": [
1169
+ {
900
1170
  "properties": {
901
1171
  "yesNo": {
902
1172
  "enum": [
903
- "Yes",
904
1173
  "No"
905
1174
  ]
906
1175
  }
907
1176
  }
908
1177
  },
909
- "telephone": {
1178
+ {
910
1179
  "properties": {
911
1180
  "yesNo": {
912
1181
  "enum": [
913
- "Yes",
914
- "No"
1182
+ "Yes"
915
1183
  ]
1184
+ },
1185
+ "details": {
1186
+ "ntsRef": "3.8.2"
916
1187
  }
917
- }
1188
+ },
1189
+ "required": [
1190
+ "details"
1191
+ ]
918
1192
  },
919
- "cableSatelliteTV": {
1193
+ {
920
1194
  "properties": {
921
1195
  "yesNo": {
922
1196
  "enum": [
923
- "Yes",
924
- "No"
1197
+ "To be connected"
925
1198
  ]
1199
+ },
1200
+ "details": {
1201
+ "ntsRef": "3.8.2"
926
1202
  }
927
1203
  }
928
- },
929
- "broadband": {
930
- "ntsRef": "B3.5",
1204
+ }
1205
+ ],
1206
+ "required": [
1207
+ "yesNo"
1208
+ ],
1209
+ "properties": {
1210
+ "yesNo": {
1211
+ "ntsRef": "B3.8.1",
1212
+ "enum": [
1213
+ "Yes",
1214
+ "No"
1215
+ ]
1216
+ }
1217
+ }
1218
+ }
1219
+ }
1220
+ },
1221
+ "waterAndDrainage": {
1222
+ "ntsRef": "B3.2",
1223
+ "required": [
1224
+ "water",
1225
+ "drainage"
1226
+ ],
1227
+ "properties": {
1228
+ "water": {
1229
+ "ntsRef": "B3.2",
1230
+ "required": [
1231
+ "mainsWater"
1232
+ ],
1233
+ "properties": {
1234
+ "mainsWater": {
1235
+ "ntsRef": "B3.2",
931
1236
  "discriminator": {
932
1237
  "propertyName": "yesNo"
933
1238
  },
@@ -938,61 +1243,14 @@
938
1243
  "enum": [
939
1244
  "No"
940
1245
  ]
941
- }
942
- }
943
- },
944
- {
945
- "properties": {
946
- "yesNo": {
947
- "enum": [
948
- "Yes"
949
- ]
950
1246
  },
951
- "typeOfConnection": {
952
- "ntsRef": "B3.5.2"
1247
+ "details": {
1248
+ "ntsRef": "3.2.2"
953
1249
  }
954
1250
  },
955
1251
  "required": [
956
- "typeOfConnection"
957
- ]
958
- },
959
- {
960
- "properties": {
961
- "yesNo": {
962
- "enum": [
963
- "To be connected"
964
- ]
965
- }
966
- }
967
- }
968
- ],
969
- "required": [
970
- "yesNo"
971
- ],
972
- "properties": {
973
- "yesNo": {
974
- "ntsRef": "B3.5.1",
975
- "enum": [
976
- "Yes",
977
- "No"
1252
+ "details"
978
1253
  ]
979
- }
980
- }
981
- },
982
- "solarPanels": {
983
- "ntsRef": "B3.7",
984
- "discriminator": {
985
- "propertyName": "yesNo"
986
- },
987
- "oneOf": [
988
- {
989
- "properties": {
990
- "yesNo": {
991
- "enum": [
992
- "No"
993
- ]
994
- }
995
- }
996
1254
  },
997
1255
  {
998
1256
  "properties": {
@@ -1000,8 +1258,45 @@
1000
1258
  "enum": [
1001
1259
  "Yes"
1002
1260
  ]
1261
+ },
1262
+ "waterMeter": {
1263
+ "ntsRef": "B3.2.1.1",
1264
+ "discriminator": {
1265
+ "propertyName": "isSupplyMetered"
1266
+ },
1267
+ "oneOf": [
1268
+ {
1269
+ "properties": {
1270
+ "isSupplyMetered": {
1271
+ "enum": [
1272
+ "No"
1273
+ ]
1274
+ }
1275
+ }
1276
+ },
1277
+ {
1278
+ "properties": {
1279
+ "isSupplyMetered": {
1280
+ "enum": [
1281
+ "Yes"
1282
+ ]
1283
+ }
1284
+ }
1285
+ }
1286
+ ],
1287
+ "required": [
1288
+ "isSupplyMetered"
1289
+ ],
1290
+ "properties": {
1291
+ "isSupplyMetered": {
1292
+ "ntsRef": "3.2.3"
1293
+ }
1294
+ }
1003
1295
  }
1004
- }
1296
+ },
1297
+ "required": [
1298
+ "waterMeter"
1299
+ ]
1005
1300
  },
1006
1301
  {
1007
1302
  "properties": {
@@ -1018,16 +1313,25 @@
1018
1313
  ],
1019
1314
  "properties": {
1020
1315
  "yesNo": {
1021
- "ntsRef": "B3.7.1",
1316
+ "ntsRef": "B3.2.1",
1022
1317
  "enum": [
1023
1318
  "Yes",
1024
1319
  "No"
1025
1320
  ]
1026
1321
  }
1027
1322
  }
1028
- },
1029
- "otherServices": {
1030
- "ntsRef": "B3.8",
1323
+ }
1324
+ }
1325
+ },
1326
+ "drainage": {
1327
+ "ntsRef": "B3.3",
1328
+ "required": [
1329
+ "mainsSurfaceWaterDrainage",
1330
+ "mainsFoulDrainage"
1331
+ ],
1332
+ "properties": {
1333
+ "mainsSurfaceWaterDrainage": {
1334
+ "ntsRef": "B3.3.1",
1031
1335
  "discriminator": {
1032
1336
  "propertyName": "yesNo"
1033
1337
  },
@@ -1036,7 +1340,8 @@
1036
1340
  "properties": {
1037
1341
  "yesNo": {
1038
1342
  "enum": [
1039
- "No"
1343
+ "No",
1344
+ "Not known"
1040
1345
  ]
1041
1346
  }
1042
1347
  }
@@ -1047,14 +1352,8 @@
1047
1352
  "enum": [
1048
1353
  "Yes"
1049
1354
  ]
1050
- },
1051
- "details": {
1052
- "ntsRef": "3.8.2"
1053
1355
  }
1054
- },
1055
- "required": [
1056
- "details"
1057
- ]
1356
+ }
1058
1357
  },
1059
1358
  {
1060
1359
  "properties": {
@@ -1071,354 +1370,142 @@
1071
1370
  ],
1072
1371
  "properties": {
1073
1372
  "yesNo": {
1074
- "ntsRef": "B3.8.1",
1373
+ "ntsRef": "B3.3.1.1",
1075
1374
  "enum": [
1076
1375
  "Yes",
1077
1376
  "No"
1078
1377
  ]
1079
1378
  }
1080
1379
  }
1081
- }
1082
- }
1083
- },
1084
- "waterAndDrainage": {
1085
- "ntsRef": "A3.2",
1086
- "required": [
1087
- "water",
1088
- "drainage"
1089
- ],
1090
- "properties": {
1091
- "water": {
1092
- "ntsRef": "A3.2",
1093
- "required": [
1094
- "mainsWater"
1095
- ],
1096
- "properties": {
1097
- "mainsWater": {
1098
- "ntsRef": "A3.2",
1099
- "discriminator": {
1100
- "propertyName": "yesNo"
1101
- },
1102
- "oneOf": [
1103
- {
1104
- "properties": {
1105
- "yesNo": {
1106
- "enum": [
1107
- "No"
1108
- ]
1109
- },
1110
- "details": {
1111
- "ntsRef": "3.2.2"
1112
- }
1113
- },
1114
- "required": [
1115
- "details"
1116
- ]
1117
- },
1118
- {
1119
- "properties": {
1120
- "yesNo": {
1121
- "enum": [
1122
- "Yes"
1123
- ]
1124
- },
1125
- "isSupplyMetered": {
1126
- "ntsRef": "3.2.3"
1127
- }
1128
- },
1129
- "required": [
1130
- "isSupplyMetered"
1131
- ]
1132
- },
1133
- {
1134
- "properties": {
1135
- "yesNo": {
1136
- "enum": [
1137
- "To be connected"
1138
- ]
1139
- }
1140
- }
1141
- }
1142
- ],
1143
- "required": [
1144
- "yesNo"
1145
- ],
1380
+ },
1381
+ "mainsFoulDrainage": {
1382
+ "ntsRef": "B3.3.2",
1383
+ "discriminator": {
1384
+ "propertyName": "yesNo"
1385
+ },
1386
+ "oneOf": [
1387
+ {
1146
1388
  "properties": {
1147
1389
  "yesNo": {
1148
- "ntsRef": "A3.2.1",
1149
1390
  "enum": [
1150
- "Yes",
1151
- "No"
1391
+ "Yes"
1152
1392
  ]
1153
1393
  }
1154
1394
  }
1155
- }
1156
- }
1157
- },
1158
- "drainage": {
1159
- "ntsRef": "A3.3",
1160
- "required": [
1161
- "mainsSurfaceWaterDrainage",
1162
- "mainsFoulDrainage"
1163
- ],
1164
- "properties": {
1165
- "mainsSurfaceWaterDrainage": {
1166
- "ntsRef": "A3.3.1",
1167
- "discriminator": {
1168
- "propertyName": "yesNo"
1169
- },
1170
- "oneOf": [
1171
- {
1172
- "properties": {
1173
- "yesNo": {
1174
- "enum": [
1175
- "No",
1176
- "Not known"
1177
- ]
1178
- }
1179
- }
1180
- },
1181
- {
1182
- "properties": {
1183
- "yesNo": {
1184
- "enum": [
1185
- "Yes"
1186
- ]
1187
- }
1188
- }
1189
- },
1190
- {
1191
- "properties": {
1192
- "yesNo": {
1193
- "enum": [
1194
- "To be connected"
1195
- ]
1196
- }
1197
- }
1198
- }
1199
- ],
1200
- "required": [
1201
- "yesNo"
1202
- ],
1395
+ },
1396
+ {
1203
1397
  "properties": {
1204
1398
  "yesNo": {
1205
- "ntsRef": "A3.3.1.1",
1206
1399
  "enum": [
1207
- "Yes",
1208
- "No"
1400
+ "To be connected"
1209
1401
  ]
1210
1402
  }
1211
1403
  }
1212
1404
  },
1213
- "mainsFoulDrainage": {
1214
- "ntsRef": "A3.3.2",
1215
- "discriminator": {
1216
- "propertyName": "yesNo"
1217
- },
1218
- "oneOf": [
1219
- {
1220
- "properties": {
1221
- "yesNo": {
1222
- "enum": [
1223
- "Yes"
1224
- ]
1225
- }
1226
- }
1227
- },
1228
- {
1229
- "properties": {
1230
- "yesNo": {
1231
- "enum": [
1232
- "To be connected"
1233
- ]
1234
- }
1235
- }
1405
+ {
1406
+ "properties": {
1407
+ "yesNo": {
1408
+ "enum": [
1409
+ "No",
1410
+ "Not known"
1411
+ ]
1236
1412
  },
1237
- {
1238
- "properties": {
1239
- "yesNo": {
1240
- "enum": [
1241
- "No",
1242
- "Not known"
1243
- ]
1244
- },
1245
- "sustainableDrainageSystem": {
1246
- "ntsRef": "A3.3.3",
1247
- "discriminator": {
1248
- "propertyName": "yesNo"
1249
- },
1250
- "oneOf": [
1251
- {
1252
- "properties": {
1253
- "yesNo": {
1254
- "enum": [
1255
- "No"
1256
- ]
1257
- }
1258
- }
1259
- },
1260
- {
1261
- "properties": {
1262
- "yesNo": {
1263
- "enum": [
1264
- "Yes"
1265
- ]
1266
- }
1267
- }
1268
- },
1269
- {
1270
- "properties": {
1271
- "yesNo": {
1272
- "enum": [
1273
- "To be connected"
1274
- ]
1275
- }
1276
- }
1277
- }
1278
- ],
1279
- "required": [
1280
- "yesNo"
1281
- ],
1413
+ "offMainsDrainageSystem": {
1414
+ "ntsRef": "B3.3.3",
1415
+ "discriminator": {
1416
+ "propertyName": "offMainsDrainageSystemType"
1417
+ },
1418
+ "oneOf": [
1419
+ {
1282
1420
  "properties": {
1283
- "yesNo": {
1284
- "ntsRef": "A3.3.3.1",
1421
+ "offMainsDrainageSystemType": {
1285
1422
  "enum": [
1286
- "Yes",
1287
- "No"
1423
+ "Sustainable Drainage System"
1288
1424
  ]
1289
1425
  }
1290
1426
  }
1291
1427
  },
1292
- "septicTank": {
1293
- "ntsRef": "A3.3.4",
1294
- "discriminator": {
1295
- "propertyName": "yesNo"
1296
- },
1297
- "oneOf": [
1298
- {
1299
- "properties": {
1300
- "yesNo": {
1301
- "enum": [
1302
- "No"
1303
- ]
1304
- }
1305
- }
1306
- },
1307
- {
1308
- "properties": {
1309
- "yesNo": {
1310
- "enum": [
1311
- "Yes"
1312
- ]
1313
- }
1314
- }
1315
- }
1316
- ],
1317
- "required": [
1318
- "yesNo"
1319
- ],
1428
+ {
1320
1429
  "properties": {
1321
- "yesNo": {
1322
- "ntsRef": "A3.3.4.1"
1430
+ "offMainsDrainageSystemType": {
1431
+ "enum": [
1432
+ "Septic tank"
1433
+ ]
1323
1434
  }
1324
1435
  }
1325
1436
  },
1326
- "cesspit": {
1327
- "ntsRef": "A3.3.5",
1328
- "discriminator": {
1329
- "propertyName": "yesNo"
1330
- },
1331
- "oneOf": [
1332
- {
1333
- "properties": {
1334
- "yesNo": {
1335
- "enum": [
1336
- "No"
1337
- ]
1338
- }
1339
- }
1340
- },
1341
- {
1342
- "properties": {
1343
- "yesNo": {
1344
- "enum": [
1345
- "Yes"
1346
- ]
1347
- }
1348
- }
1437
+ {
1438
+ "properties": {
1439
+ "offMainsDrainageSystemType": {
1440
+ "enum": [
1441
+ "Cesspit"
1442
+ ]
1349
1443
  }
1350
- ],
1351
- "required": [
1352
- "yesNo"
1353
- ],
1444
+ }
1445
+ },
1446
+ {
1354
1447
  "properties": {
1355
- "yesNo": {
1356
- "ntsRef": "A3.3.5.1"
1448
+ "offMainsDrainageSystemType": {
1449
+ "enum": [
1450
+ "Sewerage treatment plant"
1451
+ ]
1357
1452
  }
1358
1453
  }
1359
1454
  },
1360
- "sewerageTreatmentPlant": {
1361
- "ntsRef": "A3.3.6",
1362
- "discriminator": {
1363
- "propertyName": "yesNo"
1364
- },
1365
- "oneOf": [
1366
- {
1367
- "properties": {
1368
- "yesNo": {
1369
- "enum": [
1370
- "No"
1371
- ]
1372
- }
1373
- }
1455
+ {
1456
+ "properties": {
1457
+ "offMainsDrainageSystemType": {
1458
+ "enum": [
1459
+ "Other",
1460
+ "Not known"
1461
+ ]
1374
1462
  },
1375
- {
1376
- "properties": {
1377
- "yesNo": {
1378
- "enum": [
1379
- "Yes"
1380
- ]
1381
- }
1382
- }
1463
+ "details": {
1464
+ "ntsRef": "B3.3.3.2"
1383
1465
  }
1384
- ],
1466
+ },
1385
1467
  "required": [
1386
- "yesNo"
1387
- ],
1388
- "properties": {
1389
- "yesNo": {
1390
- "ntsRef": "A3.3.6.1"
1391
- }
1392
- }
1468
+ "details"
1469
+ ]
1393
1470
  }
1394
- },
1471
+ ],
1395
1472
  "required": [
1396
- "sustainableDrainageSystem",
1397
- "septicTank",
1398
- "cesspit",
1399
- "sewerageTreatmentPlant"
1400
- ]
1401
- }
1402
- ],
1403
- "required": [
1404
- "yesNo"
1405
- ],
1406
- "properties": {
1407
- "yesNo": {
1408
- "ntsRef": "A3.3.2.1",
1409
- "enum": [
1410
- "Yes",
1411
- "No"
1412
- ]
1473
+ "offMainsDrainageSystemType"
1474
+ ],
1475
+ "properties": {
1476
+ "offMainsDrainageSystemType": {
1477
+ "ntsRef": "B3.3.3.1"
1478
+ }
1479
+ }
1413
1480
  }
1414
1481
  }
1415
1482
  }
1483
+ ],
1484
+ "required": [
1485
+ "yesNo"
1486
+ ],
1487
+ "properties": {
1488
+ "yesNo": {
1489
+ "ntsRef": "B3.3.2.1",
1490
+ "enum": [
1491
+ "Yes",
1492
+ "No"
1493
+ ]
1494
+ }
1416
1495
  }
1417
1496
  }
1418
1497
  }
1419
- },
1420
- "heating": {
1421
- "ntsRef": "B3.4",
1498
+ }
1499
+ }
1500
+ },
1501
+ "heating": {
1502
+ "ntsRef": "B3.4",
1503
+ "required": [
1504
+ "heatingSystem"
1505
+ ],
1506
+ "properties": {
1507
+ "heatingSystem": {
1508
+ "ntsRef": "B3.4.1",
1422
1509
  "discriminator": {
1423
1510
  "propertyName": "heatingType"
1424
1511
  },
@@ -1427,7 +1514,8 @@
1427
1514
  "properties": {
1428
1515
  "heatingType": {
1429
1516
  "enum": [
1430
- "None"
1517
+ "None",
1518
+ "Room heaters only"
1431
1519
  ]
1432
1520
  }
1433
1521
  }
@@ -1455,8 +1543,24 @@
1455
1543
  "properties": {
1456
1544
  "centralHeatingFuelType": {
1457
1545
  "enum": [
1458
- "Mains gas",
1459
- "Electricity",
1546
+ "Mains gas"
1547
+ ]
1548
+ }
1549
+ }
1550
+ },
1551
+ {
1552
+ "properties": {
1553
+ "centralHeatingFuelType": {
1554
+ "enum": [
1555
+ "Electricity"
1556
+ ]
1557
+ }
1558
+ }
1559
+ },
1560
+ {
1561
+ "properties": {
1562
+ "centralHeatingFuelType": {
1563
+ "enum": [
1460
1564
  "Oil",
1461
1565
  "LPG",
1462
1566
  "Biomass"
@@ -1512,89 +1616,63 @@
1512
1616
  "properties": {
1513
1617
  "heatingType": {
1514
1618
  "ntsRef": "B3.4.1"
1515
- },
1516
- "otherHeatingFeatures": {
1517
- "ntsRef": "B3.4.2",
1518
- "items": {
1519
- "ntsRef": "B3.4.2.1"
1520
- }
1521
1619
  }
1522
1620
  }
1523
1621
  },
1524
- "rightsAndInformalArrangements": {
1525
- "ntsRef": "C2.2",
1526
- "required": [
1527
- "rightsOrArrangements"
1528
- ],
1622
+ "otherHeatingFeatures": {
1623
+ "ntsRef": "B3.4.2"
1624
+ }
1625
+ }
1626
+ },
1627
+ "connectivity": {
1628
+ "ntsRef": "B3",
1629
+ "required": [
1630
+ "broadband"
1631
+ ],
1632
+ "properties": {
1633
+ "telephone": {
1529
1634
  "properties": {
1530
- "rightsOrArrangements": {
1531
- "ntsRef": "C2.2.1",
1532
- "required": [
1533
- "publicRightOfWay"
1534
- ],
1535
- "properties": {
1536
- "publicRightOfWay": {
1537
- "ntsRef": "C2.2.1",
1538
- "discriminator": {
1539
- "propertyName": "yesNo"
1540
- },
1541
- "oneOf": [
1542
- {
1543
- "properties": {
1544
- "yesNo": {
1545
- "enum": [
1546
- "No"
1547
- ]
1548
- }
1549
- }
1550
- },
1551
- {
1552
- "properties": {
1553
- "yesNo": {
1554
- "enum": [
1555
- "Yes"
1556
- ]
1557
- },
1558
- "details": {
1559
- "ntsRef": "C2.2.1.2"
1560
- }
1561
- },
1562
- "required": [
1563
- "details"
1564
- ]
1565
- }
1566
- ],
1567
- "required": [
1568
- "yesNo"
1569
- ],
1570
- "properties": {
1571
- "yesNo": {
1572
- "ntsRef": "C2.2.1.1"
1573
- }
1574
- }
1575
- }
1576
- }
1635
+ "yesNo": {
1636
+ "enum": [
1637
+ "Yes",
1638
+ "No"
1639
+ ]
1640
+ }
1641
+ }
1642
+ },
1643
+ "cableSatelliteTV": {
1644
+ "properties": {
1645
+ "yesNo": {
1646
+ "enum": [
1647
+ "Yes",
1648
+ "No"
1649
+ ]
1577
1650
  }
1578
1651
  }
1579
1652
  },
1580
- "environmentalIssues": {
1581
- "ntsRef": "C3.1",
1653
+ "broadband": {
1654
+ "ntsRef": "B3.5",
1582
1655
  "required": [
1583
- "flooding",
1584
- "coalMining",
1585
- "nonCoalMining",
1586
- "coastalErosion"
1656
+ "typeOfConnection"
1587
1657
  ],
1588
1658
  "properties": {
1589
- "flooding": {
1590
- "ntsRef": "C3.1.1",
1659
+ "typeOfConnection": {
1660
+ "ntsRef": "B3.5.2"
1661
+ }
1662
+ }
1663
+ },
1664
+ "mobilePhone": {
1665
+ "ntsRef": "B3.6",
1666
+ "properties": {
1667
+ "knownSignalIssues": {
1668
+ "ntsRef": "B3.6.1",
1591
1669
  "discriminator": {
1592
- "propertyName": "hasBeenFlooded"
1670
+ "propertyName": "yesNo"
1593
1671
  },
1594
1672
  "oneOf": [
1595
1673
  {
1596
1674
  "properties": {
1597
- "hasBeenFlooded": {
1675
+ "yesNo": {
1598
1676
  "enum": [
1599
1677
  "No"
1600
1678
  ]
@@ -1603,87 +1681,54 @@
1603
1681
  },
1604
1682
  {
1605
1683
  "properties": {
1606
- "hasBeenFlooded": {
1684
+ "yesNo": {
1607
1685
  "enum": [
1608
1686
  "Yes"
1609
1687
  ]
1610
1688
  },
1611
- "typeOfFlooding": {
1612
- "ntsRef": "C3.1.1.3",
1613
- "items": {
1614
- "ntsRef": "C3.1.1.3.1"
1615
- }
1616
- },
1617
1689
  "details": {
1618
- "ntsRef": "C3.1.1.4"
1690
+ "ntsRef": "B3.6.1.2"
1619
1691
  }
1620
1692
  },
1621
1693
  "required": [
1622
- "typeOfFlooding",
1623
1694
  "details"
1624
1695
  ]
1625
1696
  }
1626
1697
  ],
1627
1698
  "required": [
1628
- "floodRisk",
1629
- "hasBeenFlooded"
1699
+ "yesNo"
1630
1700
  ],
1631
1701
  "properties": {
1632
- "floodRisk": {
1633
- "ntsRef": "C3.1.1.1",
1634
- "discriminator": {
1635
- "propertyName": "impactIndicator"
1636
- },
1637
- "oneOf": [
1638
- {
1639
- "properties": {
1640
- "impactIndicator": {
1641
- "enum": [
1642
- "No"
1643
- ]
1644
- }
1645
- }
1646
- },
1647
- {
1648
- "properties": {
1649
- "impactIndicator": {
1650
- "enum": [
1651
- "Yes"
1652
- ]
1653
- },
1654
- "summary": {
1655
- "ntsRef": "C3.1.1.2"
1656
- }
1657
- },
1658
- "required": [
1659
- "summary"
1660
- ]
1661
- }
1662
- ],
1663
- "required": [
1664
- "impactIndicator"
1665
- ],
1666
- "properties": {
1667
- "impactIndicator": {
1668
- "ntsRef": "C3.1.1.1",
1669
- "title": "To your knowledge, is the property at risk of flooding of any type?"
1670
- }
1671
- }
1672
- },
1673
- "hasBeenFlooded": {
1674
- "ntsRef": "C3.1.1.2"
1702
+ "yesNo": {
1703
+ "ntsRef": "B3.6.1.1"
1675
1704
  }
1676
1705
  }
1677
- },
1678
- "coalMining": {
1679
- "ntsRef": "C6.1",
1706
+ }
1707
+ }
1708
+ }
1709
+ }
1710
+ },
1711
+ "rightsAndInformalArrangements": {
1712
+ "ntsRef": "C2.2",
1713
+ "required": [
1714
+ "rightsOrArrangements"
1715
+ ],
1716
+ "properties": {
1717
+ "rightsOrArrangements": {
1718
+ "ntsRef": "C2.2.1",
1719
+ "required": [
1720
+ "publicRightOfWay"
1721
+ ],
1722
+ "properties": {
1723
+ "publicRightOfWay": {
1724
+ "ntsRef": "C2.2.1",
1680
1725
  "discriminator": {
1681
- "propertyName": "impactIndicator"
1726
+ "propertyName": "yesNo"
1682
1727
  },
1683
1728
  "oneOf": [
1684
1729
  {
1685
1730
  "properties": {
1686
- "impactIndicator": {
1731
+ "yesNo": {
1687
1732
  "enum": [
1688
1733
  "No"
1689
1734
  ]
@@ -1692,37 +1737,59 @@
1692
1737
  },
1693
1738
  {
1694
1739
  "properties": {
1695
- "impactIndicator": {
1740
+ "yesNo": {
1696
1741
  "enum": [
1697
1742
  "Yes"
1698
1743
  ]
1699
1744
  },
1700
- "summary": {
1701
- "ntsRef": "C6.1.1",
1702
- "title": "Please provide details"
1745
+ "details": {
1746
+ "ntsRef": "C2.2.1.2"
1703
1747
  }
1704
- }
1748
+ },
1749
+ "required": [
1750
+ "details"
1751
+ ]
1705
1752
  }
1706
1753
  ],
1707
1754
  "required": [
1708
- "impactIndicator"
1755
+ "yesNo"
1709
1756
  ],
1757
+ "title": "Is there a public right of way through and/or across your house, buildings or land?",
1710
1758
  "properties": {
1711
- "impactIndicator": {
1712
- "ntsRef": "C6.1.1",
1713
- "title": "To your knowledge, is the property impacted by coal mining?"
1759
+ "yesNo": {
1760
+ "ntsRef": "C2.2.1.1"
1714
1761
  }
1715
1762
  }
1716
- },
1717
- "nonCoalMining": {
1718
- "ntsRef": "C6.2",
1763
+ }
1764
+ }
1765
+ }
1766
+ }
1767
+ },
1768
+ "environmentalIssues": {
1769
+ "ntsRef": "C3.1",
1770
+ "required": [
1771
+ "flooding",
1772
+ "coalMining",
1773
+ "nonCoalMining",
1774
+ "coastalErosion"
1775
+ ],
1776
+ "properties": {
1777
+ "flooding": {
1778
+ "ntsRef": "C3.1.1",
1779
+ "required": [
1780
+ "floodRisk",
1781
+ "historicalFlooding"
1782
+ ],
1783
+ "properties": {
1784
+ "floodRisk": {
1785
+ "ntsRef": "C3.1.1.1",
1719
1786
  "discriminator": {
1720
- "propertyName": "impactIndicator"
1787
+ "propertyName": "riskIndicator"
1721
1788
  },
1722
1789
  "oneOf": [
1723
1790
  {
1724
1791
  "properties": {
1725
- "impactIndicator": {
1792
+ "riskIndicator": {
1726
1793
  "enum": [
1727
1794
  "No"
1728
1795
  ]
@@ -1731,13 +1798,13 @@
1731
1798
  },
1732
1799
  {
1733
1800
  "properties": {
1734
- "impactIndicator": {
1801
+ "riskIndicator": {
1735
1802
  "enum": [
1736
1803
  "Yes"
1737
1804
  ]
1738
1805
  },
1739
1806
  "summary": {
1740
- "ntsRef": "C6.2.2"
1807
+ "ntsRef": "C3.1.1.2"
1741
1808
  }
1742
1809
  },
1743
1810
  "required": [
@@ -1746,24 +1813,24 @@
1746
1813
  }
1747
1814
  ],
1748
1815
  "required": [
1749
- "impactIndicator"
1816
+ "riskIndicator"
1750
1817
  ],
1751
1818
  "properties": {
1752
- "impactIndicator": {
1753
- "ntsRef": "C6.2.1",
1754
- "title": "To your knowledge, is the property impacted by types of mining other than coal?"
1819
+ "riskIndicator": {
1820
+ "ntsRef": "C3.1.1.1",
1821
+ "title": "To your knowledge, is the property at risk of flooding of any type?"
1755
1822
  }
1756
1823
  }
1757
1824
  },
1758
- "coastalErosion": {
1759
- "ntsRef": "C3.2",
1825
+ "historicalFlooding": {
1826
+ "ntsRef": "C3.1.1.2",
1760
1827
  "discriminator": {
1761
- "propertyName": "impactIndicator"
1828
+ "propertyName": "hasBeenFlooded"
1762
1829
  },
1763
1830
  "oneOf": [
1764
1831
  {
1765
1832
  "properties": {
1766
- "impactIndicator": {
1833
+ "hasBeenFlooded": {
1767
1834
  "enum": [
1768
1835
  "No"
1769
1836
  ]
@@ -1772,29 +1839,153 @@
1772
1839
  },
1773
1840
  {
1774
1841
  "properties": {
1775
- "impactIndicator": {
1842
+ "hasBeenFlooded": {
1776
1843
  "enum": [
1777
1844
  "Yes"
1778
1845
  ]
1779
1846
  },
1780
- "summary": {
1781
- "ntsRef": "C3.2.2"
1847
+ "typeOfFlooding": {
1848
+ "ntsRef": "C3.1.1.3"
1849
+ },
1850
+ "details": {
1851
+ "ntsRef": "C3.1.1.4"
1782
1852
  }
1783
1853
  },
1784
1854
  "required": [
1785
- "summary"
1855
+ "typeOfFlooding",
1856
+ "details"
1786
1857
  ]
1787
1858
  }
1788
1859
  ],
1789
1860
  "required": [
1790
- "impactIndicator"
1861
+ "hasBeenFlooded"
1791
1862
  ],
1792
1863
  "properties": {
1793
- "impactIndicator": {
1794
- "ntsRef": "C3.2.1",
1795
- "title": "To your knowledge, is the property impacted by coastal erosion?"
1864
+ "hasBeenFlooded": {
1865
+ "ntsRef": "C3.1.1.2.1"
1866
+ }
1867
+ }
1868
+ }
1869
+ }
1870
+ },
1871
+ "coalMining": {
1872
+ "ntsRef": "C6.1",
1873
+ "discriminator": {
1874
+ "propertyName": "riskIndicator"
1875
+ },
1876
+ "oneOf": [
1877
+ {
1878
+ "properties": {
1879
+ "riskIndicator": {
1880
+ "enum": [
1881
+ "No"
1882
+ ]
1883
+ }
1884
+ }
1885
+ },
1886
+ {
1887
+ "properties": {
1888
+ "riskIndicator": {
1889
+ "enum": [
1890
+ "Yes"
1891
+ ]
1892
+ },
1893
+ "summary": {
1894
+ "ntsRef": "C6.1.1",
1895
+ "title": "Please provide details"
1896
+ }
1897
+ }
1898
+ }
1899
+ ],
1900
+ "required": [
1901
+ "riskIndicator"
1902
+ ],
1903
+ "properties": {
1904
+ "riskIndicator": {
1905
+ "ntsRef": "C6.1.1",
1906
+ "title": "To your knowledge, is the property impacted by coal mining?"
1907
+ }
1908
+ }
1909
+ },
1910
+ "nonCoalMining": {
1911
+ "ntsRef": "C6.2",
1912
+ "discriminator": {
1913
+ "propertyName": "riskIndicator"
1914
+ },
1915
+ "oneOf": [
1916
+ {
1917
+ "properties": {
1918
+ "riskIndicator": {
1919
+ "enum": [
1920
+ "No"
1921
+ ]
1922
+ }
1923
+ }
1924
+ },
1925
+ {
1926
+ "properties": {
1927
+ "riskIndicator": {
1928
+ "enum": [
1929
+ "Yes"
1930
+ ]
1931
+ },
1932
+ "summary": {
1933
+ "ntsRef": "C6.2.2"
1934
+ }
1935
+ },
1936
+ "required": [
1937
+ "summary"
1938
+ ]
1939
+ }
1940
+ ],
1941
+ "required": [
1942
+ "riskIndicator"
1943
+ ],
1944
+ "properties": {
1945
+ "riskIndicator": {
1946
+ "ntsRef": "C6.2.1",
1947
+ "title": "To your knowledge, is the property impacted by types of mining other than coal?"
1948
+ }
1949
+ }
1950
+ },
1951
+ "coastalErosion": {
1952
+ "ntsRef": "C3.2",
1953
+ "discriminator": {
1954
+ "propertyName": "riskIndicator"
1955
+ },
1956
+ "oneOf": [
1957
+ {
1958
+ "properties": {
1959
+ "riskIndicator": {
1960
+ "enum": [
1961
+ "No"
1962
+ ]
1796
1963
  }
1797
1964
  }
1965
+ },
1966
+ {
1967
+ "properties": {
1968
+ "riskIndicator": {
1969
+ "enum": [
1970
+ "Yes"
1971
+ ]
1972
+ },
1973
+ "summary": {
1974
+ "ntsRef": "C3.2.2"
1975
+ }
1976
+ },
1977
+ "required": [
1978
+ "summary"
1979
+ ]
1980
+ }
1981
+ ],
1982
+ "required": [
1983
+ "riskIndicator"
1984
+ ],
1985
+ "properties": {
1986
+ "riskIndicator": {
1987
+ "ntsRef": "C3.2.1",
1988
+ "title": "To your knowledge, is the property impacted by coastal erosion?"
1798
1989
  }
1799
1990
  }
1800
1991
  }