forked from AMWA-TV/is-04
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsource_audio.json
85 lines (85 loc) · 2.33 KB
/
source_audio.json
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"description": "Describes an audio Source",
"title": "Audio Source resource",
"allOf": [
{ "$ref": "source_core.json" },
{
"type": "object",
"required": [
"format",
"channels"
],
"properties": {
"format": {
"description": "Format of the data coming from the Source as a URN",
"type": "string",
"enum": [
"urn:x-nmos:format:audio"
],
"format": "uri"
},
"channels" : {
"description" : "Array of objects describing the audio channels",
"type" : "array",
"minItems": 1,
"items" : {
"title" : "Component",
"type" : "object",
"required" : [
"label"
],
"properties" :
{
"label" : {
"description" : "Label for this channel (free text)",
"type" : "string"
},
"symbol" : {
"description" : "Symbol for this channel (from VSF TR-03 Appendix A)",
"type" : "string",
"oneOf": [
{
"enum" : [
"L",
"R",
"C",
"LFE",
"Ls",
"Rs",
"Lss",
"Rss",
"Lrs",
"Rrs",
"Lc",
"Rc",
"Cs",
"HI",
"VIN",
"M1",
"M2",
"Lt",
"Rt",
"Lst",
"Rst",
"S"
]
},
{
"pattern": "NSC(0[0-9]{2}|1[0-1]{1}[0-9]{1}|12[0-7]{1})",
"description": "Numbered Source Channel"
},
{
"pattern": "U(0[1-9]{1}|[1-5]{1}[0-9]{1}|6[0-4]{1})",
"description": "Undefined channel"
}
]
}
}
}
}
}
}
]
}