aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_attributes.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-01-27 17:42:56 +0100
committerChristian Grothoff <christian@grothoff.org>2023-01-27 17:42:56 +0100
commit85e44ceea61303ee3f2b4464a72742f85b2688ec (patch)
tree12b29d6c808b64c1f043c6d83908f353028cddd9 /src/include/taler_attributes.h
parent59716ffdc48ad71a0f047f7e68f04b64d449d408 (diff)
downloadexchange-85e44ceea61303ee3f2b4464a72742f85b2688ec.tar.xz
work on kycaid attribute extraction
Diffstat (limited to 'src/include/taler_attributes.h')
-rw-r--r--src/include/taler_attributes.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/include/taler_attributes.h b/src/include/taler_attributes.h
index 6c2a2b033..22155aee4 100644
--- a/src/include/taler_attributes.h
+++ b/src/include/taler_attributes.h
@@ -35,6 +35,17 @@ extern "C" {
#endif
/**
+ * Legal name of the business/company.
+ */
+#define TALER_ATTRIBUTE_COMPANY_NAME "company_name"
+
+/**
+ * Legal country of registration of the business/company,
+ * 2-letter country code using ISO 3166-2.
+ */
+#define TALER_ATTRIBUTE_REGISTRATION_COUNTRY "registration_country"
+
+/**
* Full name, when known/possible using "Lastname, Firstname(s)" format,
* but "Firstname(s) Lastname" or "Firstname M. Lastname" should also be
* tolerated (as is "Name", especially if the person only has one name).
@@ -44,6 +55,22 @@ extern "C" {
#define TALER_ATTRIBUTE_FULL_NAME "full_name"
/**
+ * True/false indicator if the individual is a politically
+ * exposed person.
+ */
+#define TALER_ATTRIBUTE_PEP "pep"
+
+/**
+ * Phone number (of business or individual).
+ */
+#define TALER_ATTRIBUTE_PHONE "phone"
+
+/**
+ * Email address (of business or individual).
+ */
+#define TALER_ATTRIBUTE_EMAIL "email"
+
+/**
* Birthdate of the person, as far as known. YYYY-MM-DD, a value
* of 0 (for DD, MM or even YYYY) is to be used for 'unknown'
* according to official records.
@@ -63,6 +90,15 @@ extern "C" {
*/
#define TALER_ATTRIBUTE_NATIONALITIES "nationalities"
+/**
+ * Residence countries(s) of the person using 2-letter country codes ("US",
+ * "DE", "FR", "IT", etc.) separated by commas if multiple residences are
+ * confirmed ("EN,US,DE"). Note that in the latter case it is not guaranteed
+ * that all residences were necessarily recorded. Empty string for
+ * international nomads. NULL for not collected.
+ */
+#define TALER_ATTRIBUTE_RESIDENCES "residences"
+
#if 0 /* keep Emacsens' auto-indent happy */
{