forked from AMWA-TV/is-04
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsource_core.json
60 lines (60 loc) · 1.98 KB
/
source_core.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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"description": "Describes a Source",
"title": "Source resource",
"allOf": [
{ "$ref": "resource_core.json" },
{
"type": "object",
"required": [
"caps",
"device_id",
"parents",
"clock_name"
],
"properties": {
"grain_rate" : {
"description": "Maximum number of Grains per second for Flows derived from this Source. Corresponding Flow Grain rates may override this attribute. Grain rate matches the frame rate for video (see NMOS Content Model). Specified for periodic Sources only.",
"type": "object",
"required" : [
"numerator"
],
"properties" : {
"numerator" : {
"description" : "Numerator",
"type" : "integer"
},
"denominator" : {
"description" : "Denominator",
"type" : "integer",
"default" : 1
}
}
},
"caps": {
"description": "Capabilities (not yet defined)",
"type": "object"
},
"device_id": {
"description": "Globally unique identifier for the Device which initially created the Source",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"parents": {
"description": "Array of UUIDs representing the Source IDs of Grains which came together at the input to this Source (may change over the lifetime of this Source)",
"type": "array",
"items": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"clock_name": {
"description": "Reference to clock in the originating Node",
"type": ["string", "null"],
"pattern": "^clk[0-9]+$"
}
}
}
]
}