{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://git.eeqj.de/sneak/chat/schema/c2s/pubkey.schema.json", "title": "PUBKEY (C2S)", "description": "Announce public signing key", "$ref": "../message.schema.json", "properties": { "command": { "const": "PUBKEY" }, "body": { "type": "object", "required": [ "alg", "key" ], "properties": { "alg": { "type": "string", "description": "Key algorithm (e.g. ed25519)" }, "key": { "type": "string", "description": "Base64-encoded public key" } } } }, "required": [ "command", "body" ] }