-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathASC-CDL_schema_v1.01.xsd
200 lines (170 loc) · 7.12 KB
/
ASC-CDL_schema_v1.01.xsd
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<!-- Author: Ana B. Benitez -->
<!-- Company: Thomson -->
<!-- Email: [email protected] -->
<!-- Date: July 20, 2007 -->
<schema targetNamespace="urn:ASC:CDL:v1.01"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:cdl="urn:ASC:CDL:v1.01"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<!-- Definition of ColorDecisionList element -->
<element name="ColorDecisionList" type="cdl:ColorDecisionListType"/>
<!-- Definition of ColorDecisionListType type -->
<complexType name="ColorDecisionListType">
<sequence>
<element name="Description" type="string" minOccurs="0" maxOccurs="unbounded"/>
<element name="InputDescription" type="string" minOccurs="0" maxOccurs="1"/>
<element name="ViewingDescription" type="string" minOccurs="0" maxOccurs="1"/>
<element ref="cdl:ColorDecision" minOccurs="1" maxOccurs="unbounded"/>
</sequence>
</complexType>
<!-- Definition of ColorDecision element -->
<element name="ColorDecision" type="cdl:ColorDecisionType"/>
<!-- Definition of ColorDecisionType type -->
<complexType name="ColorDecisionType">
<sequence>
<element name="Description" type="string" minOccurs="0" maxOccurs="unbounded"/>
<element name="InputDescription" type="string" minOccurs="0" maxOccurs="1"/>
<element name="ViewingDescription" type="string" minOccurs="0" maxOccurs="1"/>
<element ref="cdl:MediaBase" minOccurs="0" maxOccurs="1"/>
<element ref="cdl:ColorCorrectionBase" minOccurs="1" maxOccurs="1"/>
</sequence>
</complexType>
<!-- Definition of MediaBase element -->
<element name="MediaBase" abstract="true"/>
<!-- Definition of MediaBaseType type -->
<complexType name="MediaBaseType" abstract="true"/>
<!-- Definition of MediaRef element -->
<element name="MediaRef" type="cdl:MediaRefType" substitutionGroup="cdl:MediaBase"/>
<!-- Definition of MediaRefType type -->
<complexType name="MediaRefType">
<complexContent>
<extension base="cdl:MediaBaseType">
<attribute name="ref" type="anyURI" use="required"/>
</extension>
</complexContent>
</complexType>
<!-- Definition of ColorCorrectionCollection element -->
<element name="ColorCorrectionCollection" type="cdl:ColorCorrectionCollectionType"/>
<!-- Definition of ColorCorrectionCollectionType type -->
<complexType name="ColorCorrectionCollectionType">
<sequence>
<element name="Description" type="string" minOccurs="0" maxOccurs="unbounded"/>
<element name="InputDescription" type="string" minOccurs="0" maxOccurs="1"/>
<element name="ViewingDescription" type="string" minOccurs="0" maxOccurs="1"/>
<element ref="cdl:ColorCorrection" minOccurs="1" maxOccurs="unbounded"/>
</sequence>
</complexType>
<!-- Definition of ColorCorrectionBase element -->
<element name="ColorCorrectionBase" abstract="true"/>
<!-- Definition of ColorCorrectionBaseType type -->
<complexType name="ColorCorrectionBaseType" abstract="true">
<sequence>
<element name="Description" type="string" minOccurs="0" maxOccurs="unbounded"/>
<element name="InputDescription" type="string" minOccurs="0" maxOccurs="1"/>
<element name="ViewingDescription" type="string" minOccurs="0" maxOccurs="1"/>
</sequence>
</complexType>
<!-- Definition of ColorCorrectionRef and ASC_CC_XML elements -->
<element name="ColorCorrectionRef" type="cdl:ColorCorrectionRefType" substitutionGroup="cdl:ColorCorrectionBase"/>
<element name="ASC_CC_XML" type="cdl:ColorCorrectionRefType" substitutionGroup="cdl:ColorCorrectionRef"/>
<!-- Definition of ColorCorrectionRefType type -->
<complexType name="ColorCorrectionRefType">
<complexContent>
<extension base="cdl:ColorCorrectionBaseType">
<attribute name="ref" type="anyURI" use="required"/>
</extension>
</complexContent>
</complexType>
<!-- Definition of ColorCorrection element -->
<element name="ColorCorrection" type="cdl:ColorCorrectionType" substitutionGroup="cdl:ColorCorrectionBase"/>
<!-- Definition of ColorCorrectionType type -->
<complexType name="ColorCorrectionType">
<complexContent>
<extension base="cdl:ColorCorrectionBaseType">
<sequence>
<element ref="cdl:ColorNodeBase" minOccurs="1" maxOccurs="unbounded"/>
</sequence>
<attribute name="id" type="anyURI" use="required"/>
</extension>
</complexContent>
</complexType>
<!-- Definition of ColorNodeBase element -->
<element name="ColorNodeBase" abstract="true"/>
<!-- Definition of ColorNodeBaseType type -->
<complexType name="ColorNodeBaseType" abstract="true">
<sequence>
<element name="Description" type="string" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
<!-- Definition of SOPNode and ASC_SOP elements -->
<element name="SOPNode" type="cdl:SOPNodeType" substitutionGroup="cdl:ColorNodeBase"/>
<element name="ASC_SOP" type="cdl:SOPNodeType" substitutionGroup="cdl:SOPNode"/>
<!-- Definition of SOPNodeType type -->
<complexType name="SOPNodeType">
<complexContent>
<extension base="cdl:ColorNodeBaseType">
<sequence>
<element name="Slope" minOccurs="1" maxOccurs="1">
<simpleType>
<restriction base="cdl:nonNegativeFloatListType">
<length value="3"/>
</restriction>
</simpleType>
</element>
<element name="Offset" minOccurs="1" maxOccurs="1">
<simpleType>
<restriction base="cdl:floatListType">
<length value="3"/>
</restriction>
</simpleType>
</element>
<element name="Power" minOccurs="1" maxOccurs="1">
<simpleType>
<restriction base="cdl:positiveFloatListType">
<length value="3"/>
</restriction>
</simpleType>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- Definition of SatNode and ASC_SAT elements -->
<element name="SatNode" type="cdl:SatNodeType" substitutionGroup="cdl:ColorNodeBase"/>
<element name="ASC_SAT" type="cdl:SatNodeType" substitutionGroup="cdl:SatNode"/>
<!-- Definition of SatNodeType type -->
<complexType name="SatNodeType">
<complexContent>
<extension base="cdl:ColorNodeBaseType">
<sequence>
<element name="Saturation" type="cdl:nonNegativeFloatType" minOccurs="1" maxOccurs="1"/>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- Definition of threeNonNegativeFloatListType type -->
<simpleType name="nonNegativeFloatListType">
<list itemType="cdl:nonNegativeFloatType"/>
</simpleType>
<!-- Definition of floatListType type -->
<simpleType name="floatListType">
<list itemType="float"/>
</simpleType>
<!-- Definition of positiveFloatListType type -->
<simpleType name="positiveFloatListType">
<list itemType="cdl:positiveFloatType"/>
</simpleType>
<!-- Definition of nonNegativeFloatType type -->
<simpleType name="nonNegativeFloatType">
<restriction base="float">
<minInclusive value="0.0"/>
</restriction>
</simpleType>
<!-- Definition of positiveFloatType type -->
<simpleType name="positiveFloatType">
<restriction base="float">
<minExclusive value="0.0"/>
</restriction>
</simpleType>
</schema>