aboutsummaryrefslogtreecommitdiff
path: root/ext/data/schemas/custom-audio-list-schema.json
blob: 885ad08761375896769c3859223c51076870c3d5 (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
34
{
    "$id": "customAudioList",
    "$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"
                    }
                }
            }
        }
    }
}