summaryrefslogtreecommitdiff
path: root/ext/bg/data/custom-audio-list-schema.json
blob: 2cb3ca78b1a41f10e65306e8adcaf05a7f331342 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
    "$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"
                    }
                }
            }
        }
    }
}