1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ Copyright 2023 Samsung Electronics Co., Ltd All Rights Reserved
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ Unless required by applicable law or agreed to in writing, software
12
+ distributed under the License is distributed on an "AS IS" BASIS,
13
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ See the License for the specific language governing permissions and
15
+ limitations under the License.
16
+ -->
17
+
18
+ <xs : schema xmlns : xs =" http://www.w3.org/2001/XMLSchema" >
19
+ <xs : include schemaLocation =" ../group/renderModeType.xsd" />
20
+ <xs : include schemaLocation =" ../common/attributes/geometricAttributes.xsd" />
21
+ <xs : include schemaLocation =" ../common/transform/pivotType.xsd" />
22
+ <xs : include schemaLocation =" ../common/variant/variantElements.xsd" />
23
+ <xs : include schemaLocation =" hourHand.xsd" />
24
+ <xs : include schemaLocation =" minuteHand.xsd" />
25
+ <xs : include schemaLocation =" secondHand.xsd" />
26
+
27
+ <xs : element name =" AnalogClock" >
28
+ <xs : annotation >
29
+ <xs : documentation >
30
+ AnalogClock is a container that represents a traditional clock with
31
+ rotating hands.
32
+ </xs : documentation >
33
+ </xs : annotation >
34
+ <xs : complexType >
35
+ <xs : all >
36
+ <xs : element ref =" HourHand" minOccurs =" 0" maxOccurs =" 2" />
37
+ <xs : element ref =" MinuteHand" minOccurs =" 0" maxOccurs =" 2" />
38
+ <xs : element ref =" SecondHand" minOccurs =" 0" maxOccurs =" 2" />
39
+ <xs : element ref =" Localization" minOccurs =" 0" maxOccurs =" 1" />
40
+ <xs : element ref =" Variant" minOccurs =" 0" maxOccurs =" unbounded" />
41
+ </xs : all >
42
+
43
+ <xs : attributeGroup ref =" geometricAttributesRequired" />
44
+ <xs : attributeGroup ref =" pivot2D" />
45
+ <xs : attribute name =" angle" type =" angleType" />
46
+ <xs : attribute ref =" alpha" />
47
+ <xs : attribute name =" scaleX" type =' xs:float' />
48
+ <xs : attribute name =" scaleY" type =' xs:float' />
49
+ <xs : attribute name =" renderMode" type =" renderModeType" default =" SOURCE" />
50
+ <xs : attribute name =" tintColor" type =' colorAttributeType' />
51
+ </xs : complexType >
52
+ </xs : element >
53
+ </xs : schema >
0 commit comments