Profile¶
An Profile is an object containing a user’s specific social metadata and information. Each profile can have an alias name by which to identify the user other than their real name. A data property is provided to allow for an arbitrary storage of any metadata desired by the application. A presence property is also provided for storing the applications-specific current online state of the user.
The following is the list of all members included in the data schema.
Member |
Description |
Type |
Format/Schema |
Default Value |
Identifier |
Unique |
Required |
---|---|---|---|---|---|---|---|
|
The non-unique alternate name of the user. |
|
|
false |
false |
true |
|
|
The URL, asset uid or other global identifier that references the user’s avatar. |
|
|
false |
false |
true |
|
|
An arbitrary map of key-value pairs containing the metadata of the profile. |
|
|
false |
false |
true |
|
|
A string containing encoded data about a user’s current online state. |
|
|
false |
false |
true |
Examples¶
Members¶
alias¶
Type: string
Default Value: ""
Required: true
The non-unique alternate name of the user.
avatar¶
Type: string
Default Value: ""
Required: true
The URL, asset uid or other global identifier that references the user’s avatar.
data¶
Type: any
Default Value: undefined
Required: true
An arbitrary map of key-value pairs containing the metadata of the profile.
presence¶
Type: string
Default Value: ""
Required: true
A string containing encoded data about a user’s current online state.