Vridlo/types/Recital: Difference between revisions

From ALT Linux Wiki
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Recital''' is a structure that represents Recital model. It is described as:
'''Recital''' is a '''''stuff''''' structure that represents Recital model. A recital is a personal or team address structure that can be used to connect it to. It can be of email, physical or geo-address, webpage, or [[Vridlo/types/Assembler|assembler]]'s account. It belongs to [[Vridlo/types/User|user]] or [[Vridlo/types/Team|team]] accounts. It is described as:
 
* '''account_id''' is ''natural '''mandatory read-only internal'''''
  Number identifier of the 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'''''
* '''kind''' is ''string '''mandatory'''''
Line 16: Line 10:
  Mailto address of the user, is set if '''kind''' is ''email''.
  Mailto address of the user, is set if '''kind''' is ''email''.


* '''slug''' is ''string '''optional'''''
* '''login_slug''' is ''string '''optional'''''
  Login slug of the user, is set if '''kind''' is ''login''.
  Login slug of the user, is set if '''kind''' is ''login''.


* '''address''' is ''string '''optional'''''
* '''address''' is ''[[Vridlo/types/Location|Location]] '''optional'''''
  Location address of user, is set if '''kind''' is ''location''. It contains the [[Vridlo/types/Location|Location]] record.
  Location address of user, is set if '''kind''' is ''location''. It contains the [[Vridlo/types/Location|Location]] record.


* '''foremost''' is ''boolean '''optional'''''
* '''foremost''' is ''boolean '''optional'''''
  Is the recital the foremost for the user or not. Default for firstly added recital is ''true'', otherwise ''false''.
  Is the recital the foremost for the user or not. Default for firstly added recital is ''true'', otherwise ''false''.

Latest revision as of 10:54, 13 December 2019

Recital is a stuff structure that represents Recital model. A recital is a personal or team address structure that can be used to connect it to. It can be of email, physical or geo-address, webpage, or assembler's account. It belongs to user or team accounts. It is described as:

  • kind is string mandatory
Type of name for the specific ICU Locale. Can be one of email, login, jabber, website, location.
  • uri is string optional
URI belonged to the user, is set if kind is website.
  • mailto is string optional
Mailto address of the user, is set if kind is email.
  • login_slug is string optional
Login slug of the user, is set if kind is login.
Location address of user, is set if kind is location. It contains the Location record.
  • foremost is boolean optional
Is the recital the foremost for the user or not. Default for firstly added recital is true, otherwise false.