python-jsonschema / python-jsonschema/check-jsonschema
Cannot download schema using check-jsonschema
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 341
- Forks
- 71
- Avg merge
- 15d 20h
- Merged PRs (30d)
- 4
Description
Hi
The following is not working
check-jsonschema --schemafile 'https://www.bluetooth.com/specifications/specs/mesh-cdb-1-0-1-schema.json#' example.json
Error: Unexpected Error building schema validator
FailedDownloadError: got responses with status=403, retries exhausted
While the following is working (notice -L in curl):
curl -L 'https://www.bluetooth.com/specifications/specs/mesh-cdb-1-0-1-schema.json#' | check-jsonschema --schemafile - example.json
The platform is Windows 11, running "GIT bash" terminal.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the check-jsonschema CLI's --schemafile download path and reproduce the Bluetooth URL command in Windows Git Bash. Compare its handling of the redirect with curl -L; done means the schema URL can be passed directly and example.json validates without the 403 failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100