2 <xsd:schema xmlns:
xsd=
"http://www.w3.org/2001/XMLSchema" elementFormDefault=
"qualified">
3 <xsd:element name=
"Animations" type=
"animAnimationsType" />
4 <xsd:complexType name=
"animAnimationsType">
6 <xsd:element name=
"AnimationDefinition" type=
"animAnimationDefinitionType" minOccurs=
"0" maxOccurs=
"unbounded" />
9 <xsd:complexType name=
"animAnimationDefinitionType">
11 <xsd:element name=
"Affector" type=
"animAffectorType" minOccurs=
"1" maxOccurs=
"unbounded" />
12 <xsd:element name=
"Subscription" type=
"animSubscriptionType" minOccurs=
"0" maxOccurs=
"unbounded" />
14 <xsd:attribute name=
"name" type=
"xsd:string" use=
"required" />
15 <xsd:attribute name=
"duration" type=
"xsd:decimal" use=
"required" />
16 <xsd:attribute name=
"replayMode" type=
"animReplayModeEnum" use=
"optional" default=
"loop" />
17 <xsd:attribute name=
"autoStart" type=
"xsd:boolean" use=
"optional" default=
"false" />
19 <xsd:complexType name=
"animAffectorType">
21 <xsd:element name=
"KeyFrame" type=
"animKeyFrameType" minOccurs=
"1" maxOccurs=
"unbounded" />
23 <xsd:attribute name=
"applicationMethod" type=
"animApplicationMethodEnum" use=
"optional" default=
"absolute" />
24 <xsd:attribute name=
"property" type=
"xsd:string" use=
"required" />
25 <xsd:attribute name=
"interpolator" type=
"xsd:string" use=
"required" />
27 <xsd:complexType name=
"animKeyFrameType">
28 <xsd:attribute name=
"position" type=
"xsd:decimal" use=
"required" />
29 <xsd:attribute name=
"value" type=
"xsd:string" use=
"optional" default=
"" />
30 <xsd:attribute name=
"progression" type=
"xsd:string" use=
"optional" default=
"" />
31 <xsd:attribute name=
"sourceProperty" type=
"xsd:string" use=
"optional" default=
"" />
33 <xsd:complexType name=
"animSubscriptionType">
34 <xsd:attribute name=
"event" type=
"xsd:string" use=
"required" />
35 <xsd:attribute name=
"action" type=
"animActionEnum" use=
"required" />
37 <xsd:simpleType name=
"animReplayModeEnum">
38 <xsd:restriction base=
"xsd:string">
39 <xsd:enumeration value=
"once" />
40 <xsd:enumeration value=
"loop" />
41 <xsd:enumeration value=
"bounce" />
44 <xsd:simpleType name=
"animApplicationMethodEnum">
45 <xsd:restriction base=
"xsd:string">
46 <xsd:enumeration value=
"absolute" />
47 <xsd:enumeration value=
"relative" />
48 <xsd:enumeration value=
"relative multiply" />
51 <xsd:simpleType name=
"animProgressionEnum">
52 <xsd:restriction base=
"xsd:string">
53 <xsd:enumeration value=
"linear" />
54 <xsd:enumeration value=
"discrete" />
55 <xsd:enumeration value=
"quadratic accelerating" />
56 <xsd:enumeration value=
"quadratic decelerating" />
59 <xsd:simpleType name=
"animActionEnum">
60 <xsd:restriction base=
"xsd:string">
61 <xsd:enumeration value=
"Start" />
62 <xsd:enumeration value=
"Stop" />
63 <xsd:enumeration value=
"Pause" />
64 <xsd:enumeration value=
"Unpause" />
65 <xsd:enumeration value=
"TogglePause" />