Vridlo/types/Name: Difference between revisions

From ALT Linux Wiki
No edit summary
No edit summary
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.

Revision as of 18:08, 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 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.