Skip to content

obj+me.virmesh.world.hostingDelegation

world identity key が WorldServer に hosting capability を委任した object です。

draft

Description

key-authoritative world で、特定の WorldServer が manifest 解決や live session hosting を行えることを示します。 v1 では world identity key が payload を直接署名します。

Aliases

  • worldHostingDelegation
  • me.virmesh.world.hostingDelegation

Fields

payload.worldIdstringRequired

委任元の world identifier です。形式は medi:world:<scheme>:<publicKey> です。

payload.serverstringRequired

委任先 WorldServer の absolute URL です。

payload.capabilitiesstring[]Required

委任する capability 一覧です。v1 では resolveManifesthostLiveSession を定義します。

payload.issuedAtintegerRequired

delegation を発行した epoch second です。

payload.expiresAtintegerOptional

delegation の任意の期限です。epoch second で表します。省略時は明示的に取り消されるまで有効な long-lived delegation として扱います。

signaturestringRequired

canonical JSON of payload に対する world identity key の署名です。

Examples

hosting delegation

{
  "payload": {
    "worldId": "medi:world:ed25519:base64url-world-public-key",
    "server": "https://worlds.example.com/",
    "capabilities": [
      "resolveManifest",
      "hostLiveSession"
    ],
    "issuedAt": 1770000000
  },
  "signature": "base64-signature-by-world-key"
}

Referenced by

KindReferenceField
Object fieldobj+me.virmesh.world.manifesthostingDelegation