@pdtf/schemas 3.2.0-6 → 3.2.1-11

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