Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Clarify IRI comparison for identity tokens (#1623) #1625

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

Closed
riyap03 wants to merge 1 commit into json-schema-org:main from riyap03:fix-uri-normalization

Conversation

Copy link

@riyap03 riyap03 commented Aug 31, 2025

...ison (#1623)

What kind of change does this PR introduce?

Documentation / specification clarification

Issue & Discussion References

Summary

This PR updates the JSON Schema specification to clarify that when IRIs are used as identity tokens (not locators), implementations must use Simple String Comparison according to RFC 3987 section 5.3.1.

Full normalization or scheme-based comparison is not required in this context.

Example for clarity:

  • https://example.com/schema/α
  • https://example.com/schema/α

These two IRIs are considered identical only if their strings match exactly, without performing additional normalization.

This fixes the inconsistency between the spec and RFC 3987 recommendations.

Does this PR introduce a breaking change?

No. This is a documentation/specification update and does not affect existing implementations.

Copy link
Member

This issue is not ready for PR. It has some pretty significant implications that we need to discuss and decide on what action (if any) to take.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

URI normalization

AltStyle によって変換されたページ (->オリジナル) /