If I have a W3C DID Document and I want to have a serviceEndpoint that points to a BlockCerts credential such as MIT’s digital diploma, chatGPT suggests something along the lines of the following. I’m wondering if that’s actually the suggested way to do it:
{
"@context": "<w3c did page>",
"id": "did:example:123456789abcdefghi",
"service": [
{
"id": "did:example:123456789abcdefghi#blockcerts",
"type": "CredentialService",
"serviceEndpoint": {
"url": "https://example.org/blockcerts/verify?certificateId=abcdef123456",
"description": "MIT BlockCerts Verification Service",
"serviceType": "Blockcerts"
}
}
]
}