{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://sneak.berlin/go/neoirc/schema/commands/QUIT.json", "title": "QUIT", "description": "A user left the server. A client sends it to end its session. The server sends it to the users who shared a channel with the user who left. RFC 1459 ยง4.1.6.", "$ref": "../message.json", "properties": { "command": { "const": "QUIT" }, "from": { "type": "string", "description": "The nick that quit. The server sets it." }, "body": { "type": "array", "items": { "type": "string" }, "description": "The reason for leaving. A client may send one as the first string, and the server uses 'Client quit' when it does not. The server always sends one string." } }, "required": ["command"], "examples": [ { "command": "QUIT", "body": ["Gone for the day"] }, { "command": "QUIT", "from": "alice", "body": ["Connection closed"] } ] }