@pdtf/schemas 3.2.0-6 → 3.2.1-3

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