Vridlo/types/Name: Difference between revisions

From ALT Linux Wiki
(Created page with "'''Name''' is a structure that represents Name model. It is described as: * '''id''' is ''natural '''mandatory read-only''''' identifier of account. * '''name''' is ''strin...")
 
No edit summary
Line 4: Line 4:
   identifier of account.
   identifier of account.
* '''name''' is ''string '''mandatory'''''
* '''name''' is ''string '''mandatory'''''
  Unique name scription for the specific code page. It can include first name, last name, nickname, or title.
  Unique name scription for the specific ICU Locale. It can include first name, last name, nickname, or title.
* '''kind''' is ''string '''mandatory'''''
* '''kind''' is ''string '''mandatory'''''
  Type name scription for the specific code page. Can be one of ''firstname'', ''paternal'', ''lastname'', ''nickname'', ''title''
  Type of name for the specific ICU Locale. Can be one of ''firstname'', ''paternal'', ''lastname'', ''nickname'', ''title''
* '''icu_locale''' is ''string '''mandatory'''''
* '''icu_locale''' is ''string '''mandatory'''''
  The code page of the name, which it has been written in. Must contain registered list of locales plus some unregistered.
  The [[http://userguide.icu-project.org/locale|ICU Locale]] of the name, which it has been written in. Must contain registered list of locales plus some unregistered.


Combination of '''name''', '''kind''', '''icu_locale''' must be unique for the specific user.
Combination of '''name''', '''kind''', '''icu_locale''' must be unique for the specific user.

Revision as of 14:24, 5 December 2019

Name is a structure that represents Name model. It is described as:

  • id is natural mandatory read-only
 identifier of account.
  • name is string mandatory
Unique name scription for the specific ICU Locale. It can include first name, last name, nickname, or title.
  • kind is string mandatory
Type of name for the specific ICU Locale. Can be one of firstname, paternal, lastname, nickname, title
  • icu_locale is string mandatory
The [Locale] of the name, which it has been written in. Must contain registered list of locales plus some unregistered.

Combination of name, kind, icu_locale must be unique for the specific user.