From 3f1fa0e30b8b15101c39171f0a22405f0c8706b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Saint-Roch?= Date: Tue, 5 Sep 2023 19:41:04 +0200 Subject: [PATCH] feat(event): Allow multitenancy via tenant id MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Loïc Saint-Roch --- descriptions/shared/components/schemas/Event.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/descriptions/shared/components/schemas/Event.yaml b/descriptions/shared/components/schemas/Event.yaml index a79f91e..2ed79c0 100755 --- a/descriptions/shared/components/schemas/Event.yaml +++ b/descriptions/shared/components/schemas/Event.yaml @@ -47,6 +47,11 @@ properties: description: | Unique identifier of the group triggering the event. example: "60d58518-78b3-4739-afa5-71e2dab2b91f" + tenant_id: + type: "string" + description: | + Unique identifier of the tenant triggering the event. + example: "34a1860a-8aac-403b-a8f9-74dffeb1be71" subscriptions: type: "array" description: | @@ -58,6 +63,9 @@ properties: id: type: "string" example: "sub_2NqIQtvdSEyPnDJl09eZGCajDDj" + tenant_id: + type: "string" + example: "34a1860a-8aac-403b-a8f9-74dffeb1be71" customer_id: type: "string" example: "cus_2NqITqoYLIGSR7Ac06Sd6saihUm"