{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://github.com/joezhoujinjing/liber/schemas/chats.schema.json",
"title": "chats",
"description": "Group chat IDs keyed by display name. Optional 'platform' field declares the messaging system (feishu/slack/teams/...).",
"type": "object",
"required": ["group_chats"],
"additionalProperties": true,
"properties": {
"platform": {
"type": "string",
"description": "Default messaging platform for these chat IDs (e.g. 'feishu', 'slack', 'teams', 'discord')."
},
"group_chats": {
"type": "object",
"description": "Map of chat display name to chat ID. Value may be a string (id) or an object with {id, platform}.",
"additionalProperties": {
"oneOf": [
{"type": "string"},
{
"type": "object",
"required": ["id"],
"properties": {
"id": {"type": "string"},
"platform": {"type": "string"}
}
}
]
}
},
"updated_at": {"type": "string"}
}
}