service-matrix/matrix/schema.json

41 lines
1.1 KiB
JSON
Raw Normal View History

2021-10-02 12:10:56 +00:00
{
"$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"
},
2023-08-02 17:25:37 +00:00
"username": {
2021-10-02 12:10:56 +00:00
"type": "string",
2023-08-02 17:25:37 +00:00
"description": "Matrix username"
},
"password": {
"type": "string",
"description": "Matrix password"
},
"encrypted": {
"type": "boolean",
"description": "Use encryption"
2021-10-02 12:10:56 +00:00
}
},
2023-08-02 17:25:37 +00:00
"required": ["name", "username", "password", "homeserver"]
2021-10-02 12:10:56 +00:00
}
}
},
"required": ["instances"]
}