Vridlo/types/Name: Difference between revisions

From ALT Linux Wiki
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Name''' is a '''''stuff''''' structure that represents Name model. The name belongs to the [[Vridlo/types/User|user]] or [[Vridlo/types/Team|team]]. It is described as:
'''Name''' is a '''''stuff''''' structure that represents Name model. The name belongs to the [[Vridlo/types/User|user]] or [[Vridlo/types/Team|team]]. It is described as:


* '''account_slug''' is ''string '''mandatory read-only internal'''''
  Internal slug identifier of account.
* '''text''' is ''string '''mandatory'''''
* '''text''' is ''string '''mandatory'''''
  Unique name scription for the specific ICU Locale. 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.
Line 8: Line 6:
  Type of name for the specific ICU Locale. 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 [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.
  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 '''text''', '''kind''', '''icu_locale''' is unique for the specific user.

Latest revision as of 21:26, 13 December 2019

Name is a stuff structure that represents Name model. The name belongs to the user or team. It is described as:

  • text 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 ICU Locale of the name, which it has been written in. Must contain registered list of locales plus some unregistered.

Combination of text, kind, icu_locale is unique for the specific user.