@pdtf/schemas 2.0.0-14 → 2.0.0-16
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 +7 -6
- package/src/schemas/v2/combined.json +151 -180
- package/src/schemas/v2/overlays/baspi.json +80 -69
- package/src/schemas/v2/overlays/con29DW.json +255 -126
- 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 +8 -6
- package/src/schemas/v2/overlays/ta6.json +31 -31
- package/src/schemas/v2/overlays/ta7.json +1 -1
- package/src/schemas/v2/pdtf-transaction.json +100 -167
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
|
@@ -128,6 +128,11 @@
|
|
|
128
128
|
"certificate": {
|
|
129
129
|
"certificateNumber": "12345",
|
|
130
130
|
"currentEnergyRating": "A"
|
|
131
|
+
},
|
|
132
|
+
"greenDealLoan": {
|
|
133
|
+
"hasGreenDealLoan": {
|
|
134
|
+
"yesNo": "No"
|
|
135
|
+
}
|
|
131
136
|
}
|
|
132
137
|
},
|
|
133
138
|
"councilTax": {
|
|
@@ -356,11 +361,6 @@
|
|
|
356
361
|
"yesNo": "No"
|
|
357
362
|
}
|
|
358
363
|
},
|
|
359
|
-
"greenDealLoan": {
|
|
360
|
-
"hasGreenDealLoan": {
|
|
361
|
-
"yesNo": "No"
|
|
362
|
-
}
|
|
363
|
-
},
|
|
364
364
|
"centralHeating": {
|
|
365
365
|
"hasCentralHeating": "Yes",
|
|
366
366
|
"centralHeatingDetails": {
|
|
@@ -561,7 +561,8 @@
|
|
|
561
561
|
"willRemoveAllRubbish": true,
|
|
562
562
|
"otherPropertyInChain": { "yesNo": "No" },
|
|
563
563
|
"moveRestrictionDates": { "yesNo": "No" },
|
|
564
|
-
"digitalPropertyLogbook": { "yesNo": "No" }
|
|
564
|
+
"digitalPropertyLogbook": { "yesNo": "No" },
|
|
565
|
+
"sufficientToRepayAllMortgages": { "yesNo": "Yes" }
|
|
565
566
|
},
|
|
566
567
|
"confirmationOfAccuracyByOwners": {
|
|
567
568
|
"confirmWillProvideAdditionalDocumentation": true,
|