mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
789 B
789 B
Events
This repository centralizes event schemas across the Formance Stack. For each stack version, a repository named "vX" contains all related events.
Each "vX" folder contains a "base" folder that contains the base event format, which is common to all services. This base event includes a "type" property and an "app" property, which denote the format of the "payload" property.
For example, an event with "type" == "SAVED_PAYMENT" and "app" == "payments" must have a payload matching schema in the file "payments/SAVED_PAYMENT.yaml".
Payments Versions
We decided to go with stack releases starting at v2.0.x.
Before that, the last payments version was v0.9.7.
This is why we do not have a v1.0.0 directory with events, since payments was never released with a v1.x version.