service-discord/discord/schema.json

29 lines
747 B
JSON
Raw Permalink Normal View History

2021-10-02 12:10:39 +00:00
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://squeebot.lunasqu.ee/pkg/service-discord/discord.schema.json",
"title": "discord",
"description": "Discord Service configuration",
"type": "object",
"properties": {
"instances": {
"type": "array",
"description": "List of all registered protocols",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Protocol's descriptive name"
},
"token": {
"type": "string",
"description": "Discord bot token"
}
},
"required": ["name", "token"]
}
}
},
"required": ["instances"]
}