1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
{
"credentialPreview": {
"@context": [
"https://www.w3.org/2018/credentials/v1",
{
"name": "https://schema.org/name",
"DeliveryAttestation": {
"@context": {
"@protected": true,
"@version": 1.1,
"address": "https://vocabulary.trustmydata.compell.io/properties/address",
"id": "@id",
"issuedBy": {
"@context": {
"@protected": true,
"@version": 1.1,
"logo": {
"@id": "schema:logo",
"@type": "@id"
},
"name": "schema:name",
"schema": "https://schema.org/",
"type": "schema:Organization"
},
"@id": "https://vocabulary.trustmydata.compell.io/properties/issuedBy"
},
"provider": {
"@context": {
"@protected": true,
"@version": 1.1,
"legalName": "schema:legalName",
"logo": {
"@id": "schema:logo",
"@type": "@id"
},
"reference": {
"@id": "https://vocabulary.trustmydata.compell.io/properties/reference",
"@type": "@id"
},
"schema": "https://schema.org/",
"type": "schema:Organization",
"url": {
"@id": "schema:url",
"@type": "@id"
},
"vatID": "schema:vatID"
},
"@id": "https://vocabulary.trustmydata.compell.io/properties/provider"
},
"reference": {
"@id": "https://vocabulary.trustmydata.compell.io/properties/reference",
"@type": "@id"
},
"schema": "https://schema.org/",
"type": "@type"
},
"@id": "https://vocabulary.trustmydata.compell.io/credentials/DeliveryAttestation"
},
"description": "https://schema.org/description"
}
],
"id": "urn:...",
"type": [
"VerifiableCredential",
"DeliveryAttestation"
],
"credentialSubject": {
"id": "did:...",
"type": "DeliveryAttestation",
"address": "21 rue Glesener, L-1631 Luxembourg, Luxembourg",
"issuedBy": {
"logo": "https://example.com/logo.png",
"name": "Postal Service A"
},
"reference": "reg_1234567890123",
"provider": {
"legalname": "Postal Service A",
"logo": "https://example.com/logo.png",
"url": "https://example.com",
"vatID": "LU12345672",
"reference": "reg_0987654321234",
},
},
"issuer": "did:...",
"issuanceDate": "2021-11-27T10:22:40Z",
"credentialSchema": {
"id": "...",
"type": "JsonSchemaValidator2021"
},
"description": [
{
"@language": "en",
"@value": "The delivery of a parcel either via the postal service or a commercial service."
}
],
"name": [
{
"@language": "en",
"@value": "Delivery attestation"
}
]
},
"expires": "2024-11-27T10:22:40Z",
"type": "CredentialOffer",
}
|