Skip to content

Treaty

The suite's contracts as code. Treaty defines what crosses between products; the products carry it. It holds no product's data.

The envelope

Every event is a CloudEvents 1.0 event in binary content mode, over HTTP and NATS headers, with one naming rule for subjects and types. The envelope and subjects

The schemas

A JSON Schema for every body SuperPipeline sends and for every board-room Matrix event, with the valid and refused cases each must hold to. Event catalogue · Matrix events

The relay

Workers publish to NATS JetStream over HTTPS, and subscribers receive each event as a signed HTTP request, at least once. The relay

The packages

Five MIT packages on npm under @superjackfruitlabs/treaty-*, all at one version. Which package