Files
stack/libs/events/README.md
Ragot GeoffreyandGitHub c1236b6d64 test: add more tests
Add some integration tests.
2023-02-28 10:50:27 +01:00

543 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".