@pdtf/schemas 3.0.3-4 → 3.0.3-6

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdtf/schemas",
3
- "version": "3.0.3-4",
3
+ "version": "3.0.3-6",
4
4
  "description": "Property Data Trust Framework Schemas and Utilities",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -728,6 +728,12 @@
728
728
  "entranceFloor",
729
729
  "hasLift",
730
730
  "overCommercialPremises"
731
+ ],
732
+ "ntslRequired": [
733
+ "numberOfFloors",
734
+ "entranceFloor",
735
+ "hasLift",
736
+ "overCommercialPremises"
731
737
  ]
732
738
  }
733
739
  ]
@@ -1290,7 +1296,6 @@
1290
1296
  "type": "object",
1291
1297
  "baspiRequired": ["ownershipsToBeTransferred"],
1292
1298
  "ntsRequired": ["ownershipsToBeTransferred"],
1293
- "ntslRequired": ["ownershipsToBeTransferred"],
1294
1299
  "ta7Required": ["ownershipsToBeTransferred"],
1295
1300
  "properties": {
1296
1301
  "ownershipsToBeTransferred": {
@@ -1309,7 +1314,6 @@
1309
1314
  "baspiRequired": ["ownershipType"],
1310
1315
  "ta7Required": ["ownershipType"],
1311
1316
  "ntsRequired": ["ownershipType"],
1312
- "ntslRequired": ["ownershipType"],
1313
1317
  "properties": {
1314
1318
  "titleNumber": {
1315
1319
  "baspiRef": "A1.3.0.1",
@@ -8370,6 +8374,12 @@
8370
8374
  "controlledParking",
8371
8375
  "electricVehicleChargingPoint"
8372
8376
  ],
8377
+ "ntslRequired": [
8378
+ "parkingArrangements",
8379
+ "disabledParking",
8380
+ "controlledParking",
8381
+ "electricVehicleChargingPoint"
8382
+ ],
8373
8383
  "ta6Required": ["parkingArrangements", "controlledParking"],
8374
8384
  "properties": {
8375
8385
  "parkingArrangements": {
@@ -8473,6 +8483,11 @@
8473
8483
  "isConservationArea",
8474
8484
  "hasTreePreservationOrder"
8475
8485
  ],
8486
+ "ntslRequired": [
8487
+ "isListed",
8488
+ "isConservationArea",
8489
+ "hasTreePreservationOrder"
8490
+ ],
8476
8491
  "baspiRequired": [
8477
8492
  "isListed",
8478
8493
  "isConservationArea",
@@ -8745,6 +8760,7 @@
8745
8760
  "sprayFoamInsulation"
8746
8761
  ],
8747
8762
  "ntsRequired": ["isStandardForm", "buildingSafety"],
8763
+ "ntslRequired": ["isStandardForm", "buildingSafety"],
8748
8764
  "properties": {
8749
8765
  "isStandardForm": {
8750
8766
  "baspiRef": "A1.8.1",
@@ -8908,6 +8924,13 @@
8908
8924
  "workToBeDone",
8909
8925
  "potentialCost",
8910
8926
  "abilityToResideAtProperty"
8927
+ ],
8928
+ "ntslRequired": [
8929
+ "details",
8930
+ "workAlreadyDone",
8931
+ "workToBeDone",
8932
+ "potentialCost",
8933
+ "abilityToResideAtProperty"
8911
8934
  ]
8912
8935
  }
8913
8936
  ]
@@ -20053,6 +20076,12 @@
20053
20076
  "nonCoalMining",
20054
20077
  "coastalErosion"
20055
20078
  ],
20079
+ "ntslRequired": [
20080
+ "flooding",
20081
+ "coalMining",
20082
+ "nonCoalMining",
20083
+ "coastalErosion"
20084
+ ],
20056
20085
  "ta6Required": ["flooding", "radon"],
20057
20086
  "properties": {
20058
20087
  "flooding": {
@@ -137,7 +137,13 @@
137
137
  }
138
138
  }
139
139
  }
140
- }
140
+ },
141
+ "required": [
142
+ "numberOfFloors",
143
+ "entranceFloor",
144
+ "hasLift",
145
+ "overCommercialPremises"
146
+ ]
141
147
  }
142
148
  ],
143
149
  "required": [
@@ -223,22 +229,14 @@
223
229
  }
224
230
  }
225
231
  },
226
- "ownership": {
227
- "required": [
228
- "ownershipsToBeTransferred"
229
- ],
230
- "properties": {
231
- "ownershipsToBeTransferred": {
232
- "items": {
233
- "required": [
234
- "ownershipType"
235
- ]
236
- }
237
- }
238
- }
239
- },
240
232
  "parking": {
241
233
  "ntslRef": "B4",
234
+ "required": [
235
+ "parkingArrangements",
236
+ "disabledParking",
237
+ "controlledParking",
238
+ "electricVehicleChargingPoint"
239
+ ],
242
240
  "properties": {
243
241
  "parkingArrangements": {
244
242
  "ntslRef": "B4.1",
@@ -283,6 +281,11 @@
283
281
  },
284
282
  "listingAndConservation": {
285
283
  "ntslRef": "C2.1",
284
+ "required": [
285
+ "isListed",
286
+ "isConservationArea",
287
+ "hasTreePreservationOrder"
288
+ ],
286
289
  "properties": {
287
290
  "isListed": {
288
291
  "ntslRef": "C2.1.1",
@@ -452,6 +455,10 @@
452
455
  },
453
456
  "typeOfConstruction": {
454
457
  "ntslRef": "A1.2",
458
+ "required": [
459
+ "isStandardForm",
460
+ "buildingSafety"
461
+ ],
455
462
  "properties": {
456
463
  "isStandardForm": {
457
464
  "ntslRef": "A1.2.1",
@@ -530,7 +537,14 @@
530
537
  "abilityToResideAtProperty": {
531
538
  "ntslRef": "C1.6"
532
539
  }
533
- }
540
+ },
541
+ "required": [
542
+ "details",
543
+ "workAlreadyDone",
544
+ "workToBeDone",
545
+ "potentialCost",
546
+ "abilityToResideAtProperty"
547
+ ]
534
548
  }
535
549
  ],
536
550
  "required": [
@@ -1422,6 +1436,12 @@
1422
1436
  },
1423
1437
  "environmentalIssues": {
1424
1438
  "ntslRef": "C3.1",
1439
+ "required": [
1440
+ "flooding",
1441
+ "coalMining",
1442
+ "nonCoalMining",
1443
+ "coastalErosion"
1444
+ ],
1425
1445
  "properties": {
1426
1446
  "flooding": {
1427
1447
  "ntslRef": "C3.1.1",