@pdtf/schemas 2.0.0-15 → 2.0.0-17
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/index.js +23 -9
- package/package.json +1 -1
- package/src/examples/v2/exampleTransaction.json +36 -45
- package/src/schemas/v2/combined.json +618 -661
- package/src/schemas/v2/overlays/baspi.json +557 -528
- package/src/schemas/v2/overlays/con29DW.json +256 -127
- package/src/schemas/v2/overlays/lpe1.json +1 -1
- package/src/schemas/v2/overlays/nts.json +1 -1
- package/src/schemas/v2/overlays/rds.json +322 -314
- package/src/schemas/v2/overlays/ta6.json +280 -252
- package/src/schemas/v2/overlays/ta7.json +1 -1
- package/src/schemas/v2/pdtf-transaction.json +508 -589
- package/src/tests/v2/transactionSchema.test.js +1 -1
package/index.js
CHANGED
|
@@ -48,15 +48,17 @@ const combinedSchema = require("./src/schemas/v2/combined.json");
|
|
|
48
48
|
const v2CoreSchema = require("./src/schemas/v2/pdtf-transaction.json");
|
|
49
49
|
|
|
50
50
|
const baspiOverlay = require("./src/schemas/v2/overlays/baspi.json");
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
51
|
+
const ta6Overlay = require("./src/schemas/v2/overlays/ta6.json");
|
|
52
|
+
const ta7Overlay = require("./src/schemas/v2/overlays/ta7.json");
|
|
53
|
+
const ta10Overlay = require("./src/schemas/v2/overlays/ta10.json");
|
|
54
|
+
const lpe1Overlay = require("./src/schemas/v2/overlays/lpe1.json");
|
|
55
|
+
const fme1Overlay = require("./src/schemas/v2/overlays/fme1.json");
|
|
56
|
+
const llc1Overlay = require("./src/schemas/v2/overlays/llc1.json");
|
|
57
|
+
const ntsOverlay = require("./src/schemas/v2/overlays/nts.json");
|
|
58
|
+
const con29ROverlay = require("./src/schemas/v2/overlays/con29R.json");
|
|
59
|
+
const con29DWOverlay = require("./src/schemas/v2/overlays/con29DW.json");
|
|
60
|
+
const rdsOverlay = require("./src/schemas/v2/overlays/rds.json");
|
|
61
|
+
const oc1Overlay = require("./src/schemas/v2/overlays/oc1.json");
|
|
60
62
|
|
|
61
63
|
const overlays = { baspiV4: baspiOverlay, null: {} };
|
|
62
64
|
|
|
@@ -245,4 +247,16 @@ module.exports = {
|
|
|
245
247
|
getTitleAtPath,
|
|
246
248
|
verifiedClaimsSchema,
|
|
247
249
|
validateVerifiedClaims,
|
|
250
|
+
baspiOverlay,
|
|
251
|
+
ta6Overlay,
|
|
252
|
+
ta7Overlay,
|
|
253
|
+
ta10Overlay,
|
|
254
|
+
lpe1Overlay,
|
|
255
|
+
fme1Overlay,
|
|
256
|
+
llc1Overlay,
|
|
257
|
+
ntsOverlay,
|
|
258
|
+
con29ROverlay,
|
|
259
|
+
con29DWOverlay,
|
|
260
|
+
rdsOverlay,
|
|
261
|
+
oc1Overlay,
|
|
248
262
|
};
|
package/package.json
CHANGED
|
@@ -277,39 +277,40 @@
|
|
|
277
277
|
}
|
|
278
278
|
},
|
|
279
279
|
"waterAndDrainage": {
|
|
280
|
-
"
|
|
281
|
-
"
|
|
282
|
-
"yesNo": "
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
"supplier": "Northumbria Water"
|
|
280
|
+
"water": {
|
|
281
|
+
"mainsWater": {
|
|
282
|
+
"yesNo": "To be connected",
|
|
283
|
+
"dateToBeConnected": "2022-12-15",
|
|
284
|
+
"supplier": "Northumbria Water"
|
|
285
|
+
}
|
|
287
286
|
},
|
|
288
|
-
"
|
|
289
|
-
"
|
|
290
|
-
"yesNo": "
|
|
287
|
+
"drainage": {
|
|
288
|
+
"mainsSurfaceWaterDrainage": {
|
|
289
|
+
"yesNo": "Yes"
|
|
291
290
|
},
|
|
292
|
-
"
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
"
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
"dischargeCompliesWithGBR": "Yes"
|
|
291
|
+
"mainsFoulDrainage": {
|
|
292
|
+
"yesNo": "No",
|
|
293
|
+
"sustainableDrainageSystem": { "yesNo": "No" },
|
|
294
|
+
"septicTank": {
|
|
295
|
+
"yesNo": "Yes",
|
|
296
|
+
"details": "Last emptied on 1 Jan 2022",
|
|
297
|
+
"dateReplaced": "2022-01-01",
|
|
298
|
+
"dateLastEmptied": "2022-01-01"
|
|
299
|
+
},
|
|
300
|
+
"cesspit": { "yesNo": "No" },
|
|
301
|
+
"sewerageTreatmentPlant": { "yesNo": "No" },
|
|
302
|
+
"otherConnectedProperties": { "yesNo": "No" },
|
|
303
|
+
"yearSystemInstalled": 1980,
|
|
304
|
+
"plantOnOtherLand": { "yesNo": "No" },
|
|
305
|
+
"plantRegistered": { "yesNo": "No" },
|
|
306
|
+
"plantDrainsIntoWaterway": {
|
|
307
|
+
"yesNo": "Yes",
|
|
308
|
+
"dischargeCompliesWithGBR": "Yes"
|
|
309
|
+
}
|
|
312
310
|
}
|
|
311
|
+
},
|
|
312
|
+
"maintenanceAgreements": {
|
|
313
|
+
"yesNo": "No"
|
|
313
314
|
}
|
|
314
315
|
},
|
|
315
316
|
"connectedUtilities": {
|
|
@@ -438,21 +439,11 @@
|
|
|
438
439
|
"hasBeenFlooded": "Yes",
|
|
439
440
|
"details": "Minor basement flood",
|
|
440
441
|
"typeOfFlooding": {
|
|
441
|
-
"groundWater":
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
"
|
|
445
|
-
|
|
446
|
-
},
|
|
447
|
-
"surfaceWater": {
|
|
448
|
-
"yesNo": "No"
|
|
449
|
-
},
|
|
450
|
-
"coastal": {
|
|
451
|
-
"yesNo": "No"
|
|
452
|
-
},
|
|
453
|
-
"river": {
|
|
454
|
-
"yesNo": "No"
|
|
455
|
-
},
|
|
442
|
+
"groundWater": "No",
|
|
443
|
+
"sewer": "Yes",
|
|
444
|
+
"surfaceWater": "No",
|
|
445
|
+
"coastal": "No",
|
|
446
|
+
"river": "No",
|
|
456
447
|
"other": {
|
|
457
448
|
"yesNo": "No"
|
|
458
449
|
}
|