Vridlo/types/Name: Difference between revisions

From ALT Linux Wiki
No edit summary
No edit summary
Line 1: Line 1:
'''Name''' is a structure that represents Name model. It is described as:
'''Name''' is a structure that represents Name model. It is described as:


* '''account_slug''' is ''string '''mandatory read-only'''''
* '''account_slug''' is ''string '''mandatory read-only virtual'''''
   Slug identifier of account.
   Slug identifier of account.
* '''text''' is ''string '''mandatory'''''
* '''text''' is ''string '''mandatory'''''

Revision as of 11:26, 5 December 2019

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

  • account_slug is string mandatory read-only virtual
 Slug identifier of account.
  • 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.