{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://sneak.berlin/go/neoirc/schema/numerics/322.json", "title": "322 RPL_LIST", "description": "One channel in the answer to LIST. The answer has one per channel, except a secret channel, one with mode +s, that the user is not on. RFC 1459 ยง6.2.", "$ref": "../message.json", "properties": { "command": { "const": "RPL_LIST" }, "code": { "const": 322 }, "from": { "type": "string", "description": "The server name." }, "to": { "type": "string", "description": "The user's nick." }, "params": { "type": "array", "items": { "type": "string" }, "description": "The channel name and its number of members.", "minItems": 2, "maxItems": 2 }, "body": { "type": "array", "items": { "type": "string" }, "description": "One string: the channel's topic, empty when it has none.", "minItems": 1, "maxItems": 1 } }, "required": [ "command", "code", "from", "to", "params", "body" ], "examples": [ { "command": "RPL_LIST", "code": 322, "from": "neoirc", "to": "alice", "params": [ "#general", "12" ], "body": [ "General discussion" ] } ] }