python-jsonschema / python-jsonschema/check-jsonschema

Vendor schemastore `base.json` and inject it into the `referencing` store automatically when loading vendored schemas

Open
#655 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
341
Forks
71
Avg merge
15d 20h
Merged PRs (30d)
4

Description

For context:
https://github.com/SchemaStore/schemastore/pull/5381#issuecomment-3974482795

There's an internal-to-schemastore base.json. For offline usage to work, we need that schema to be available in the $ref registry.

  1. Vendor it (easy)
  2. Detect when a vendored schema is being loaded and store that information for later use (easy)
  3. Inject base.json into the registry when the "vendored schema flag" is set (easy?)

It seems simple. 🤞 that it really is!

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 tracing where vendored schemas are loaded and how the referencing store is populated. Check how the vendored-schema flag can be retained for later use. Done means base.json is vendored and injected into the registry when that flag is set, allowing offline $ref resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.