Files: 59cd5210437ca134f6d0863cc9ba87847790c76f / did-pkh / tests / vc-eth-eip712sig.jsonld
2215 bytesRaw
1 | { |
2 | "@context": [ |
3 | "https://www.w3.org/2018/credentials/v1" |
4 | ], |
5 | "type": [ |
6 | "VerifiableCredential" |
7 | ], |
8 | "credentialSubject": { |
9 | "id": "did:example:foo" |
10 | }, |
11 | "issuer": "did:pkh:eth:0x2fbf1be19d90a29aea9363f4ef0b6bf1c4ff0758", |
12 | "issuanceDate": "2021-03-18T16:38:25Z", |
13 | "proof": { |
14 | "@context": "https://demo.spruceid.com/ld/eip712sig-2021/v0.1.jsonld", |
15 | "type": "EthereumEip712Signature2021", |
16 | "proofPurpose": "assertionMethod", |
17 | "proofValue": "0x9abee96d684a146aa0b30498d8799ee9a4f8f54488c73d4a4fba3a6fb94eca8764af54f15a24deba0dd9ee2f460d1f6bd174a4ca7504a72d6b1fe9b739d613fe1b", |
18 | "verificationMethod": "did:pkh:eth:0x2fbf1be19d90a29aea9363f4ef0b6bf1c4ff0758#Recovery2020", |
19 | "created": "2021-06-17T17:16:39.791Z", |
20 | "eip712Domain": { |
21 | "domain": { |
22 | "name": "EthereumEip712Signature2021" |
23 | }, |
24 | "messageSchema": { |
25 | "CredentialSubject": [ |
26 | { |
27 | "name": "id", |
28 | "type": "string" |
29 | } |
30 | ], |
31 | "EIP712Domain": [ |
32 | { |
33 | "name": "name", |
34 | "type": "string" |
35 | } |
36 | ], |
37 | "Proof": [ |
38 | { |
39 | "name": "@context", |
40 | "type": "string" |
41 | }, |
42 | { |
43 | "name": "verificationMethod", |
44 | "type": "string" |
45 | }, |
46 | { |
47 | "name": "created", |
48 | "type": "string" |
49 | }, |
50 | { |
51 | "name": "proofPurpose", |
52 | "type": "string" |
53 | }, |
54 | { |
55 | "name": "type", |
56 | "type": "string" |
57 | } |
58 | ], |
59 | "VerifiableCredential": [ |
60 | { |
61 | "name": "@context", |
62 | "type": "string[]" |
63 | }, |
64 | { |
65 | "name": "type", |
66 | "type": "string[]" |
67 | }, |
68 | { |
69 | "name": "issuer", |
70 | "type": "string" |
71 | }, |
72 | { |
73 | "name": "issuanceDate", |
74 | "type": "string" |
75 | }, |
76 | { |
77 | "name": "credentialSubject", |
78 | "type": "CredentialSubject" |
79 | }, |
80 | { |
81 | "name": "proof", |
82 | "type": "Proof" |
83 | } |
84 | ] |
85 | }, |
86 | "primaryType": "VerifiableCredential" |
87 | } |
88 | } |
89 | } |
90 |
Built with git-ssb-web