Skip to content
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

I updated the base URI and included a Draft-specific info box section #673

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Dule-martins
Copy link

$ids were changed to absolute URIs. A Draft-specific Info block that supports changing dialects in an embedded schema (using $schema with a different value than the parent schema) with an explanation of the difference between 2020-09 and 2020-12

What kind of change does this PR introduce?
refactoring doc

Issue Number:

Screenshots/videos:

If relevant, did you update the documentation?

Summary

Does this PR introduce a breaking change?

@Dule-martins Dule-martins requested a review from a team as a code owner April 22, 2024 17:16
@Dule-martins Dule-martins changed the title I Updated the base URI and included a Draft-specific info box section I updated the base URI and included a Draft-specific info box section Apr 22, 2024
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome to the JSON Schema Community. Thanks a lot for creating your first pull request!! 🎉🎉 We are so excited you are here! We hope this is only the first of many! For more details check out README.md file.

Comment on lines +572 to +573
In 2020-09, Only URI-references without fragments are allowed;
all other fragments in $id had undefined behavior previously.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We didn't discuss adding this and I'm not sure it belongs. This doesn't really address a change in behavior. This references something that was syntactically possible previously, but was entirely meaningless. The change was to forbid this syntax that didn't have any meaning anyway. For a reference at this level, I think this is a detail that's unnecessary to call out. It's fixing an inconsistency in the spec. I don't think users care about that.

Someone let me know if I'm missing something and there's a reason why this should be in UJS.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I thought of adding it because I was trying to show the difference between Draft 2020-12 and 2020-9, but I can remove it @jdesrosiers

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, please remove it

@benjagm benjagm added the Status: In Progress This issue is being worked on, and has someone assigned. label Apr 23, 2024
@benjagm
Copy link
Collaborator

benjagm commented May 16, 2024

Hi @Dule-martins . We are almost done with the changes to merge this PR. Can you please review the last comments?

@Dule-martins
Copy link
Author

Dule-martins commented May 16, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: In Progress This issue is being worked on, and has someone assigned.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[📝 Docs]: The Bundling Section of The Structuring doc needs updating for v2012
3 participants