@pdtf/schemas 3.6.0-dev.6 → 3.6.0-dev.8

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