aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_attributes.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-01-27 22:39:16 +0100
committerChristian Grothoff <christian@grothoff.org>2023-01-27 22:39:16 +0100
commit0eb6f731761f86c3fe72be29be56906826291b85 (patch)
treeae5ea95371f278edf7e65b076de63054062e9a7c /src/include/taler_attributes.h
parent85e44ceea61303ee3f2b4464a72742f85b2688ec (diff)
downloadexchange-0eb6f731761f86c3fe72be29be56906826291b85.tar.xz
add persona attribute conversion logic
Diffstat (limited to 'src/include/taler_attributes.h')
-rw-r--r--src/include/taler_attributes.h23
1 files changed, 21 insertions, 2 deletions
diff --git a/src/include/taler_attributes.h b/src/include/taler_attributes.h
index 22155aee4..862a26928 100644
--- a/src/include/taler_attributes.h
+++ b/src/include/taler_attributes.h
@@ -61,12 +61,31 @@ extern "C" {
#define TALER_ATTRIBUTE_PEP "pep"
/**
- * Phone number (of business or individual).
+ * Street-level address. Usually includes the street and the house number. May
+ * consist of multiple lines (separated by '\n'). Identifies a house in a city. The city is not
+ * part of the street.
+ */
+#define TALER_ATTRIBUTE_ADDRESS_STREET "street"
+
+/**
+ * City including postal code. If available, a 2-letter country-code prefixes
+ * the postal code, which is before the city (e.g. "DE-42289 Wuppertal"). If
+ * the country code is unknown, the "CC-" prefix is missing. If the ZIP code
+ * is unknown, the hyphen is followed by a space ("DE- Wuppertal"). If only
+ * the city name is known, it is prefixed by a space (" ").
+ * If the city name is unknown, a space is at the end of the value.
+ */
+#define TALER_ATTRIBUTE_ADDRESS_CITY "city"
+
+/**
+ * Phone number (of business or individual). Should come with the "+CC"
+ * prefix including the country code.
*/
#define TALER_ATTRIBUTE_PHONE "phone"
/**
- * Email address (of business or individual).
+ * Email address (of business or individual). Should be
+ * in the format "user@hostname".
*/
#define TALER_ATTRIBUTE_EMAIL "email"