From 0eb6f731761f86c3fe72be29be56906826291b85 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 27 Jan 2023 22:39:16 +0100 Subject: add persona attribute conversion logic --- src/include/taler_attributes.h | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'src/include/taler_attributes.h') 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" -- cgit v1.2.3