plugins-evert/calendar/schema.json

44 lines
1.2 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://squeebot.lunasqu.ee/pkg/plugins-evert/calendar.schema.json",
"title": "calendar",
"description": "calendar plugin configuration",
"type": "object",
"properties": {
"calendars": {
"type": "array",
"description": "List of all registered protocols",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Calendar name"
},
"url": {
"type": "string",
"description": "iCal URL"
},
"rooms": {
"type": "array",
"description": "Rooms this calendar is accessible from",
"items": {
"type": "string"
}
},
"timeFrame": {
"type": "integer",
"description": "Time frame in seconds to display events from"
}
},
"required": ["name", "url", "rooms", "timeFrame"]
}
},
"updateInterval": {
"type": "string",
"description": "CRON expression for update task"
}
},
"required": ["calendars", "updateInterval"]
}