-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy pathdereferencer-polygon-ayanworks.json
59 lines (59 loc) · 2.28 KB
/
dereferencer-polygon-ayanworks.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
{
"implementation": "polygon-did-dereferencer",
"implementer": "Ayanworks",
"didMethod": "did:polygon",
"expectedOutcomes": {
"defaultOutcome": [0, 1, 2, 3, 4, 5, 6],
"invalidDidUrlErrorOutcome": [7],
"notFoundErrorOutcome": [8]
},
"executions": [{
"function": "dereference",
"input": {
"didUrl": "did:polygon:0xBCFdE12C425E4CbDb45226Fe51F89F2d99667d3E",
"dereferenceOptions": {
"accept": "application/did+json"
}
},
"output": {
"dereferencingMetadata": {
"contentType": "application/did+json"
},
"contentStream": "{\n\t\"@context\": \"https://w3id.org/did/v1\",\n\t\"id\": \"did:polygon:0xBCFdE12C425E4CbDb45226Fe51F89F2d99667d3E\",\n\t\"verificationMethod\": [{\n\t\t\"id\": \"did:polygon:0xBCFdE12C425E4CbDb45226Fe51F89F2d99667d3E\",\n\t\t\"type\": \"EcdsaSecp256k1VerificationKey2019\",\n\t\t\"controller\": \"did:polygon:0xBCFdE12C425E4CbDb45226Fe51F89F2d99667d3E\",\n\t\t\"publicKeyBase58\": \"7Lnm1evgNdC3VNWRea5kMHqMWKDNzTbFjPLV4rtCbPHjDP29xQu58dgS5DRk9kaVzbFxFkbeWVEt5hAd5TPmXx6AHYHDw\"\n\t}]\n}",
"contentMetadata": {}
}
},
{
"function": "dereference",
"input": {
"didUrl": "did:polygon_3:0xBCFdE12C425E4CbDb45226Fe51F89F2d99667d3E",
"dereferenceOptions": {
"accept": "application/did+json"
}
},
"output": {
"dereferencingMetadata": {
"error": "invalidDidUrl"
},
"contentStream": "",
"contentMetadata": {}
}
},
{
"function": "dereference",
"input": {
"didUrl": "did:polygon:0xBCFdE12C425E4CbDb45226Fe51F89F2d99667d3E",
"dereferenceOptions": {
"accept": "application/did+ld+json"
}
},
"output": {
"dereferencingMetadata": {
"error": "notFound"
},
"contentStream": "",
"contentMetadata": {}
}
}
]
}