{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://git.eeqj.de/sneak/chat/schema/s2c/system.json", "title": "S2C System", "description": "Server system message (MOTD, maintenance notices, etc.).", "type": "object", "properties": { "id": { "type": "integer" }, "type": { "const": "system" }, "ts": { "type": "string", "format": "date-time" }, "content": { "type": "string", "description": "System message text." }, "code": { "type": "string", "description": "Optional machine-readable system message code.", "examples": ["motd", "maintenance", "server_restart"] } }, "required": ["id", "type", "ts", "content"] }