@pdtf/schemas 3.0.0-2 → 3.0.0-21

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 (33) hide show
  1. package/index.js +15 -13
  2. package/package.json +1 -1
  3. package/src/examples/v3/exampleTransaction.json +82 -75
  4. package/src/schemas/v2/overlays/baspi.json +510 -2331
  5. package/src/schemas/v2/overlays/con29DW.json +36 -125
  6. package/src/schemas/v2/overlays/con29R.json +5 -143
  7. package/src/schemas/v2/overlays/fme1.json +48 -233
  8. package/src/schemas/v2/overlays/lpe1.json +75 -367
  9. package/src/schemas/v2/overlays/nts.json +17 -103
  10. package/src/schemas/v2/overlays/piq.json +146 -693
  11. package/src/schemas/v2/overlays/rds.json +50 -316
  12. package/src/schemas/v2/overlays/ta10.json +540 -1755
  13. package/src/schemas/v2/overlays/ta6.json +241 -1193
  14. package/src/schemas/v2/overlays/ta7.json +106 -440
  15. package/src/schemas/v3/combined.json +2434 -2581
  16. package/src/schemas/v3/overlays/baspi.json +1360 -3480
  17. package/src/schemas/v3/overlays/con29DW.json +36 -125
  18. package/src/schemas/v3/overlays/con29R.json +5 -143
  19. package/src/schemas/v3/overlays/fme1.json +53 -233
  20. package/src/schemas/v3/overlays/lpe1.json +85 -367
  21. package/src/schemas/v3/overlays/nts.json +711 -634
  22. package/src/schemas/v3/overlays/piq.json +452 -1190
  23. package/src/schemas/v3/overlays/rds.json +500 -1059
  24. package/src/schemas/v3/overlays/ta10.json +540 -1755
  25. package/src/schemas/v3/overlays/ta6.json +787 -1678
  26. package/src/schemas/v3/overlays/ta7.json +220 -462
  27. package/src/schemas/v3/pdtf-transaction.json +1976 -2286
  28. package/src/schemas/v3/skeleton.json +248 -214
  29. package/src/tests/v3/transactionSchema.test.js +28 -18
  30. package/src/tests/v3/verifiedClaimsValidator.test.js +2 -2
  31. package/src/utils/extractOverlay.js +5 -27
  32. package/src/tests/v2/transactionSchema.test.js +0 -361
  33. package/src/tests/v2/verifiedClaimsValidator.test.js +0 -128
