python-jsonschema / python-jsonschema/check-jsonschema

Feature Request: Support URL rewrite

Open
#680 0 comments 0 reactions 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

In order to more easily handle downloaded schema in a company network,
I hope there is a cmdline to configure URL rewrite,
so that the schema under the official URL, such as https://www.schemastore.org/,
can be rewritten to a company mirror URL.

The reason is that external websites are often blocked by company firewall.

Some examples for the URL rewrite in other projects:

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 reviewing the command-line option handling and the path used to download schemas from official URLs. Define how a configured rewrite maps an official schema URL to a company mirror, then verify that the rewritten URL is used when external sites are blocked.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.