plugin configuration schemas
This commit is contained in:
parent
4c70f47c98
commit
a28135dc11
32
matrix/schema.json
Normal file
32
matrix/schema.json
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://squeebot.lunasqu.ee/pkg/service-matrix/matrix.schema.json",
|
||||
"title": "matrix",
|
||||
"description": "Matrix 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"
|
||||
},
|
||||
"homeserver": {
|
||||
"type": "string",
|
||||
"description": "Matrix homeserver URL"
|
||||
},
|
||||
"token": {
|
||||
"type": "string",
|
||||
"description": "Matrix access token"
|
||||
}
|
||||
},
|
||||
"required": ["name", "token", "homeserver"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["instances"]
|
||||
}
|
Loading…
Reference in New Issue
Block a user