User attributes¶
The following table shows the list of user attributes supported by SPID and/or CIE. The variable $PREFIX=https://attributes.eid.gov.it
represents the namespace.
Claim |
Description |
Supported by |
---|---|---|
$PREFIX/spid_code |
Identification code. String. The identification code is assigned by the digital identity provider and must be unique. The format is the following:
Where:
Example:
|
|
given_name |
Name. String. String composed by a sequence of words, separated by single spaces, each starting with a capital letter. Example:
|
|
family_name |
Last name. String. String composed by a sequence of words, separated by single spaces, each starting with a capital letter. Example:
|
|
place_of_birth |
Place of birth, province of birth. JSON Object: "locality : String corresponding to the real estate registry code (Belfiore Code) of the city or foreign country of birth (e.g. "F205" for the city of Milano) "region" : String corresponding to the code of the province of birth. Example: "place_of_birth": {
"region":"MI",
"locality":"F205"
}
|
|
birthdate |
Date of birth. String. Following the specifications ISO8601-2004 in the format
YYYY indicates the year using 4 (four) digits
|
|
gender |
Gender. String. Values accepted:
|
|
$PREFIX/company_name |
Company name. String. String composed by a sequence of words, separated by single spaces. In capital letters the substrings corresponding to names (e.g. "Agenzia per l'Italia Digitale") "$PREFIX/company_name": "Agenzia per l'Italia Digitale"
|
|
$PREFIX/registered_office |
Registered Office. JSON Object: formatted, street_address, locality, region, postal_code, country, country_code. Json made of a string composed by a sequence of words, separated by single spaces, representing:
the string is included in the claim "formatted" of the JSON Object "address" Example: "$PREFIX/registered_office":{
"formatted":"via Listz 21 00144 Roma"
}
|
|
$PREFIX/fiscal_number |
Fiscal number of the natural person. String. For the format, please refer to the coding of the attribute CF for the certificates, proposed in the Draft ETSI EN 319 412-1, that implies, in the specific case, the following format: TINIT-<fiscal_number> Example:
|
|
$PREFIX/company_fiscal_number |
Fiscal number of the legal person. String. For the format, please refer to the coding of the attribute CF for the certificates, proposed in the Draft ETSI EN 319 412-1, that implies, in the specific case, the following format:
Example:
|
|
$PREFIX/vat_number |
VAT number. String. For the format, please refer to the coding of the attribute VAT number for the certificates, proposed in the Draft ETSI EN 319 412-1, that implies, in the specific case, the following format:
Example:
|
|
document_details |
Identity document. JSON Object (document): Json contains the proprieties that represent:
Example: "document_details":{
"type":"cartaIdentita",
"document_number":"AS09452389",
"issuer":{
"name":"ComuneRoma"
},
"date_of_issuance":"2013-01-02",
"date_of_expiry":"2013-01-31"
}
|
|
phone_number |
Mobile phone name. String. Numeric string without internal spaces |
|
phone_number_verified |
Boolean value indicating whether the user's mobile phone number has been verified by the OP. |
|
$PREFIX/landline_number |
Landline number. String. Numeric string without internal spaces |
|
email |
E-mail address. String. Standard e-mail address |
|
email_verified |
Boolean value indicating whether the user's e-mail has been verified by the OP. |
|
$PREFIX/e_delivery_service |
Qualified electronic registered delivery. PEC e-mail address |
|
$PREFIX/eid_exp_date |
Identity expiry date. According to the specifications ISO8601-2004 in the format
"YYYY-MM-DD" where |
|
address |
JSON Object (address):
Example: "address": {
"street_address":"Via Liszt 21",
"postal_code":"00144",
"locality":"Roma",
"region":"RM",
"country_code":"IT"
}
|
Examples¶
For convenience, we report examples that produce the composition of a unique JSON Object, from
several attributes and in particular the claims "place_of_birth"
, "address"
, "document_details"
, $PREFIX/registered_office
.
As an example, two Italian addresses are reported:
Attribute |
Example of OIDC coding |
---|---|
Physical domicile address ZIP of the physical domicile City of the of the physical domicile Province of the physical domicile Country of the physical domicile |
"address":{
"street_address":"Via Liszt 21",
"postal_code":"00144",
"locality":"Roma",
"region":"RM",
"country_code":"IT"
}
|
Physical domicile address ZIP of the physical domicile City of the of the physical domicile Province of the physical domicile Country of the physical domicile |
"address":{
"street_address":"S.S. Salaria Km 23,800",
"postal_code":"00015",
"locality":"Monterotondo",
"region":"RM",
"country_code":"IT"
}
|
There are cases, as for the United States of America, where both the country (US) and a State must be indicated. In such cases the State is indicated in the field Province. In the following, an example:
Attribute |
Example of OIDC coding |
---|---|
Physical domicile address ZIP of the physical domicile City of the of the physical domicile Province of the physical domicile Country of the physical domicile |
"address":{
"street_address":"503,Washington Avenue",
"postal_code":"12401",
"locality":"Kingston",
"region":"New york",
"country_code":"US"
}
|