@pdtf/schemas 3.6.0-9 → 3.6.0-dev.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/README.md +57 -33
- package/docs/branch-release-workflow.md +138 -0
- package/docs/sef25-extensions-ui-spec.md +355 -0
- package/index.js +131 -75
- package/package.json +14 -2
- package/src/schemas/v3/combined.json +7952 -1721
- package/src/schemas/v3/compactSkeleton.txt +379 -5
- package/src/schemas/v3/overlays/baspi4.json +205 -93
- package/src/schemas/v3/overlays/baspi5.json +210 -95
- package/src/schemas/v3/overlays/extensions/ac.json +334 -0
- package/src/schemas/v3/overlays/extensions/as.json +4 -2
- package/src/schemas/v3/overlays/extensions/dk.json +33 -0
- package/src/schemas/v3/overlays/extensions/dr.json +9 -9
- 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 +94 -0
- package/src/schemas/v3/overlays/extensions/jk.json +28 -8
- package/src/schemas/v3/overlays/extensions/la.json +4 -2
- package/src/schemas/v3/overlays/extensions/lc.json +76 -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 +70 -0
- package/src/schemas/v3/overlays/extensions/nd.json +44 -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 +38 -0
- package/src/schemas/v3/overlays/extensions/ph.json +195 -0
- package/src/schemas/v3/overlays/extensions/rw.json +69 -0
- package/src/schemas/v3/overlays/extensions/sb.json +4 -2
- package/src/schemas/v3/overlays/extensions/sc.json +133 -0
- package/src/schemas/v3/overlays/extensions/sd.json +64 -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/ta.json +204 -0
- package/src/schemas/v3/overlays/extensions/tf.json +6 -3
- package/src/schemas/v3/overlays/extensions/tr.json +74 -0
- package/src/schemas/v3/overlays/extensions/wg.json +351 -0
- package/src/schemas/v3/overlays/fme1.json +16 -14
- package/src/schemas/v3/overlays/llc1.json +1 -2
- package/src/schemas/v3/overlays/lpe1.json +61 -31
- package/src/schemas/v3/overlays/nts.json +71 -2
- package/src/schemas/v3/overlays/nts2.json +71 -5
- package/src/schemas/v3/overlays/ntsl.json +71 -2
- package/src/schemas/v3/overlays/ntsl2.json +71 -5
- package/src/schemas/v3/overlays/piq.json +60 -27
- package/src/schemas/v3/overlays/rds.json +139 -57
- package/src/schemas/v3/overlays/sef25.json +1653 -0
- package/src/schemas/v3/overlays/ta10.json +0 -9
- package/src/schemas/v3/overlays/ta6.json +83 -85
- package/src/schemas/v3/overlays/ta6ed6.json +6641 -0
- package/src/schemas/v3/overlays/ta7.json +70 -6
- package/src/schemas/v3/overlays/ta7ed5.json +1597 -0
- package/src/schemas/v3/pdtf-transaction.json +4525 -1013
- package/src/schemas/v3/skeleton.json +512 -40
- package/src/utils/extractExtensionOverlays.js +302 -31
- package/src/utils/extractOverlay.js +114 -27
- package/src/utils/pathSkeleton.js +1 -1
- package/.claude/settings.local.json +0 -42
- package/.github/workflows/pages.yml +0 -50
- package/CNAME +0 -1
- package/_config.yml +0 -1
- package/src/examples/v1/exampleAddParticipantVouch.json +0 -32
- package/src/examples/v1/exampleDocumentedVouch.json +0 -40
- package/src/examples/v1/exampleElectronicRecord.json +0 -30
- package/src/examples/v1/exampleTransaction.json +0 -878
- package/src/examples/v1/exampleVouch.json +0 -25
- package/src/examples/v2/exampleTransaction.json +0 -901
- package/src/examples/v3/exampleAddParticipantVouch.json +0 -38
- package/src/examples/v3/exampleCustomOverlay.json +0 -55
- package/src/examples/v3/exampleCustomOverlay2.json +0 -93
- package/src/examples/v3/exampleDocumentedVouch.json +0 -47
- package/src/examples/v3/exampleElectronicRecord.json +0 -36
- package/src/examples/v3/exampleTransaction.json +0 -1038
- package/src/examples/v3/exampleVouch.json +0 -32
- package/src/mappings/SendPropertyDetailsRequestSchema.json +0 -1588
- package/src/mappings/adf.js +0 -198
- package/src/tests/v3/caching.test.js +0 -591
- package/src/tests/v3/enquiries.test.js +0 -1096
- package/src/tests/v3/extensionOverlays.test.js +0 -525
- package/src/tests/v3/offers.test.js +0 -823
- package/src/tests/v3/patternProperties.test.js +0 -688
- package/src/tests/v3/transactionSchema.test.js +0 -615
- package/src/tests/v3/verifiedClaimsValidator.test.js +0 -195
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "ADC58DEdisuWkmjp9MEJr9",
|
|
3
|
-
"transactionId": "LnRdGiBUkLbnuNJ89p4CEj",
|
|
4
|
-
"schemaVersion": "3.2.1",
|
|
5
|
-
"verification": {
|
|
6
|
-
"trust_framework": "uk_pdtf",
|
|
7
|
-
"time": "2022-01-25T13:05:03.108Z",
|
|
8
|
-
"evidence": [
|
|
9
|
-
{
|
|
10
|
-
"type": "vouch",
|
|
11
|
-
"attestation": {
|
|
12
|
-
"type": "digital_attestation",
|
|
13
|
-
"voucher": {
|
|
14
|
-
"name": "Martin Abode"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
"verification_method": {
|
|
18
|
-
"type": "auth"
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
]
|
|
22
|
-
},
|
|
23
|
-
"terms_of_use": {
|
|
24
|
-
"confidentiality_level": "restricted"
|
|
25
|
-
},
|
|
26
|
-
"claims": {
|
|
27
|
-
"/participants/-": {
|
|
28
|
-
"name": {
|
|
29
|
-
"firstName": "Martin",
|
|
30
|
-
"lastName": "Abode"
|
|
31
|
-
},
|
|
32
|
-
"email": "martin@abode.co.uk",
|
|
33
|
-
"organisation": "Abode and Floggit Estate Agents",
|
|
34
|
-
"organisationReference": "MAR/12243/22",
|
|
35
|
-
"role": "Estate Agent"
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://trust.propdata.org.uk/schemas/v3/overlays/custom.json",
|
|
4
|
-
"properties": {
|
|
5
|
-
"propertyPack": {
|
|
6
|
-
"customRef": "JKW",
|
|
7
|
-
"type": "object",
|
|
8
|
-
"required": ["specialistIssues"],
|
|
9
|
-
"properties": {
|
|
10
|
-
"specialistIssues": {
|
|
11
|
-
"customRef": "JKW.7",
|
|
12
|
-
"required": ["japaneseKnotweed"],
|
|
13
|
-
"properties": {
|
|
14
|
-
"japaneseKnotweed": {
|
|
15
|
-
"customRef": "JKW.7.8",
|
|
16
|
-
"discriminator": {
|
|
17
|
-
"propertyName": "yesNo"
|
|
18
|
-
},
|
|
19
|
-
"oneOf": [
|
|
20
|
-
{
|
|
21
|
-
"properties": {
|
|
22
|
-
"yesNo": {
|
|
23
|
-
"enum": ["No", "Not known"]
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"properties": {
|
|
29
|
-
"yesNo": {
|
|
30
|
-
"enum": ["Yes"]
|
|
31
|
-
},
|
|
32
|
-
"managementPlanInPlace": {
|
|
33
|
-
"customRef": "JKW.7.8.2"
|
|
34
|
-
},
|
|
35
|
-
"attachments": {
|
|
36
|
-
"customRef": "JKW.7.8.3"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"required": ["managementPlanInPlace", "attachments"]
|
|
40
|
-
}
|
|
41
|
-
],
|
|
42
|
-
"required": ["yesNo"],
|
|
43
|
-
"title": "Is the property affected by Japanese knotweed?",
|
|
44
|
-
"properties": {
|
|
45
|
-
"yesNo": {
|
|
46
|
-
"customRef": "JKW.7.8.1"
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://trust.propdata.org.uk/schemas/v3/overlays/ta7.json",
|
|
4
|
-
"properties": {
|
|
5
|
-
"propertyPack": {
|
|
6
|
-
"macRef": "MAC",
|
|
7
|
-
"required": ["ownership"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"ownership": {
|
|
10
|
-
"macRef": "MAC.1",
|
|
11
|
-
"required": ["ownershipsToBeTransferred"],
|
|
12
|
-
"properties": {
|
|
13
|
-
"ownershipsToBeTransferred": {
|
|
14
|
-
"macRef": "MAC.1",
|
|
15
|
-
"items": {
|
|
16
|
-
"discriminator": {
|
|
17
|
-
"propertyName": "ownershipType"
|
|
18
|
-
},
|
|
19
|
-
"oneOf": [
|
|
20
|
-
{
|
|
21
|
-
"properties": {
|
|
22
|
-
"ownershipType": {
|
|
23
|
-
"enum": ["Leasehold"]
|
|
24
|
-
},
|
|
25
|
-
"leaseholdInformation": {
|
|
26
|
-
"required": ["contactDetails"],
|
|
27
|
-
"properties": {
|
|
28
|
-
"contactDetails": {
|
|
29
|
-
"macRef": "MAC.4.1",
|
|
30
|
-
"required": ["contacts"],
|
|
31
|
-
"properties": {
|
|
32
|
-
"contacts": {
|
|
33
|
-
"macRef": "MAC.4.1",
|
|
34
|
-
"required": ["managingAgent"],
|
|
35
|
-
"properties": {
|
|
36
|
-
"managingAgent": {
|
|
37
|
-
"macRef": "MAC.4.1c",
|
|
38
|
-
"required": ["contact"],
|
|
39
|
-
"properties": {
|
|
40
|
-
"contact": {
|
|
41
|
-
"macRef": "MAC.4.1c",
|
|
42
|
-
"required": ["nameOrOrganisation"],
|
|
43
|
-
"properties": {
|
|
44
|
-
"nameOrOrganisation": {
|
|
45
|
-
"macRef": "MAC.4.1c.1"
|
|
46
|
-
},
|
|
47
|
-
"address": {
|
|
48
|
-
"macRef": "MAC.4.1c.0",
|
|
49
|
-
"properties": {
|
|
50
|
-
"line1": {
|
|
51
|
-
"macRef": "MAC.4.1c.2"
|
|
52
|
-
},
|
|
53
|
-
"line2": {
|
|
54
|
-
"macRef": "MAC.4.1c.3"
|
|
55
|
-
},
|
|
56
|
-
"line3": {
|
|
57
|
-
"macRef": "MAC.4.1c.4"
|
|
58
|
-
},
|
|
59
|
-
"town": {
|
|
60
|
-
"macRef": "MAC.4.1c.5"
|
|
61
|
-
},
|
|
62
|
-
"postcode": {
|
|
63
|
-
"macRef": "MAC.4.1c.6"
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
"telephone": {
|
|
68
|
-
"macRef": "MAC.4.1c.7"
|
|
69
|
-
},
|
|
70
|
-
"emailAddress": {
|
|
71
|
-
"macRef": "MAC.4.1c.8"
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
]
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "ADC58DEdisuWkmjp9MEJr9",
|
|
3
|
-
"transactionId": "LnRdGiBUkLbnuNJ89p4CEj",
|
|
4
|
-
"schemaVersion": "3.2.1",
|
|
5
|
-
"timestamp": 1643116604527,
|
|
6
|
-
"verification": {
|
|
7
|
-
"trust_framework": "uk_pdtf",
|
|
8
|
-
"time": "2022-01-25T13:16:44.527Z",
|
|
9
|
-
"evidence": [
|
|
10
|
-
{
|
|
11
|
-
"type": "vouch",
|
|
12
|
-
"attachments": [
|
|
13
|
-
{
|
|
14
|
-
"digest": {
|
|
15
|
-
"alg": "md5",
|
|
16
|
-
"value": "randomHashValue"
|
|
17
|
-
},
|
|
18
|
-
"url": "https://fakeFileStore.com/some/kind/of/file",
|
|
19
|
-
"desc": "proofOfAddress.pdf",
|
|
20
|
-
"pdtfSchemaPath": "/propertyPack/materialFacts/councilTax/councilTaxAffectingAlterations/details"
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
|
-
"verification_method": {
|
|
24
|
-
"type": "auth"
|
|
25
|
-
},
|
|
26
|
-
"attestation": {
|
|
27
|
-
"voucher": {
|
|
28
|
-
"name": "Maria Harris"
|
|
29
|
-
},
|
|
30
|
-
"type": "digital_attestation"
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
]
|
|
34
|
-
},
|
|
35
|
-
"terms_of_use": {
|
|
36
|
-
"confidentiality_level": "public"
|
|
37
|
-
},
|
|
38
|
-
"claims": {
|
|
39
|
-
"/propertyPack/councilTax": {
|
|
40
|
-
"councilTaxBand": "D",
|
|
41
|
-
"councilTaxAffectingAlterations": {
|
|
42
|
-
"yesNo": "Yes",
|
|
43
|
-
"details": "Extension added in 2005 to add bedroom with ensuite shower room. Certificate of Compliance issued 17th Feb 2006 and council tax updated"
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "ADC58DEdisuWkmjp9MEJr9",
|
|
3
|
-
"transactionId": "LnRdGiBUkLbnuNJ89p4CEj",
|
|
4
|
-
"schemaVersion": "3.2.1",
|
|
5
|
-
"verification": {
|
|
6
|
-
"time": "2022-01-25T07:52:14.318Z",
|
|
7
|
-
"trust_framework": "uk_pdtf",
|
|
8
|
-
"evidence": [
|
|
9
|
-
{
|
|
10
|
-
"type": "electronic_record",
|
|
11
|
-
"verifier": {
|
|
12
|
-
"organization": "Property Pack Assembly Software Ltd"
|
|
13
|
-
},
|
|
14
|
-
"record": {
|
|
15
|
-
"source": {
|
|
16
|
-
"name": "Royal Mail Postcode Address File",
|
|
17
|
-
"rights": "(c) Royal Mail"
|
|
18
|
-
},
|
|
19
|
-
"type": "postcode_address_file"
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
]
|
|
23
|
-
},
|
|
24
|
-
"terms_of_use": {
|
|
25
|
-
"confidentiality_level": "public"
|
|
26
|
-
},
|
|
27
|
-
"claims": {
|
|
28
|
-
"/propertyPack/address": {
|
|
29
|
-
"line1": "3 The Hollys",
|
|
30
|
-
"line2": "Birtley",
|
|
31
|
-
"town": "CHESTER LE STREET",
|
|
32
|
-
"county": "County Durham",
|
|
33
|
-
"postcode": "DH3 1QN"
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|