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 trait: DID Linked Resources #21

Open
sownak opened this issue Dec 13, 2024 · 3 comments
Open

Add trait: DID Linked Resources #21

sownak opened this issue Dec 13, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@sownak
Copy link

sownak commented Dec 13, 2024

With createResource(), updateResource() and deactivateResource() support now enabled, we should support the did resource traits as well.
Example definitions:

{
    "updateableResource": {
      "type": "boolean",
      "title": "Rotatable Did linked resources",
      "description": "Did linked resources are updateable, allowing the resources to be replaced or updated with newer versions."
    },
    "deactivatableResource": {
      "type": "boolean",
      "title": "Deactivatable Did linked resources",
      "description": "Did linked resources are deactivatable."
    },
}
@jceb
Copy link
Contributor

jceb commented Jan 13, 2025

@sownak thank you for the suggestion. I'm not familiar with DID Linked Resources. Could you provide a brief overview of what needs to be done for a DID method to support linked resources? In the introduction (https://w3c-ccg.github.io/DID-Linked-Resources/#intro) it sounds like this a feature of the DID resolver rather than a characteristic of a DID method.

@sownak
Copy link
Author

sownak commented Jan 14, 2025

@jceb Yes the DID-Linked resources are (as explained in the link) files/objects which are identified and retrieved by a DID. For a did method to support linked resource, there would be additional metadata to be added like linkedResourceMetadata, the CRUD operations for the resources need to be handled, etc. DID methods like did:cheqd support this, and in https://identity.foundation/did-registration/#did-url-operations the methods that I mentioned are defined as well.

@jceb
Copy link
Contributor

jceb commented Jan 14, 2025

If I understand correctly, the trait refers to additional DID URL operations as defined in https://identity.foundation/did-registration/#did-url-operations. Is it important to name every CRUD operation as a trait or are DID methods required to implement all operations?

Is DID Linked Resources an extension to the DID Registration specification?

@jceb jceb added the enhancement New feature or request label Jan 15, 2025
@jceb jceb changed the title Add traits for Did Linked Resources Add trait: DID Linked Resources Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants