forked from hongtat/smartthings-capabilities
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvideoClips.json
More file actions
executable file
·95 lines (95 loc) · 4.28 KB
/
videoClips.json
File metadata and controls
executable file
·95 lines (95 loc) · 4.28 KB
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
86
87
88
89
90
91
92
93
94
95
{
"id": "videoClips",
"version": 1,
"status": "deprecated",
"name": "Video Clips",
"ephemeral": false,
"attributes": {
"videoClip": {
"schema": {
"type": "object",
"properties": {
"value": {
"title": "VideoClip",
"type": "object",
"additionalProperties": false,
"properties": {
"status": {
"title": "VideoClipStatus",
"type": "string",
"enum": [
"initiated",
"streaming",
"completed",
"failed",
"ignored"
]
},
"clipId": {
"title": "String",
"type": "string",
"maxLength": 255
},
"thumbnailUrl": {
"title": "URL",
"type": "string",
"pattern": "^(https?):\\/\\/((?:[a-zA-Z0-9.-]|%[0-9A-F]{2}){3,})(?::(\\d+))?((?:\\/(?:[a-zA-Z0-9-._~!$&'()*+,;=:@]|%[0-9A-F]{2})*)*)(?:\\?((?:[a-zA-Z0-9-._~!$&'()*+,;=:\\/?@]|%[0-9A-F]{2})*))?(?:#((?:[a-zA-Z0-9-._~!$&'()*+,;=:\\/?@]|%[0-9A-F]{2})*))?$"
},
"clipUrl": {
"title": "URL",
"type": "string",
"pattern": "^(https?):\\/\\/((?:[a-zA-Z0-9.-]|%[0-9A-F]{2}){3,})(?::(\\d+))?((?:\\/(?:[a-zA-Z0-9-._~!$&'()*+,;=:@]|%[0-9A-F]{2})*)*)(?:\\?((?:[a-zA-Z0-9-._~!$&'()*+,;=:\\/?@]|%[0-9A-F]{2})*))?(?:#((?:[a-zA-Z0-9-._~!$&'()*+,;=:\\/?@]|%[0-9A-F]{2})*))?$"
},
"startTime": {
"title": "Iso8601Date",
"type": "string",
"pattern": "^(?:[1-9]\\d{3}-?(?:(?:0[1-9]|1[0-2])-?(?:0[1-9]|1\\d|2[0-8])|(?:0[13-9]|1[0-2])-?(?:29|30)|(?:0[13578]|1[02])-?31)|(?:[1-9]\\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-?02-?29)T(?:[01]\\d|2[0-3]):?[0-5]\\d:?[0-5]\\d(?:\\.\\d{3})?(?:Z|[+-][01]\\d(?::?[0-5]\\d)?)$"
},
"captureTime": {
"title": "Iso8601Date",
"type": "string",
"pattern": "^(?:[1-9]\\d{3}-?(?:(?:0[1-9]|1[0-2])-?(?:0[1-9]|1\\d|2[0-8])|(?:0[13-9]|1[0-2])-?(?:29|30)|(?:0[13578]|1[02])-?31)|(?:[1-9]\\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-?02-?29)T(?:[01]\\d|2[0-3]):?[0-5]\\d:?[0-5]\\d(?:\\.\\d{3})?(?:Z|[+-][01]\\d(?::?[0-5]\\d)?)$"
},
"duration": {
"title": "PositiveInteger",
"type": "integer",
"minimum": 0
}
}
}
},
"additionalProperties": false,
"required": [
"value"
]
},
"enumCommands": []
}
},
"commands": {
"captureClip": {
"name": "captureClip",
"arguments": [
{
"name": "duration",
"optional": false,
"schema": {
"title": "PositiveInteger",
"type": "integer",
"minimum": 0
}
},
{
"name": "preFetch",
"optional": false,
"schema": {
"title": "PositiveInteger",
"type": "integer",
"minimum": 0
}
}
],
"sensitive": false
}
}
}