@pdtf/schemas 2.3.0 → 3.0.0-10

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