From 70a148dd86be9c8ccc56e1fce232262475aa3158 Mon Sep 17 00:00:00 2001 From: rtkay123 Date: Sat, 16 Aug 2025 14:13:14 +0200 Subject: feat(aggregator): write evaluation --- proto/warden_message.proto | 36 ++++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 14 deletions(-) (limited to 'proto/warden_message.proto') diff --git a/proto/warden_message.proto b/proto/warden_message.proto index 937d5ae..50886a6 100644 --- a/proto/warden_message.proto +++ b/proto/warden_message.proto @@ -18,26 +18,27 @@ message Payload { configuration.routing.RoutingConfiguration routing = 5; RuleResult rule_result = 6; TypologyResult typology_result = 7; + AggregationResult aggregation_result = 8; } message RuleResult { - string id = 1; - string version = 2; - string sub_rule_ref = 3; - string reason = 4; - string desc = 5; - double wght = 6; + string id = 1; + string version = 2; + string sub_rule_ref = 3; + string reason = 4; + string desc = 5; + double wght = 6; } message TypologyResult { - string id = 1; - string version = 2; - string desc = 3; - double result = 4; - double threshold = 5; - repeated RuleResult rule_results = 6; - bool review = 7; - configuration.typology.Workflow workflow = 8; + string id = 1; + string version = 2; + string desc = 3; + double result = 4; + double threshold = 5; + repeated RuleResult rule_results = 6; + bool review = 7; + configuration.typology.Workflow workflow = 8; } @@ -51,3 +52,10 @@ message DataCache { iso20022.pacs008.ActiveCurrencyAndAmount intr_bk_sttlm_amt = 7; optional double xchg_rate = 8; } + +message AggregationResult { + string id = 1; + string version = 2; + repeated TypologyResult typology_results = 3; + bool review = 4; +} -- cgit v1.2.3