yomichan/ext/bg/data/custom-audio-list-schema.json
toasted-nutbread ebfef0c748
Multiple custom audio sources (#1303)
* Fix label

* Fix icon size being flexible

* Add schema

* Add customSourceType option

* Update settings

* Pass customSourceType to the audio downloader

* Implement custom audio JSON mode
2021-01-23 22:46:00 -05:00

34 lines
801 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [
"type",
"audioSources"
],
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"const": "audioSourceList"
},
"audioSources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url"
],
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
}
}
}
}
}
}