From 85e44ceea61303ee3f2b4464a72742f85b2688ec Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 27 Jan 2023 17:42:56 +0100 Subject: work on kycaid attribute extraction --- src/include/taler_attributes.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'src/include/taler_attributes.h') 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 @@ -34,6 +34,17 @@ extern "C" { #endif #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 @@ -43,6 +54,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' @@ -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 */ { -- cgit v1.2.3