aboutsummaryrefslogtreecommitdiff
path: root/ext/data
diff options
context:
space:
mode:
Diffstat (limited to 'ext/data')
-rw-r--r--ext/data/schemas/options-schema.json47
1 files changed, 21 insertions, 26 deletions
diff --git a/ext/data/schemas/options-schema.json b/ext/data/schemas/options-schema.json
index 3f5bd0c7..9afad1e3 100644
--- a/ext/data/schemas/options-schema.json
+++ b/ext/data/schemas/options-schema.json
@@ -341,36 +341,17 @@
"type": "object",
"required": [
"enabled",
- "sources",
"volume",
"autoPlay",
"customSourceUrl",
- "customSourceType",
- "textToSpeechVoice"
+ "textToSpeechVoice",
+ "sources"
],
"properties": {
"enabled": {
"type": "boolean",
"default": true
},
- "sources": {
- "type": "array",
- "items": {
- "type": "string",
- "enum": [
- "jpod101",
- "jpod101-alternate",
- "jisho",
- "text-to-speech",
- "text-to-speech-reading",
- "custom"
- ],
- "default": "jpod101"
- },
- "default": [
- "jpod101"
- ]
- },
"volume": {
"type": "number",
"minimum": 0,
@@ -385,14 +366,28 @@
"type": "string",
"default": ""
},
- "customSourceType": {
- "type": "string",
- "enum": ["audio", "json"],
- "default": "audio"
- },
"textToSpeechVoice": {
"type": "string",
"default": ""
+ },
+ "sources": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "jpod101",
+ "jpod101-alternate",
+ "jisho",
+ "text-to-speech",
+ "text-to-speech-reading",
+ "custom",
+ "custom-json"
+ ],
+ "default": "jpod101"
+ },
+ "default": [
+ "jpod101"
+ ]
}
}
},