w3c / did-extensions

Decentralized Identifier Ecosystem Extensions
https://w3c.github.io/did-extensions/
Other
119 stars 194 forks source link

Creating a new 'service' type #437

Open Tweeddalex opened 2 years ago

Tweeddalex commented 2 years ago

As part of our ongoing work to support both JSON / JSON-LD and AnonCreds-like Credentials on cheqd, we want to create a new service type for schemas stored on-ledger (e.g. type: CL-Schema).

Having looked at the DID Spec Registries documentation, seemingly only LinkedDomains and DIDCommMessaging are officially supported types according to the DID Spec Registries.

I cannot find where these are registered, nor a process for suggesting / creating new service types. Could someone please point me in the right direction if there is already an existing process. Or if this is work that needs to be done, we'd be keen to help contribute here. Thanks 😄

peacekeeper commented 2 years ago

process for suggesting / creating new service types

Hi @Tweeddalex just write a specification that explains the service type, and then create a PR to add it here: https://w3c.github.io/did-spec-registries/#service-types

If the service type is method-specific, then I guess the specification that defines the service type could be the same as the DID method specification.