commit 70504f7c42f483ad4a44e03150d71449de006e62
parent 41b07cfe98b8b751a5db98f3e4101ce021779f39
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 5 May 2024 14:27:55 +0200
-improve naming, structure
Diffstat:
1 file changed, 10 insertions(+), 13 deletions(-)
diff --git a/design-documents/023-taler-kyc.rst b/design-documents/023-taler-kyc.rst
@@ -1126,12 +1126,12 @@ New endpoints
interface AmlDecisions {
// Array of AML decisions matching the query.
- records: AmlRecord[];
+ records: AmlDecision[];
}
- .. ts:def:: AmlRecord
+ .. ts:def:: AmlDecision
- interface AmlRecord {
+ interface AmlDecision {
// Which payto-address is this record about.
// Identifies a GNU Taler wallet or an affected bank account.
@@ -1143,9 +1143,6 @@ New endpoints
// When was the decision made?
decision_time: Timestamp;
- // When does the decision expire?
- expiration_time: Timestamp;
-
// Free-form properties about the account.
// Can be used to store properties such as PEP,
// risk category, type of business, hits on
@@ -1598,6 +1595,13 @@ AML programs are helper programs that can:
// threshold may never be crossed.
measures: string[];
+ // If multiple rules apply to the same account
+ // at the same time, the number with the highest
+ // rule determines which set of measures will
+ // be activated and thus become visible for the
+ // user.
+ display_priority: integer;
+
// True if the rule (specifically, operation_type,
// threshold, timeframe) and the general nature of
// the measures (verboten or approval required)
@@ -1613,13 +1617,6 @@ AML programs are helper programs that can:
// measure what to do next.
// Default (if missing) is false.
is_and_combinator?: boolean;
-
- // If multiple rules apply to the same account
- // at the same time, the number with the highest
- // rule determines which set of measures will
- // be activated and thus become visible for the
- // user.
- display_priority: integer;
}
If the AML program fails (exits with a failure code or