{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://sneak.berlin/go/neoirc/schema/numerics/002.json", "title": "002 RPL_YOURHOST", "description": "The server's name and version. Sent right after RPL_WELCOME. RFC 2812 ยง5.1.", "$ref": "../message.json", "properties": { "command": { "const": "RPL_YOURHOST" }, "code": { "const": 2 }, "from": { "type": "string", "description": "The server name." }, "to": { "type": "string", "description": "The user's nick." }, "body": { "type": "array", "items": { "type": "string" }, "description": "One string: 'Your host is ', the server name, ', running version ' and the version.", "minItems": 1, "maxItems": 1 } }, "required": [ "command", "code", "from", "to", "body" ], "examples": [ { "command": "RPL_YOURHOST", "code": 2, "from": "neoirc", "to": "alice", "body": [ "Your host is neoirc, running version dev" ] } ] }