Repository navigation
Conversation
jeswr
commented
Sep 22, 2026
jeswr
commented
Sep 22, 2026
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
The media-type requirements must account for responses such as 304 Not Modified that contain no representation body.
Review effort: Lite
Findings: None
What changed in this PR
Clarifies application/lws+json as the normative container representation while retaining profiled JSON-LD equivalence.
Changes:
- Removes unprofiled JSON media-type equivalence requirements.
- Scopes container and read-operation wording to LWS JSON.
- Updates container response documentation.
| File | Summary |
|---|---|
lws10-core/Operations/read-resource.md |
Scopes container responses to the LWS media type. |
lws10-core/lws-media-type.md |
Defines LWS media-type negotiation; scope requirements to responses with representations. |
lws10-core/container-representation.md |
Scopes the container structure to LWS JSON. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Source finding
w3c/lws-protocol#246 identifies the requirement that unprofiled
application/ld+jsonandapplication/jsoncontainer responses use the same LWS JSON shape, and that servers support both media types.Proposed change
application/lws+jsonfor containers and return the defined LWS container structure.application/ld+jsonandapplication/json.application/ld+json; profile="https://www.w3.org/ns/lws/v1"as equivalent toapplication/lws+json, both in the media-type section and registration note.This is a protocol behavior change, not an editorial-only correction. The profiled JSON-LD equivalence remains a SHOULD recommendation; the unprofiled formats no longer carry the removed requirements.
Validation
git diff --checkpassed.Draft for Jesse's review in the personal fork. Upstream submission and merging remain separate decisions.