@@ -7,7 +7,6 @@
7
7
  "properties": {
8
8
  "propertyPack": {
9
9
  "ntsRef": "0",
10
- "title": "Property Pack",
11
10
  "required": [
12
11
  "materialFacts"
13
12
  ],
@@ -17,9 +16,10 @@
17
16
  "ownership",
18
17
  "councilTax",
19
18
  "energyEfficiency",
20
- "propertyType",
19
+ "buildInformation",
21
20
  "typeOfConstruction",
22
- "connectedUtilities",
21
+ "electricity",
22
+ "connectivity",
23
23
  "waterAndDrainage",
24
24
  "heating",
25
25
  "parking",
@@ -31,84 +31,201 @@
31
31
  "properties": {
32
32
  "priceInformation": {
33
33
  "ntsRef": "A2",
34
- "title": "Price information",
35
34
  "required": [
36
35
  "price",
37
36
  "priceQualifier"
38
37
  ],
39
38
  "properties": {
40
39
  "price": {
41
- "ntsRef": "A2.1",
42
- "title": "Price"
40
+ "ntsRef": "A2.1"
43
41
  },
44
42
  "priceQualifier": {
45
- "ntsRef": "A2.2",
46
- "title": "Price type",
47
- "enum": [
48
- "POA",
49
- "Guide price",
50
- "Fixed price",
51
- "Offers in excess of",
52
- "Offers in region of",
53
- "Sale by tender"
54
- ]
43
+ "ntsRef": "A2.2"
55
44
  }
56
45
  }
57
46
  },
58
47
  "marketingTenure": {
59
- "ntsRef": "A3",
60
- "title": "Type of tenure being marketed",
61
- "enum": [
62
- "Commonhold",
63
- "Freehold",
64
- "Leasehold",
65
- "Share of Freehold",
66
- "Shared Ownership"
67
- ]
48
+ "ntsRef": "A3"
68
49
  },
69
50
  "buildInformation": {
51
+ "ntsRef": "B1.1",
52
+ "required": [
53
+ "building",
54
+ "roomDimensions"
55
+ ],
70
56
  "properties": {
71
- "rooms": {
72
- "ntsRef": "B2",
73
- "title": "Rooms",
74
- "description": "Information about the property's rooms",
75
- "items": {
76
- "properties": {
77
- "roomName": {
78
- "ntsRef": "B2.1",
79
- "title": "The name of the room"
80
- },
81
- "description": {
82
- "ntsRef": "B2.2",
83
- "title": "The specific description of the room"
84
- },
85
- "length": {
86
- "ntsRef": "B2.3",
87
- "title": "The length of the room"
88
- },
89
- "width": {
90
- "ntsRef": "B2.4",
91
- "title": "The width of the room"
92
- },
93
- "units": {
94
- "ntsRef": "B2.5",
95
- "title": "The units which the length and width of the room have been provided in",
96
- "enum": [
97
- "meters",
98
- "centimetres",
99
- "millimetres",
100
- "feet",
101
- "inches"
102
- ]
57
+ "building": {
58
+ "ntsRef": "B1.1.1",
59
+ "discriminator": {
60
+ "propertyName": "propertyType"
61
+ },
62
+ "oneOf": [
63
+ {
64
+ "properties": {
65
+ "propertyType": {
66
+ "enum": [
67
+ "Other"
68
+ ]
69
+ },
70
+ "otherType": {
71
+ "ntsRef": "B1.1.1.1"
72
+ }
103
73
  },
104
- "dimensionDetails": {
105
- "ntsRef": "B2.6",
106
- "title": "Any additional description or clarification of the room dimensions"
74
+ "required": [
75
+ "otherType"
76
+ ]
77
+ },
78
+ {
79
+ "properties": {
80
+ "propertyType": {
81
+ "enum": [
82
+ "House",
83
+ "Bungalow"
84
+ ]
85
+ }
86
+ }
87
+ },
88
+ {
89
+ "properties": {
90
+ "propertyType": {
91
+ "enum": [
92
+ "Maisonette",
93
+ "Flat"
94
+ ]
95
+ },
96
+ "numberOfFloors": {
97
+ "ntsRef": "B1.1.3"
98
+ },
99
+ "entranceFloor": {
100
+ "ntsRef": "B1.1.4"
101
+ },
102
+ "hasLift": {
103
+ "ntsRef": "B1.1.5"
104
+ },
105
+ "overCommercialPremises": {
106
+ "ntsRef": "B1.1.6",
107
+ "discriminator": {
108
+ "propertyName": "isLocatedOverCommercialPremises"
109
+ },
110
+ "oneOf": [
111
+ {
112
+ "properties": {
113
+ "isLocatedOverCommercialPremises": {
114
+ "enum": [
115
+ "No"
116
+ ]
117
+ }
118
+ }
119
+ },
120
+ {
121
+ "properties": {
122
+ "isLocatedOverCommercialPremises": {
123
+ "enum": [
124
+ "Yes"
125
+ ]
126
+ },
127
+ "details": {
128
+ "ntsRef": "B1.1.6.2"
129
+ }
130
+ },
131
+ "required": [
132
+ "details"
133
+ ]
134
+ }
135
+ ],
136
+ "properties": {
137
+ "isLocatedOverCommercialPremises": {
138
+ "ntsRef": "B1.1.6.1"
139
+ }
140
+ }
141
+ }
107
142
  },
108
- "photoUrls": {
109
- "ntsRef": "B2.7",
110
- "title": "The URLs of images which should be associated with this room"
143
+ "required": [
144
+ "numberOfFloors",
145
+ "entranceFloor",
146
+ "hasLift",
147
+ "overCommercialPremises"
148
+ ]
149
+ }
150
+ ],
151
+ "required": [
152
+ "builtForm",
153
+ "propertyType"
154
+ ],
155
+ "properties": {
156
+ "builtForm": {
157
+ "ntsRef": "B1.1.2"
158
+ },
159
+ "propertyType": {
160
+ "ntsRef": "B1.1.1.1"
161
+ }
162
+ }
163
+ },
164
+ "roomDimensions": {
165
+ "ntsRef": "B2",
166
+ "discriminator": {
167
+ "propertyName": "hasFloorplan"
168
+ },
169
+ "oneOf": [
170
+ {
171
+ "properties": {
172
+ "hasFloorplan": {
173
+ "enum": [
174
+ "Yes"
175
+ ]
176
+ }
111
177
  }
178
+ },
179
+ {
180
+ "properties": {
181
+ "hasFloorplan": {
182
+ "enum": [
183
+ "No"
184
+ ]
185
+ },
186
+ "rooms": {
187
+ "ntsRef": "B2.2",
188
+ "items": {
189
+ "required": [
190
+ "roomName",
191
+ "length",
192
+ "width",
193
+ "units"
194
+ ],
195
+ "properties": {
196
+ "roomName": {
197
+ "ntsRef": "B2.2.1"
198
+ },
199
+ "description": {
200
+ "ntsRef": "B2.2.2"
201
+ },
202
+ "length": {
203
+ "ntsRef": "B2.2.3"
204
+ },
205
+ "width": {
206
+ "ntsRef": "B2.2.4"
207
+ },
208
+ "units": {
209
+ "ntsRef": "B2.2.5"
210
+ },
211
+ "dimensionDetails": {
212
+ "ntsRef": "B2.6"
213
+ }
214
+ }
215
+ }
216
+ }
217
+ },
218
+ "required": [
219
+ "rooms"
220
+ ]
221
+ }
222
+ ],
223
+ "required": [
224
+ "hasFloorplan"
225
+ ],
226
+ "properties": {
227
+ "hasFloorplan": {
228
+ "ntsRef": "B2.1"
112
229
  }
113
230
  }
114
231
  }
@@ -116,18 +233,14 @@
116
233
  },
117
234
  "ownership": {
118
235
  "ntsRef": "A3",
119
- "title": "Ownership",
120
236
  "required": [
121
237
  "ownershipsToBeTransferred"
122
238
  ],
123
239
  "properties": {
124
240
  "ownershipsToBeTransferred": {
125
241
  "ntsRef": "A3",
126
- "title": "Ownerships to be transferred on sale",
127
- "minItems": 1,
128
242
  "items": {
129
243
  "ntsRef": "A3.1",
130
- "title": "Ownership to be transferred",
131
244
  "discriminator": {
132
245
  "propertyName": "ownershipType"
133
246
  },
@@ -148,6 +261,25 @@
148
261
  "Managed Freehold",
149
262
  "Commonhold"
150
263
  ]
264
+ },
265
+ "managedFreeholdOrCommonholdInformation": {
266
+ "ntsRef": "A3.2",
267
+ "required": [
268
+ "serviceCharge"
269
+ ],
270
+ "properties": {
271
+ "serviceCharge": {
272
+ "ntsRef": "A3.1.1",
273
+ "required": [
274
+ "annualServiceCharge"
275
+ ],
276
+ "properties": {
277
+ "annualServiceCharge": {
278
+ "ntsRef": "A3.1.2"
279
+ }
280
+ }
281
+ }
282
+ }
151
283
  }
152
284
  }
153
285
  },
@@ -160,7 +292,6 @@
160
292
  },
161
293
  "leaseholdInformation": {
162
294
  "ntsRef": "A3.2",
163
- "title": "Leasehold information",
164
295
  "required": [
165
296
  "typeOfLeasehold",
166
297
  "leaseTerm",
@@ -192,21 +323,13 @@
192
323
  ]
193
324
  },
194
325
  "sharedOwnershipPercentage": {
195
- "ntsRef": "A3.7.1",
196
- "title": "Shared ownership percentage"
326
+ "ntsRef": "A3.7.1"
197
327
  },
198
328
  "sharedOwnershipRent": {
199
- "ntsRef": "A3.7.2",
200
- "title": "Shared ownership rent (£)"
329
+ "ntsRef": "A3.7.2"
201
330
  },
202
331
  "sharedOwnershipRentFrequency": {
203
- "ntsRef": "A3.7.3",
204
- "title": "Shared ownership rent frequency",
205
- "enum": [
206
- "Yearly",
207
- "Monthly",
208
- "Weekly"
209
- ]
332
+ "ntsRef": "A3.7.3"
210
333
  }
211
334
  },
212
335
  "required": [
@@ -218,28 +341,30 @@
218
341
  ],
219
342
  "required": [
220
343
  "leaseholdType"
221
- ]
344
+ ],
345
+ "properties": {
346
+ "leaseholdType": {
347
+ "ntsRef": "A3.2.1"
348
+ }
349
+ }
222
350
  },
223
351
  "leaseTerm": {
224
- "ntsRef": "A3.2.1",
352
+ "ntsRef": "A3.2.2",
225
353
  "required": [
226
354
  "startYearOfLease",
227
355
  "lengthOfLeaseInYears"
228
356
  ],
229
357
  "properties": {
230
358
  "startYearOfLease": {
231
- "ntsRef": "A3.2.1.1",
232
- "title": "Year that the lease commenced"
359
+ "ntsRef": "A3.2.2.1"
233
360
  },
234
361
  "lengthOfLeaseInYears": {
235
- "ntsRef": "A3.2.1.2",
236
- "title": "Length of lease (years)"
362
+ "ntsRef": "A3.2.2.2"
237
363
  }
238
364
  }
239
365
  },
240
366
  "groundRent": {
241
367
  "ntsRef": "A3.4",
242
- "title": "Ground Rent",
243
368
  "discriminator": {
244
369
  "propertyName": "isGroundRentPayable"
245
370
  },
@@ -261,12 +386,10 @@
261
386
  ]
262
387
  },
263
388
  "annualGroundRent": {
264
- "ntsRef": "A3.4.2",
265
- "title": "What is the annual ground rent payable? (£)"
389
+ "ntsRef": "A3.4.2"
266
390
  },
267
391
  "rentSubjectToIncrease": {
268
392
  "ntsRef": "A3.4.3",
269
- "title": "Is the ground rent subject to increase?",
270
393
  "discriminator": {
271
394
  "propertyName": "yesNo"
272
395
  },
@@ -288,13 +411,10 @@
288
411
  ]
289
412
  },
290
413
  "rentReviewFrequency": {
291
- "ntsRef": "1.4.3.2",
292
- "title": "How often is the rent reviewed?"
414
+ "ntsRef": "1.4.3.2"
293
415
  },
294
416
  "rentIncreaseCalculated": {
295
- "ntsRef": "1.4.3.3",
296
- "title": "How is the increase calculated?",
297
- "description": "e.g. set figure, doubling, in line with Retail Price Index, Consumer Price Index, etc"
417
+ "ntsRef": "1.4.3.3"
298
418
  }
299
419
  },
300
420
  "required": [
@@ -308,11 +428,7 @@
308
428
  ],
309
429
  "properties": {
310
430
  "yesNo": {
311
- "ntsRef": "1.4.3.1",
312
- "enum": [
313
- "Yes",
314
- "No"
315
- ]
431
+ "ntsRef": "1.4.3.1"
316
432
  }
317
433
  }
318
434
  }
@@ -328,18 +444,12 @@
328
444
  ],
329
445
  "properties": {
330
446
  "isGroundRentPayable": {
331
- "ntsRef": "A3.4.1",
332
- "title": "Does the seller pay ground rent for the property?",
333
- "enum": [
334
- "Yes",
335
- "No"
336
- ]
447
+ "ntsRef": "A3.4.1"
337
448
  }
338
449
  }
339
450
  },
340
451
  "serviceCharge": {
341
452
  "ntsRef": "A3.5",
342
- "title": "Service Charge",
343
453
  "discriminator": {
344
454
  "propertyName": "sellerContributesToServiceCharge"
345
455
  },
@@ -361,10 +471,12 @@
361
471
  ]
362
472
  },
363
473
  "annualServiceCharge": {
364
- "ntsRef": "A3.5.1.1",
365
- "title": "Amount of current annual service charge (£)"
474
+ "ntsRef": "A3.5.1.1"
366
475
  }
367
- }
476
+ },
477
+ "required": [
478
+ "annualServiceCharge"
479
+ ]
368
480
  }
369
481
  ],
370
482
  "required": [
@@ -372,12 +484,7 @@
372
484
  ],
