-
Notifications
You must be signed in to change notification settings - Fork 98
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
DID Document vs. DID Subject #413
Comments
The DID document is just the name for a set of properties about the DID subject. The DID subject is whatever the DID identifies. The DID document is what is produced by the DID resolution process, and isn't actually 'a thing', just a shorthand to refer to the resulting set of properties. All of these properties have the DID subject as their subject (in RDF triple terms) unless they are "DID document metadata properties" - of which |
So what is the Edit: And how does that Alternatively, are both the |
The DID, as in the identifier, on the verifiable data registry. The DID document is generated as a result of the resolution process, rather than created per se. This is my interpretation anyway; there's some contention about having the
The DID, the identifier, identifies the DID subject. |
Perhaps I could ask the question differently When we say X (something) was 'updated' at time Y What was updated? Was the DID document updated, or was the DID (Subject) updated? On the assumption that they are different entities, which one was updated. Consider for example a physical passport is a document containing claims. Those claims can be updated, and the passport itself can be updated/renewed. Is this a good analogy here? If so, does the document (passport in this case) have its own identifier, how is it related to the DID Subject, and when we use the term |
@melvincarvalho it is worth looking at #373 and the documents referred to from there. Thx. |
Thanks for pointing this out, that was very interesting It's quite a long thread and I think it's asking a similar question to: do Is there a consensus? My main follow-up question: In the case that these two entities have different URIs. Is there a term which links them together (in either direction). For example in a web document you could use: https://schema.org/mainEntityOfPage Which seems to neatly solve the problem. Would it be OK to just use this? |
Consensus of the WG to date has been that the DID document doesn't have its own URI, only the DID subject has a URI (the DID). The idea of the |
@rhiaro thanks. If So that would mean that |
As it says in the spec, they apply to the when Create and Update operations are performed by the DID method. The Create operation generally means when the DID was generated on the verifiable data registry. The Update operation generally means when some of the data about the DID subject - aka the properties represented by the DID document - has changed. Updated is underspecified just now, and I'm not sure if that is going to change. Create and Update can and should both be better specified in a DID method. |
@melvincarvalho You nailed the reason that More about this in the comment I'm adding to #373 next. |
@rhiaro correct me if I am wrong, but I think in the ongoing discussion about the data model and representations, this would support the perspective that |
You express it by creating an outer object/graph and referencing the content in the DID Document in that way. This is out of scope for the DID Core specification but could be in scope for the DID resolution specification. The questions raised by @peacekeeper will be a topic of discussion for the upcoming virtual face-to-face. I'm going to mark this issue as pending close because 1) we're not going to add a In short, there is nothing to do here wrt. the DID Core spec. This issue will be closed in 7 days unless there are objections. |
No objections seen and 7 days have passed. Closing this issue. |
From Melvin Carvalho (@melvincarvalho) to the CCG mailing list when we asked for reviews:
The text was updated successfully, but these errors were encountered: