Skip to content

Conversation

@SaiChaii
Copy link

What kind of change does this PR introduce?

Documentation improvement

Issue Number:

Screenshots/videos:

Not applicable (documentation-only change)

If relevant, did you update the documentation?

Yes — updated learning examples in pages/learn/json-schema-examples.md

Summary

This PR adds a short documentation section explaining the practical
differences between oneOf, anyOf, and allOf using clear, real-world
JSON Schema examples.

These combining keywords are commonly misunderstood, especially when
schemas overlap. The added examples aim to clarify their behavior and
common pitfalls for readers of the learning docs.

Does this PR introduce a breaking change?

No

What kind of change does this PR introduce?

Issue Number:

  • Closes #___
  • Related to #___
  • Others?

Screenshots/videos:

If relevant, did you update the documentation?

Summary

Does this PR introduce a breaking change?

Checklist

Please ensure the following tasks are completed before submitting this pull request.

@SaiChaii SaiChaii requested a review from a team as a code owner December 22, 2025 17:15
@github-project-automation github-project-automation bot moved this to Ready to review in PR - Triage Group Dec 22, 2025
@github-actions
Copy link

github-actions bot commented Dec 22, 2025

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
website ✅ Ready (View Log) Visit Preview 1db9e68

@codecov
Copy link

codecov bot commented Dec 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (4765f6d) to head (1db9e68).

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #2018   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           30        30           
  Lines          633       633           
  Branches       196       196           
=========================================
  Hits           633       633           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Ready to review

Development

Successfully merging this pull request may close these issues.

Add practical examples explaining oneOf vs anyOf vs allOf

1 participant