373
485
  "properties": {
374
486
  "sellerContributesToServiceCharge": {
375
- "ntsRef": "A3.5.1",
376
- "title": "Does the seller contribute to the cost of maintaining the building (a service charge)?",
377
- "enum": [
378
- "Yes",
379
- "No"
380
- ]
487
+ "ntsRef": "A3.5.1"
381
488
  }
382
489
  }
383
490
  }
@@ -391,49 +498,80 @@
391
498
  "enum": [
392
499
  "Other"
393
500
  ]
501
+ },
502
+ "otherOwnershipDetails": {
503
+ "ntsRef": "A3.5"
394
504
  }
395
- }
505
+ },
506
+ "required": [
507
+ "otherOwnershipDetails"
508
+ ]
396
509
  }
397
510
  ],
398
511
  "required": [
399
512
  "ownershipType"
400
- ]
513
+ ],
514
+ "properties": {
515
+ "ownershipType": {
516
+ "ntsRef": "A3.1"
517
+ }
518
+ }
401
519
  }
402
520
  }
403
521
  }
404
522
  },
405
523
  "parking": {
406
524
  "ntsRef": "B4",
407
- "title": "Parking",
408
525
  "required": [
409
526
  "parkingArrangements",
527
+ "disabledParking",
410
528
  "controlledParking",
411
529
  "electricVehicleChargingPoint"
412
530
  ],
413
531
  "properties": {
414
532
  "parkingArrangements": {
415
533
  "ntsRef": "B4.1",
416
- "title": "Parking arrangements"
534
+ "items": {
535
+ "ntsRef": "B4.1.1"
536
+ }
417
537
  },
418
- "controlledParking": {
538
+ "disabledParking": {
419
539
  "ntsRef": "B4.2",
420
- "title": "Is the property in a controlled parking zone or within a local authority parking scheme?",
421
540
  "required": [
422
541
  "yesNo"
423
- ]
542
+ ],
543
+ "properties": {
544
+ "yesNo": {
545
+ "ntsRef": "B4.2.1"
546
+ }
547
+ }
424
548
  },
425
- "electricVehicleChargingPoint": {
549
+ "controlledParking": {
426
550
  "ntsRef": "B4.3",
427
- "title": "Is there an electric vehicle charging point belonging to the property?",
428
551
  "required": [
429
552
  "yesNo"
430
- ]
553
+ ],
554
+ "properties": {
555
+ "yesNo": {
556
+ "ntsRef": "B4.3.1"
557
+ }
558
+ }
559
+ },
560
+ "electricVehicleChargingPoint": {
561
+ "ntsRef": "B4.4",
562
+ "required": [
563
+ "yesNo"
564
+ ],
565
+ "properties": {
566
+ "yesNo": {
567
+ "ntsRef": "B4.4.1"
568
+ }
569
+ }
431
570
  }
432
571
  }
433
572
  },
434
573
  "listingAndConservation": {
435
574
  "ntsRef": "C2.1",
436
- "title": "Listing and Conservation",
437
575
  "required": [
438
576
  "isListed",
439
577
  "isConservationArea",
@@ -442,7 +580,6 @@
442
580
  "properties": {
443
581
  "isListed": {
444
582
  "ntsRef": "C2.1.1",
445
- "title": "Is the property a listed building in England or Wales?",
446
583
  "discriminator": {
447
584
  "propertyName": "yesNo"
448
585
  },
@@ -463,8 +600,14 @@
463
600
  "enum": [
464
601
  "Yes"
465
602
  ]
603
+ },
604
+ "details": {
605
+ "ntsRef": "C2.1.1.2"
466
606
  }
467
- }
607
+ },
608
+ "required": [
609
+ "details"
610
+ ]
468
611
  }
469
612
  ],
470
613
  "required": [
@@ -475,15 +618,13 @@
475
618
  "ntsRef": "C2.1.1.1",
476
619
  "enum": [
477
620
  "Yes",
478
- "No",
479
- "Not known"
621
+ "No"
480
622
  ]
481
623
  }
482
624
  }
483
625
  },
484
626
  "isConservationArea": {
485
627
  "ntsRef": "C2.1.2",
486
- "title": "Is the property in a designated conservation area?",
487
628
  "discriminator": {
488
629
  "propertyName": "yesNo"
489
630
  },
@@ -504,8 +645,14 @@
504
645
  "enum": [
505
646
  "Yes"
506
647
  ]
648
+ },
649
+ "details": {
650
+ "ntsRef": "C2.1.2.2"
507
651
  }
508
- }
652
+ },
653
+ "required": [
654
+ "details"
655
+ ]
509
656
  }
510
657
  ],
511
658
  "required": [
@@ -516,15 +663,13 @@
516
663
  "ntsRef": "C2.1.2.1",
517
664
  "enum": [
518
665
  "Yes",
519
- "No",
520
- "Not known"
666
+ "No"
521
667
  ]
522
668
  }
523
669
  }
524
670
  },
525
671
  "hasTreePreservationOrder": {
526
672
  "ntsRef": "C2.1.3",
527
- "title": "To your knowledge, does a tree preservation order apply to any trees within the boundaries of the property?",
528
673
  "discriminator": {
529
674
  "propertyName": "yesNo"
530
675
  },
@@ -545,6 +690,41 @@
545
690
  "enum": [
546
691
  "Yes"
547
692
  ]
693
+ },
694
+ "workCarriedOut": {
695
+ "ntsRef": "C2.1.3.2",
696
+ "discriminator": {
697
+ "propertyName": "yesNo"
698
+ },
699
+ "oneOf": [
700
+ {
701
+ "properties": {
702
+ "yesNo": {
703
+ "enum": [
704
+ "No"
705
+ ]
706
+ }
707
+ }
708
+ },
709
+ {
710
+ "properties": {
711
+ "yesNo": {
712
+ "enum": [
713
+ "Yes"
714
+ ]
715
+ },
716
+ "consentsObtained": {
717
+ "ntsRef": "C2.1.3.3"
718
+ }
719
+ },
720
+ "required": [
721
+ "consentsObtained"
722
+ ]
723
+ }
724
+ ],
725
+ "required": [
726
+ "yesNo"
727
+ ]
548
728
  }
549
729
  }
550
730
  }
@@ -557,8 +737,7 @@
557
737
  "ntsRef": "C2.1.3.1",
558
738
  "enum": [
559
739
  "Yes",
560
- "No",
561
- "Not known"
740
+ "No"
562
741
  ]
563
742
  }
564
743
  }
@@ -567,7 +746,6 @@
567
746
  },
568
747
  "typeOfConstruction": {
569
748
  "ntsRef": "A1.2",
570
- "title": "Type of Construction",
571
749
  "required": [
572
750
  "isStandardForm",
573
751
  "buildingSafety",
@@ -576,8 +754,6 @@
576
754
  "properties": {
577
755
  "isStandardForm": {
578
756
  "ntsRef": "A1.2.1",
579
- "title": "Is the property built in a standard form of construction? E.g. brick and/or block with timber-supported roof comprising a tile or slate cover?",
580
- "description": "Examples of non-standard features which might affect a buyer are are thatched roofs, prefabricated buildings or timber-framed windows",
581
757
  "discriminator": {
582
758
  "propertyName": "yesNo"
583
759
  },
@@ -599,8 +775,7 @@
599
775
  ]
600
776
  },
601
777
  "details": {
602
- "ntsRef": "A1.2.1.2",
603
- "title": "Details"
778
+ "ntsRef": "A1.2.1.2"
604
779
  }
605
780
  },
606
781
  "required": [
@@ -613,18 +788,12 @@
613
788
  ],
614
789
  "properties": {
615
790
  "yesNo": {
616
- "ntsRef": "A1.2.1.1",
617
- "enum": [
618
- "Yes",
619
- "No"
620
- ]
791
+ "ntsRef": "A1.2.1.1"
621
792
  }
622
793
  }
623
794
  },
624
795
  "buildingSafety": {
625
796
  "ntsRef": "C1",
626
- "title": "Are you aware of any building safety issues?",
627
- "description": "For example issues related to unsafe cladding, integrity of building materials used in construction (e.g. asbestos), risk of collapse (e.g. damaged roofs or strucutural failures), at-risk wooden decking for external structures (including balconies), lack of emergency lighting where required or insufficient fire/smoke alarm systems",
628
797
  "discriminator": {
629
798
  "propertyName": "yesNo"
630
799
  },
@@ -646,24 +815,19 @@
646
815
  ]
