{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://git.eeqj.de/sneak/chat/schema/c2s/send.json", "title": "C2S Send", "description": "Send a message to a channel or user. Submitted via POST /api/v1/messages.", "type": "object", "properties": { "to": { "type": "string", "description": "Target: channel name (prefixed with #) or nick for DM.", "examples": ["#general", "alice"] }, "content": { "type": "string", "description": "Message body (UTF-8 text).", "minLength": 1, "maxLength": 4096 } }, "required": ["to", "content"], "additionalProperties": false }