https://github.com/pactflow/pact-schemas
Typed schemas for the Pact Specification (up to V4)
https://github.com/pactflow/pact-schemas
schemas specification
Last synced: 23 days ago
JSON representation
Typed schemas for the Pact Specification (up to V4)
- Host: GitHub
- URL: https://github.com/pactflow/pact-schemas
- Owner: pactflow
- Created: 2023-05-19T01:04:19.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-14T01:42:51.000Z (2 months ago)
- Last Synced: 2025-02-14T02:40:39.229Z (2 months ago)
- Topics: schemas, specification
- Language: TypeScript
- Homepage: https://github.com/pact-foundation/pact-specification/
- Size: 238 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pact Schemas
[](https://github.com/pactflow/pact-schemas/actions/workflows/build.yml)
This repository reimplements [Pact JSON
Schema](https://bitbucket.org/atlassian/pact-json-schema) using
[TypeBox](https://github.com/sinclairzx81/typebox) enabling a more composeable
and thus sustainable way of building up the JSON Schema. All versions of pact;
[v1](https://github.com/pact-foundation/pact-specification/tree/version-1),
[v2](https://github.com/pact-foundation/pact-specification/tree/version-2),
[v3](https://github.com/pact-foundation/pact-specification/tree/version-3), and
[v4](https://github.com/pact-foundation/pact-specification/tree/version-4) 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](./dist)