647
816
  },
648
817
  "details": {
649
- "ntsRef": "C1.2",
650
- "title": "What are are the defects or hazards?"
818
+ "ntsRef": "C1.2"
651
819
  },
652
820
  "workAlreadyDone": {
653
- "ntsRef": "C1.3",
654
- "title": "What work has already been done?"
821
+ "ntsRef": "C1.3"
655
822
  },
656
823
  "workToBeDone": {
657
- "ntsRef": "C1.4",
658
- "title": "What work is required to be done?"
824
+ "ntsRef": "C1.4"
659
825
  },
660
826
  "potentialCost": {
661
- "ntsRef": "C1.5",
662
- "title": "What will the potential cost be?"
827
+ "ntsRef": "C1.5"
663
828
  },
664
829
  "abilityToResideAtProperty": {
665
- "ntsRef": "C1.6",
666
- "title": "Will the work impact the ability to reside at the property?"
830
+ "ntsRef": "C1.6"
667
831
  }
668
832
  },
669
833
  "required": [
@@ -689,15 +853,12 @@
689
853
  }
690
854
  },
691
855
  "accessibilityAndAdaptations": {
692
- "ntsRef": "C5",
693
- "title": "Are there any adaptations or features that provide easier access to, and within, the property?",
694
- "description": "Lateral living is a term used to describe a property that has essential facilites on the entrance level"
856
+ "ntsRef": "C5"
695
857
  }
696
858
  }
697
859
  },
698
860
  "energyEfficiency": {
699
861
  "ntsRef": "A4",
700
- "title": "Energy Efficiency",
701
862
  "required": [
702
863
  "certificate"
703
864
  ],
@@ -709,21 +870,7 @@
709
870
  ],
710
871
  "properties": {
711
872
  "currentEnergyRating": {
712
- "ntsRef": "A4.1.1",
713
- "title": "Current energy efficiency rating",
714
- "description": "What is the energy efficiency rating of the property according to the latest Energy Performance Certificate (EPC)?",
715
- "enum": [
716
- "A",
717
- "B",
718
- "C",
719
- "D",
720
- "E",
721
- "F",
722
- "G",
723
- "Exempt Property",
724
- "Survey Instructed",
725
- "No Certificate"
726
- ]
873
+ "ntsRef": "A4.1.1"
727
874
  }
728
875
  }
729
876
  }
@@ -731,31 +878,16 @@
731
878
  },
732
879
  "councilTax": {
733
880
  "ntsRef": "A1",
734
- "title": "Council Tax",
735
881
  "required": [
736
882
  "councilTaxBand",
737
883
  "councilTaxAffectingAlterations"
738
884
  ],
739
885
  "properties": {
740
886
  "councilTaxBand": {
741
- "ntsRef": "A1.1",
742
- "title": "Which Council Tax band does this property fall within?",
743
- "description": "Band I relates to Wales only",
744
- "enum": [
745
- "A",
746
- "B",
747
- "C",
748
- "D",
749
- "E",
750
- "F",
751
- "G",
752
- "H",
753
- "I"
754
- ]
887
+ "ntsRef": "A1.1"
755
888
  },
756
889
  "councilTaxAffectingAlterations": {
757
890
  "ntsRef": "A1.2",
758
- "title": "Have you altered the property in any way to the extent that it might change the Council Tax band e.g. added a bedroom or substantially extended the property?",
759
891
  "discriminator": {
760
892
  "propertyName": "yesNo"
761
893
  },
@@ -777,16 +909,10 @@
777
909
  ]
778
910
  },
779
911
  "details": {
780
- "ntsRef": "A1.2.2",
781
- "title": "Please give details"
912
+ "ntsRef": "A1.2.2"
782
913
  },
783
914
  "attachments": {
784
- "ntsRef": "A1.2.3",
785
- "title": "Attachments",
786
- "enum": [
787
- "Attached",
788
- "To follow"
789
- ]
915
+ "ntsRef": "A1.2.3"
790
916
  }
791
917
  },
792
918
  "required": [
@@ -799,32 +925,21 @@
799
925
  ],
800
926
  "properties": {
801
927
  "yesNo": {
802
- "ntsRef": "A1.2.1",
803
- "enum": [
804
- "Yes",
805
- "No"
806
- ]
928
+ "ntsRef": "A1.2.1"
807
929
  }
808
930
  }
809
931
  }
810
932
  }
811
933
  },
812
- "connectedUtilities": {
813
- "ntsRef": "B3",
814
- "title": "Connected utilities",
815
- "description": "Please indicate which utilities are are connected to the property.",
934
+ "notices": {
935
+ "ntsRef": "C4",
816
936
  "required": [
817
- "mainsElectricity",
818
- "telephone",
819
- "cableSatelliteTV",
820
- "broadband",
821
- "solarPanels",
822
- "otherServices"
937
+ "neighbourDevelopment",
938
+ "planningApplication"
823
939
  ],
824
940
  "properties": {
825
- "mainsElectricity": {
826
- "ntsRef": "B3.1",
827
- "title": "Mains electricity",
941
+ "neighbourDevelopment": {
942
+ "ntsRef": "C4.1",
828
943
  "discriminator": {
829
944
  "propertyName": "yesNo"
830
945
  },
@@ -844,17 +959,14 @@
844
959
  "enum": [
845
960
  "Yes"
846
961
  ]
962
+ },
963
+ "details": {
964
+ "ntsRef": "C4.1.2"
847
965
  }
848
- }
849
- },
850
- {
851
- "properties": {
852
- "yesNo": {
853
- "enum": [
854
- "To be connected"
855
- ]
856
- }
857
- }
966
+ },
967
+ "required": [
968
+ "details"
969
+ ]
858
970
  }
859
971
  ],
860
972
  "required": [
@@ -862,67 +974,62 @@
862
974
  ],
863
975
  "properties": {
864
976
  "yesNo": {
865
- "ntsRef": "B3.1.1",
866
- "enum": [
867
- "Yes",
868
- "No"
869
- ]
977
+ "ntsRef": "C4.1.1"
870
978
  }
871
979
  }
872
980
  },
873
- "mainsGas": {
874
- "properties": {
875
- "yesNo": {
876
- "enum": [
877
- "Yes",
878
- "No"
879
- ]
880
- }
881
- }
882
- },
883
- "lpg": {
884
- "properties": {
885
- "yesNo": {
886
- "enum": [
887
- "Yes",
888
- "No"
889
- ]
890
- }
891
- }
892
- },
893
- "oil": {
894
- "properties": {
895
- "yesNo": {
896
- "enum": [
897
- "Yes",
898
- "No"
899
- ]
900
- }
901
- }
902
- },
903
- "telephone": {
904
- "properties": {
905
- "yesNo": {
906
- "enum": [
907
- "Yes",
908
- "No"
981
+ "planningApplication": {
982
+ "ntsRef": "C4.2",
983
+ "discriminator": {
984
+ "propertyName": "yesNo"
985
+ },
986
+ "oneOf": [
987
+ {
988
+ "properties": {
989
+ "yesNo": {
990
+ "enum": [
991
+ "No"
992
+ ]
993
+ }
994
+ }
995
+ },
996
+ {
997
+ "properties": {
998
+ "yesNo": {
999
+ "enum": [
1000
+ "Yes"
1001
+ ]
1002
+ },
1003
+ "details": {
1004
+ "ntsRef": "C4.2.2"
1005
+ }
1006
+ },
1007
+ "required": [
1008
+ "details"
909
1009
  ]
910
1010
  }
911
- }
912
- },
913
- "cableSatelliteTV": {
1011
+ ],
1012
+ "required": [
1013
+ "yesNo"
1014
+ ],
914
1015
  "properties": {
915
1016
  "yesNo": {
916
- "enum": [
917
- "Yes",
918
- "No"
919
- ]
1017
+ "ntsRef": "C4.2.1"
920
1018
  }
921
1019
  }
922
- },
923
- "broadband": {
924
- "ntsRef": "B3.5",
925
- "title": "Broadband",
1020
+ }
1021
+ }
1022
+ },
1023
+ "electricity": {
1024
+ "ntsRef": "B3.1",
1025
+ "required": [
1026
+ "mainsElectricity",
1027
+ "solarPanels",
1028
+ "otherSources"
1029
+ ],
1030
+ "properties": {
1031
+ "mainsElectricity": {
1032
+ "ntsRef": "B3.1",
926
1033
  "discriminator": {
927
1034
  "propertyName": "yesNo"
928
1035
  },
@@ -942,21 +1049,8 @@
942
1049
  "enum": [
943
1050
  "Yes"
944
1051
  ]
945
- },
946
- "typeOfConnection": {
947
- "ntsRef": "B3.5.2",
948
- "title": "Type of connection",
949
- "enum": [
950
- "ADSL copper wire",
951
- "Cable",
952
- "FTTC (Fibre to the Cabinet)",
953
- "FTTP (Fibre to the Premises)"
954
- ]
955
1052
  }
956
- },
957
- "required": [
958
- "typeOfConnection"
959
- ]
1053
+ }
960
1054
  },
