/pact-schemas

Typed schemas for the Pact Specification (up to V4)

Primary LanguageTypeScript

Pact Schemas

Pact Schemas

This repository reimplements Pact JSON Schema using TypeBox enabling a more composeable and thus sustainable way of building up the JSON Schema. All versions of pact; v1, v2, v3, and v4 are supported.

To install & run

npm ci
npm run lint
npm run prettier
npm run typecheck
npm run test

Or, if you're just interested in the actual schemas themselves, have a look here