Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add did:oyd implementation #219

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8,693 changes: 8,662 additions & 31 deletions package-lock.json

Large diffs are not rendered by default.

6,552 changes: 6,541 additions & 11 deletions packages/did-core-test-server/package-lock.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ module.exports = {
require('../implementations/did-algo.json'),
require('../implementations/did-cheqd.json'),
require('../implementations/did-art.json'),
require('../implementations/did-oyd.json'),
...brokenFixtures
]
};
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ module.exports = {
require('../implementations/did-algo.json'),
require('../implementations/did-cheqd.json'),
require('../implementations/did-art.json'),
require('../implementations/did-oyd.json'),
...brokenFixtures
],
};
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ module.exports = {
require('../implementations/did-algo.json'),
require('../implementations/did-cheqd.json'),
require('../implementations/did-art.json'),
require('../implementations/did-oyd.json'),
...brokenFixtures
],
};
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ module.exports = {
require('../implementations/did-algo.json'),
require('../implementations/did-cheqd.json'),
require('../implementations/did-art.json'),
require('../implementations/did-oyd.json'),
...brokenFixtures
],
};
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ module.exports = {
require('../implementations/resolver-spruce-webkey.json'),
require('../implementations/resolver-ssb.json'),
require('../implementations/resolver-did-cheqd.json'),
require('../implementations/resolver-did-oyd.json'),
...brokenFixtures
],
};
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ module.exports = {
require('../implementations/dereferencer-ssb.json'),
require('../implementations/dereferencer-cheqd.json'),
require('../implementations/dereferencer-art.json'),
require('../implementations/dereferencer-oyd.json'),
...brokenFixtures
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
{
"didMethod": "did:oyd",
"implementation": "OYDID libraries and APIs",
"implementer": "OwnYourData",
"expectedOutcomes": {
"defaultOutcome": [ 0, 1, 2 ],
"invalidDidUrlErrorOutcome": [ 3 ],
"notFoundErrorOutcome": [ 4 ]
},
"executions": [
{
"function": "dereference",
"input": {
"didUrl": "did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh",
"dereferenceOptions": {
"accept": "application/did+json"
}
},
"output": {
"dereferencingMetadata": {
"contentType": "application/did+ld+json"
},
"contentStream": "{\"@context\":\"https://www.w3.org/ns/did/v1\",\"id\":\"did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh\",\"verificationMethod\":[{\"id\":\"did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh#key-doc\",\"type\":\"Ed25519VerificationKey2020\",\"controller\":\"did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh\",\"publicKeyMultibase\":\"z6MusYB5iT5krCHYsZ76EzBaTdRwGKsaBhMcSbrXaPJgkuRQ\"},{\"id\":\"did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh#key-rev\",\"type\":\"Ed25519VerificationKey2020\",\"controller\":\"did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh\",\"publicKeyMultibase\":\"z6Mv7EYihbAat6Wq7GsjNsjcxt58dZT8fmsRjQGTkYamYrjB\"}]}",
"contentMetadata": {}
}
},
{
"function": "dereference",
"input": {
"didUrl": "did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh#key-doc",
"dereferenceOptions": {
"accept": "application/did+json"
}
},
"output": {
"dereferencingMetadata": {
"contentType": "application/did+json"
},
"contentStream": "{\"id\":\"did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh#key-doc\",\"type\":\"Ed25519VerificationKey2020\",\"controller\":\"did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh\",\"publicKeyMultibase\":\"z6MusYB5iT5krCHYsZ76EzBaTdRwGKsaBhMcSbrXaPJgkuRQ\"}",
"contentMetadata": {}
}
},
{
"function": "dereference",
"input": {
"didUrl": "did:oyd:zQmeArtmfxJ1JB6CXvoFdcQCyxPcYii5DUTBR44g4xYpCLR?versionTime=2022-01-03T15:49:00Z",
"dereferenceOptions": {}
},
"output": {
"dereferencingMetadata": {
"contentType": "application/did+ld+json"
},
"contentStream": "{\"@context\":[\"https://www.w3.org/ns/did/v1\",\"https://w3id.org/security/suites/ed25519-2020/v1\"],\"id\":\"did:oyd:zQmdXNRiMWEYTiYF58a9BaiUkfB2xWUgL7G7ozyCCNPqjKV\",\"verificationMethod\":[{\"id\":\"did:oyd:zQmdXNRiMWEYTiYF58a9BaiUkfB2xWUgL7G7ozyCCNPqjKV#key-doc\",\"type\":\"Ed25519VerificationKey2020\",\"controller\":\"did:oyd:zQmdXNRiMWEYTiYF58a9BaiUkfB2xWUgL7G7ozyCCNPqjKV\",\"publicKeyMultibase\":\"z6MuyXnvW3o9HVq3oD5FY9yzSEneiWe8YmoxzasGxmDbrP2x\"},{\"id\":\"did:oyd:zQmdXNRiMWEYTiYF58a9BaiUkfB2xWUgL7G7ozyCCNPqjKV#key-rev\",\"type\":\"Ed25519VerificationKey2020\",\"controller\":\"did:oyd:zQmdXNRiMWEYTiYF58a9BaiUkfB2xWUgL7G7ozyCCNPqjKV\",\"publicKeyMultibase\":\"z6MurxAg6d26HtToacPh5jDivb447qgYoTnzszwsRLRScp8H\"}],\"service\":[{\"id\":\"did:oyd:zQmdXNRiMWEYTiYF58a9BaiUkfB2xWUgL7G7ozyCCNPqjKV#payload\",\"type\":\"Custom\",\"serviceEndpoint\":\"https://oydid.ownyourdata.eu\",\"payload\":{\"content\":\"original\"}}]}",
"contentMetadata": {
"versionId": "zQmdXNRiMWEYTiYF58a9BaiUkfB2xWUgL7G7ozyCCNPqjKV",
"nextVersionId": "zQmeArtmfxJ1JB6CXvoFdcQCyxPcYii5DUTBR44g4xYpCLR",
"nextUpdate": "2022-01-03T15:50:32Z",
"created": "2022-01-03T15:49:00Z",
"updated": "2022-01-03T15:50:32Z"
}
}
},
{
"function": "dereference",
"input": {
"didUrl": "did:invalid",
"dereferenceOptions": {
"accept": "application/did+json"
}
},
"output": {
"dereferencingMetadata": {
"contentType": "application/did+json",
"error": "invalidDidUrl",
"retrieved": "2023-01-08T10:15:44Z",
"did": {
"didString": "did:invalid",
"methodSpecificId": "",
"method": ""
}
},
"contentStream": "",
"contentMetadata": {
}
}
},
{
"function": "dereference",
"input": {
"didUrl": "did:oyd:invalid",
"dereferenceOptions": {
"accept": "application/did+json"
}
},
"output": {
"dereferencingMetadata": {
"contentType": "application/did+json",
"error": "notFound",
"retrieved": "2023-01-08T10:15:13Z",
"did": {
"didString": "did:oyd:invalid",
"methodSpecificId": "invalid",
"method": "oyd"
}
},
"contentStream": "",
"contentMetadata": {
}
}
}
]
}

200 changes: 200 additions & 0 deletions packages/did-core-test-server/suites/implementations/did-oyd.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
{
"didMethod": "did:oyd",
"implementation": "OYDID libraries and APIs",
"implementer": "OwnYourData",
"supportedContentTypes": ["application/did+ld+json", "application/did+json"],
"dids": [
"did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh",
"did:oyd:zQmeArtmfxJ1JB6CXvoFdcQCyxPcYii5DUTBR44g4xYpCLR",
"did:oyd:test" ],
"didParameters": {
"hl": "did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh?hl=zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh",
"service": "did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh?service=payload",
"relativeRef": "did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh?service=payload&relativeRef=value",
"versionId": "did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh?versionId=1",
"versionTime": "did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh?versionTime=2022-01-03T15:45:36Z"
},
"did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh": {
"didDocumentDataModel": {
"properties": {
"id": "did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh",
"verificationMethod": [
{
"id": "did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh#key-doc",
"type": "Ed25519VerificationKey2020",
"controller": "did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh",
"publicKeyMultibase": "z6MusYB5iT5krCHYsZ76EzBaTdRwGKsaBhMcSbrXaPJgkuRQ"
},
{
"id": "did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh#key-rev",
"type": "Ed25519VerificationKey2020",
"controller": "did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh",
"publicKeyMultibase": "z6Mv7EYihbAat6Wq7GsjNsjcxt58dZT8fmsRjQGTkYamYrjB"
}
],
"service": [
{
"id": "did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh#payload",
"type": "Custom",
"serviceEndpoint": "https://oydid.ownyourdata.eu",
"payload": {
"simple": "example"
}
}
]
}
},
"application/did+json": {
"didDocumentDataModel": {
"representationSpecificEntries": {}
},
"representation": "{\"id\":\"did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh\",\"verificationMethod\":[{\"id\":\"did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh#key-doc\",\"type\":\"Ed25519VerificationKey2020\",\"controller\":\"did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh\",\"publicKeyMultibase\":\"z6MusYB5iT5krCHYsZ76EzBaTdRwGKsaBhMcSbrXaPJgkuRQ\"},{\"id\":\"did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh#key-rev\",\"type\":\"Ed25519VerificationKey2020\",\"controller\":\"did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh\",\"publicKeyMultibase\":\"z6Mv7EYihbAat6Wq7GsjNsjcxt58dZT8fmsRjQGTkYamYrjB\"}],\"service\":[{\"id\":\"did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh#payload\",\"type\":\"Custom\",\"serviceEndpoint\":\"https://oydid.ownyourdata.eu\",\"payload\":{\"simple\":\"example\"}}]}",
"didDocumentMetadata": {},
"didResolutionMetadata": {
"contentType": "application/did+json"
}
},
"application/did+ld+json": {
"didDocumentDataModel": {
"representationSpecificEntries": {
"@context": [
"https://www.w3.org/ns/did/v1",
"https://w3id.org/security/suites/ed25519-2020/v1"
]
}
},
"representation": "{\"@context\":[\"https://www.w3.org/ns/did/v1\",\"https://w3id.org/security/suites/ed25519-2020/v1\"],\"id\":\"did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh\",\"verificationMethod\":[{\"id\":\"did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh#key-doc\",\"type\":\"Ed25519VerificationKey2020\",\"controller\":\"did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh\",\"publicKeyMultibase\":\"z6MusYB5iT5krCHYsZ76EzBaTdRwGKsaBhMcSbrXaPJgkuRQ\"},{\"id\":\"did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh#key-rev\",\"type\":\"Ed25519VerificationKey2020\",\"controller\":\"did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh\",\"publicKeyMultibase\":\"z6Mv7EYihbAat6Wq7GsjNsjcxt58dZT8fmsRjQGTkYamYrjB\"}],\"service\":[{\"id\":\"did:oyd:zQmaBZTghndXTgxNwfbdpVLWdFf6faYE4oeuN2zzXdQt1kh#payload\",\"type\":\"Custom\",\"serviceEndpoint\":\"https://oydid.ownyourdata.eu\",\"payload\":{\"simple\":\"example\"}}]}",
"didDocumentMetadata": {},
"didResolutionMetadata": {
"contentType": "application/did+ld+json"
}
}
},
"did:oyd:zQmeArtmfxJ1JB6CXvoFdcQCyxPcYii5DUTBR44g4xYpCLR": {
"didDocumentDataModel": {
"properties": {
"id": "did:oyd:zQmeArtmfxJ1JB6CXvoFdcQCyxPcYii5DUTBR44g4xYpCLR",
"verificationMethod": [
{
"id": "did:oyd:zQmeArtmfxJ1JB6CXvoFdcQCyxPcYii5DUTBR44g4xYpCLR#key-doc",
"type": "Ed25519VerificationKey2020",
"controller": "did:oyd:zQmeArtmfxJ1JB6CXvoFdcQCyxPcYii5DUTBR44g4xYpCLR",
"publicKeyMultibase": "z6Mv4q7EFUKq7p8KKGGfh1UjduMrpNnzdprtaMiFsp9Kq9gD"
},
{
"id": "did:oyd:zQmeArtmfxJ1JB6CXvoFdcQCyxPcYii5DUTBR44g4xYpCLR#key-rev",
"type": "Ed25519VerificationKey2020",
"controller": "did:oyd:zQmeArtmfxJ1JB6CXvoFdcQCyxPcYii5DUTBR44g4xYpCLR",
"publicKeyMultibase": "z6MuxmEJYvuo7kre1hXcdVuTm7igpGxi7MkkgrtstRmGVyxY"
}
],
"alsoKnownAs": [
"did:oyd:zQmdXNRiMWEYTiYF58a9BaiUkfB2xWUgL7G7ozyCCNPqjKV"
],
"service": [
{
"id": "did:oyd:zQmeArtmfxJ1JB6CXvoFdcQCyxPcYii5DUTBR44g4xYpCLR#payload",
"type": "Custom",
"serviceEndpoint": "https://oydid.ownyourdata.eu",
"payload": {
"content": "updated"
}
}
]
}
},
"application/did+json": {
"didDocumentDataModel": {
"representationSpecificEntries": {}
},
"representation": "{\"id\":\"did:oyd:zQmeArtmfxJ1JB6CXvoFdcQCyxPcYii5DUTBR44g4xYpCLR\",\"verificationMethod\":[{\"id\":\"did:oyd:zQmeArtmfxJ1JB6CXvoFdcQCyxPcYii5DUTBR44g4xYpCLR#key-doc\",\"type\":\"Ed25519VerificationKey2020\",\"controller\":\"did:oyd:zQmeArtmfxJ1JB6CXvoFdcQCyxPcYii5DUTBR44g4xYpCLR\",\"publicKeyMultibase\":\"z6Mv4q7EFUKq7p8KKGGfh1UjduMrpNnzdprtaMiFsp9Kq9gD\"},{\"id\":\"did:oyd:zQmeArtmfxJ1JB6CXvoFdcQCyxPcYii5DUTBR44g4xYpCLR#key-rev\",\"type\":\"Ed25519VerificationKey2020\",\"controller\":\"did:oyd:zQmeArtmfxJ1JB6CXvoFdcQCyxPcYii5DUTBR44g4xYpCLR\",\"publicKeyMultibase\":\"z6MuxmEJYvuo7kre1hXcdVuTm7igpGxi7MkkgrtstRmGVyxY\"}],\"alsoKnownAs\":[\"did:oyd:zQmdXNRiMWEYTiYF58a9BaiUkfB2xWUgL7G7ozyCCNPqjKV\"],\"service\":[{\"id\":\"did:oyd:zQmeArtmfxJ1JB6CXvoFdcQCyxPcYii5DUTBR44g4xYpCLR#payload\",\"type\":\"Custom\",\"serviceEndpoint\":\"https://oydid.ownyourdata.eu\",\"payload\":{\"content\":\"updated\"}}]}",
"didDocumentMetadata": {},
"didResolutionMetadata": {
"contentType": "application/did+json"
}
},
"application/did+ld+json": {
"didDocumentDataModel": {
"representationSpecificEntries": {
"@context": [
"https://www.w3.org/ns/did/v1",
"https://w3id.org/security/suites/ed25519-2020/v1"
]
}
},
"representation": "{\"@context\":[\"https://www.w3.org/ns/did/v1\",\"https://w3id.org/security/suites/ed25519-2020/v1\"],\"id\":\"did:oyd:zQmeArtmfxJ1JB6CXvoFdcQCyxPcYii5DUTBR44g4xYpCLR\",\"verificationMethod\":[{\"id\":\"did:oyd:zQmeArtmfxJ1JB6CXvoFdcQCyxPcYii5DUTBR44g4xYpCLR#key-doc\",\"type\":\"Ed25519VerificationKey2020\",\"controller\":\"did:oyd:zQmeArtmfxJ1JB6CXvoFdcQCyxPcYii5DUTBR44g4xYpCLR\",\"publicKeyMultibase\":\"z6Mv4q7EFUKq7p8KKGGfh1UjduMrpNnzdprtaMiFsp9Kq9gD\"},{\"id\":\"did:oyd:zQmeArtmfxJ1JB6CXvoFdcQCyxPcYii5DUTBR44g4xYpCLR#key-rev\",\"type\":\"Ed25519VerificationKey2020\",\"controller\":\"did:oyd:zQmeArtmfxJ1JB6CXvoFdcQCyxPcYii5DUTBR44g4xYpCLR\",\"publicKeyMultibase\":\"z6MuxmEJYvuo7kre1hXcdVuTm7igpGxi7MkkgrtstRmGVyxY\"}],\"alsoKnownAs\":[\"did:oyd:zQmdXNRiMWEYTiYF58a9BaiUkfB2xWUgL7G7ozyCCNPqjKV\"],\"service\":[{\"id\":\"did:oyd:zQmeArtmfxJ1JB6CXvoFdcQCyxPcYii5DUTBR44g4xYpCLR#payload\",\"type\":\"Custom\",\"serviceEndpoint\":\"https://oydid.ownyourdata.eu\",\"payload\":{\"content\":\"updated\"}}]}",
"didDocumentMetadata": {},
"didResolutionMetadata": {
"contentType": "application/did+ld+json"
}
}
},
"did:oyd:test": {
"didDocumentDataModel": {
"properties": {
"id": "did:oyd:zQmeNewsraS3Aeqf6d647pm4RRPr3uZHj5puhMYnJCNjceg",
"verificationMethod": [
{
"id": "did:oyd:zQmeNewsraS3Aeqf6d647pm4RRPr3uZHj5puhMYnJCNjceg#key-doc",
"type": "Ed25519VerificationKey2020",
"controller": "did:oyd:zQmeNewsraS3Aeqf6d647pm4RRPr3uZHj5puhMYnJCNjceg",
"publicKeyMultibase": "z6Mv6tYu3rkE2AhFoEgukV5XwakRpnXUdt9CpE1Sp66RPjXt"
},
{
"id": "did:oyd:zQmeNewsraS3Aeqf6d647pm4RRPr3uZHj5puhMYnJCNjceg#key-rev",
"type": "Ed25519VerificationKey2020",
"controller": "did:oyd:zQmeNewsraS3Aeqf6d647pm4RRPr3uZHj5puhMYnJCNjceg",
"publicKeyMultibase": "z6Mv94m3kp6NCzWzqvppDjJYggmhxN8DHrgLdxxRcczWxcWg"
}
],
"publicAccess": true,
"additionalType": null,
"datePublished": "2022-01-03T15:45:36Z",
"rating": 4.5,
"commentCount": 2,
"service": [
{
"id": "did:oyd:zQmeNewsraS3Aeqf6d647pm4RRPr3uZHj5puhMYnJCNjceg#payload",
"type": "Custom",
"serviceEndpoint": "https://oydid.ownyourdata.eu",
"payload": {
"demo": "data types"
}
}
]
}
},
"application/did+json": {
"didDocumentDataModel": {
"representationSpecificEntries": {}
},
"representation": "{\"id\":\"did:oyd:zQmeNewsraS3Aeqf6d647pm4RRPr3uZHj5puhMYnJCNjceg\",\"verificationMethod\":[{\"id\":\"did:oyd:zQmeNewsraS3Aeqf6d647pm4RRPr3uZHj5puhMYnJCNjceg#key-doc\",\"type\":\"Ed25519VerificationKey2020\",\"controller\":\"did:oyd:zQmeNewsraS3Aeqf6d647pm4RRPr3uZHj5puhMYnJCNjceg\",\"publicKeyMultibase\":\"z6Mv6tYu3rkE2AhFoEgukV5XwakRpnXUdt9CpE1Sp66RPjXt\"},{\"id\":\"did:oyd:zQmeNewsraS3Aeqf6d647pm4RRPr3uZHj5puhMYnJCNjceg#key-rev\",\"type\":\"Ed25519VerificationKey2020\",\"controller\":\"did:oyd:zQmeNewsraS3Aeqf6d647pm4RRPr3uZHj5puhMYnJCNjceg\",\"publicKeyMultibase\":\"z6Mv94m3kp6NCzWzqvppDjJYggmhxN8DHrgLdxxRcczWxcWg\"}],\"publicAccess\":true,\"additionalType\":null,\"datePublished\":\"2022-01-03T15:45:36Z\",\"rating\":4.5,\"commentCount\":2,\"service\":[{\"id\":\"did:oyd:zQmeNewsraS3Aeqf6d647pm4RRPr3uZHj5puhMYnJCNjceg#payload\",\"type\":\"Custom\",\"serviceEndpoint\":\"https://oydid.ownyourdata.eu\",\"payload\":{\"demo\":\"data types\"}}]}",
"didDocumentMetadata": {},
"didResolutionMetadata": {
"contentType": "application/did+json"
}
},
"application/did+ld+json": {
"didDocumentDataModel": {
"representationSpecificEntries": {
"@context": [
"https://www.w3.org/ns/did/v1",
"https://w3id.org/security/suites/ed25519-2020/v1",
{
"publicAccess": "https://schema.org/publicAccess",
"additionalType": "https://schema.org/additionalType",
"datePublished": "https://schema.org/datePublished",
"rating": "https://schema.org/Rating",
"commentCount": "https://schema.org/commentCount"
}
]
}
},
"representation": "{\"@context\":[\"https://www.w3.org/ns/did/v1\",\"https://w3id.org/security/suites/ed25519-2020/v1\",{\"publicAccess\":\"https://schema.org/publicAccess\",\"additionalType\":\"https://schema.org/additionalType\",\"datePublished\":\"https://schema.org/datePublished\",\"rating\":\"https://schema.org/Rating\",\"commentCount\":\"https://schema.org/commentCount\"}],\"id\":\"did:oyd:zQmeNewsraS3Aeqf6d647pm4RRPr3uZHj5puhMYnJCNjceg\",\"verificationMethod\":[{\"id\":\"did:oyd:zQmeNewsraS3Aeqf6d647pm4RRPr3uZHj5puhMYnJCNjceg#key-doc\",\"type\":\"Ed25519VerificationKey2020\",\"controller\":\"did:oyd:zQmeNewsraS3Aeqf6d647pm4RRPr3uZHj5puhMYnJCNjceg\",\"publicKeyMultibase\":\"z6Mv6tYu3rkE2AhFoEgukV5XwakRpnXUdt9CpE1Sp66RPjXt\"},{\"id\":\"did:oyd:zQmeNewsraS3Aeqf6d647pm4RRPr3uZHj5puhMYnJCNjceg#key-rev\",\"type\":\"Ed25519VerificationKey2020\",\"controller\":\"did:oyd:zQmeNewsraS3Aeqf6d647pm4RRPr3uZHj5puhMYnJCNjceg\",\"publicKeyMultibase\":\"z6Mv94m3kp6NCzWzqvppDjJYggmhxN8DHrgLdxxRcczWxcWg\"}],\"publicAccess\":true,\"additionalType\":null,\"datePublished\":\"2022-01-03T15:45:36Z\",\"rating\":4.5,\"commentCount\":2,\"service\":[{\"id\":\"did:oyd:zQmeNewsraS3Aeqf6d647pm4RRPr3uZHj5puhMYnJCNjceg#payload\",\"type\":\"Custom\",\"serviceEndpoint\":\"https://oydid.ownyourdata.eu\",\"payload\":{\"demo\":\"data types\"}}]}",
"didDocumentMetadata": {},
"didResolutionMetadata": {
"contentType": "application/did+ld+json"
}
}
}
}
Loading