Appearance
profile+me.virmesh.player.card
player の optional profile card module payload です。
Description
PlayerServer が保持する profile+me.virmesh.player.card module payload です。
bio と image を持つ optional module で、
どちらも未設定の場合は resolveProfile の payload.modules には現れません。
Aliases
playerProfileCardme.virmesh.player.profileCard
Fields
modulestringRequired常に profile+me.virmesh.player.card を返します。
idstringRequiredmodule owner の player identifier です。
biostringOptionalplain text の自己紹介文です。
PlayerServer 内の immutable image asset を指す参照 object です。
References obj+me.virmesh.player.profileImage : PlayerServer 内に保存された公開プロフィール画像を指す参照 object です。
assetIdstringRequiredPlayerServer 内の immutable profile image asset identifier です。
contentTypestringRequired画像の HTTP content type です。v1 は image/png または image/jpeg を使います。
hashstringRequired画像 body hash です。v1 は sha256:<base64url> を使います。
widthintegerRequired画像の pixel width です。
heightintegerRequired画像の pixel height です。
sizeintegerRequired画像 body の byte size です。
updated_atintegerRequiredこの module payload を生成した時刻です。epoch second を返します。
Examples
resolved profile card payload
{
"module": "profile+me.virmesh.player.card",
"id": "medi:player:ed25519:base64-public-key",
"bio": "VR world builder",
"image": {
"assetId": "profimg_123",
"contentType": "image/png",
"hash": "sha256:base64url-hash",
"width": 512,
"height": 512,
"size": 42000
},
"updated_at": 1770000300
}Related objects
Referenced by
| Kind | Reference | Field |
|---|---|---|
| Object field | obj+me.virmesh.player.profile | modules.profile+me.virmesh.player.card.payload |