961
1055
  {
962
1056
  "properties": {
@@ -973,7 +1067,7 @@
973
1067
  ],
974
1068
  "properties": {
975
1069
  "yesNo": {
976
- "ntsRef": "B3.5.1",
1070
+ "ntsRef": "B3.1.1",
977
1071
  "enum": [
978
1072
  "Yes",
979
1073
  "No"
@@ -983,7 +1077,6 @@
983
1077
  },
984
1078
  "solarPanels": {
985
1079
  "ntsRef": "B3.7",
986
- "title": "Solar or photovoltaic panels",
987
1080
  "discriminator": {
988
1081
  "propertyName": "yesNo"
989
1082
  },
@@ -1029,10 +1122,8 @@
1029
1122
  }
1030
1123
  }
1031
1124
  },
1032
- "otherServices": {
1125
+ "otherSources": {
1033
1126
  "ntsRef": "B3.8",
1034
- "title": "Other services",
1035
- "description": "Other services include wind turbines, generators and other renewable technologies, for example ground source heat pumps. If you receive Renewable Heat Incentives please provide details and note that you will need to advise Ofgem when you complete the sale",
1036
1127
  "discriminator": {
1037
1128
  "propertyName": "yesNo"
1038
1129
  },
@@ -1054,8 +1145,7 @@
1054
1145
  ]
1055
1146
  },
1056
1147
  "details": {
1057
- "ntsRef": "3.8.2",
1058
- "title": "Supplier"
1148
+ "ntsRef": "3.8.2"
1059
1149
  }
1060
1150
  },
1061
1151
  "required": [
@@ -1068,6 +1158,9 @@
1068
1158
  "enum": [
1069
1159
  "To be connected"
1070
1160
  ]
1161
+ },
1162
+ "details": {
1163
+ "ntsRef": "3.8.2"
1071
1164
  }
1072
1165
  }
1073
1166
  }
@@ -1088,17 +1181,20 @@
1088
1181
  }
1089
1182
  },
1090
1183
  "waterAndDrainage": {
1091
- "ntsRef": "A3.2",
1092
- "title": "Water and Drainage",
1093
- "description": "Please describe the water and drainage services that are connected to the property.",
1184
+ "ntsRef": "B3.2",
1185
+ "required": [
1186
+ "water",
1187
+ "drainage"
1188
+ ],
1094
1189
  "properties": {
1095
1190
  "water": {
1096
- "ntsRef": "A3.2",
1097
- "title": "Water",
1191
+ "ntsRef": "B3.2",
1192
+ "required": [
1193
+ "mainsWater"
1194
+ ],
1098
1195
  "properties": {
1099
1196
  "mainsWater": {
1100
- "ntsRef": "A3.2",
1101
- "title": "Mains water",
1197
+ "ntsRef": "B3.2",
1102
1198
  "discriminator": {
1103
1199
  "propertyName": "yesNo"
1104
1200
  },
@@ -1111,9 +1207,7 @@
1111
1207
  ]
1112
1208
  },
1113
1209
  "details": {
1114
- "ntsRef": "3.2.2",
1115
- "title": "How is water supplied?",
1116
- "description": "e.g. Private well, borehole, springs etc."
1210
+ "ntsRef": "3.2.2"
1117
1211
  }
1118
1212
  },
1119
1213
  "required": [
@@ -1127,13 +1221,43 @@
1127
1221
  "Yes"
1128
1222
  ]
1129
1223
  },
1130
- "isSupplyMetered": {
1131
- "ntsRef": "3.2.3",
1132
- "title": "Details"
1224
+ "waterMeter": {
1225
+ "ntsRef": "B3.2.1.1",
1226
+ "discriminator": {
1227
+ "propertyName": "isSupplyMetered"
1228
+ },
1229
+ "oneOf": [
1230
+ {
1231
+ "properties": {
1232
+ "isSupplyMetered": {
1233
+ "enum": [
1234
+ "No"
1235
+ ]
1236
+ }
1237
+ }
1238
+ },
1239
+ {
1240
+ "properties": {
1241
+ "isSupplyMetered": {
1242
+ "enum": [
1243
+ "Yes"
1244
+ ]
1245
+ }
1246
+ }
1247
+ }
1248
+ ],
1249
+ "required": [
1250
+ "isSupplyMetered"
1251
+ ],
1252
+ "properties": {
1253
+ "isSupplyMetered": {
1254
+ "ntsRef": "3.2.3"
1255
+ }
1256
+ }
1133
1257
  }
1134
1258
  },
1135
1259
  "required": [
1136
- "isSupplyMetered"
1260
+ "waterMeter"
1137
1261
  ]
1138
1262
  },
1139
1263
  {
@@ -1151,10 +1275,9 @@
1151
1275
  ],
1152
1276
  "properties": {
1153
1277
  "yesNo": {
1154
- "ntsRef": "A3.2.1",
1278
+ "ntsRef": "B3.2.1",
1155
1279
  "enum": [
1156
1280
  "Yes",
1157
- "To be connected",
1158
1281
  "No"
1159
1282
  ]
1160
1283
  }
@@ -1163,16 +1286,14 @@
1163
1286
  }
1164
1287
  },
1165
1288
  "drainage": {
1166
- "ntsRef": "A3.3",
1167
- "title": "Drainage",
1289
+ "ntsRef": "B3.3",
1168
1290
  "required": [
1169
1291
  "mainsSurfaceWaterDrainage",
1170
1292
  "mainsFoulDrainage"
1171
1293
  ],
1172
1294
  "properties": {
1173
1295
  "mainsSurfaceWaterDrainage": {
1174
- "ntsRef": "A3.3.1",
1175
- "title": "Mains surface water drainage",
1296
+ "ntsRef": "B3.3.1",
1176
1297
  "discriminator": {
1177
1298
  "propertyName": "yesNo"
1178
1299
  },
@@ -1211,19 +1332,16 @@
1211
1332
  ],
1212
1333
  "properties": {
1213
1334
  "yesNo": {
1214
- "ntsRef": "A3.3.1.1",
1335
+ "ntsRef": "B3.3.1.1",
1215
1336
  "enum": [
1216
1337
  "Yes",
1217
- "To be connected",
1218
- "No",
1219
- "Not known"
1338
+ "No"
1220
1339
  ]
1221
1340
  }
1222
1341
  }
1223
1342
  },
1224
1343
  "mainsFoulDrainage": {
1225
- "ntsRef": "A3.3.2",
1226
- "title": "Mains foul drainage / sweerage",
1344
+ "ntsRef": "B3.3.2",
1227
1345
  "discriminator": {
1228
1346
  "propertyName": "yesNo"
1229
1347
  },
@@ -1254,331 +1372,318 @@
1254
1372
  "Not known"
1255
1373
  ]
1256
1374
  },
