plugin configuration schemas
This commit is contained in:
parent
34f1f48c45
commit
63e527a344
28
discord/schema.json
Normal file
28
discord/schema.json
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"$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"]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user