Skip to main content
HermisLabs
Back to projects
PRJ-02Libraries & SDKsPrototypeReplaceable Sample Entry

SchemaDiff

Static breaking-change detector for JSON Schema, OpenAPI, and SQL migrations.

API contracts and relational schemas evolve continuously across distributed teams. SchemaDiff parses before/after specifications into a normalized AST and surfaces wire-breaking changes, nullability regressions, and unsafe column locks directly in CI checks.

Jump to interactive preview
01 // Problem Statement

Subtle contract changes—such as narrowing an enum, tightening a required property, or rewriting a column type—regularly slip past manual code review and cause silent downstream failures.

02 // Architectural Approach

Uses a unified intermediate schema graph so diff rules are written once and applied consistently across OpenAPI documents, JSON Schema definitions, and SQL DDL patches.

03 // Interactive Preview

Explore how SchemaDiff behaves

Client Sandbox
Base Revision
status: "pending" | "active" | "paused" | "archived"
Proposed Patch
status: "pending" | "active" | "archived"
VERDICT: BREAKING(openapi/enum-member-removed)

Removed enum member 'paused' from response contract GET /v1/deployments. Existing SDK consumers switching on 'paused' may fail deserialization.

04 // Key Capabilities
  • Deterministic severity classification: Safe, Warning, and Breaking
  • SARIF and Markdown PR summary exporters for GitHub Actions & GitLab CI
  • Configurable policy overrides for intentional major-version bumps
  • Library API and standalone CLI binary built from the same core engine
05 // Open Contribution Areas

Engineers interested in shaping or co-maintaining SchemaDiff can jump into these targeted workstreams:

  • GraphQL SDL and Protobuf parser adapters
  • Postgres lock-safety heuristic ruleset expansion
  • Benchmark suite against large real-world OpenAPI specs