-
Notifications
You must be signed in to change notification settings - Fork 49
/
did-example-didwg.json
87 lines (87 loc) · 4.24 KB
/
did-example-didwg.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
79
80
81
82
83
84
85
86
87
{
"didMethod": "did:example",
"implementation": "Example DID Method",
"implementer": "DID Working Group",
"supportedContentTypes": [
"application/did+json",
"application/did+ld+json"
],
"dids": ["did:example:123"],
"didParameters": {
"hl": "did:example:123?hl=zQmWvQxTqbG2Z9HPJgG57jjwR154cKhbtJenbyYTWkjgF3e",
"service": "did:example:123?service=agent&relativeRef=%2Fpath%2Fto%2Fresource",
"relativeRef": "did:example:123?service=agent&relativeRef=%2Fpath%2Fto%2Fresource",
"versionId": "did:example:123?versionId=0.1.0",
"versionTime": "did:example:123?versionTime=2020-09-26T20:14:02Z"
},
"did:example:123": {
"didDocumentDataModel": {
"properties": {
"id": "did:example:123",
"verificationMethod": [
{
"id": "did:example:123#key-0",
"type": "JsonWebKey2020",
"controller": "did:example:123",
"publicKeyJwk": {
"kty": "OKP",
"crv": "Ed25519",
"x": "VDXDwuGKVq91zxU6q7__jLDUq8_C5cuxECgd-1feFTE"
}
},
{
"id": "did:example:123#key-1",
"type": "JsonWebKey2020",
"controller": "did:example:123",
"publicKeyJwk": {
"kty": "OKP",
"crv": "X25519",
"x": "3kY9jl1by7pLzgJktUH-e9H6fihdVUb00-sTzkfmIl8"
}
}
],
"authentication": ["#key-0"],
"assertionMethod": ["#key-0"],
"capabilityInvocation": ["#key-0"],
"capabilityDelegation": ["#key-0"],
"keyAgreement": ["#key-1"],
"bespokeDatetime": "2020-09-26T20:14:02Z",
"bespokeDouble": 1.2,
"bespokeInteger": 5,
"bespokeBoolean": true,
"bespokeNull": null
}
},
"application/did+json": {
"didDocumentDataModel": {
"representationSpecificEntries": {
}
},
"representation": "{\"id\":\"did:example:123\",\"verificationMethod\":[{\"id\":\"did:example:123#key-0\",\"type\":\"JsonWebKey2020\",\"controller\":\"did:example:123\",\"publicKeyJwk\":{\"kty\":\"OKP\",\"crv\":\"Ed25519\",\"x\":\"VDXDwuGKVq91zxU6q7__jLDUq8_C5cuxECgd-1feFTE\"}},{\"id\":\"did:example:123#key-1\",\"type\":\"JsonWebKey2020\",\"controller\":\"did:example:123\",\"publicKeyJwk\":{\"kty\":\"OKP\",\"crv\":\"X25519\",\"x\":\"3kY9jl1by7pLzgJktUH-e9H6fihdVUb00-sTzkfmIl8\"}}],\"authentication\":[\"#key-0\"],\"assertionMethod\":[\"#key-0\"],\"capabilityInvocation\":[\"#key-0\"],\"capabilityDelegation\":[\"#key-0\"],\"keyAgreement\":[\"#key-1\"],\"bespokeDatetime\":\"2020-09-26T20:14:02Z\",\"bespokeDouble\":1.2,\"bespokeInteger\":5,\"bespokeBoolean\":true,\"bespokeNull\":null}",
"didDocumentMetadata": {
"canonicalId": "did:example:one-two-three",
"equivalentId": "did:example:one-two-three",
"created": "2020-09-26T20:14:02.000Z",
"updated": "2020-09-27T20:14:02.000Z",
"nextUpdate": "2020-09-28T20:14:02.000Z",
"versionId": "0.1.0",
"nextVersionId": "0.2.0"
},
"didResolutionMetadata": {
"contentType": "application/did+json"
}
},
"application/did+ld+json": {
"didDocumentDataModel": {
"representationSpecificEntries": {
"@context": ["https://www.w3.org/ns/did/v1"]
}
},
"representation": "{\"@context\":[\"https://www.w3.org/ns/did/v1\"],\"id\":\"did:example:123\",\"verificationMethod\":[{\"id\":\"did:example:123#key-0\",\"type\":\"JsonWebKey2020\",\"controller\":\"did:example:123\",\"publicKeyJwk\":{\"kty\":\"OKP\",\"crv\":\"Ed25519\",\"x\":\"VDXDwuGKVq91zxU6q7__jLDUq8_C5cuxECgd-1feFTE\"}},{\"id\":\"did:example:123#key-1\",\"type\":\"JsonWebKey2020\",\"controller\":\"did:example:123\",\"publicKeyJwk\":{\"kty\":\"OKP\",\"crv\":\"X25519\",\"x\":\"3kY9jl1by7pLzgJktUH-e9H6fihdVUb00-sTzkfmIl8\"}}],\"authentication\":[\"#key-0\"],\"assertionMethod\":[\"#key-0\"],\"capabilityInvocation\":[\"#key-0\"],\"capabilityDelegation\":[\"#key-0\"],\"keyAgreement\":[\"#key-1\"],\"bespokeDatetime\":\"2020-09-26T20:14:02Z\",\"bespokeDouble\":1.2,\"bespokeInteger\":5,\"bespokeBoolean\":true,\"bespokeNull\":null}",
"didDocumentMetadata": {},
"didResolutionMetadata": {
"contentType": "application/did+ld+json"
}
}
}
}