1257
- "sustainableDrainageSystem": {
1258
- "ntsRef": "A3.3.3",
1259
- "title": "Sustainable Drainage System",
1375
+ "offMainsDrainageSystem": {
1376
+ "ntsRef": "B3.3.3",
1260
1377
  "discriminator": {
1261
- "propertyName": "yesNo"
1378
+ "propertyName": "offMainsDrainageSystemType"
1262
1379
  },
1263
1380
  "oneOf": [
1264
1381
  {
1265
1382
  "properties": {
1266
- "yesNo": {
1383
+ "offMainsDrainageSystemType": {
1267
1384
  "enum": [
1268
- "No"
1385
+ "Sustainable Drainage System"
1269
1386
  ]
1270
1387
  }
1271
1388
  }
1272
1389
  },
1273
1390
  {
1274
1391
  "properties": {
1275
- "yesNo": {
1392
+ "offMainsDrainageSystemType": {
1276
1393
  "enum": [
1277
- "Yes"
1394
+ "Septic tank"
1278
1395
  ]
1279
1396
  }
1280
1397
  }
1281
1398
  },
1282
1399
  {
1283
1400
  "properties": {
1284
- "yesNo": {
1401
+ "offMainsDrainageSystemType": {
1285
1402
  "enum": [
1286
- "To be connected"
1403
+ "Cesspit"
1287
1404
  ]
1288
1405
  }
1289
1406
  }
1290
- }
1291
- ],
1292
- "required": [
1293
- "yesNo"
1294
- ],
1295
- "properties": {
1296
- "yesNo": {
1297
- "ntsRef": "A3.3.3.1",
1298
- "enum": [
1299
- "Yes",
1300
- "No"
1301
- ]
1302
- }
1303
- }
1304
- },
1305
- "septicTank": {
1306
- "ntsRef": "A3.3.4",
1307
- "title": "Septic tank",
1308
- "discriminator": {
1309
- "propertyName": "yesNo"
1310
- },
1311
- "oneOf": [
1407
+ },
1312
1408
  {
1313
1409
  "properties": {
1314
- "yesNo": {
1410
+ "offMainsDrainageSystemType": {
1315
1411
  "enum": [
1316
- "No"
1412
+ "Sewerage treatment plant"
1317
1413
  ]
1318
1414
  }
1319
1415
  }
1320
1416
  },
1321
1417
  {
1322
1418
  "properties": {
1323
- "yesNo": {
1419
+ "offMainsDrainageSystemType": {
1324
1420
  "enum": [
1325
- "Yes"
1421
+ "Other",
1422
+ "Not known"
1326
1423
  ]
1424
+ },
1425
+ "details": {
1426
+ "ntsRef": "B3.3.3.2"
1327
1427
  }
1328
- }
1428
+ },
1429
+ "required": [
1430
+ "details"
1431
+ ]
1329
1432
  }
1330
1433
  ],
1331
1434
  "required": [
1332
- "yesNo"
1435
+ "offMainsDrainageSystemType"
1333
1436
  ],
1334
1437
  "properties": {
1335
- "yesNo": {
1336
- "ntsRef": "A3.3.4.1",
1337
- "enum": [
1338
- "Yes",
1339
- "No"
1340
- ]
1438
+ "offMainsDrainageSystemType": {
1439
+ "ntsRef": "B3.3.3.1"
1341
1440
  }
1342
1441
  }
1343
- },
1344
- "cesspit": {
1345
- "ntsRef": "A3.3.5",
1346
- "title": "Cesspit",
1442
+ }
1443
+ }
1444
+ }
1445
+ ],
1446
+ "required": [
1447
+ "yesNo"
1448
+ ],
1449
+ "properties": {
1450
+ "yesNo": {
1451
+ "ntsRef": "B3.3.2.1",
1452
+ "enum": [
1453
+ "Yes",
1454
+ "No"
1455
+ ]
1456
+ }
1457
+ }
1458
+ }
1459
+ }
1460
+ }
1461
+ }
1462
+ },
1463
+ "heating": {
1464
+ "ntsRef": "B3.4",
1465
+ "required": [
1466
+ "heatingSystem"
1467
+ ],
1468
+ "properties": {
1469
+ "heatingSystem": {
1470
+ "ntsRef": "B3.4.1",
1471
+ "discriminator": {
1472
+ "propertyName": "heatingType"
1473
+ },
1474
+ "oneOf": [
1475
+ {
1476
+ "properties": {
1477
+ "heatingType": {
1478
+ "enum": [
1479
+ "None",
1480
+ "Room heaters only"
1481
+ ]
1482
+ }
1483
+ }
1484
+ },
1485
+ {
1486
+ "properties": {
1487
+ "heatingType": {
1488
+ "enum": [
1489
+ "Central heating"
1490
+ ]
1491
+ },
1492
+ "centralHeatingDetails": {
1493
+ "ntsRef": "B3.4.3",
1494
+ "required": [
1495
+ "centralHeatingFuel"
1496
+ ],
1497
+ "properties": {
1498
+ "centralHeatingFuel": {
1499
+ "ntsRef": "B3.4.3.1",
1347
1500
  "discriminator": {
1348
- "propertyName": "yesNo"
1501
+ "propertyName": "centralHeatingFuelType"
1349
1502
  },
1350
1503
  "oneOf": [
1351
1504
  {
1352
1505
  "properties": {
1353
- "yesNo": {
1506
+ "centralHeatingFuelType": {
1354
1507
  "enum": [
1355
- "No"
1508
+ "Mains gas"
1356
1509
  ]
1357
1510
  }
1358
1511
  }
1359
1512
  },
1360
1513
  {
1361
1514
  "properties": {
1362
- "yesNo": {
1515
+ "centralHeatingFuelType": {
1363
1516
  "enum": [
1364
- "Yes"
1517
+ "Electricity"
1365
1518
  ]
1366
1519
  }
1367
1520
  }
1368
- }
1369
- ],
1370
- "required": [
1371
- "yesNo"
1372
- ],
1373
- "properties": {
1374
- "yesNo": {
1375
- "ntsRef": "A3.3.5.1",
1376
- "enum": [
1377
- "Yes",
1378
- "No"
1379
- ]
1380
- }
1381
- }
1382
- },
1383
- "sewerageTreatmentPlant": {
1384
- "ntsRef": "A3.3.6",
1385
- "title": "Sewerage treatment plant",
1386
- "discriminator": {
1387
- "propertyName": "yesNo"
1388
- },
1389
- "oneOf": [
1521
+ },
1390
1522
  {
1391
1523
  "properties": {
1392
- "yesNo": {
1524
+ "centralHeatingFuelType": {
1393
1525
  "enum": [
1394
- "No"
1526
+ "Oil",
1527
+ "LPG",
1528
+ "Biomass"
1395
1529
  ]
1396
1530
  }
1397
1531
  }
1398
1532
  },
1399
1533
  {
1400
1534
  "properties": {
1401
- "yesNo": {
1535
+ "centralHeatingFuelType": {
1402
1536
  "enum": [
1403
- "Yes"
1537
+ "Other"
1404
1538
  ]
1405
1539
  }
1406
1540
  }
1407
1541
  }
1408
1542
  ],
1409
1543
  "required": [
1410
- "yesNo"
1544
+ "centralHeatingFuelType"
1411
1545
  ],
1412
1546
  "properties": {
1413
- "yesNo": {
1414
- "ntsRef": "A3.3.6.1",
1415
- "enum": [
1416
- "Yes",
1417
- "No"
1418
- ]
1547
+ "centralHeatingFuelType": {
1548
+ "ntsRef": "B3.4.3.1.1"
1419
1549
  }
1420
1550
  }
1421
1551
  }
1422
- },
1423
- "required": [
1424
- "sustainableDrainageSystem",
1425
- "septicTank",
1426
- "cesspit",
1427
- "sewerageTreatmentPlant"
1428
- ]
1552
+ }
1429
1553
  }
1430
- ],
1554
+ },
1431
1555
  "required": [
1432
- "yesNo"
1433
- ],
1556
+ "centralHeatingDetails"
1557
+ ]
1558
+ },
1559
+ {
1434
1560
  "properties": {
1435
- "yesNo": {
1561
+ "heatingType": {
1436
1562
  "enum": [
1437
- "Yes",
1438
- "No"
1563
+ "Community heating system"
1439
1564
  ]
1565
+ },
1566
+ "details": {
1567
+ "ntsRef": "B3.4.4"
1440
1568
  }
1441
- }
1569
+ },
1570
+ "required": [
1571
+ "details"
1572
+ ]
1573
+ }
1574
+ ],
1575
+ "required": [
1576
+ "heatingType"
1577
+ ],
1578
+ "properties": {
1579
+ "heatingType": {
1580
+ "ntsRef": "B3.4.1"
1442
1581
  }
1443
1582
  }
1583
+ },
1584
+ "otherHeatingFeatures": {
1585
+ "ntsRef": "B3.4.2"
1444
1586
  }
1445
1587
  }
1446
1588
  },
1447
- "heating": {
1448
- "ntsRef": "B3.4",
1449
- "title": "Heating",
1450
- "discriminator": {
1451
- "propertyName": "heatingType"
1452
- },
1453
- "oneOf": [
1454
- {
1589
+ "connectivity": {
1590
+ "ntsRef": "B3",
1591
+ "required": [
1592
+ "broadband"
1593
+ ],
1594
+ "properties": {
1595
+ "telephone": {
1455
1596
  "properties": {
1456
- "heatingType": {
1597
+ "yesNo": {
1457
1598
  "enum": [
1458
- "None"
1599
+ "Yes",
1600
+ "No"
1459
1601
  ]
1460
1602
  }
1461
1603
  }
1462
1604
  },
1463
- {
1605
+ "cableSatelliteTV": {
1464
1606
  "properties": {
1465
- "heatingType": {
1607
+ "yesNo": {
1466
1608
  "enum": [
1467
- "Central heating"
1609
+ "Yes",
1610
+ "No"
1468
1611
  ]
1469
- },
1470
- "centralHeatingDetails": {
1471
- "ntsRef": "B3.4.3",
1472
- "title": "Central Heating Details",
1473
- "required": [
1474
- "centralHeatingFuel"
1475
- ],
1476
- "properties": {
1477
- "centralHeatingFuel": {
1478
- "ntsRef": "B3.4.3.1",
1479
- "title": "Central Heating Fuel",
1480
- "discriminator": {
1481
- "propertyName": "centralHeatingFuelType"
1482
- },
1483
- "oneOf": [
1484
- {
1485
- "properties": {
1486
- "centralHeatingFuelType": {
1487
- "enum": [
1488
- "Mains gas",
1489
- "Electricity",
1490
- "Oil",
1491
- "LPG",
1492
- "Biomass boiler"
1493
- ]
1494
- }
1495
- }
1496
- },
1497
- {
1498
- "properties": {
1499
- "centralHeatingFuelType": {
1500
- "enum": [
1501
- "Other"
1502
- ]
1503
- }
1504
- }
1505
- }
1506
- ],
1507
- "required": [
1508
- "centralHeatingFuelType"
1509
- ],
1612
+ }
1613
+ }
1614
+ },
1615
+ "broadband": {
1616
+ "ntsRef": "B3.5",
1617
+ "required": [
1618
+ "typeOfConnection"
1619
+ ],
1620
+ "properties": {
1621
+ "typeOfConnection": {
1622
+ "ntsRef": "B3.5.2"
1623
+ }
1624
+ }
1625
+ },
1626
+ "mobilePhone": {
1627
+ "ntsRef": "B3.6",
1628
+ "properties": {
1629
+ "knownSignalIssues": {
1630
+ "ntsRef": "B3.6.1",
1631
+ "discriminator": {
1632
+ "propertyName": "yesNo"
1633
+ },
1634
+ "oneOf": [
1635
+ {
1510
1636
  "properties": {
1511
- "centralHeatingFuelType": {
1512
- "ntsRef": "B3.4.3.1.1",
1513
- "title": "What type of fuel does the system run on?",
1637
+ "yesNo": {
1514
1638
  "enum": [
1515
- "Mains gas",
1516
- "Electricity",
1517
- "Oil",
1518
- "LPG",
1519
- "Other"
1639
+ "No"
1520
1640
  ]
1521
1641
  }
1522
1642
  }
1643
+ },
1644
+ {
1645
+ "properties": {
1646
+ "yesNo": {
1647
+ "enum": [
1648
+ "Yes"
1649
+ ]
1650
+ },
1651
+ "details": {
1652
+ "ntsRef": "B3.6.1.2"
1653
+ }
1654
+ },
1655
+ "required": [
1656
+ "details"
1657
+ ]
1658
+ }
1659
+ ],
1660
+ "required": [
1661
+ "yesNo"
1662
+ ],
1663
+ "properties": {
1664
+ "yesNo": {
1665
+ "ntsRef": "B3.6.1.1"
1523
1666
  }
1524
1667
  }
1525
1668
  }
1526
- },
1527
- "required": [
1528
- "centralHeatingDetails"
1529
- ]
1530
- },
1531
- {
1532
- "properties": {
1533
- "heatingType": {
1534
- "enum": [
1535
- "Community heating system"
1536
- ]
1537
- },
1538
- "details": {
1539
- "ntsRef": "B3.4.4",
1540
- "title": "Community heating system details",
1541
- "description": "Please descripbe how the cost of heating supply is charged, whether you have control over the energy supplier and whether you have any control over the heating"
1542
- }
1543
- },
1544
- "required": [
1545
- "details"
1546
- ]
1547
- }
1548
- ],
1549
- "required": [
1550
- "heatingType"
1551
- ],
1552
- "properties": {
1553
- "heatingType": {
1554
- "ntsRef": "B3.4.1",
1555
- "title": "What type of heating system does the property have?",
1556
- "enum": [
1557
- "Central heating",
1558
- "Communal heating system",
1559
- "None"
1560
- ]
1561
- },
1562
- "otherHeatingFeatures": {
1563
- "ntsRef": "B3.4.2",
1564
- "title": "What other heating features does the property have?"
1669
+ }
1565
1670
  }
1566
1671
  }
1567
1672
  },
1568
1673
  "rightsAndInformalArrangements": {
1569
1674
  "ntsRef": "C2.2",
1570
- "title": "Rights and Informal Arrangements",
1675
+ "required": [
1676
+ "rightsOrArrangements"
1677
+ ],
1571
1678
  "properties": {
1572
1679
  "rightsOrArrangements": {
1573
1680
  "ntsRef": "C2.2.1",
1574
- "title": "Do you know if any of the following rights or arrangements affect the property?",
1575
1681
  "required": [
1576
1682
  "publicRightOfWay"
1577
1683
  ],
1578
1684
  "properties": {
1579
1685
  "publicRightOfWay": {
1580
1686
  "ntsRef": "C2.2.1",
1581
- "title": "A public right of way through and/or across your property, buildings or land",
1582
1687
  "discriminator": {
1583
1688
  "propertyName": "yesNo"
1584
1689
  },
@@ -1600,8 +1705,7 @@
1600
1705
  ]
1601
1706
  },
1602
1707
  "details": {
1603
- "ntsRef": "C2.2.1.2",
1604
- "title": "Please provide details and mark the route on a plan of the property"
1708
+ "ntsRef": "C2.2.1.2"
1605
1709
  }
1606
1710
  },
1607
1711
  "required": [
@@ -1612,13 +1716,10 @@
1612
1716
  "required": [
1613
1717
  "yesNo"
1614
1718
  ],
1719
+ "title": "Is there a public right of way through and/or across your house, buildings or land?",
1615
1720
  "properties": {
1616
1721
  "yesNo": {
1617
- "ntsRef": "C2.2.1.1",
1618
- "enum": [
1619
- "Yes",
1620
- "No"
1621
- ]
1722
+ "ntsRef": "C2.2.1.1"
1622
1723
  }
1623
1724
  }
1624
1725
  }
@@ -1628,7 +1729,6 @@
1628
1729
  },
1629
1730
  "environmentalIssues": {
1630
1731
  "ntsRef": "C3.1",
1631
- "title": "Environmental Issues Affecting the Property",
1632
1732
  "required": [
1633
1733
  "flooding",
1634
1734
  "coalMining",
@@ -1638,57 +1738,20 @@
1638
1738
  "properties": {
1639
1739
  "flooding": {
1640
1740
  "ntsRef": "C3.1.1",
1641
- "title": "Flooding",
1642
- "discriminator": {
1643
- "propertyName": "hasBeenFlooded"
1644
- },
1645
- "oneOf": [
1646
- {
1647
- "properties": {
1648
- "hasBeenFlooded": {
1649
- "enum": [
1650
- "No"
1651
- ]
1652
- }
1653
- }
1654
- },
1655
- {
1656
- "properties": {
1657
- "hasBeenFlooded": {
1658
- "enum": [
1659
- "Yes"
1660
- ]
1661
- },
1662
- "typeOfFlooding": {
1663
- "ntsRef": "C3.1.1.3",
1664
- "title": "What type of flooding occurred?"
1665
- },
1666
- "details": {
1667
- "ntsRef": "C3.1.1.3",
1668
- "title": "Please state when the flooding occurred and identify the parts that flooded"
1669
- }
1670
- },
1671
- "required": [
1672
- "typeOfFlooding",
1673
- "details"
1674
- ]
1675
- }
1676
- ],
1677
1741
  "required": [
1678
1742
  "floodRisk",
1679
- "hasBeenFlooded"
1743
+ "historicalFlooding"
1680
1744
  ],
1681
1745
  "properties": {
1682
1746
  "floodRisk": {
1683
1747
  "ntsRef": "C3.1.1.1",
1684
- "title": "Flood Risk",
1685
1748
  "discriminator": {
1686
- "propertyName": "impactIndicator"
1749
+ "propertyName": "riskIndicator"
1687
1750
  },
1688
1751
  "oneOf": [
1689
1752
  {
1690
1753
  "properties": {
1691
- "impactIndicator": {
1754
+ "riskIndicator": {
1692
1755
  "enum": [
1693
1756
  "No"
1694
1757
  ]
@@ -1697,14 +1760,13 @@
1697
1760
  },
1698
1761
  {
1699
1762
  "properties": {
1700
- "impactIndicator": {
1763
+ "riskIndicator": {
1701
1764
  "enum": [
1702
1765
  "Yes"
1703
1766
  ]
1704
1767
  },
1705
1768
  "summary": {
1706
- "ntsRef": "C3.1.1.2",
1707
- "title": "Summary of risk"
1769
+ "ntsRef": "C3.1.1.2"
1708
1770
  }
1709
1771
  },
1710
1772
  "required": [
@@ -1713,39 +1775,70 @@
1713
1775
  }
1714
1776
  ],
1715
1777
  "required": [
1716
- "impactIndicator"
1778
+ "riskIndicator"
1717
1779
  ],
1718
1780
  "properties": {
1719
- "impactIndicator": {
1781
+ "riskIndicator": {
1720
1782
  "ntsRef": "C3.1.1.1",
1721
- "title": "To your knowledge, is the property at risk of flooding of any type?",
1722
- "enum": [
1723
- "Yes",
1724
- "No"
1725
- ]
1783
+ "title": "To your knowledge, is the property at risk of flooding of any type?"
1726
1784
  }
1727
1785
  }
1728
1786
  },
1729
- "hasBeenFlooded": {
1787
+ "historicalFlooding": {
1730
1788
  "ntsRef": "C3.1.1.2",
1731
- "title": "Has any part of the property (whether buildings or surrounding garden or land) ever been flooded?",
1732
- "enum": [
1733
- "Yes",
1734
- "No"
1735
- ]
1789
+ "discriminator": {
1790
+ "propertyName": "hasBeenFlooded"
1791
+ },
1792
+ "oneOf": [
1793
+ {
1794
+ "properties": {
1795
+ "hasBeenFlooded": {
1796
+ "enum": [
1797
+ "No"
1798
+ ]
1799
+ }
1800
+ }
1801
+ },
1802
+ {
1803
+ "properties": {
1804
+ "hasBeenFlooded": {
1805
+ "enum": [
1806
+ "Yes"
1807
+ ]
1808
+ },
1809
+ "typeOfFlooding": {
1810
+ "ntsRef": "C3.1.1.3"
1811
+ },
1812
+ "details": {
1813
+ "ntsRef": "C3.1.1.4"
1814
+ }
1815
+ },
1816
+ "required": [
1817
+ "typeOfFlooding",
1818
+ "details"
1819
+ ]
1820
+ }
1821
+ ],
1822
+ "required": [
1823
+ "hasBeenFlooded"
1824
+ ],
1825
+ "properties": {
1826
+ "hasBeenFlooded": {
1827
+ "ntsRef": "C3.1.1.2.1"
1828
+ }
1829
+ }
1736
1830
  }
1737
1831
  }
1738
1832
  },
1739
1833
  "coalMining": {
1740
1834
  "ntsRef": "C6.1",
1741
- "title": "Coal mining",
1742
1835
  "discriminator": {
1743
- "propertyName": "impactIndicator"
1836
+ "propertyName": "riskIndicator"
1744
1837
  },
1745
1838
  "oneOf": [
1746
1839
  {
1747
1840
  "properties": {
1748
- "impactIndicator": {
1841
+ "riskIndicator": {
1749
1842
  "enum": [
1750
1843
  "No"
1751
1844
  ]
@@ -1754,7 +1847,7 @@
1754
1847
  },
1755
1848
  {
1756
1849
  "properties": {
1757
- "impactIndicator": {
1850
+ "riskIndicator": {
1758
1851
  "enum": [
1759
1852
  "Yes"
1760
1853
  ]
@@ -1767,29 +1860,24 @@
1767
1860
  }
1768
1861
  ],
1769
1862
  "required": [
1770
- "impactIndicator"
1863
+ "riskIndicator"
1771
1864
  ],
1772
1865
  "properties": {
1773
- "impactIndicator": {
1866
+ "riskIndicator": {
1774
1867
  "ntsRef": "C6.1.1",
1775
- "title": "To your knowledge, is the property impacted by coal mining?",
1776
- "enum": [
1777
- "Yes",
1778
- "No"
1779
- ]
1868
+ "title": "To your knowledge, is the property impacted by coal mining?"
1780
1869
  }
1781
1870
  }
1782
1871
  },
1783
1872
  "nonCoalMining": {
1784
1873
  "ntsRef": "C6.2",
1785
- "title": "Non-coal mining",
1786
1874
  "discriminator": {
1787
- "propertyName": "impactIndicator"
1875
+ "propertyName": "riskIndicator"
1788
1876
  },
1789
1877
  "oneOf": [
1790
1878
  {
1791
1879
  "properties": {
1792
- "impactIndicator": {
1880
+ "riskIndicator": {
1793
1881
  "enum": [
1794
1882
  "No"
1795
1883
  ]
@@ -1798,14 +1886,13 @@
1798
1886
  },
1799
1887
  {
1800
1888
  "properties": {
1801
- "impactIndicator": {
1889
+ "riskIndicator": {
1802
1890
  "enum": [
1803
1891
  "Yes"
1804
1892
  ]
1805
1893
  },
1806
1894
  "summary": {
1807
- "ntsRef": "C6.2.2",
1808
- "title": "Summary of risk"
1895
+ "ntsRef": "C6.2.2"
1809
1896
  }
1810
1897
  },
1811
1898
  "required": [
@@ -1814,29 +1901,24 @@
1814
1901
  }
1815
1902
  ],
1816
1903
  "required": [
1817
- "impactIndicator"
1904
+ "riskIndicator"
1818
1905
  ],
1819
1906
  "properties": {
1820
- "impactIndicator": {
1907
+ "riskIndicator": {
1821
1908
  "ntsRef": "C6.2.1",
1822
- "title": "To your knowledge, is the property impacted by types of mining other than coal?",
1823
- "enum": [
1824
- "Yes",
1825
- "No"
1826
- ]
1909
+ "title": "To your knowledge, is the property impacted by types of mining other than coal?"
1827
1910
  }
1828
1911
  }
1829
1912
  },
1830
1913
  "coastalErosion": {
1831
1914
  "ntsRef": "C3.2",
1832
- "title": "Coastal erosion",
1833
1915
  "discriminator": {
1834
- "propertyName": "impactIndicator"
1916
+ "propertyName": "riskIndicator"
1835
1917
  },
1836
1918
  "oneOf": [
1837
1919
  {
1838
1920
  "properties": {
1839
- "impactIndicator": {
1921
+ "riskIndicator": {
1840
1922
  "enum": [
1841
1923
  "No"
1842
1924
  ]
@@ -1845,14 +1927,13 @@
1845
1927
  },
1846
1928
  {
1847
1929
  "properties": {
1848
- "impactIndicator": {
1930
+ "riskIndicator": {
1849
1931
  "enum": [
1850
1932
  "Yes"
1851
1933
  ]
1852
1934
  },
1853
1935
  "summary": {
1854
- "ntsRef": "C3.2.2",
1855
- "title": "Summary of risk"
1936
+ "ntsRef": "C3.2.2"
1856
1937
  }
1857
1938
  },
1858
1939
  "required": [
@@ -1861,16 +1942,12 @@
1861
1942
  }
1862
1943
  ],
1863
1944
  "required": [
1864
- "impactIndicator"
1945
+ "riskIndicator"
1865
1946
  ],
1866
1947
  "properties": {
1867
- "impactIndicator": {
1948
+ "riskIndicator": {
1868
1949
  "ntsRef": "C3.2.1",
1869
- "title": "To your knowledge, is the property impacted by coastal erosion?",
1870
- "enum": [
1871
- "Yes",
1872
- "No"
1873
- ]
1950
+ "title": "To your knowledge, is the property impacted by coastal erosion?"
1874
1951
  }
1875
1952
  }
1876
1953
  }