-
Notifications
You must be signed in to change notification settings - Fork 7
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
Specify that semantics are the same if @context is not used. #106
Conversation
index.html
Outdated
@@ -2532,7 +2532,11 @@ <h4>Context Injection</h4> | |||
|
|||
<p> | |||
Implementations that do not intend to use JSON-LD MAY choose to not include an | |||
`@context` declaration at the top-level of the document. | |||
`@context` declaration at the top-level of the document. Whether the `@context` | |||
value or JSON-LD processors are used or not, the semantics for all properties |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
value or JSON-LD processors are used or not, the semantics for all properties | |
value and/or JSON-LD processors are used or not, the semantics for all properties |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Included in my suggestion below.
index.html
Outdated
@@ -2532,7 +2532,11 @@ <h4>Context Injection</h4> | |||
|
|||
<p> | |||
Implementations that do not intend to use JSON-LD MAY choose to not include an | |||
`@context` declaration at the top-level of the document. | |||
`@context` declaration at the top-level of the document. Whether the `@context` | |||
value or JSON-LD processors are used or not, the semantics for all properties |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Included in my suggestion below.
The issue was discussed in a meeting on 2024-10-16
View the transcript4.2. Specify that semantics are the same if @context is not used. (pr controller-document#106)See github pull request controller-document#106. Manu Sporny: the TAG said a JSON-LD processor might resolve to a different solution to pure JSON processing, so need to make clear that this is not the case.
|
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. |
Co-authored-by: Ted Thibodeau Jr <[email protected]>
Substantive, multiple reviews, changes requested and made, no objections, merging. |
This PR is an attempt to partially address issue #94 by specifying that document semantics are the same even when
@context
is not used./cc @jyasskin and @hadleybeeman
Preview | Diff