Negotiator

2024 · 1 min read

Schema validation, terms, and contracts. Avada Schemata!

Problem

Outcome

A comprehensive schema validation and contract negotiation library supporting both Node.js and browser environments. It provides three core components: Schemer for JSON Schema validation via AJV, Terms for defining data contracts (what interfaces provide/accept), and Contract for negotiating compatibility between providers and consumers. The library is useful for ensuring data compatibility across system boundaries through structured schema validation and interface agreements.

Tools