{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://sneak.berlin/go/neoirc/schema/numerics/401.json", "title": "401 ERR_NOSUCHNICK", "description": "No user has that nick. RFC 1459 ยง6.1.", "$ref": "../message.json", "properties": { "command": { "const": "ERR_NOSUCHNICK" }, "code": { "const": 401 }, "from": { "type": "string", "description": "The server name." }, "to": { "type": "string", "description": "The user's nick." }, "params": { "type": "array", "items": { "type": "string" }, "description": "The nick that was not found.", "minItems": 1, "maxItems": 1 }, "body": { "type": "array", "items": { "type": "string" }, "description": "One string: 'No such nick' in answer to a PRIVMSG or NOTICE, and 'No such nick/channel' in answer to anything else.", "minItems": 1, "maxItems": 1 } }, "required": [ "command", "code", "from", "to", "params", "body" ], "examples": [ { "command": "ERR_NOSUCHNICK", "code": 401, "from": "neoirc", "to": "alice", "params": [ "bob" ], "body": [ "No such nick" ] } ] }