@pdtf/schemas 3.0.0-24 → 3.0.0-26
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 +1 -1
- package/src/examples/v3/exampleTransaction.json +61 -16
- package/src/schemas/v3/combined.json +660 -573
- package/src/schemas/v3/overlays/baspi.json +199 -190
- package/src/schemas/v3/overlays/lpe1.json +145 -118
- package/src/schemas/v3/overlays/piq.json +68 -72
- package/src/schemas/v3/overlays/rds.json +104 -108
- package/src/schemas/v3/overlays/ta6.json +85 -25
- package/src/schemas/v3/overlays/ta7.json +150 -95
- package/src/schemas/v3/pdtf-transaction.json +524 -480
- package/src/schemas/v3/skeleton.json +66 -60
- package/src/tests/v3/transactionSchema.test.js +1 -1
- package/src/utils/extractOverlay.js +5 -0
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"serviceCharge",
|
|
40
40
|
"buildingsInsurance",
|
|
41
41
|
"disputesAndEnfranchisement",
|
|
42
|
+
"buildingSafety",
|
|
42
43
|
"general",
|
|
43
44
|
"requiredDocuments",
|
|
44
45
|
"confirmation"
|
|
@@ -207,52 +208,6 @@
|
|
|
207
208
|
},
|
|
208
209
|
"serviceContactAssignments": {
|
|
209
210
|
"lpe1Ref": "1.6",
|
|
210
|
-
"discriminator": {
|
|
211
|
-
"propertyName": "dealsWithDayToDayMaintenanceOfBuilding"
|
|
212
|
-
},
|
|
213
|
-
"oneOf": [
|
|
214
|
-
{
|
|
215
|
-
"properties": {
|
|
216
|
-
"dealsWithDayToDayMaintenanceOfBuilding": {
|
|
217
|
-
"enum": [
|
|
218
|
-
"Landlord",
|
|
219
|
-
"Management Company",
|
|
220
|
-
"Managing Agent"
|
|
221
|
-
]
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
"properties": {
|
|
227
|
-
"dealsWithDayToDayMaintenanceOfBuilding": {
|
|
228
|
-
"enum": [
|
|
229
|
-
"the Lessees"
|
|
230
|
-
]
|
|
231
|
-
},
|
|
232
|
-
"lesseeInCharge": {
|
|
233
|
-
"lpe1Ref": "1.10.1",
|
|
234
|
-
"required": [
|
|
235
|
-
"nameOrOrganisation",
|
|
236
|
-
"line1",
|
|
237
|
-
"postcode",
|
|
238
|
-
"telephone",
|
|
239
|
-
"emailAddress"
|
|
240
|
-
],
|
|
241
|
-
"properties": {
|
|
242
|
-
"address": {
|
|
243
|
-
"required": [
|
|
244
|
-
"line1",
|
|
245
|
-
"postcode"
|
|
246
|
-
]
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
"required": [
|
|
252
|
-
"lesseeInCharge"
|
|
253
|
-
]
|
|
254
|
-
}
|
|
255
|
-
],
|
|
256
211
|
"required": [
|
|
257
212
|
"noticeOfAssignmentAndCharge",
|
|
258
213
|
"collectsGroundRent",
|
|
@@ -491,7 +446,56 @@
|
|
|
491
446
|
"lpe1Ref": "1.12"
|
|
492
447
|
},
|
|
493
448
|
"dealsWithDayToDayMaintenanceOfBuilding": {
|
|
494
|
-
"lpe1Ref": "1.10"
|
|
449
|
+
"lpe1Ref": "1.10",
|
|
450
|
+
"discriminator": {
|
|
451
|
+
"propertyName": "assignedContact"
|
|
452
|
+
},
|
|
453
|
+
"oneOf": [
|
|
454
|
+
{
|
|
455
|
+
"properties": {
|
|
456
|
+
"assignedContact": {
|
|
457
|
+
"enum": [
|
|
458
|
+
"Landlord",
|
|
459
|
+
"Management Company",
|
|
460
|
+
"Managing Agent"
|
|
461
|
+
]
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"properties": {
|
|
467
|
+
"assignedContact": {
|
|
468
|
+
"enum": [
|
|
469
|
+
"the Lessees"
|
|
470
|
+
]
|
|
471
|
+
},
|
|
472
|
+
"lesseeInCharge": {
|
|
473
|
+
"lpe1Ref": "1.10.1",
|
|
474
|
+
"required": [
|
|
475
|
+
"nameOrOrganisation",
|
|
476
|
+
"line1",
|
|
477
|
+
"postcode",
|
|
478
|
+
"telephone",
|
|
479
|
+
"emailAddress"
|
|
480
|
+
],
|
|
481
|
+
"properties": {
|
|
482
|
+
"address": {
|
|
483
|
+
"required": [
|
|
484
|
+
"line1",
|
|
485
|
+
"postcode"
|
|
486
|
+
]
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
},
|
|
491
|
+
"required": [
|
|
492
|
+
"lesseeInCharge"
|
|
493
|
+
]
|
|
494
|
+
}
|
|
495
|
+
],
|
|
496
|
+
"required": [
|
|
497
|
+
"assignedContact"
|
|
498
|
+
]
|
|
495
499
|
}
|
|
496
500
|
}
|
|
497
501
|
}
|
|
@@ -1283,53 +1287,6 @@
|
|
|
1283
1287
|
"required": [
|
|
1284
1288
|
"yesNo"
|
|
1285
1289
|
]
|
|
1286
|
-
},
|
|
1287
|
-
"deedOfCertificateServed": {
|
|
1288
|
-
"lpe1Ref": "4.14",
|
|
1289
|
-
"discriminator": {
|
|
1290
|
-
"propertyName": "yesNoNotApplicable"
|
|
1291
|
-
},
|
|
1292
|
-
"oneOf": [
|
|
1293
|
-
{
|
|
1294
|
-
"properties": {
|
|
1295
|
-
"yesNoNotApplicable": {
|
|
1296
|
-
"enum": [
|
|
1297
|
-
"Not applicable"
|
|
1298
|
-
]
|
|
1299
|
-
}
|
|
1300
|
-
}
|
|
1301
|
-
},
|
|
1302
|
-
{
|
|
1303
|
-
"properties": {
|
|
1304
|
-
"yesNoNotApplicable": {
|
|
1305
|
-
"enum": [
|
|
1306
|
-
"No"
|
|
1307
|
-
]
|
|
1308
|
-
}
|
|
1309
|
-
}
|
|
1310
|
-
},
|
|
1311
|
-
{
|
|
1312
|
-
"properties": {
|
|
1313
|
-
"yesNoNotApplicable": {
|
|
1314
|
-
"enum": [
|
|
1315
|
-
"Yes"
|
|
1316
|
-
]
|
|
1317
|
-
}
|
|
1318
|
-
},
|
|
1319
|
-
"required": [
|
|
1320
|
-
"sellerCompletedDeedOfCertificate"
|
|
1321
|
-
]
|
|
1322
|
-
}
|
|
1323
|
-
],
|
|
1324
|
-
"required": [
|
|
1325
|
-
"yesNoNotApplicable"
|
|
1326
|
-
]
|
|
1327
|
-
},
|
|
1328
|
-
"landlordsCertificateServed": {
|
|
1329
|
-
"lpe1Ref": "4.14",
|
|
1330
|
-
"required": [
|
|
1331
|
-
"yesNoNotApplicable"
|
|
1332
|
-
]
|
|
1333
1290
|
}
|
|
1334
1291
|
},
|
|
1335
1292
|
"required": [
|
|
@@ -1352,10 +1309,7 @@
|
|
|
1352
1309
|
"increaseInServiceChargeAnticipated",
|
|
1353
1310
|
"outstandingServiceChargeConsultation",
|
|
1354
1311
|
"japaneseKnotweedAffectingManagedAreas",
|
|
1355
|
-
"transferFees"
|
|
1356
|
-
"allPropertiesContribute",
|
|
1357
|
-
"deedOfCertificateServed",
|
|
1358
|
-
"landlordsCertificateServed"
|
|
1312
|
+
"transferFees"
|
|
1359
1313
|
]
|
|
1360
1314
|
}
|
|
1361
1315
|
],
|
|
@@ -1878,6 +1832,88 @@
|
|
|
1878
1832
|
}
|
|
1879
1833
|
}
|
|
1880
1834
|
},
|
|
1835
|
+
"buildingSafety": {
|
|
1836
|
+
"properties": {
|
|
1837
|
+
"deedOfCertificateServed": {
|
|
1838
|
+
"lpe1Ref": "4.14",
|
|
1839
|
+
"discriminator": {
|
|
1840
|
+
"propertyName": "yesNoNotApplicable"
|
|
1841
|
+
},
|
|
1842
|
+
"oneOf": [
|
|
1843
|
+
{
|
|
1844
|
+
"properties": {
|
|
1845
|
+
"yesNoNotApplicable": {
|
|
1846
|
+
"enum": [
|
|
1847
|
+
"Not applicable",
|
|
1848
|
+
"No"
|
|
1849
|
+
]
|
|
1850
|
+
}
|
|
1851
|
+
}
|
|
1852
|
+
},
|
|
1853
|
+
{
|
|
1854
|
+
"properties": {
|
|
1855
|
+
"yesNoNotApplicable": {
|
|
1856
|
+
"enum": [
|
|
1857
|
+
"Yes"
|
|
1858
|
+
]
|
|
1859
|
+
},
|
|
1860
|
+
"attachments": {
|
|
1861
|
+
"lpe1Ref": "8.19"
|
|
1862
|
+
}
|
|
1863
|
+
},
|
|
1864
|
+
"required": [
|
|
1865
|
+
"sellerCompletedDeedOfCertificate",
|
|
1866
|
+
"attachments"
|
|
1867
|
+
]
|
|
1868
|
+
}
|
|
1869
|
+
],
|
|
1870
|
+
"required": [
|
|
1871
|
+
"yesNoNotApplicable"
|
|
1872
|
+
],
|
|
1873
|
+
"properties": {
|
|
1874
|
+
"yesNoNotApplicable": {
|
|
1875
|
+
"lpe1Ref": "4.14"
|
|
1876
|
+
}
|
|
1877
|
+
}
|
|
1878
|
+
},
|
|
1879
|
+
"landlordsCertificateServed": {
|
|
1880
|
+
"lpe1Ref": "4.14",
|
|
1881
|
+
"discriminator": {
|
|
1882
|
+
"propertyName": "yesNoNotApplicable"
|
|
1883
|
+
},
|
|
1884
|
+
"oneOf": [
|
|
1885
|
+
{
|
|
1886
|
+
"properties": {
|
|
1887
|
+
"yesNoNotApplicable": {
|
|
1888
|
+
"enum": [
|
|
1889
|
+
"Not applicable",
|
|
1890
|
+
"No"
|
|
1891
|
+
]
|
|
1892
|
+
}
|
|
1893
|
+
}
|
|
1894
|
+
},
|
|
1895
|
+
{
|
|
1896
|
+
"properties": {
|
|
1897
|
+
"yesNoNotApplicable": {
|
|
1898
|
+
"enum": [
|
|
1899
|
+
"Yes"
|
|
1900
|
+
]
|
|
1901
|
+
},
|
|
1902
|
+
"attachments": {
|
|
1903
|
+
"lpe1Ref": "8.20"
|
|
1904
|
+
}
|
|
1905
|
+
},
|
|
1906
|
+
"required": [
|
|
1907
|
+
"attachments"
|
|
1908
|
+
]
|
|
1909
|
+
}
|
|
1910
|
+
],
|
|
1911
|
+
"required": [
|
|
1912
|
+
"yesNoNotApplicable"
|
|
1913
|
+
]
|
|
1914
|
+
}
|
|
1915
|
+
}
|
|
1916
|
+
},
|
|
1881
1917
|
"general": {
|
|
1882
1918
|
"lpe1Ref": "7",
|
|
1883
1919
|
"required": [
|
|
@@ -1886,7 +1922,6 @@
|
|
|
1886
1922
|
"sellerServedNoticeOnLandlord",
|
|
1887
1923
|
"sellerAwareOfNoticeOfCollectivePurchase",
|
|
1888
1924
|
"sellerAwareOfResponse",
|
|
1889
|
-
"isLeaseQualifying",
|
|
1890
1925
|
"otherPropertiesInManagedArea",
|
|
1891
1926
|
"leasedOnSimilarTerms",
|
|
1892
1927
|
"buildingKnownToBeHMO",
|
|
@@ -2077,13 +2112,14 @@
|
|
|
2077
2112
|
"noticesServedOnLessee",
|
|
2078
2113
|
"asbestosSurvey",
|
|
2079
2114
|
"managedAreaFireRiskAssessment",
|
|
2080
|
-
"
|
|
2115
|
+
"managementCompanyDocuments",
|
|
2081
2116
|
"managementCompanyAGMMinutes",
|
|
2082
|
-
"deedOfCertificate",
|
|
2083
|
-
"landlordsCertificate",
|
|
2084
2117
|
"enforcementNotices"
|
|
2085
2118
|
],
|
|
2086
2119
|
"properties": {
|
|
2120
|
+
"deedsOfVariation": {
|
|
2121
|
+
"lpe1Ref": "8.9"
|
|
2122
|
+
},
|
|
2087
2123
|
"serviceChargeAccounts": {
|
|
2088
2124
|
"lpe1Ref": "8.1"
|
|
2089
2125
|
},
|
|
@@ -2108,9 +2144,6 @@
|
|
|
2108
2144
|
"additionalRegulationsNotInLease": {
|
|
2109
2145
|
"lpe1Ref": "8.8"
|
|
2110
2146
|
},
|
|
2111
|
-
"deedsOfVariation": {
|
|
2112
|
-
"lpe1Ref": "8.9"
|
|
2113
|
-
},
|
|
2114
2147
|
"deedOfCovenant": {
|
|
2115
2148
|
"lpe1Ref": "8.10"
|
|
2116
2149
|
},
|
|
@@ -2135,23 +2168,17 @@
|
|
|
2135
2168
|
"managedAreaFireRiskAssessment": {
|
|
2136
2169
|
"lpe1Ref": "8.16"
|
|
2137
2170
|
},
|
|
2138
|
-
"
|
|
2139
|
-
"lpe1Ref": "8.17"
|
|
2171
|
+
"managementCompanyDocuments": {
|
|
2172
|
+
"lpe1Ref": "8.17",
|
|
2173
|
+
"properties": {
|
|
2174
|
+
"memorandumAndArticles": {
|
|
2175
|
+
"lpe1Ref": "8.17.1"
|
|
2176
|
+
}
|
|
2177
|
+
}
|
|
2140
2178
|
},
|
|
2141
2179
|
"managementCompanyAGMMinutes": {
|
|
2142
2180
|
"lpe1Ref": "8.18"
|
|
2143
2181
|
},
|
|
2144
|
-
"deedOfCertificate": {
|
|
2145
|
-
"lpe1Ref": "8.19"
|
|
2146
|
-
},
|
|
2147
|
-
"landlordsCertificate": {
|
|
2148
|
-
"lpe1Ref": "8.20",
|
|
2149
|
-
"enum": [
|
|
2150
|
-
"Enclosed",
|
|
2151
|
-
"To follow",
|
|
2152
|
-
"Not applicable"
|
|
2153
|
-
]
|
|
2154
|
-
},
|
|
2155
2182
|
"enforcementNotices": {
|
|
2156
2183
|
"lpe1Ref": "8.21"
|
|
2157
2184
|
}
|
|
@@ -1792,78 +1792,6 @@
|
|
|
1792
1792
|
}
|
|
1793
1793
|
]
|
|
1794
1794
|
},
|
|
1795
|
-
"boundaries": {
|
|
1796
|
-
"properties": {
|
|
1797
|
-
"partOutsideLegalOwnership": {
|
|
1798
|
-
"piqRef": "A9.1",
|
|
1799
|
-
"discriminator": {
|
|
1800
|
-
"propertyName": "yesNo"
|
|
1801
|
-
},
|
|
1802
|
-
"oneOf": [
|
|
1803
|
-
{
|
|
1804
|
-
"properties": {
|
|
1805
|
-
"yesNo": {
|
|
1806
|
-
"enum": [
|
|
1807
|
-
"No"
|
|
1808
|
-
]
|
|
1809
|
-
}
|
|
1810
|
-
}
|
|
1811
|
-
},
|
|
1812
|
-
{
|
|
1813
|
-
"properties": {
|
|
1814
|
-
"yesNo": {
|
|
1815
|
-
"enum": [
|
|
1816
|
-
"Yes"
|
|
1817
|
-
]
|
|
1818
|
-
},
|
|
1819
|
-
"details": {
|
|
1820
|
-
"piqRef": "A9.1.2"
|
|
1821
|
-
}
|
|
1822
|
-
}
|
|
1823
|
-
}
|
|
1824
|
-
],
|
|
1825
|
-
"properties": {
|
|
1826
|
-
"yesNo": {
|
|
1827
|
-
"piqRef": "A9.1.1"
|
|
1828
|
-
}
|
|
1829
|
-
}
|
|
1830
|
-
},
|
|
1831
|
-
"boundaryAlterationProposal": {
|
|
1832
|
-
"piqRef": "A9.2",
|
|
1833
|
-
"discriminator": {
|
|
1834
|
-
"propertyName": "yesNo"
|
|
1835
|
-
},
|
|
1836
|
-
"oneOf": [
|
|
1837
|
-
{
|
|
1838
|
-
"properties": {
|
|
1839
|
-
"yesNo": {
|
|
1840
|
-
"enum": [
|
|
1841
|
-
"No"
|
|
1842
|
-
]
|
|
1843
|
-
}
|
|
1844
|
-
}
|
|
1845
|
-
},
|
|
1846
|
-
{
|
|
1847
|
-
"properties": {
|
|
1848
|
-
"yesNo": {
|
|
1849
|
-
"enum": [
|
|
1850
|
-
"Yes"
|
|
1851
|
-
]
|
|
1852
|
-
},
|
|
1853
|
-
"details": {
|
|
1854
|
-
"piqRef": "A9.2.2"
|
|
1855
|
-
}
|
|
1856
|
-
}
|
|
1857
|
-
}
|
|
1858
|
-
],
|
|
1859
|
-
"properties": {
|
|
1860
|
-
"yesNo": {
|
|
1861
|
-
"piqRef": "A9.2.1"
|
|
1862
|
-
}
|
|
1863
|
-
}
|
|
1864
|
-
}
|
|
1865
|
-
}
|
|
1866
|
-
},
|
|
1867
1795
|
"rightsAndInformalArrangements": {
|
|
1868
1796
|
"properties": {
|
|
1869
1797
|
"sharedContributions": {
|
|
@@ -2500,6 +2428,74 @@
|
|
|
2500
2428
|
"legalBoundaries": {
|
|
2501
2429
|
"piqRef": "B3.1",
|
|
2502
2430
|
"properties": {
|
|
2431
|
+
"partOutsideLegalOwnership": {
|
|
2432
|
+
"piqRef": "A9.1",
|
|
2433
|
+
"discriminator": {
|
|
2434
|
+
"propertyName": "yesNo"
|
|
2435
|
+
},
|
|
2436
|
+
"oneOf": [
|
|
2437
|
+
{
|
|
2438
|
+
"properties": {
|
|
2439
|
+
"yesNo": {
|
|
2440
|
+
"enum": [
|
|
2441
|
+
"No"
|
|
2442
|
+
]
|
|
2443
|
+
}
|
|
2444
|
+
}
|
|
2445
|
+
},
|
|
2446
|
+
{
|
|
2447
|
+
"properties": {
|
|
2448
|
+
"yesNo": {
|
|
2449
|
+
"enum": [
|
|
2450
|
+
"Yes"
|
|
2451
|
+
]
|
|
2452
|
+
},
|
|
2453
|
+
"details": {
|
|
2454
|
+
"piqRef": "A9.1.2"
|
|
2455
|
+
}
|
|
2456
|
+
}
|
|
2457
|
+
}
|
|
2458
|
+
],
|
|
2459
|
+
"properties": {
|
|
2460
|
+
"yesNo": {
|
|
2461
|
+
"piqRef": "A9.1.1"
|
|
2462
|
+
}
|
|
2463
|
+
}
|
|
2464
|
+
},
|
|
2465
|
+
"boundaryAlterationProposal": {
|
|
2466
|
+
"piqRef": "A9.2",
|
|
2467
|
+
"discriminator": {
|
|
2468
|
+
"propertyName": "yesNo"
|
|
2469
|
+
},
|
|
2470
|
+
"oneOf": [
|
|
2471
|
+
{
|
|
2472
|
+
"properties": {
|
|
2473
|
+
"yesNo": {
|
|
2474
|
+
"enum": [
|
|
2475
|
+
"No"
|
|
2476
|
+
]
|
|
2477
|
+
}
|
|
2478
|
+
}
|
|
2479
|
+
},
|
|
2480
|
+
{
|
|
2481
|
+
"properties": {
|
|
2482
|
+
"yesNo": {
|
|
2483
|
+
"enum": [
|
|
2484
|
+
"Yes"
|
|
2485
|
+
]
|
|
2486
|
+
},
|
|
2487
|
+
"details": {
|
|
2488
|
+
"piqRef": "A9.2.2"
|
|
2489
|
+
}
|
|
2490
|
+
}
|
|
2491
|
+
}
|
|
2492
|
+
],
|
|
2493
|
+
"properties": {
|
|
2494
|
+
"yesNo": {
|
|
2495
|
+
"piqRef": "A9.2.1"
|
|
2496
|
+
}
|
|
2497
|
+
}
|
|
2498
|
+
},
|
|
2503
2499
|
"ownership": {
|
|
2504
2500
|
"oneOf": [
|
|
2505
2501
|
{
|