{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://sneak.berlin/go/neoirc/schema/numerics/482.json", "title": "482 ERR_CHANOPRIVSNEEDED", "description": "The user is not a channel operator, and the command needs one. RFC 1459 ยง6.1.", "$ref": "../message.json", "properties": { "command": { "const": "ERR_CHANOPRIVSNEEDED" }, "code": { "const": 482 }, "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.", "minItems": 1, "maxItems": 1 }, "body": { "type": "array", "items": { "type": "string" }, "description": "One string: 'You're not channel operator'.", "minItems": 1, "maxItems": 1 } }, "required": [ "command", "code", "from", "to", "params", "body" ], "examples": [ { "command": "ERR_CHANOPRIVSNEEDED", "code": 482, "from": "neoirc", "to": "alice", "params": [ "#general" ], "body": [ "You're not channel operator" ] } ] }