{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://sneak.berlin/go/neoirc/schema/commands/NOTICE.json", "title": "NOTICE", "description": "A notice: a message to a channel or a user that a client must not answer automatically. The server relays it as it relays a PRIVMSG. A NOTICE to a channel with mode +H needs no hashcash stamp. RFC 1459 ยง4.4.2.", "$ref": "../message.json", "properties": { "command": { "const": "NOTICE" }, "from": { "type": "string", "description": "The sender's nick. The server sets it." }, "to": { "type": "string", "description": "A channel name, which starts with #, or a nick." }, "body": { "type": "array", "items": { "type": "string" }, "description": "The lines of the notice, one string per line.", "minItems": 1 } }, "required": ["command", "to", "body"], "examples": [ { "command": "NOTICE", "from": "alice", "to": "#general", "body": ["Back in five minutes"] } ] }