-
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
application/did+ld+json
should be revisited
#863
Comments
This was discussed during the #did meeting on 19 September 2024. View the transcriptw3c/did-core#863 application/did+ld+json should be revisitedmanu: Strategy to discuss the big rocks first. Class 3, then 2 then 1 <ivan> Controller document context injection section manu: Strongly suggesting we just do application/did to keep it simple <bigbluehat> +1 to `application/did` <dmitriz> my vote would be for application/did+json. To enable the eventual (and inevitable?) application/did+cbor markus_sabadello: What does this mean for the abstract data model, if the controller document allows context injection <Zakim> manu, you wanted to go into polyglot response if it becomes an issue. manu: Still have the abstract data model. You would still be able to use JSON. Or you can use jsonld. Fundamentally these are interpretted the same. The meaning is the same markus_sabadello: I want to do this. Seems like we don't need the different representations anymore. dmitriz: In JSON vs JSONLD we loose track of other things like CBOR and YAML. My vote is for application/did+json ivan: Understand dmitriz opinion. But, the VCWG has decided to use application/vc for verifiable credentials <Zakim> manu, you wanted to note that we could have CBOR in the future. and to ask if it's "application/json", then what do we do for JSON-LD? manu: Not closed the door on CBOR or YAML. Could have did+cbor or did+yaml. But what do we do about jsonld. We could say application/did is jsonld decentralgabe: encourage people to consider discussion on an issue decentralgabe: time for one or two more |
This was discussed during the did meeting on 10 October 2024. View the transcriptw3c/did-core#863manu: something to think about. Issue 863 about our media type burn: Any other items? burn: Thanks everyone |
This was discussed during the did meeting on 17 October 2024. View the transcriptw3c/did-core#863manu: during TPAC, the TAG suggested to add some text in the VC documents about JSON-LD, <ivan> VC's version on the JSON(-LD) that Manu was talking about: manu: We never picked a media-type because of 5-year long debate at IETF about multiple suffixes in media-types. markus_sabadello: A CBOR representation would have a different media type, but there would be no difference between JSON and JSON-LD? manu: correct markus_sabadello: I think that would be fine, sounds like a good idea, one thing I'm wondering, separate media type for DID Resolution result. markus_sabadello: Separate media type for that, I think that's fine, sounds like a separate question we can discuss separately, but don't think there would be any implications/problems, sounds good. manu: I agree, we should have a separate media-type for DID Resolution results. Wip: Quick comment, this text is in the controller document, will we rely on that? Controller document has its own media type? manu: good question. I think the Controller Document will have its own media-type. Wip: Any comments on the draft proposals? pchampin: Without being too pedantic, the spec makes a clear disctinction between a DID and a DID Document, application/did might be a bit confusing since a DID is an identifier? manu: I take your point. I'm wondering if it matters all that much? <ivan> +1 manu manu: I don't think we would ever serve a pure DID with a media-type. PROPOSAL: The media type for the JSON and JSON-LD expression of a DID Document will be application/did. <dmitriz> +1 <TallTed> +1 <Wip> +1 <manu> +1 <ivan> +1 <markus_sabadello> +1 <pchampin> +0.5 <JennieM> +1 <bigbluehat> +1 RESOLUTION: The media type for the JSON and JSON-LD expression of a DID Document will be application/did. PROPOSAL: The specification should warn that it is possible to use lower fidelity media types like application/json or application/ld+json to serve DID Documents and that implementations should be aware of this fact and use the highest precision media type in their applications. <manu> +1 <Wip> +1 <dmitriz> +1 <TallTed> +1 <JennieM> +1 <ivan> +1 <JoeAndrieu> +1 <markus_sabadello> +1 <pchampin> +1 RESOLUTION: The specification should warn that it is possible to use lower fidelity media types like application/json or application/ld+json to serve DID Documents and that implementations should be aware of this fact and use the highest precision media type in their applications. |
PR #868 has been merged, closing. |
Originally posted by @TallTed in w3c/did-resolution#88 (comment)
Multiple
+
have been disallowed in IETF/IANA media types.application/ld+json
might be sufficient.This needs to be applied throughout
did-resolution
as well asdid-core
.The text was updated successfully, but these errors were encountered: