{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://sneak.berlin/go/neoirc/schema/numerics/372.json", "title": "372 RPL_MOTD", "description": "One line of the message of the day. The server sends one per line, after RPL_MOTDSTART. RFC 2812 ยง5.1.", "$ref": "../message.json", "properties": { "command": { "const": "RPL_MOTD" }, "code": { "const": 372 }, "from": { "type": "string", "description": "The server name." }, "to": { "type": "string", "description": "The user's nick." }, "body": { "type": "array", "items": { "type": "string" }, "description": "One string: '- ' and the line.", "minItems": 1, "maxItems": 1 } }, "required": [ "command", "code", "from", "to", "body" ], "examples": [ { "command": "RPL_MOTD", "code": 372, "from": "neoirc", "to": "alice", "body": [ "- Welcome to our server!" ] } ] }