-
Notifications
You must be signed in to change notification settings - Fork 0
/
example_vc.json
78 lines (78 loc) · 3.16 KB
/
example_vc.json
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
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://w3id.org/vc/status-list/2021/v1"
],
"type": ["VerifiableCredential"],
"credentialSubject": {
"id": "did:pkh:eip155:1:0x4A13F4394cF05a52128BdA527664429D5376C67f",
"provider": "githubContributionActivityGte#60",
"@context": [
{
"customInfo": "https://schema.org/Thing",
"hash": "https://schema.org/Text",
"metaPointer": "https://schema.org/URL",
"provider": "https://schema.org/Text"
}
],
"hash": "v0.0.0:jW6qFmYgzw9mD1xSVQ18/lb2/QgZfqDVA/QQNjyzIFQ="
},
"issuer": "did:ethr:0xd6fc34345bc8c8e5659a35bed9629d5558d48c4e",
"issuanceDate": "2023-09-11T12:31:45.103Z",
"proof": {
"@context": "https://w3id.org/security/suites/eip712sig-2021/v1",
"type": "EthereumEip712Signature2021",
"proofPurpose": "assertionMethod",
"proofValue": "0x9f295b82d0262607a97e14d978e57ca45734ca4d3e9c0a8e215a9d535d73b18d4a8c828154a6ceb25bf2bc79d57bb144ac1ce9096ff7e39660cd275ed13cf6ce1b",
"verificationMethod": "did:ethr:0xd6fc34345bc8c8e5659a35bed9629d5558d48c4e#controller",
"created": "2023-09-11T12:31:45.103Z",
"eip712Domain": {
"domain": { "name": "VerifiableCredential" },
"primaryType": "Document",
"types": {
"Context": [
{ "name": "customInfo", "type": "string" },
{ "name": "hash", "type": "string" },
{ "name": "metaPointer", "type": "string" },
{ "name": "provider", "type": "string" }
],
"CredentialStatus": [
{ "name": "id", "type": "string" },
{ "name": "type", "type": "string" },
{ "name": "statusPurpose", "type": "string" },
{ "name": "statusListIndex", "type": "string" },
{ "name": "statusListCredential", "type": "string" }
],
"CredentialSubject": [
{ "name": "id", "type": "string" },
{ "name": "provider", "type": "string" },
{ "name": "metaPointer", "type": "string" },
{ "name": "customInfo", "type": "CustomInfo" },
{ "name": "hash", "type": "string" },
{ "name": "@context", "type": "Context[]" }
],
"CustomInfo": [{ "name": "field1", "type": "string" }],
"Document": [
{ "name": "@context", "type": "string[]" },
{ "name": "type", "type": "string[]" },
{ "name": "issuer", "type": "string" },
{ "name": "issuanceDate", "type": "string" },
{ "name": "expirationDate", "type": "string" },
{ "name": "credentialSubject", "type": "CredentialSubject" },
{ "name": "proof", "type": "Proof" },
{ "name": "credentialStatus", "type": "CredentialStatus" }
],
"EIP712Domain": [{ "name": "name", "type": "string" }],
"Proof": [
{ "name": "@context", "type": "string" },
{ "name": "type", "type": "string" },
{ "name": "proofPurpose", "type": "string" },
{ "name": "proofValue", "type": "string" },
{ "name": "verificationMethod", "type": "string" },
{ "name": "created", "type": "string" }
]
}
}
},
"expirationDate": "2023-10-29T20:06:39.974Z"
}