@pdtf/schemas 2.0.0-0 → 2.0.0-10
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 +20 -17
- package/package.json +1 -1
- package/src/examples/v2/exampleTransaction.json +81 -29
- package/src/schemas/v2/combined.json +6803 -436
- package/src/schemas/v2/overlays/baspi.json +329 -142
- package/src/schemas/v2/overlays/con29R.json +1 -1
- package/src/schemas/v2/overlays/fme1.json +44 -35
- package/src/schemas/v2/overlays/lpe1.json +65 -77
- package/src/schemas/v2/overlays/nts.json +39 -43
- package/src/schemas/v2/overlays/rds.json +10 -18
- package/src/schemas/v2/overlays/ta10.json +844 -1
- package/src/schemas/v2/overlays/ta6.json +14 -6
- package/src/schemas/v2/overlays/ta7.json +100 -34
- package/src/schemas/v2/{core.json → pdtf-transaction.json} +6365 -339
- package/src/tests/v1/transactionSchema.test.js +21 -13
- package/src/tests/v2/transactionSchema.test.js +20 -27
- package/src/tests/v2/verifiedClaimsValidator.test.js +128 -0
- package/src/utils/extractOverlay.js +20 -2
- package/src/utils/extractProperties.js +44 -0
|
@@ -415,7 +415,7 @@
|
|
|
415
415
|
},
|
|
416
416
|
"suDsFeaturesWithinTheBoundaryOfTheProperty": {
|
|
417
417
|
"con29RRef": "3.3(b)",
|
|
418
|
-
"title": "Are there SuDS features within the boundary of the property?
|
|
418
|
+
"title": "Are there SuDS features within the boundary of the property?",
|
|
419
419
|
"discriminator": {
|
|
420
420
|
"propertyName": "yesNo"
|
|
421
421
|
},
|
|
@@ -42,12 +42,14 @@
|
|
|
42
42
|
"rentchargeOwner": {
|
|
43
43
|
"fme1Ref": "1.1",
|
|
44
44
|
"title": "Rentcharge Owner",
|
|
45
|
+
"required": [
|
|
46
|
+
"contact"
|
|
47
|
+
],
|
|
45
48
|
"properties": {
|
|
46
49
|
"contact": {
|
|
47
50
|
"required": [
|
|
48
51
|
"nameOrOrganisation",
|
|
49
|
-
"
|
|
50
|
-
"postcode",
|
|
52
|
+
"address",
|
|
51
53
|
"telephone",
|
|
52
54
|
"emailAddress"
|
|
53
55
|
],
|
|
@@ -69,7 +71,7 @@
|
|
|
69
71
|
"contact": {
|
|
70
72
|
"required": [
|
|
71
73
|
"nameOrOrganisation",
|
|
72
|
-
"
|
|
74
|
+
"line1",
|
|
73
75
|
"postcode",
|
|
74
76
|
"telephone",
|
|
75
77
|
"emailAddress"
|
|
@@ -88,12 +90,13 @@
|
|
|
88
90
|
"managingAgent": {
|
|
89
91
|
"fme1Ref": "1.3",
|
|
90
92
|
"title": "Managing Agent",
|
|
93
|
+
"required": [
|
|
94
|
+
"contact"
|
|
95
|
+
],
|
|
91
96
|
"properties": {
|
|
92
97
|
"contact": {
|
|
93
98
|
"required": [
|
|
94
99
|
"nameOrOrganisation",
|
|
95
|
-
"addressLine1",
|
|
96
|
-
"postcode",
|
|
97
100
|
"telephone",
|
|
98
101
|
"emailAddress"
|
|
99
102
|
],
|
|
@@ -115,7 +118,7 @@
|
|
|
115
118
|
"contact": {
|
|
116
119
|
"required": [
|
|
117
120
|
"nameOrOrganisation",
|
|
118
|
-
"
|
|
121
|
+
"line1",
|
|
119
122
|
"postcode",
|
|
120
123
|
"telephone",
|
|
121
124
|
"emailAddress"
|
|
@@ -208,7 +211,7 @@
|
|
|
208
211
|
"contact": {
|
|
209
212
|
"required": [
|
|
210
213
|
"nameOrOrganisation",
|
|
211
|
-
"
|
|
214
|
+
"line1",
|
|
212
215
|
"postcode",
|
|
213
216
|
"telephone",
|
|
214
217
|
"emailAddress"
|
|
@@ -263,7 +266,7 @@
|
|
|
263
266
|
"Rentcharge Owner",
|
|
264
267
|
"Management Company",
|
|
265
268
|
"Managing Agent",
|
|
266
|
-
"
|
|
269
|
+
"Not applicable"
|
|
267
270
|
]
|
|
268
271
|
},
|
|
269
272
|
"dealsWithDayToDayMaintenanceOfManagedArea": {
|
|
@@ -273,7 +276,7 @@
|
|
|
273
276
|
"Rentcharge Owner",
|
|
274
277
|
"Management Company",
|
|
275
278
|
"Managing Agent",
|
|
276
|
-
"
|
|
279
|
+
"Not applicable"
|
|
277
280
|
]
|
|
278
281
|
},
|
|
279
282
|
"organisesManagedAreaInsurance": {
|
|
@@ -283,7 +286,7 @@
|
|
|
283
286
|
"Rentcharge Owner",
|
|
284
287
|
"Management Company",
|
|
285
288
|
"Managing Agent",
|
|
286
|
-
"
|
|
289
|
+
"Not applicable"
|
|
287
290
|
]
|
|
288
291
|
}
|
|
289
292
|
}
|
|
@@ -704,7 +707,7 @@
|
|
|
704
707
|
"properties": {
|
|
705
708
|
"yesNo": {
|
|
706
709
|
"enum": [
|
|
707
|
-
"
|
|
710
|
+
"Not applicable"
|
|
708
711
|
]
|
|
709
712
|
}
|
|
710
713
|
}
|
|
@@ -1269,7 +1272,7 @@
|
|
|
1269
1272
|
"enum": [
|
|
1270
1273
|
"Enclosed",
|
|
1271
1274
|
"To follow",
|
|
1272
|
-
"
|
|
1275
|
+
"Not applicable"
|
|
1273
1276
|
]
|
|
1274
1277
|
},
|
|
1275
1278
|
"managedAreasInsurancePolicy": {
|
|
@@ -1278,7 +1281,7 @@
|
|
|
1278
1281
|
"enum": [
|
|
1279
1282
|
"Enclosed",
|
|
1280
1283
|
"To follow",
|
|
1281
|
-
"
|
|
1284
|
+
"Not applicable"
|
|
1282
1285
|
]
|
|
1283
1286
|
},
|
|
1284
1287
|
"serviceChargeEstimatesCurrent": {
|
|
@@ -1287,7 +1290,7 @@
|
|
|
1287
1290
|
"enum": [
|
|
1288
1291
|
"Enclosed",
|
|
1289
1292
|
"To follow",
|
|
1290
|
-
"
|
|
1293
|
+
"Not applicable"
|
|
1291
1294
|
]
|
|
1292
1295
|
},
|
|
1293
1296
|
"serviceChargeEstimatesPrevious": {
|
|
@@ -1296,7 +1299,7 @@
|
|
|
1296
1299
|
"enum": [
|
|
1297
1300
|
"Enclosed",
|
|
1298
1301
|
"To follow",
|
|
1299
|
-
"
|
|
1302
|
+
"Not applicable"
|
|
1300
1303
|
]
|
|
1301
1304
|
},
|
|
1302
1305
|
"proposedWorksNotices": {
|
|
@@ -1305,7 +1308,7 @@
|
|
|
1305
1308
|
"enum": [
|
|
1306
1309
|
"Enclosed",
|
|
1307
1310
|
"To follow",
|
|
1308
|
-
"
|
|
1311
|
+
"Not applicable"
|
|
1309
1312
|
]
|
|
1310
1313
|
},
|
|
1311
1314
|
"additionalRegulationsNotInTransfer": {
|
|
@@ -1314,7 +1317,7 @@
|
|
|
1314
1317
|
"enum": [
|
|
1315
1318
|
"Enclosed",
|
|
1316
1319
|
"To follow",
|
|
1317
|
-
"
|
|
1320
|
+
"Not applicable"
|
|
1318
1321
|
]
|
|
1319
1322
|
},
|
|
1320
1323
|
"deedOfCovenant": {
|
|
@@ -1324,7 +1327,7 @@
|
|
|
1324
1327
|
"Enclosed",
|
|
1325
1328
|
"To follow",
|
|
1326
1329
|
"Buyer's lawyer to draft",
|
|
1327
|
-
"
|
|
1330
|
+
"Not applicable"
|
|
1328
1331
|
]
|
|
1329
1332
|
},
|
|
1330
1333
|
"certificateOfCompliance": {
|
|
@@ -1334,7 +1337,7 @@
|
|
|
1334
1337
|
"Enclosed",
|
|
1335
1338
|
"To follow",
|
|
1336
1339
|
"Buyer's lawyer to draft",
|
|
1337
|
-
"
|
|
1340
|
+
"Not applicable"
|
|
1338
1341
|
]
|
|
1339
1342
|
},
|
|
1340
1343
|
"permissionToAlter": {
|
|
@@ -1343,7 +1346,7 @@
|
|
|
1343
1346
|
"enum": [
|
|
1344
1347
|
"Enclosed",
|
|
1345
1348
|
"To follow",
|
|
1346
|
-
"
|
|
1349
|
+
"Not applicable"
|
|
1347
1350
|
]
|
|
1348
1351
|
},
|
|
1349
1352
|
"noticesServedOnOwner": {
|
|
@@ -1352,7 +1355,7 @@
|
|
|
1352
1355
|
"enum": [
|
|
1353
1356
|
"Enclosed",
|
|
1354
1357
|
"To follow",
|
|
1355
|
-
"
|
|
1358
|
+
"Not applicable"
|
|
1356
1359
|
]
|
|
1357
1360
|
},
|
|
1358
1361
|
"asbestosSurvey": {
|
|
@@ -1361,7 +1364,7 @@
|
|
|
1361
1364
|
"enum": [
|
|
1362
1365
|
"Enclosed",
|
|
1363
1366
|
"To follow",
|
|
1364
|
-
"
|
|
1367
|
+
"Not applicable"
|
|
1365
1368
|
]
|
|
1366
1369
|
},
|
|
1367
1370
|
"managedAreaFireRiskAssessment": {
|
|
@@ -1370,7 +1373,7 @@
|
|
|
1370
1373
|
"enum": [
|
|
1371
1374
|
"Enclosed",
|
|
1372
1375
|
"To follow",
|
|
1373
|
-
"
|
|
1376
|
+
"Not applicable"
|
|
1374
1377
|
]
|
|
1375
1378
|
},
|
|
1376
1379
|
"memorandumAndArticles": {
|
|
@@ -1379,7 +1382,7 @@
|
|
|
1379
1382
|
"enum": [
|
|
1380
1383
|
"Enclosed",
|
|
1381
1384
|
"To follow",
|
|
1382
|
-
"
|
|
1385
|
+
"Not applicable"
|
|
1383
1386
|
]
|
|
1384
1387
|
},
|
|
1385
1388
|
"managementCompanyAGMMinutes": {
|
|
@@ -1388,7 +1391,7 @@
|
|
|
1388
1391
|
"enum": [
|
|
1389
1392
|
"Enclosed",
|
|
1390
1393
|
"To follow",
|
|
1391
|
-
"
|
|
1394
|
+
"Not applicable"
|
|
1392
1395
|
]
|
|
1393
1396
|
},
|
|
1394
1397
|
"feesForAdminServices": {
|
|
@@ -1397,7 +1400,7 @@
|
|
|
1397
1400
|
"enum": [
|
|
1398
1401
|
"Enclosed",
|
|
1399
1402
|
"To follow",
|
|
1400
|
-
"
|
|
1403
|
+
"Not applicable"
|
|
1401
1404
|
]
|
|
1402
1405
|
}
|
|
1403
1406
|
}
|
|
@@ -1420,12 +1423,18 @@
|
|
|
1420
1423
|
"contacts": {
|
|
1421
1424
|
"properties": {
|
|
1422
1425
|
"rentchargeOwner": {
|
|
1423
|
-
"
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1426
|
+
"properties": {
|
|
1427
|
+
"contact": {
|
|
1428
|
+
"properties": {
|
|
1429
|
+
"address": {
|
|
1430
|
+
"required": [
|
|
1431
|
+
"line1",
|
|
1432
|
+
"postcode"
|
|
1433
|
+
]
|
|
1434
|
+
}
|
|
1435
|
+
}
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1429
1438
|
},
|
|
1430
1439
|
"managingAgent": {
|
|
1431
1440
|
"fme1Ref": "1.3",
|
|
@@ -1478,7 +1487,7 @@
|
|
|
1478
1487
|
"Landlord",
|
|
1479
1488
|
"Management Company",
|
|
1480
1489
|
"Managing Agent",
|
|
1481
|
-
"
|
|
1490
|
+
"Not applicable"
|
|
1482
1491
|
]
|
|
1483
1492
|
},
|
|
1484
1493
|
"dealsWithDayToDayMaintenanceOfManagedArea": {
|
|
@@ -1490,7 +1499,7 @@
|
|
|
1490
1499
|
"Management Company",
|
|
1491
1500
|
"Managing Agent",
|
|
1492
1501
|
"the Lessees",
|
|
1493
|
-
"
|
|
1502
|
+
"Not applicable"
|
|
1494
1503
|
]
|
|
1495
1504
|
},
|
|
1496
1505
|
"organisesBuildingInsurance": {
|
|
@@ -1502,7 +1511,7 @@
|
|
|
1502
1511
|
"Management Company",
|
|
1503
1512
|
"Managing Agent",
|
|
1504
1513
|
"the Lessees",
|
|
1505
|
-
"
|
|
1514
|
+
"Not applicable"
|
|
1506
1515
|
]
|
|
1507
1516
|
}
|
|
1508
1517
|
}
|