@pdtf/schemas 2.3.0-3 → 3.0.0-1
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 +37 -81
- package/package.json +1 -1
- package/src/examples/v2/exampleTransaction.json +6 -20
- package/src/examples/v3/exampleTransaction.json +900 -0
- package/src/mappings/SendPropertyDetailsRequestSchema.json +1588 -0
- package/src/mappings/adf.js +1 -1
- package/src/schemas/v2/combined.json +13238 -12633
- package/src/schemas/v2/overlays/baspi.json +13 -13
- package/src/schemas/v2/overlays/con29DW.json +771 -762
- package/src/schemas/v2/overlays/con29R.json +3052 -3073
- package/src/schemas/v2/overlays/llc1.json +12 -33
- package/src/schemas/v2/overlays/piq.json +1 -1
- package/src/schemas/v2/overlays/rds.json +33 -1
- package/src/schemas/v2/overlays/ta6.json +3 -3
- package/src/schemas/v2/pdtf-transaction.json +13762 -13004
- package/src/schemas/v2/skeleton.json +1347 -1156
- package/src/schemas/v3/combined.json +38311 -0
- package/src/schemas/v3/overlays/baspi.json +9812 -0
- package/src/schemas/v3/overlays/con29DW.json +794 -0
- package/src/schemas/v3/overlays/con29R.json +3094 -0
- package/src/schemas/v3/overlays/fme1.json +1444 -0
- package/src/schemas/v3/overlays/llc1.json +25 -0
- package/src/schemas/v3/overlays/lpe1.json +2463 -0
- package/src/schemas/v3/overlays/nts.json +1874 -0
- package/src/schemas/v3/overlays/oc1.json +2799 -0
- package/src/schemas/v3/overlays/piq.json +3931 -0
- package/src/schemas/v3/overlays/rds.json +4086 -0
- package/src/schemas/v3/overlays/ta10.json +6521 -0
- package/src/schemas/v3/overlays/ta6.json +5285 -0
- package/src/schemas/v3/overlays/ta7.json +1399 -0
- package/src/schemas/v3/pdtf-transaction.json +34771 -0
- package/src/schemas/v3/skeleton.json +3986 -0
- package/src/tests/v2/transactionSchema.test.js +26 -16
- package/src/tests/v3/transactionSchema.test.js +350 -0
- package/src/tests/v3/verifiedClaimsValidator.test.js +128 -0
- package/src/utils/extractOverlay.js +7 -7
- package/src/utils/hmlrLLC1.json +0 -275
|
@@ -4,40 +4,19 @@
|
|
|
4
4
|
"properties": {
|
|
5
5
|
"propertyPack": {
|
|
6
6
|
"properties": {
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"localLandCharges"
|
|
19
|
-
],
|
|
20
|
-
"properties": {
|
|
21
|
-
"localLandCharges": {
|
|
22
|
-
"items": {
|
|
23
|
-
"required": [
|
|
24
|
-
"part",
|
|
25
|
-
"partTitle",
|
|
26
|
-
"chargeDescription",
|
|
27
|
-
"originatingAuthority",
|
|
28
|
-
"inspectionAddress",
|
|
29
|
-
"registrationDate"
|
|
30
|
-
]
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
]
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
7
|
+
"localSearches": {
|
|
8
|
+
"properties": {
|
|
9
|
+
"localLandCharges": {
|
|
10
|
+
"items": {
|
|
11
|
+
"required": [
|
|
12
|
+
"HMLRReference",
|
|
13
|
+
"RegistrationDate",
|
|
14
|
+
"Category",
|
|
15
|
+
"Location",
|
|
16
|
+
"LocationDominantBuilding"
|
|
17
|
+
]
|
|
39
18
|
}
|
|
40
|
-
|
|
19
|
+
}
|
|
41
20
|
}
|
|
42
21
|
}
|
|
43
22
|
}
|
|
@@ -3484,7 +3484,7 @@
|
|
|
3484
3484
|
"properties": {
|
|
3485
3485
|
"hasValidGuaranteesOrWarranties": {
|
|
3486
3486
|
"piqRef": "B5.1",
|
|
3487
|
-
"title": "Are there any valid guarantees or
|
|
3487
|
+
"title": "Are there any valid guarantees, warranties or indemnity insurances relating to this property?",
|
|
3488
3488
|
"enum": [
|
|
3489
3489
|
"Yes",
|
|
3490
3490
|
"No"
|
|
@@ -2756,6 +2756,38 @@
|
|
|
2756
2756
|
}
|
|
2757
2757
|
}
|
|
2758
2758
|
},
|
|
2759
|
+
"contaminatedLand": {
|
|
2760
|
+
"rdsRef": "Sustainability/Environmental|Natural|Situational",
|
|
2761
|
+
"title": "Contaminated land"
|
|
2762
|
+
},
|
|
2763
|
+
"groundStability": {
|
|
2764
|
+
"rdsRef": "Sustainability/Environmental|Natural|Situational",
|
|
2765
|
+
"title": "Ground stability"
|
|
2766
|
+
},
|
|
2767
|
+
"energy": {
|
|
2768
|
+
"rdsRef": "Sustainability/Environmental|Natural|Situational",
|
|
2769
|
+
"title": "Energy"
|
|
2770
|
+
},
|
|
2771
|
+
"transportation": {
|
|
2772
|
+
"rdsRef": "Sustainability/Environmental|Natural|Situational",
|
|
2773
|
+
"title": "Transportation"
|
|
2774
|
+
},
|
|
2775
|
+
"planning": {
|
|
2776
|
+
"rdsRef": "Sustainability/Environmental|Natural|Situational",
|
|
2777
|
+
"title": "Planning"
|
|
2778
|
+
},
|
|
2779
|
+
"climate": {
|
|
2780
|
+
"rdsRef": "Sustainability/Environmental|Natural|Situational",
|
|
2781
|
+
"title": "Climate risk"
|
|
2782
|
+
},
|
|
2783
|
+
"coalMining": {
|
|
2784
|
+
"rdsRef": "Sustainability/Environmental|Natural|Situational",
|
|
2785
|
+
"title": "Coal mining"
|
|
2786
|
+
},
|
|
2787
|
+
"nonCoalMining": {
|
|
2788
|
+
"rdsRef": "Sustainability/Environmental|Natural|Situational",
|
|
2789
|
+
"title": "Non-coal mining"
|
|
2790
|
+
},
|
|
2759
2791
|
"otherEnvironmental": {
|
|
2760
2792
|
"rdsRef": "Sustainability/Environmental|Natural|Situational",
|
|
2761
2793
|
"title": "To your knowledge, have there been any other environmental issues that affect the property or garden (for example, these could include air pollution, mining, sink holes, quarrying or fracking etc)?",
|
|
@@ -3471,7 +3503,7 @@
|
|
|
3471
3503
|
"properties": {
|
|
3472
3504
|
"hasValidGuaranteesOrWarranties": {
|
|
3473
3505
|
"rdsRef": "Certificates",
|
|
3474
|
-
"title": "Are there any valid guarantees or
|
|
3506
|
+
"title": "Are there any valid guarantees, warranties or indemnity insurances relating to this property?",
|
|
3475
3507
|
"enum": [
|
|
3476
3508
|
"Yes",
|
|
3477
3509
|
"No"
|
|
@@ -3261,7 +3261,7 @@
|
|
|
3261
3261
|
}
|
|
3262
3262
|
},
|
|
3263
3263
|
"rightsOfSupport": {
|
|
3264
|
-
"ta6Ref": "8.
|
|
3264
|
+
"ta6Ref": "8.4b",
|
|
3265
3265
|
"title": "Rights of support from ajoining properties",
|
|
3266
3266
|
"discriminator": {
|
|
3267
3267
|
"propertyName": "yesNo"
|
|
@@ -3339,7 +3339,7 @@
|
|
|
3339
3339
|
}
|
|
3340
3340
|
},
|
|
3341
3341
|
"rightsToTakeFromLand": {
|
|
3342
|
-
"ta6Ref": "8.
|
|
3342
|
+
"ta6Ref": "8.5c",
|
|
3343
3343
|
"title": "Other people's rights to take things from the land (such as timber, hay or fish)",
|
|
3344
3344
|
"discriminator": {
|
|
3345
3345
|
"propertyName": "yesNo"
|
|
@@ -5114,7 +5114,7 @@
|
|
|
5114
5114
|
"properties": {
|
|
5115
5115
|
"hasValidGuaranteesOrWarranties": {
|
|
5116
5116
|
"ta6Ref": "5.1",
|
|
5117
|
-
"title": "Are there any valid guarantees or
|
|
5117
|
+
"title": "Are there any valid guarantees, warranties or indemnity insurances relating to this property?",
|
|
5118
5118
|
"enum": [
|
|
5119
5119
|
"Yes",
|
|
5120
5120
|
"No"
|