Skip to content

Conversation

@clemensbuchacher-cpu
Copy link
Contributor

@clemensbuchacher-cpu clemensbuchacher-cpu commented Nov 10, 2025

Replace json.schemastore.org with www.schemastore.org. Note that the schema $id should remain json.schemastore.org. Therefore this PR only updates catalog URL for now.

This essentially reverts #387.

Closes #421

Summary by CodeRabbit

  • Chores
    • Updated the schema catalog endpoint to a more reliable host to improve schema loading reliability and reduce potential validation disruptions.

@changeset-bot
Copy link

changeset-bot bot commented Nov 10, 2025

🦋 Changeset detected

Latest commit: 4d101bb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
eslint-plugin-json-schema-validator Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai
Copy link

coderabbitai bot commented Nov 10, 2025

Walkthrough

Updated the SchemaStore catalog URL used by the rule to point to the new host: https://json.schemastore.org/api/json/catalog.jsonhttps://www.schemastore.org/api/json/catalog.json. Also added a changeset entry for a patch release.

Changes

Cohort / File(s) Summary
SchemaStore URL migration
src/rules/no-invalid.ts
Updated CATALOG_URL constant to https://www.schemastore.org/api/json/catalog.json (was https://json.schemastore.org/api/json/catalog.json).
Release changeset
.changeset/grumpy-hairs-melt.md
Added changeset for a patch release with message: "fix: update schemastore to www url".

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

  • Files to spot-check: src/rules/no-invalid.ts (URL change), .changeset/grumpy-hairs-melt.md (metadata).

Possibly related PRs

Suggested labels

bug, upstream issue

Pre-merge checks and finishing touches

✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: updating the catalog URL from json.schemastore.org to www.schemastore.org.
Linked Issues check ✅ Passed The PR addresses issue #421 by updating the CATALOG_URL to use www.schemastore.org, resolving the reported 503 errors and intermittent redirect issues.
Out of Scope Changes check ✅ Passed All changes are directly related to the linked issue: CATALOG_URL update and changeset entry. No unrelated modifications are present.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between bc509cb and 4d101bb.

📒 Files selected for processing (1)
  • .changeset/grumpy-hairs-melt.md (1 hunks)
✅ Files skipped from review due to trivial changes (1)
  • .changeset/grumpy-hairs-melt.md
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (9)
  • GitHub Check: test (macos-latest, 22.x)
  • GitHub Check: test (18.x, ubuntu-latest)
  • GitHub Check: test-and-coverage
  • GitHub Check: test (windows-latest, 22.x)
  • GitHub Check: test-with-eslint8 (14.x)
  • GitHub Check: test-with-eslint6
  • GitHub Check: test (20.x, ubuntu-latest)
  • GitHub Check: test-with-eslint7
  • GitHub Check: test-with-eslint8 (16.x)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Owner

@ota-meshi ota-meshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CI seems to be already broken in several ways. I will fix the CI errors after merging this.
Thank you!

@ota-meshi ota-meshi merged commit e7fc3ec into ota-meshi:main Nov 10, 2025
1 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Schemastore moved from json.schemastore.org to www.schemastore.org

2 participants