-
Notifications
You must be signed in to change notification settings - Fork 97
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
Define DID Document Metadata #203
Comments
Pulling up the comment @jricher left regarding content sniffing: w3c/did-extensions#4 (comment)
Responding in part to #65 here... If we are injecting DID Document metadata into the document... how will you know how to parse the did document to access those injected properties? If the metadata is outside of the DID Document and you receive a Buffer supposedly containing a DID Document, how will you know how to parse it? All software will need to pass around Seems like we are currently aligned on the JSON Schema front, there will be a way to use JSON Schema to sniff for Seems like one thing which is pretty much required now is that we define how method resolvers work: A DID Method Resolver returns For 100% percent of DID Methods today, metadata would include |
To be clear: the metadata is separate from the DID document and cannot be internal. For all the reasons above we need to be able to talk about the document before we can process the document, and for that, we need metadata structures, and those come back from DID resolution results. #198 |
How is this issue here different from #65. Can we close this one and continue discussion in the other one? |
This is related to #65 but is fundamentally asking a different question. I think they'll be answered by the same set of work, which is to say the resolution contracts. |
Three months later and we're still waiting on contracts to address this |
This the topic of the upcoming DID Special Topic call this week. |
It seems this issue has been addressed by PRs, so we will close it soon unless there are objections. |
No comments since marked pending close, closing. |
Metadata for the DID Document returned from the Resolver and Dereferencer needs to be defined, including (but not limited to) the representation type.
The text was updated successfully, but these errors were encountered: