feat: Schema canonicalization#1138
Open
Stranger6667 wants to merge 1 commit into
Open
Conversation
Merging this PR will not alter performance
Performance Changes
Comparing |
Stranger6667
force-pushed
the
canonical-schema-foundation
branch
21 times, most recently
from
May 24, 2026 11:52
28183a2 to
ccbd9c3
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #1138 +/- ##
==========================================
+ Coverage 95.96% 96.63% +0.66%
==========================================
Files 142 208 +66
Lines 32269 45931 +13662
==========================================
+ Hits 30968 44386 +13418
- Misses 1301 1545 +244 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Stranger6667
force-pushed
the
canonical-schema-foundation
branch
7 times, most recently
from
May 24, 2026 16:46
6d20080 to
df79dc2
Compare
Stranger6667
force-pushed
the
canonical-schema-foundation
branch
28 times, most recently
from
June 7, 2026 14:26
c00ed47 to
a4963e9
Compare
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces a canonical schema algebra that transforms a reasonable subset of JSON Schemas into a canonical representation and provides operations such as intersection, union, negation, subtraction + additional reasoning about schema satisfiability.
This work is motivated by two primary use cases: