json-schema-org / json-schema-org/JSON-Schema-Test-Suite

Cover URI schemes in $id besides URL and URN

Open
#797 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
750
Forks
307
Avg merge
3d 17h
Merged PRs (30d)
24

Description

According to the spec, the $id attribute allows arbitrary URIs. The test suite covers URLs and URNs. It might be helpful to have a canary with another URI type, e.g. tag URI (which seems to be recommended over unregistered URNs):

"$id": "tag:foo.example,2025:bar/baz"

One of the existing URN test cases could be copied/repurposed to cover tag URI.

According to json-schema-validation-comparison as of 2025-11-25 (commit 895504e5), the following JVM implementations don't seem to handle tag URIs as expected: Jackson, Justify, Skema and Snow.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing URN test case in the JSON Schema test suite and compare its structure with the issue's tag URI example. Add an equivalent canary for tag:foo.example,2025:bar/baz, then run the relevant test suite and confirm implementations are evaluated against the new case.

Written by the indexing model from the issue text.

Assessment

Tech stack
json
Domain
testing-qa
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.