Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Unable to resolve nested `$ref`s when using local files

Open
#640 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python
Domain
cli

Research direction

Start with the minimal reproducer at https://github.com/GitGraf/check-jsonschema-resolve and trace how local schema references are resolved across multiple levels. Confirm the example validates successfully when a schema references another schema that references a third schema.

Written by the indexing model from the issue text.

Description

I'm trying to build a repository hosting JSON schemas of our application data, alongside with examples of those schemas.
To make sure the examples stay in sync with the schemas, I want to validate them.

If my schema references another schema, validation seems to work as expected.
However, if that other schema in turn references a third schema, that third schema cannot be resolved.

Please see https://github.com/GitGraf/check-jsonschema-resolve for a minimal reproducer.

Dominant language
Python
Stars
341
Forks
71
Avg merge
6d 13h
Merged PRs (30d)
6

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.

More from python-jsonschema/check-jsonschema

All issues in python-jsonschema/check-jsonschema

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.