Repository navigation
Conversation
Resource self and defaultversionurl examples omit the metadata suffix, and the root JSON Pointer example uses a slash. Existing rules require metadata URLs and a pointer to the entity within the returned document; the root pointer is empty. Sources: xregistry#723 and xregistry#677. Category: consistency. Scope: five example values in core/spec.md; no URL or document-view policy changes. Signed-off-by: Clemens Vasters <clemensv@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
duglin
reviewed
Oct 9, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Clemens Vasters <clemensv@microsoft.com>
duglin
marked this pull request as ready for review
October 16, 2026 13:12
Contributor
|
Approved on the 10/16 call |
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.
Correct metadata URLs in the cross-reference examples and the root JSON
Pointer in the document-view table. State the existing root-pointer rule
explicitly in the Doc Flag section.
Corrections
Target and projected source
selfURLsAdd
$detailsto the target Schema Resource'sselfand to the projectedsource's
self. The HTTP body serialization rule requiresthis suffix for document-bearing Resources and Versions. The
Schema Resource model does not override
hasdocument, whosedefault is true. These examples return metadata, not
the schema document.
The projected source keeps its own path. The projection rules
require source identity and URLs; the patch does not substitute the target's
location.
Default Version URL
Add
$detailsto the projectedmeta.defaultversionurl. ItsAPI-view constraints require the Version's metadata URL,
including
$detailsfor HTTP document-bearing Resources, and equality withthat Version's
self. The Resource path andv1identifier stay unchanged.Dangling cross-reference
selfAdd
$detailsto the source Schema Resource'sselfin the dangling-targetexample. The dangling-reference rule removes unavailable target
attributes, but the source is still a document-bearing Resource. The
HTTP
selfrule depends on that Resource type, not on whetherthe target document is accessible. No dangling-reference error or document
retrieval behavior is introduced.
Whole-document JSON Pointer
Change the last
selfvalue in the Doc Flag table from#/to#. The rule locates the entity within the returned response; in that row,the response is the Resource itself. Under RFC 6901,
#identifies the whole document, whereas
#/selects an empty-named member.Scope
Five non-normative example corrections and a sentence making the existing
root-pointer requirement explicit. The metadata-view, projection and JSON
Pointer semantics are unchanged.
Source proposals: #723, #677.
Spec and model links use the unchanged base revision so the governing
requirements can be compared with this patch.
Superseded corrections
This PR supersedes the corrections described above from:
Only those corrections are superseded. Other changes in the linked PRs
remain outside this PR's scope; the references do not close those PRs.
Copy of clemensv#5, with the same branch and commits.