summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-05-05 14:27:55 +0200
committerChristian Grothoff <christian@grothoff.org>2024-05-05 14:27:55 +0200
commit70504f7c42f483ad4a44e03150d71449de006e62 (patch)
tree5f5f29cf61c89a28278df2876d4ab9fe43ff1c33
parent41b07cfe98b8b751a5db98f3e4101ce021779f39 (diff)
downloaddocs-70504f7c42f483ad4a44e03150d71449de006e62.tar.gz
docs-70504f7c42f483ad4a44e03150d71449de006e62.tar.bz2
docs-70504f7c42f483ad4a44e03150d71449de006e62.zip
-improve naming, structure
-rw-r--r--design-documents/023-taler-kyc.rst23
1 files changed, 10 insertions, 13 deletions
diff --git a/design-documents/023-taler-kyc.rst b/design-documents/023-taler-kyc.rst
index df8fc871..cf40375d 100644
--- 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