@pdtf/schemas 3.6.0-36 → 3.6.0-38
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/README.md +52 -33
- package/docs/sef25-extensions-ui-spec.md +258 -49
- package/index.js +9 -0
- package/package.json +1 -1
- package/src/schemas/v3/combined.json +271 -27
- package/src/schemas/v3/compactSkeleton.txt +16 -2
- package/src/schemas/v3/overlays/extensions/as.json +4 -2
- package/src/schemas/v3/overlays/extensions/dk.json +32 -0
- package/src/schemas/v3/overlays/extensions/dr.json +4 -2
- package/src/schemas/v3/overlays/extensions/er.json +4 -2
- package/src/schemas/v3/overlays/extensions/fd.json +6 -3
- package/src/schemas/v3/overlays/extensions/hi.json +6 -3
- package/src/schemas/v3/overlays/extensions/hs.json +4 -2
- package/src/schemas/v3/overlays/extensions/ic.json +59 -0
- package/src/schemas/v3/overlays/extensions/jk.json +4 -2
- package/src/schemas/v3/overlays/extensions/la.json +4 -2
- package/src/schemas/v3/overlays/extensions/lc.json +64 -0
- package/src/schemas/v3/overlays/extensions/ma.json +6 -3
- package/src/schemas/v3/overlays/extensions/mc.json +4 -2
- package/src/schemas/v3/overlays/extensions/mi.json +55 -0
- package/src/schemas/v3/overlays/extensions/nd.json +43 -0
- package/src/schemas/v3/overlays/extensions/oa.json +4 -2
- package/src/schemas/v3/overlays/extensions/oc.json +4 -2
- package/src/schemas/v3/overlays/extensions/pc.json +2 -1
- package/src/schemas/v3/overlays/extensions/ph.json +11 -14
- package/src/schemas/v3/overlays/extensions/rw.json +68 -0
- package/src/schemas/v3/overlays/extensions/sb.json +4 -2
- package/src/schemas/v3/overlays/extensions/sc.json +34 -10
- package/src/schemas/v3/overlays/extensions/sd.json +63 -0
- package/src/schemas/v3/overlays/extensions/sf.json +4 -2
- package/src/schemas/v3/overlays/extensions/sl.json +4 -2
- package/src/schemas/v3/overlays/extensions/tf.json +6 -3
- package/src/schemas/v3/overlays/extensions/tr.json +73 -0
- package/src/schemas/v3/overlays/extensions/wg.json +250 -0
- package/src/schemas/v3/overlays/sef25.json +717 -10
- package/src/schemas/v3/pdtf-transaction.json +232 -10
- package/src/schemas/v3/skeleton.json +24 -5
- package/src/tests/v3/extensionOverlays.test.js +411 -3
- package/src/utils/extractExtensionOverlays.js +116 -4
|
@@ -1677,6 +1677,45 @@
|
|
|
1677
1677
|
}
|
|
1678
1678
|
]
|
|
1679
1679
|
},
|
|
1680
|
+
"titleRestrictions": {
|
|
1681
|
+
"title": "Are there any known restrictions on the title?",
|
|
1682
|
+
"type": "object",
|
|
1683
|
+
"properties": {
|
|
1684
|
+
"yesNo": {
|
|
1685
|
+
"type": "string",
|
|
1686
|
+
"title": "",
|
|
1687
|
+
"enum": [
|
|
1688
|
+
"Yes",
|
|
1689
|
+
"No"
|
|
1690
|
+
]
|
|
1691
|
+
}
|
|
1692
|
+
},
|
|
1693
|
+
"oneOf": [
|
|
1694
|
+
{
|
|
1695
|
+
"properties": {
|
|
1696
|
+
"yesNo": {
|
|
1697
|
+
"enum": [
|
|
1698
|
+
"No"
|
|
1699
|
+
]
|
|
1700
|
+
}
|
|
1701
|
+
}
|
|
1702
|
+
},
|
|
1703
|
+
{
|
|
1704
|
+
"properties": {
|
|
1705
|
+
"yesNo": {
|
|
1706
|
+
"enum": [
|
|
1707
|
+
"Yes"
|
|
1708
|
+
]
|
|
1709
|
+
},
|
|
1710
|
+
"details": {
|
|
1711
|
+
"title": "Details",
|
|
1712
|
+
"type": "string",
|
|
1713
|
+
"minLength": 1
|
|
1714
|
+
}
|
|
1715
|
+
}
|
|
1716
|
+
}
|
|
1717
|
+
]
|
|
1718
|
+
},
|
|
1680
1719
|
"wholeFreeholdForSale": {
|
|
1681
1720
|
"title": "Is the entire freehold being sold?",
|
|
1682
1721
|
"type": "object",
|
|
@@ -8430,6 +8469,20 @@
|
|
|
8430
8469
|
}
|
|
8431
8470
|
]
|
|
8432
8471
|
},
|
|
8472
|
+
"droppedKerbAccess": {
|
|
8473
|
+
"title": "Is there a dropped kerb access to parking?",
|
|
8474
|
+
"type": "object",
|
|
8475
|
+
"properties": {
|
|
8476
|
+
"yesNo": {
|
|
8477
|
+
"type": "string",
|
|
8478
|
+
"title": "",
|
|
8479
|
+
"enum": [
|
|
8480
|
+
"Yes",
|
|
8481
|
+
"No"
|
|
8482
|
+
]
|
|
8483
|
+
}
|
|
8484
|
+
}
|
|
8485
|
+
},
|
|
8433
8486
|
"electricVehicleChargingPoint": {
|
|
8434
8487
|
"title": "Is there an electric vehicle charging point belonging to the property?",
|
|
8435
8488
|
"type": "object",
|
|
@@ -18009,6 +18062,49 @@
|
|
|
18009
18062
|
"Attached",
|
|
18010
18063
|
"To follow"
|
|
18011
18064
|
]
|
|
18065
|
+
},
|
|
18066
|
+
"associatedCost": {
|
|
18067
|
+
"title": "Associated costs of leased solar panels",
|
|
18068
|
+
"type": "object",
|
|
18069
|
+
"properties": {
|
|
18070
|
+
"frequency": {
|
|
18071
|
+
"title": "Payment frequency if costs are associated",
|
|
18072
|
+
"type": "string",
|
|
18073
|
+
"enum": [
|
|
18074
|
+
"Per month",
|
|
18075
|
+
"Per year",
|
|
18076
|
+
"Not applicable"
|
|
18077
|
+
]
|
|
18078
|
+
}
|
|
18079
|
+
},
|
|
18080
|
+
"oneOf": [
|
|
18081
|
+
{
|
|
18082
|
+
"properties": {
|
|
18083
|
+
"frequency": {
|
|
18084
|
+
"enum": [
|
|
18085
|
+
"Not applicable"
|
|
18086
|
+
]
|
|
18087
|
+
}
|
|
18088
|
+
}
|
|
18089
|
+
},
|
|
18090
|
+
{
|
|
18091
|
+
"properties": {
|
|
18092
|
+
"frequency": {
|
|
18093
|
+
"enum": [
|
|
18094
|
+
"Per month",
|
|
18095
|
+
"Per year"
|
|
18096
|
+
]
|
|
18097
|
+
},
|
|
18098
|
+
"amount": {
|
|
18099
|
+
"title": "Associated costs of leased solar panels if any (£)",
|
|
18100
|
+
"type": "number"
|
|
18101
|
+
}
|
|
18102
|
+
},
|
|
18103
|
+
"required": [
|
|
18104
|
+
"amount"
|
|
18105
|
+
]
|
|
18106
|
+
}
|
|
18107
|
+
]
|
|
18012
18108
|
}
|
|
18013
18109
|
}
|
|
18014
18110
|
}
|
|
@@ -18559,10 +18655,6 @@
|
|
|
18559
18655
|
"title": "Please provide the associated costs for water supply",
|
|
18560
18656
|
"type": "object",
|
|
18561
18657
|
"properties": {
|
|
18562
|
-
"amount": {
|
|
18563
|
-
"title": "Associated costs of supply if any (£)",
|
|
18564
|
-
"type": "number"
|
|
18565
|
-
},
|
|
18566
18658
|
"frequency": {
|
|
18567
18659
|
"title": "Payment frequency if costs are associated",
|
|
18568
18660
|
"type": "string",
|
|
@@ -18572,7 +18664,35 @@
|
|
|
18572
18664
|
"Not applicable"
|
|
18573
18665
|
]
|
|
18574
18666
|
}
|
|
18575
|
-
}
|
|
18667
|
+
},
|
|
18668
|
+
"oneOf": [
|
|
18669
|
+
{
|
|
18670
|
+
"properties": {
|
|
18671
|
+
"frequency": {
|
|
18672
|
+
"enum": [
|
|
18673
|
+
"Not applicable"
|
|
18674
|
+
]
|
|
18675
|
+
}
|
|
18676
|
+
}
|
|
18677
|
+
},
|
|
18678
|
+
{
|
|
18679
|
+
"properties": {
|
|
18680
|
+
"frequency": {
|
|
18681
|
+
"enum": [
|
|
18682
|
+
"Per month",
|
|
18683
|
+
"Per year"
|
|
18684
|
+
]
|
|
18685
|
+
},
|
|
18686
|
+
"amount": {
|
|
18687
|
+
"title": "Associated costs of supply if any (£)",
|
|
18688
|
+
"type": "number"
|
|
18689
|
+
}
|
|
18690
|
+
},
|
|
18691
|
+
"required": [
|
|
18692
|
+
"amount"
|
|
18693
|
+
]
|
|
18694
|
+
}
|
|
18695
|
+
]
|
|
18576
18696
|
}
|
|
18577
18697
|
}
|
|
18578
18698
|
},
|
|
@@ -19291,10 +19411,6 @@
|
|
|
19291
19411
|
"title": "Associated costs for sewerage",
|
|
19292
19412
|
"type": "object",
|
|
19293
19413
|
"properties": {
|
|
19294
|
-
"amount": {
|
|
19295
|
-
"title": "Associated costs for sewerage if any (£)",
|
|
19296
|
-
"type": "number"
|
|
19297
|
-
},
|
|
19298
19414
|
"frequency": {
|
|
19299
19415
|
"title": "Payment frequency if costs are associated",
|
|
19300
19416
|
"type": "string",
|
|
@@ -19304,7 +19420,35 @@
|
|
|
19304
19420
|
"Not applicable"
|
|
19305
19421
|
]
|
|
19306
19422
|
}
|
|
19307
|
-
}
|
|
19423
|
+
},
|
|
19424
|
+
"oneOf": [
|
|
19425
|
+
{
|
|
19426
|
+
"properties": {
|
|
19427
|
+
"frequency": {
|
|
19428
|
+
"enum": [
|
|
19429
|
+
"Not applicable"
|
|
19430
|
+
]
|
|
19431
|
+
}
|
|
19432
|
+
}
|
|
19433
|
+
},
|
|
19434
|
+
{
|
|
19435
|
+
"properties": {
|
|
19436
|
+
"frequency": {
|
|
19437
|
+
"enum": [
|
|
19438
|
+
"Per month",
|
|
19439
|
+
"Per year"
|
|
19440
|
+
]
|
|
19441
|
+
},
|
|
19442
|
+
"amount": {
|
|
19443
|
+
"title": "Associated costs for sewerage if any (£)",
|
|
19444
|
+
"type": "number"
|
|
19445
|
+
}
|
|
19446
|
+
},
|
|
19447
|
+
"required": [
|
|
19448
|
+
"amount"
|
|
19449
|
+
]
|
|
19450
|
+
}
|
|
19451
|
+
]
|
|
19308
19452
|
}
|
|
19309
19453
|
}
|
|
19310
19454
|
}
|
|
@@ -20952,6 +21096,45 @@
|
|
|
20952
21096
|
}
|
|
20953
21097
|
]
|
|
20954
21098
|
},
|
|
21099
|
+
"privateRightOfWay": {
|
|
21100
|
+
"title": "A private right of way through and/or across your house, buildings or land",
|
|
21101
|
+
"type": "object",
|
|
21102
|
+
"properties": {
|
|
21103
|
+
"yesNo": {
|
|
21104
|
+
"type": "string",
|
|
21105
|
+
"title": "",
|
|
21106
|
+
"enum": [
|
|
21107
|
+
"Yes",
|
|
21108
|
+
"No"
|
|
21109
|
+
]
|
|
21110
|
+
}
|
|
21111
|
+
},
|
|
21112
|
+
"oneOf": [
|
|
21113
|
+
{
|
|
21114
|
+
"properties": {
|
|
21115
|
+
"yesNo": {
|
|
21116
|
+
"enum": [
|
|
21117
|
+
"No"
|
|
21118
|
+
]
|
|
21119
|
+
}
|
|
21120
|
+
}
|
|
21121
|
+
},
|
|
21122
|
+
{
|
|
21123
|
+
"properties": {
|
|
21124
|
+
"yesNo": {
|
|
21125
|
+
"enum": [
|
|
21126
|
+
"Yes"
|
|
21127
|
+
]
|
|
21128
|
+
},
|
|
21129
|
+
"details": {
|
|
21130
|
+
"title": "Please provide details",
|
|
21131
|
+
"type": "string",
|
|
21132
|
+
"minLength": 1
|
|
21133
|
+
}
|
|
21134
|
+
}
|
|
21135
|
+
}
|
|
21136
|
+
]
|
|
21137
|
+
},
|
|
20955
21138
|
"rightsOfLight": {
|
|
20956
21139
|
"title": "Rights of light",
|
|
20957
21140
|
"type": "object",
|
|
@@ -21600,6 +21783,45 @@
|
|
|
21600
21783
|
}
|
|
21601
21784
|
}
|
|
21602
21785
|
},
|
|
21786
|
+
"stormFireFloodDamage": {
|
|
21787
|
+
"title": "Has the property ever suffered storm, fire or flood damage?",
|
|
21788
|
+
"type": "object",
|
|
21789
|
+
"properties": {
|
|
21790
|
+
"yesNo": {
|
|
21791
|
+
"type": "string",
|
|
21792
|
+
"title": "",
|
|
21793
|
+
"enum": [
|
|
21794
|
+
"Yes",
|
|
21795
|
+
"No"
|
|
21796
|
+
]
|
|
21797
|
+
}
|
|
21798
|
+
},
|
|
21799
|
+
"oneOf": [
|
|
21800
|
+
{
|
|
21801
|
+
"properties": {
|
|
21802
|
+
"yesNo": {
|
|
21803
|
+
"enum": [
|
|
21804
|
+
"No"
|
|
21805
|
+
]
|
|
21806
|
+
}
|
|
21807
|
+
}
|
|
21808
|
+
},
|
|
21809
|
+
{
|
|
21810
|
+
"properties": {
|
|
21811
|
+
"yesNo": {
|
|
21812
|
+
"enum": [
|
|
21813
|
+
"Yes"
|
|
21814
|
+
]
|
|
21815
|
+
},
|
|
21816
|
+
"details": {
|
|
21817
|
+
"title": "Please provide details",
|
|
21818
|
+
"type": "string",
|
|
21819
|
+
"minLength": 1
|
|
21820
|
+
}
|
|
21821
|
+
}
|
|
21822
|
+
}
|
|
21823
|
+
]
|
|
21824
|
+
},
|
|
21603
21825
|
"radon": {
|
|
21604
21826
|
"title": "Radon",
|
|
21605
21827
|
"type": "object",
|
|
@@ -289,6 +289,10 @@
|
|
|
289
289
|
"details": "string",
|
|
290
290
|
"amount": "number"
|
|
291
291
|
},
|
|
292
|
+
"titleRestrictions": {
|
|
293
|
+
"yesNo": "variant",
|
|
294
|
+
"details": "string"
|
|
295
|
+
},
|
|
292
296
|
"wholeFreeholdForSale": {
|
|
293
297
|
"yesNo": "variant",
|
|
294
298
|
"details": "string"
|
|
@@ -1229,6 +1233,9 @@
|
|
|
1229
1233
|
"yesNo": "variant",
|
|
1230
1234
|
"details": "string"
|
|
1231
1235
|
},
|
|
1236
|
+
"droppedKerbAccess": {
|
|
1237
|
+
"yesNo": "string"
|
|
1238
|
+
},
|
|
1232
1239
|
"electricVehicleChargingPoint": {
|
|
1233
1240
|
"yesNo": "variant",
|
|
1234
1241
|
"chargerDetails": "string",
|
|
@@ -2386,7 +2393,11 @@
|
|
|
2386
2393
|
"panelsOwnedOutright": {
|
|
2387
2394
|
"yesNo": "variant",
|
|
2388
2395
|
"details": "string",
|
|
2389
|
-
"attachments": "string"
|
|
2396
|
+
"attachments": "string",
|
|
2397
|
+
"associatedCost": {
|
|
2398
|
+
"frequency": "variant",
|
|
2399
|
+
"amount": "number"
|
|
2400
|
+
}
|
|
2390
2401
|
},
|
|
2391
2402
|
"panelProviderLease": {
|
|
2392
2403
|
"yesNo": "variant",
|
|
@@ -2449,8 +2460,8 @@
|
|
|
2449
2460
|
"yesNo": "variant",
|
|
2450
2461
|
"details": "string",
|
|
2451
2462
|
"associatedCost": {
|
|
2452
|
-
"
|
|
2453
|
-
"
|
|
2463
|
+
"frequency": "variant",
|
|
2464
|
+
"amount": "number"
|
|
2454
2465
|
},
|
|
2455
2466
|
"supplier": "string",
|
|
2456
2467
|
"stopcock": {
|
|
@@ -2523,8 +2534,8 @@
|
|
|
2523
2534
|
"details": "string"
|
|
2524
2535
|
},
|
|
2525
2536
|
"associatedCost": {
|
|
2526
|
-
"
|
|
2527
|
-
"
|
|
2537
|
+
"frequency": "variant",
|
|
2538
|
+
"amount": "number"
|
|
2528
2539
|
}
|
|
2529
2540
|
},
|
|
2530
2541
|
"surfaceDrainageCharge": {
|
|
@@ -2736,6 +2747,10 @@
|
|
|
2736
2747
|
"details": "string",
|
|
2737
2748
|
"attachments": "string"
|
|
2738
2749
|
},
|
|
2750
|
+
"privateRightOfWay": {
|
|
2751
|
+
"yesNo": "variant",
|
|
2752
|
+
"details": "string"
|
|
2753
|
+
},
|
|
2739
2754
|
"rightsOfLight": {
|
|
2740
2755
|
"yesNo": "variant",
|
|
2741
2756
|
"details": "string"
|
|
@@ -2815,6 +2830,10 @@
|
|
|
2815
2830
|
"details": "string"
|
|
2816
2831
|
}
|
|
2817
2832
|
},
|
|
2833
|
+
"stormFireFloodDamage": {
|
|
2834
|
+
"yesNo": "variant",
|
|
2835
|
+
"details": "string"
|
|
2836
|
+
},
|
|
2818
2837
|
"radon": {
|
|
2819
2838
|
"radonRisk": {
|
|
2820
2839
|
"riskIndicator": "string",
|