@pdtf/schemas 1.1.2 → 2.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 +86 -19
- package/package.json +5 -3
- package/src/examples/v2/exampleTransaction.json +943 -0
- package/src/schemas/v1/freehold-information.json +2051 -0
- package/src/schemas/v1/material-facts.json +3 -3
- package/src/schemas/v2/baspiNotes.html +102 -0
- package/src/schemas/v2/combined.json +27846 -0
- package/src/schemas/v2/core.json +26224 -0
- package/src/schemas/v2/merged.json +28693 -0
- package/src/schemas/v2/overlays/baspi.json +8965 -0
- package/src/schemas/v2/overlays/con29DW.json +656 -0
- package/src/schemas/v2/overlays/con29R.json +3115 -0
- package/src/schemas/v2/overlays/fme1.json +1610 -0
- package/src/schemas/v2/overlays/llc1.json +46 -0
- package/src/schemas/v2/overlays/lpe1.json +2419 -0
- package/src/schemas/v2/overlays/nts.json +162 -0
- package/src/schemas/v2/overlays/oc1.json +2799 -0
- package/src/schemas/v2/overlays/rds.json +3747 -0
- package/src/schemas/v2/overlays/ta10.json +4 -0
- package/src/schemas/v2/overlays/ta6.json +2311 -0
- package/src/schemas/v2/overlays/ta7.json +902 -0
- package/src/tests/{pdtfVerifiedClaims.test.js → v1/pdtfVerifiedClaims.test.js} +4 -4
- package/src/tests/{transactionSchema.test.js → v1/transactionSchema.test.js} +3 -3
- package/src/tests/{verifiedClaimsValidator.test.js → v1/verifiedClaimsValidator.test.js} +3 -3
- package/src/tests/v2/transactionSchema.test.js +255 -0
- package/src/utils/extractOverlay.js +128 -0
- /package/src/examples/{exampleAddParticipantVouch.json → v1/exampleAddParticipantVouch.json} +0 -0
- /package/src/examples/{exampleDocumentedVouch.json → v1/exampleDocumentedVouch.json} +0 -0
- /package/src/examples/{exampleElectronicRecord.json → v1/exampleElectronicRecord.json} +0 -0
- /package/src/examples/{exampleTransaction.json → v1/exampleTransaction.json} +0 -0
- /package/src/examples/{exampleVouch.json → v1/exampleVouch.json} +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://trust.propdata.org.uk/schemas/v2/overlays/llc1.json",
|
|
4
|
+
"properties": {
|
|
5
|
+
"propertyPack": {
|
|
6
|
+
"properties": {
|
|
7
|
+
"searches": {
|
|
8
|
+
"items": {
|
|
9
|
+
"oneOf": [
|
|
10
|
+
null,
|
|
11
|
+
{
|
|
12
|
+
"properties": {
|
|
13
|
+
"results": {
|
|
14
|
+
"items": {
|
|
15
|
+
"oneOf": [
|
|
16
|
+
{
|
|
17
|
+
"required": [
|
|
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
|
+
}
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|