{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://sneak.berlin/go/neoirc/schema/numerics/004.json", "title": "004 RPL_MYINFO", "description": "The server's name, its version, and its lists of user and channel modes. Sent right after RPL_CREATED. RFC 2812 ยง5.1.", "$ref": "../message.json", "properties": { "command": { "const": "RPL_MYINFO" }, "code": { "const": 4 }, "from": { "type": "string", "description": "The server name." }, "to": { "type": "string", "description": "The user's nick." }, "params": { "type": "array", "items": { "type": "string" }, "description": "The server name, the version, the user modes 'ow' and the channel modes 'Hbiklmnostv'.", "minItems": 4, "maxItems": 4 }, "body": { "type": "array", "items": { "type": "string" }, "description": "One empty string.", "minItems": 1, "maxItems": 1 } }, "required": [ "command", "code", "from", "to", "params", "body" ], "examples": [ { "command": "RPL_MYINFO", "code": 4, "from": "neoirc", "to": "alice", "params": [ "neoirc", "dev", "ow", "Hbiklmnostv" ], "body": [ "" ] } ] }