cuemsutils 0.0.3.post1__tar.gz → 0.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cuemsutils-0.0.3.post1 → cuemsutils-0.0.4}/PKG-INFO +9 -3
- cuemsutils-0.0.4/README.md +28 -0
- {cuemsutils-0.0.3.post1 → cuemsutils-0.0.4}/pyproject.toml +1 -1
- {cuemsutils-0.0.3.post1 → cuemsutils-0.0.4}/src/cuemsutils/xml/schemas/outputs.xsd +2 -2
- {cuemsutils-0.0.3.post1 → cuemsutils-0.0.4}/src/cuemsutils/xml/schemas/project_mappings.xsd +2 -2
- {cuemsutils-0.0.3.post1 → cuemsutils-0.0.4}/src/cuemsutils/xml/schemas/project_settings.xsd +2 -2
- {cuemsutils-0.0.3.post1 → cuemsutils-0.0.4}/src/cuemsutils/xml/schemas/script.xsd +136 -135
- {cuemsutils-0.0.3.post1 → cuemsutils-0.0.4}/src/cuemsutils/xml/schemas/settings.xsd +2 -2
- cuemsutils-0.0.3.post1/README.md +0 -22
- {cuemsutils-0.0.3.post1 → cuemsutils-0.0.4}/.gitignore +0 -0
- {cuemsutils-0.0.3.post1 → cuemsutils-0.0.4}/LICENSE +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cuemsutils
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.4
|
|
4
4
|
Summary: Reusable classes and methods for CueMS system
|
|
5
5
|
Project-URL: Documentation, https://github.com/stagesoft/cuems-utils#readme
|
|
6
6
|
Project-URL: Issues, https://github.com/stagesoft/cuems-utils/issues
|
|
7
7
|
Project-URL: Source, https://github.com/stagesoft/cuems-utils
|
|
8
8
|
Author-email: Adrià Masip <adria.back@gmail.com>, Ion Reguera <ion@stagelab.com>
|
|
9
|
-
License-Expression:
|
|
9
|
+
License-Expression: GPL-3.0
|
|
10
10
|
License-File: LICENSE
|
|
11
11
|
Classifier: Development Status :: 4 - Beta
|
|
12
12
|
Classifier: Programming Language :: Python
|
|
@@ -47,4 +47,10 @@ pip install cuemsutils
|
|
|
47
47
|
|
|
48
48
|
## License
|
|
49
49
|
|
|
50
|
-
`cuemsutils` is distributed under the terms of the [
|
|
50
|
+
`cuemsutils` is distributed under the terms of the [GPL v3](https://www.gnu.org/licenses/gpl-3.0.html) license.
|
|
51
|
+
|
|
52
|
+
Copyright (C) 2025 StageLab
|
|
53
|
+
|
|
54
|
+
**This program is free software**: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License.
|
|
55
|
+
|
|
56
|
+
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# cuems-utils
|
|
2
|
+
Reusable classes and methods for CueMS system
|
|
3
|
+
|
|
4
|
+
[](https://pypi.org/project/cuemsutils)
|
|
5
|
+
[](https://pypi.org/project/cuemsutils)
|
|
6
|
+
|
|
7
|
+
-----
|
|
8
|
+
|
|
9
|
+
## Table of Contents
|
|
10
|
+
|
|
11
|
+
- [Installation](#installation)
|
|
12
|
+
- [License](#license)
|
|
13
|
+
|
|
14
|
+
## Installation
|
|
15
|
+
|
|
16
|
+
```console
|
|
17
|
+
pip install cuemsutils
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## License
|
|
21
|
+
|
|
22
|
+
`cuemsutils` is distributed under the terms of the [GPL v3](https://www.gnu.org/licenses/gpl-3.0.html) license.
|
|
23
|
+
|
|
24
|
+
Copyright (C) 2025 StageLab
|
|
25
|
+
|
|
26
|
+
**This program is free software**: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License.
|
|
27
|
+
|
|
28
|
+
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
|
@@ -8,7 +8,7 @@ dynamic = ["version"]
|
|
|
8
8
|
description = "Reusable classes and methods for CueMS system"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.8"
|
|
11
|
-
license = "
|
|
11
|
+
license = "GPL-3.0"
|
|
12
12
|
keywords = []
|
|
13
13
|
authors = [
|
|
14
14
|
{ name = "Adrià Masip", email = "adria.back@gmail.com" },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<xs:schema targetNamespace="
|
|
2
|
+
<xs:schema targetNamespace="https://stagelab.coop/cuems/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cms="https://stagelab.coop/cuems/">
|
|
3
3
|
<xs:element name="CuemsOutputs">
|
|
4
4
|
<xs:complexType>
|
|
5
5
|
<xs:sequence>
|
|
@@ -18,4 +18,4 @@
|
|
|
18
18
|
</xs:sequence>
|
|
19
19
|
</xs:complexType>
|
|
20
20
|
|
|
21
|
-
</xs:schema>
|
|
21
|
+
</xs:schema>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<xs:schema targetNamespace="
|
|
2
|
+
<xs:schema targetNamespace="https://stagelab.coop/cuems/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cms="https://stagelab.coop/cuems/">
|
|
3
3
|
<xs:element name="CuemsProjectMappings">
|
|
4
4
|
<xs:complexType>
|
|
5
5
|
<xs:sequence>
|
|
@@ -71,4 +71,4 @@
|
|
|
71
71
|
<xs:pattern value=".*[^\s].*" />
|
|
72
72
|
</xs:restriction>
|
|
73
73
|
</xs:simpleType>
|
|
74
|
-
</xs:schema>
|
|
74
|
+
</xs:schema>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<xs:schema targetNamespace="
|
|
2
|
+
<xs:schema targetNamespace="https://stagelab.coop/cuems/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cms="https://stagelab.coop/cuems/">
|
|
3
3
|
<xs:element name="CuemsProjectSettings">
|
|
4
4
|
<xs:complexType>
|
|
5
5
|
<xs:sequence>
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
<xs:pattern value=".*[^\s].*" />
|
|
21
21
|
</xs:restriction>
|
|
22
22
|
</xs:simpleType>
|
|
23
|
-
</xs:schema>
|
|
23
|
+
</xs:schema>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version="1.1" encoding="utf-8"?>
|
|
2
|
-
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" vc:minVersion="1.1" targetNamespace="
|
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" vc:minVersion="1.1" targetNamespace="https://stagelab.coop/cuems/" xmlns:cms="https://stagelab.coop/cuems/">
|
|
3
3
|
<!-- The main capsule to make it a whole, named CueMs -->
|
|
4
4
|
<!-- Our main object the script-->
|
|
5
5
|
<xs:annotation>
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<xs:appinfo>https://github.com/stagesoft</xs:appinfo>
|
|
8
8
|
<xs:documentation xml:lang="en">
|
|
9
9
|
This schema defines the data structure for a script xml file to operate on
|
|
10
|
-
the CueMs system. https://www.stagelab.
|
|
10
|
+
the CueMs system. https://www.stagelab.coop/
|
|
11
11
|
</xs:documentation>
|
|
12
12
|
</xs:annotation>
|
|
13
13
|
|
|
@@ -39,53 +39,7 @@
|
|
|
39
39
|
</xs:complexType>
|
|
40
40
|
</xs:element>
|
|
41
41
|
|
|
42
|
-
<!--
|
|
43
|
-
<xs:simpleType name="UuidType">
|
|
44
|
-
<xs:restriction base="xs:string">
|
|
45
|
-
<xs:pattern value="[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|" />
|
|
46
|
-
<xs:maxLength value="36" />
|
|
47
|
-
<xs:minLength value="36" />
|
|
48
|
-
</xs:restriction>
|
|
49
|
-
</xs:simpleType>
|
|
50
|
-
|
|
51
|
-
<!-- Target UUID string restrictions specs -->
|
|
52
|
-
<xs:simpleType name="TargetType">
|
|
53
|
-
<xs:restriction base="xs:string">
|
|
54
|
-
<xs:pattern value="([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})|()" />
|
|
55
|
-
<xs:maxLength value="36" />
|
|
56
|
-
<xs:minLength value="0" />
|
|
57
|
-
</xs:restriction>
|
|
58
|
-
</xs:simpleType>
|
|
59
|
-
|
|
60
|
-
<!-- Name text string restrictions -->
|
|
61
|
-
<xs:simpleType name="NameStringType">
|
|
62
|
-
<xs:restriction base="xs:string">
|
|
63
|
-
<xs:minLength value="3" />
|
|
64
|
-
<xs:maxLength value="60" />
|
|
65
|
-
</xs:restriction>
|
|
66
|
-
</xs:simpleType>
|
|
67
|
-
|
|
68
|
-
<!-- Description text string restrictions -->
|
|
69
|
-
<xs:simpleType name="DescriptionStringType">
|
|
70
|
-
<xs:restriction base="xs:string">
|
|
71
|
-
<xs:minLength value="0" />
|
|
72
|
-
<xs:maxLength value="255" />
|
|
73
|
-
</xs:restriction>
|
|
74
|
-
</xs:simpleType>
|
|
75
|
-
|
|
76
|
-
<!-- Our cuelist type -->
|
|
77
|
-
<xs:complexType name="CueListType">
|
|
78
|
-
<xs:complexContent>
|
|
79
|
-
<!-- Which is an extension of the base cue type -->
|
|
80
|
-
<xs:extension base="cms:CueType">
|
|
81
|
-
<xs:sequence>
|
|
82
|
-
<xs:element name="contents" type="cms:CueListContentsType" />
|
|
83
|
-
</xs:sequence>
|
|
84
|
-
</xs:extension>
|
|
85
|
-
</xs:complexContent>
|
|
86
|
-
</xs:complexType>
|
|
87
|
-
|
|
88
|
-
<!-- Our generic cue type -->
|
|
42
|
+
<!-- CUE -->
|
|
89
43
|
<xs:complexType name="CueType">
|
|
90
44
|
<xs:complexContent>
|
|
91
45
|
<xs:extension base="cms:CommonPropertiesType"></xs:extension>
|
|
@@ -93,31 +47,42 @@
|
|
|
93
47
|
</xs:complexType>
|
|
94
48
|
|
|
95
49
|
<xs:complexType name="CommonPropertiesType">
|
|
96
|
-
<xs:
|
|
97
|
-
<!-- Its own uuid -->
|
|
98
|
-
<xs:element name="uuid" type="cms:UuidType" />
|
|
99
|
-
<xs:element name="id" type="xs:string" />
|
|
100
|
-
<xs:element name="name" type="cms:NameStringType" />
|
|
50
|
+
<xs:all>
|
|
101
51
|
<xs:element name="description" type="cms:DescriptionStringType" />
|
|
102
52
|
<!-- A flag to disable to cue -->
|
|
103
53
|
<xs:element name="enabled" type="cms:BoolType" />
|
|
54
|
+
<xs:element name="id" type="xs:string" />
|
|
55
|
+
<xs:element name="name" type="cms:NameStringType" />
|
|
104
56
|
<!-- A flag to indicate auto arming -->
|
|
105
57
|
<xs:element name="loaded" type="cms:BoolType" />
|
|
106
|
-
|
|
107
|
-
<xs:element name="timecode" type="cms:BoolType" />
|
|
58
|
+
<xs:element name="loop" type="cms:LoopType" /> <!-- -1/0/n -->
|
|
108
59
|
<!-- Its time mark -->
|
|
109
60
|
<xs:element name="offset" type="cms:CTimecodeType" />
|
|
110
|
-
<xs:element name="loop" type="cms:LoopType" /> <!-- -1/0/n -->
|
|
111
61
|
<!-- Execution options -->
|
|
112
62
|
<xs:element name="prewait" type="cms:CTimecodeType" /> <!-- After go before play -->
|
|
113
63
|
<xs:element name="postwait" type="cms:CTimecodeType" /> <!-- After play before post go-->
|
|
114
64
|
<xs:element name="post_go" type="cms:PostGoType" /> <!-- Types: pause/go/go_at_end -->
|
|
115
|
-
|
|
116
|
-
<xs:element name="
|
|
117
|
-
|
|
65
|
+
<!-- Timecode behaviour flag -->
|
|
66
|
+
<xs:element name="timecode" type="cms:BoolType" />
|
|
67
|
+
<xs:element name="target" type="cms:UuidType" /> <!-- target uuid or none -->
|
|
68
|
+
<!-- Its own uuid -->
|
|
69
|
+
<xs:element name="uuid" type="cms:UuidType" />
|
|
70
|
+
<!-- <xs:element name="ui_properties" type="cms:UiPropertiesType" /> -->
|
|
71
|
+
</xs:all>
|
|
72
|
+
</xs:complexType>
|
|
73
|
+
|
|
74
|
+
<!-- CUELIST -->
|
|
75
|
+
<xs:complexType name="CueListType">
|
|
76
|
+
<xs:complexContent>
|
|
77
|
+
<!-- Which is an extension of the base cue type -->
|
|
78
|
+
<xs:extension base="cms:CueType">
|
|
79
|
+
<xs:sequence>
|
|
80
|
+
<xs:element name="contents" type="cms:CueListContentsType" />
|
|
81
|
+
</xs:sequence>
|
|
82
|
+
</xs:extension>
|
|
83
|
+
</xs:complexContent>
|
|
118
84
|
</xs:complexType>
|
|
119
85
|
|
|
120
|
-
<!-- Our cuelist contents type -->
|
|
121
86
|
<xs:complexType name="CueListContentsType">
|
|
122
87
|
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
123
88
|
<!-- Can have any other cuelists, recursively -->
|
|
@@ -132,34 +97,12 @@
|
|
|
132
97
|
</xs:choice>
|
|
133
98
|
</xs:complexType>
|
|
134
99
|
|
|
135
|
-
|
|
136
|
-
<xs:restriction base="xs:string">
|
|
137
|
-
<xs:enumeration value="pause" />
|
|
138
|
-
<xs:enumeration value="go" />
|
|
139
|
-
<xs:enumeration value="go_at_end" />
|
|
140
|
-
</xs:restriction>
|
|
141
|
-
</xs:simpleType>
|
|
142
|
-
|
|
143
|
-
<xs:complexType name="UiPropertiesType">
|
|
144
|
-
<xs:all minOccurs="0">
|
|
145
|
-
<xs:element name="timeline_position" type="cms:Coordinates" />
|
|
146
|
-
<xs:element name="warning" type="xs:integer" />
|
|
147
|
-
</xs:all>
|
|
148
|
-
</xs:complexType>
|
|
149
|
-
|
|
150
|
-
<xs:complexType name="Coordinates">
|
|
151
|
-
<xs:sequence>
|
|
152
|
-
<xs:element name="x" type="xs:integer" />
|
|
153
|
-
<xs:element name="y" type="xs:integer" />
|
|
154
|
-
</xs:sequence>
|
|
155
|
-
</xs:complexType>
|
|
156
|
-
|
|
157
|
-
<!-- Our audio cue type-->
|
|
100
|
+
<!-- AUDIO -->
|
|
158
101
|
<xs:complexType name="AudioCueType">
|
|
159
102
|
<xs:complexContent>
|
|
160
103
|
<xs:extension base="cms:CueType">
|
|
161
104
|
<xs:sequence>
|
|
162
|
-
<xs:element name="
|
|
105
|
+
<xs:element name="media" type="cms:MediaType" />
|
|
163
106
|
<xs:element name="master_vol" type="cms:PercentType" />
|
|
164
107
|
<xs:element name="Outputs" type="cms:OutputsType" />
|
|
165
108
|
</xs:sequence>
|
|
@@ -167,35 +110,6 @@
|
|
|
167
110
|
</xs:complexContent>
|
|
168
111
|
</xs:complexType>
|
|
169
112
|
|
|
170
|
-
<xs:complexType name="MediaType">
|
|
171
|
-
<xs:sequence minOccurs="0" maxOccurs="1">
|
|
172
|
-
<xs:element name="file_name" type="xs:string" />
|
|
173
|
-
<xs:element name="regions" type="cms:RegionsType" />
|
|
174
|
-
</xs:sequence>
|
|
175
|
-
</xs:complexType>
|
|
176
|
-
|
|
177
|
-
<xs:complexType name="RegionsType">
|
|
178
|
-
<xs:sequence minOccurs="1" maxOccurs="unbounded">
|
|
179
|
-
<xs:element name="region" type="cms:RegionType" />
|
|
180
|
-
</xs:sequence>
|
|
181
|
-
</xs:complexType>
|
|
182
|
-
|
|
183
|
-
<xs:complexType name="RegionType">
|
|
184
|
-
<xs:sequence minOccurs="1">
|
|
185
|
-
<xs:element name="id" type="xs:nonNegativeInteger" />
|
|
186
|
-
<xs:element name="loop" type="xs:nonNegativeInteger" />
|
|
187
|
-
<xs:element name="in_time" type="cms:CTimecodeType" />
|
|
188
|
-
<xs:element name="out_time" type="cms:CTimecodeType" />
|
|
189
|
-
</xs:sequence>
|
|
190
|
-
</xs:complexType>
|
|
191
|
-
|
|
192
|
-
<xs:complexType name="OutputsType">
|
|
193
|
-
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
194
|
-
<xs:element name="AudioCueOutput" type="cms:AudioCueOutputsType" />
|
|
195
|
-
<xs:element name="VideoCueOutput" type="cms:VideoCueOutputsType" />
|
|
196
|
-
</xs:choice>
|
|
197
|
-
</xs:complexType>
|
|
198
|
-
|
|
199
113
|
<xs:complexType name="AudioCueOutputsType">
|
|
200
114
|
<xs:sequence minOccurs="0" maxOccurs="unbounded">
|
|
201
115
|
<!-- <xs:element name="node_uuid" type="cms:UuidType" /> -->
|
|
@@ -218,6 +132,7 @@
|
|
|
218
132
|
</xs:sequence>
|
|
219
133
|
</xs:complexType>
|
|
220
134
|
|
|
135
|
+
<!-- VIDEO -->
|
|
221
136
|
<xs:complexType name="VideoCueType">
|
|
222
137
|
<xs:complexContent>
|
|
223
138
|
<xs:extension base="cms:CueType">
|
|
@@ -259,6 +174,7 @@
|
|
|
259
174
|
</xs:sequence>
|
|
260
175
|
</xs:complexType>
|
|
261
176
|
|
|
177
|
+
<!-- DMX -->
|
|
262
178
|
<xs:complexType name="DmxCueType">
|
|
263
179
|
<xs:complexContent>
|
|
264
180
|
<xs:extension base="cms:CueType">
|
|
@@ -315,18 +231,12 @@
|
|
|
315
231
|
<xs:complexType name="DmxChannelType">
|
|
316
232
|
<xs:simpleContent>
|
|
317
233
|
<xs:extension base="xs:unsignedByte">
|
|
318
|
-
<xs:attribute name="id" type="cms:
|
|
234
|
+
<xs:attribute name="id" type="cms:ChannelNumberType" />
|
|
319
235
|
</xs:extension>
|
|
320
236
|
</xs:simpleContent>
|
|
321
237
|
</xs:complexType>
|
|
322
238
|
|
|
323
|
-
|
|
324
|
-
<xs:restriction base="xs:integer">
|
|
325
|
-
<xs:minInclusive value="0" />
|
|
326
|
-
<xs:maxInclusive value="511" />
|
|
327
|
-
</xs:restriction>
|
|
328
|
-
</xs:simpleType>
|
|
329
|
-
|
|
239
|
+
<!-- ACTION -->
|
|
330
240
|
<xs:complexType name="ActionCueType">
|
|
331
241
|
<xs:complexContent>
|
|
332
242
|
<xs:extension base="cms:CueType">
|
|
@@ -356,6 +266,65 @@
|
|
|
356
266
|
</xs:restriction>
|
|
357
267
|
</xs:simpleType>
|
|
358
268
|
|
|
269
|
+
<!-- COMPLEX DATA TYPES -->
|
|
270
|
+
<xs:complexType name="CTimecodeType">
|
|
271
|
+
<!-- Can be a timecode field or an empty NoneType field -->
|
|
272
|
+
<xs:choice minOccurs="0">
|
|
273
|
+
<xs:element name="CTimecode" type="cms:TimecodeType" />
|
|
274
|
+
</xs:choice>
|
|
275
|
+
</xs:complexType>
|
|
276
|
+
|
|
277
|
+
<xs:complexType name="Coordinates">
|
|
278
|
+
<xs:sequence>
|
|
279
|
+
<xs:element name="x" type="xs:integer" />
|
|
280
|
+
<xs:element name="y" type="xs:integer" />
|
|
281
|
+
</xs:sequence>
|
|
282
|
+
</xs:complexType>
|
|
283
|
+
|
|
284
|
+
<xs:complexType name="MediaType">
|
|
285
|
+
<xs:sequence minOccurs="0" maxOccurs="1">
|
|
286
|
+
<xs:element name="file_name" type="xs:string" />
|
|
287
|
+
<xs:element name="regions" type="cms:RegionsType" />
|
|
288
|
+
</xs:sequence>
|
|
289
|
+
</xs:complexType>
|
|
290
|
+
|
|
291
|
+
<xs:complexType name="OutputsType">
|
|
292
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
293
|
+
<xs:element name="AudioCueOutput" type="cms:AudioCueOutputsType" />
|
|
294
|
+
<xs:element name="VideoCueOutput" type="cms:VideoCueOutputsType" />
|
|
295
|
+
</xs:choice>
|
|
296
|
+
</xs:complexType>
|
|
297
|
+
|
|
298
|
+
<xs:complexType name="RegionsType">
|
|
299
|
+
<xs:sequence minOccurs="1" maxOccurs="unbounded">
|
|
300
|
+
<xs:element name="region" type="cms:RegionType" />
|
|
301
|
+
</xs:sequence>
|
|
302
|
+
</xs:complexType>
|
|
303
|
+
|
|
304
|
+
<xs:complexType name="RegionType">
|
|
305
|
+
<xs:sequence minOccurs="1">
|
|
306
|
+
<xs:element name="id" type="xs:nonNegativeInteger" />
|
|
307
|
+
<xs:element name="loop" type="xs:nonNegativeInteger" />
|
|
308
|
+
<xs:element name="in_time" type="cms:CTimecodeType" />
|
|
309
|
+
<xs:element name="out_time" type="cms:CTimecodeType" />
|
|
310
|
+
</xs:sequence>
|
|
311
|
+
</xs:complexType>
|
|
312
|
+
|
|
313
|
+
<xs:complexType name="TargetType">
|
|
314
|
+
<!-- Can be a uuid field or an empty NoneType field -->
|
|
315
|
+
<xs:choice minOccurs="0">
|
|
316
|
+
<xs:element name="Uuid" type="cms:UuidType" />
|
|
317
|
+
</xs:choice>
|
|
318
|
+
</xs:complexType>
|
|
319
|
+
|
|
320
|
+
<xs:complexType name="UiPropertiesType">
|
|
321
|
+
<xs:all minOccurs="0">
|
|
322
|
+
<xs:element name="timeline_position" type="cms:Coordinates" />
|
|
323
|
+
<xs:element name="warning" type="xs:integer" />
|
|
324
|
+
</xs:all>
|
|
325
|
+
</xs:complexType>
|
|
326
|
+
|
|
327
|
+
<!-- SIMPLE DATA TYPES -->
|
|
359
328
|
<xs:simpleType name="BoolType">
|
|
360
329
|
<xs:restriction base="xs:string">
|
|
361
330
|
<xs:enumeration value="True" />
|
|
@@ -363,24 +332,45 @@
|
|
|
363
332
|
</xs:restriction>
|
|
364
333
|
</xs:simpleType>
|
|
365
334
|
|
|
335
|
+
<xs:simpleType name="ChannelNumberType">
|
|
336
|
+
<xs:restriction base="xs:integer">
|
|
337
|
+
<xs:minInclusive value="0" />
|
|
338
|
+
<xs:maxInclusive value="511" />
|
|
339
|
+
</xs:restriction>
|
|
340
|
+
</xs:simpleType>
|
|
341
|
+
|
|
366
342
|
<xs:simpleType name="DateType">
|
|
367
343
|
<xs:restriction base="xs:dateTime">
|
|
368
344
|
<xs:minInclusive value="2020-01-01T00:00:00"></xs:minInclusive>
|
|
369
345
|
</xs:restriction>
|
|
370
346
|
</xs:simpleType>
|
|
371
347
|
|
|
372
|
-
<xs:simpleType name="
|
|
348
|
+
<xs:simpleType name="DescriptionStringType">
|
|
373
349
|
<xs:restriction base="xs:string">
|
|
374
|
-
<xs:
|
|
350
|
+
<xs:minLength value="0" />
|
|
351
|
+
<xs:maxLength value="255" />
|
|
375
352
|
</xs:restriction>
|
|
376
353
|
</xs:simpleType>
|
|
377
354
|
|
|
378
|
-
<xs:
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
<xs:
|
|
382
|
-
</xs:
|
|
383
|
-
</xs:
|
|
355
|
+
<xs:simpleType name="EmptyStringType">
|
|
356
|
+
<xs:restriction base="xs:string">
|
|
357
|
+
<xs:minLength value="0" />
|
|
358
|
+
<xs:maxLength value="0" />
|
|
359
|
+
</xs:restriction>
|
|
360
|
+
</xs:simpleType>
|
|
361
|
+
|
|
362
|
+
<xs:simpleType name="LoopType">
|
|
363
|
+
<xs:restriction base="xs:integer">
|
|
364
|
+
<xs:minInclusive value="-1" />
|
|
365
|
+
</xs:restriction>
|
|
366
|
+
</xs:simpleType>
|
|
367
|
+
|
|
368
|
+
<xs:simpleType name="NameStringType">
|
|
369
|
+
<xs:restriction base="xs:string">
|
|
370
|
+
<xs:minLength value="3" />
|
|
371
|
+
<xs:maxLength value="60" />
|
|
372
|
+
</xs:restriction>
|
|
373
|
+
</xs:simpleType>
|
|
384
374
|
|
|
385
375
|
<xs:simpleType name="PercentType">
|
|
386
376
|
<!-- Integer from 0 to 100 -->
|
|
@@ -390,15 +380,26 @@
|
|
|
390
380
|
</xs:restriction>
|
|
391
381
|
</xs:simpleType>
|
|
392
382
|
|
|
393
|
-
<xs:simpleType name="
|
|
383
|
+
<xs:simpleType name="PostGoType">
|
|
384
|
+
<xs:restriction base="xs:string">
|
|
385
|
+
<xs:enumeration value="pause" />
|
|
386
|
+
<xs:enumeration value="go" />
|
|
387
|
+
<xs:enumeration value="go_at_end" />
|
|
388
|
+
</xs:restriction>
|
|
389
|
+
</xs:simpleType>
|
|
390
|
+
|
|
391
|
+
<xs:simpleType name="TimecodeType">
|
|
394
392
|
<xs:restriction base="xs:string">
|
|
395
|
-
<xs:
|
|
393
|
+
<xs:pattern value="[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}" />
|
|
396
394
|
</xs:restriction>
|
|
397
395
|
</xs:simpleType>
|
|
398
396
|
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
397
|
+
<!-- UUID4 string restrictions specs -->
|
|
398
|
+
<xs:simpleType name="UuidType">
|
|
399
|
+
<xs:restriction base="xs:string">
|
|
400
|
+
<xs:pattern value="[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}" />
|
|
401
|
+
<xs:maxLength value="36" />
|
|
402
|
+
<xs:minLength value="36" />
|
|
402
403
|
</xs:restriction>
|
|
403
404
|
</xs:simpleType>
|
|
404
405
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<xs:schema targetNamespace="
|
|
2
|
+
<xs:schema targetNamespace="https://stagelab.coop/cuems/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cms="https://stagelab.coop/cuems/">
|
|
3
3
|
<xs:element name="CuemsSettings">
|
|
4
4
|
<xs:complexType>
|
|
5
5
|
<xs:sequence>
|
|
@@ -110,4 +110,4 @@
|
|
|
110
110
|
</xs:restriction>
|
|
111
111
|
</xs:simpleType>
|
|
112
112
|
|
|
113
|
-
</xs:schema>
|
|
113
|
+
</xs:schema>
|
cuemsutils-0.0.3.post1/README.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# cuems-utils
|
|
2
|
-
Reusable classes and methods for CueMS system
|
|
3
|
-
|
|
4
|
-
[](https://pypi.org/project/cuemsutils)
|
|
5
|
-
[](https://pypi.org/project/cuemsutils)
|
|
6
|
-
|
|
7
|
-
-----
|
|
8
|
-
|
|
9
|
-
## Table of Contents
|
|
10
|
-
|
|
11
|
-
- [Installation](#installation)
|
|
12
|
-
- [License](#license)
|
|
13
|
-
|
|
14
|
-
## Installation
|
|
15
|
-
|
|
16
|
-
```console
|
|
17
|
-
pip install cuemsutils
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## License
|
|
21
|
-
|
|
22
|
-
`cuemsutils` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
|
|
File without changes
|
|
File without changes
|