more clustalx bugs fixed
[jalview.git] / schemas / jalview.xsd
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" \r
3                         xmlns:vamsas="www.vamsas.org" \r
4                         xmlns:jalview="www.jalview.org/colours" \r
5                         targetNamespace="www.jalview.org" \r
6                         elementFormDefault="qualified" \r
7                         attributeFormDefault="unqualified">\r
8 \r
9 <xs:import schemaLocation="vamsas.xsd" namespace="www.vamsas.org" />\r
10 <xs:import schemaLocation="jalviewUserColours.xsd" namespace="www.jalview.org/colours"/>\r
11 \r
12 <xs:complexType name="JalviewModel">\r
13 \r
14     <xs:sequence>\r
15 \r
16             <xs:element name="creationDate" type="xs:dateTime"/>\r
17 \r
18         <xs:element name="vamsasModel" type="vamsas:VAMSAS"/>\r
19 \r
20         <xs:sequence>\r
21 \r
22             <xs:element name="JSeq" maxOccurs="unbounded">\r
23 \r
24                 <xs:complexType>\r
25                     \r
26                                         <xs:attribute name="colour" type="xs:int" use="optional"/>\r
27                                         \r
28                     <xs:attribute name="start" type="xs:int" use="required"/>\r
29 \r
30                     <xs:attribute name="end" type="xs:int" use="required"/>\r
31 \r
32                     <xs:attribute name="id" type="xs:int" use="required"/>\r
33 \r
34                 </xs:complexType>\r
35 \r
36             </xs:element>\r
37 \r
38             <xs:element name="JGroup" maxOccurs="unbounded">\r
39 \r
40                 <xs:complexType>\r
41 \r
42                     <xs:sequence minOccurs="1">\r
43 \r
44                         <xs:element name="seq" maxOccurs="unbounded" type="xs:int"/>\r
45                                         \r
46                     </xs:sequence>\r
47 \r
48                         <xs:attribute name="start" type="xs:int"/>\r
49 \r
50                         <xs:attribute name="end" type="xs:int"/>\r
51 \r
52                         <xs:attribute name="name" type="xs:string"/>\r
53 \r
54                         <xs:attribute name="colour" type="xs:string"/>\r
55 \r
56                                                 <xs:attribute name="consThreshold" type="xs:int"/>\r
57 \r
58                                                 <xs:attribute name="pidThreshold" type="xs:int"/>\r
59 \r
60                         <xs:attribute name="outlineColour" type="xs:int"/>\r
61 \r
62                         <xs:attribute name="displayBoxes" type="xs:boolean"/>\r
63 \r
64                         <xs:attribute name="displayText" type="xs:boolean"/>\r
65 \r
66                         <xs:attribute name="colourText" type="xs:boolean"/>\r
67 \r
68                 </xs:complexType>\r
69 \r
70             </xs:element>\r
71 \r
72             <xs:element name="Viewport" maxOccurs="unbounded">\r
73 \r
74                 <xs:complexType>\r
75                                         <xs:attribute name="conservationSelected" type="xs:boolean"/>\r
76 \r
77                                                 <xs:attribute name="pidSelected" type="xs:boolean"/>\r
78 \r
79                         <xs:attribute name="bgColour" type="xs:string"/>\r
80 \r
81                                                 <xs:attribute name="consThreshold" type="xs:int"/>\r
82 \r
83                                                 <xs:attribute name="pidThreshold" type="xs:int"/>\r
84 \r
85                         <xs:attribute name="title" type="xs:string"/>\r
86 \r
87                         <xs:attribute name="showFullId" type="xs:boolean"/>\r
88 \r
89                         <xs:attribute name="showText" type="xs:boolean"/>\r
90 \r
91                         <xs:attribute name="showColourText" type="xs:boolean"/>\r
92 \r
93                         <xs:attribute name="showBoxes" type="xs:boolean"/>\r
94 \r
95                         <xs:attribute name="wrapAlignment" type="xs:boolean"/>\r
96 \r
97                         <xs:attribute name="renderGaps" type="xs:boolean"/>\r
98 \r
99                         <xs:attribute name="showSequenceFeatures" type="xs:boolean"/>\r
100 \r
101                                                 <xs:attribute name="showAnnotation" type="xs:boolean"/>\r
102 \r
103                         <xs:attribute name="showConservation" type="xs:boolean"/>\r
104 \r
105                         <xs:attribute name="showQuality" type="xs:boolean"/>\r
106 \r
107                                                 <xs:attribute name="showIdentity" type="xs:boolean"/>\r
108 \r
109                     <xs:attribute name="xpos" type="xs:int"/>\r
110 \r
111                     <xs:attribute name="ypos" type="xs:int"/>\r
112 \r
113                     <xs:attribute name="width" type="xs:int"/>\r
114 \r
115                     <xs:attribute name="height" type="xs:int"/>\r
116 \r
117                                     <xs:attribute name="startRes" type="xs:int"/>\r
118                                         <xs:attribute name="startSeq" type="xs:int"/>\r
119                                         <xs:attribute name="fontName" type="xs:string"/>\r
120                                         <xs:attribute name="fontSize" type="xs:int"/>\r
121                                         <xs:attribute name="fontStyle" type="xs:int"/>\r
122                                 \r
123 \r
124                 </xs:complexType>\r
125 \r
126             </xs:element>    \r
127 \r
128                         <xs:element name="UserColours" maxOccurs="unbounded">\r
129                 <xs:complexType>  \r
130                                          <xs:sequence minOccurs="1">\r
131                                                 <xs:element name="UserColourScheme" type="jalview:JalviewUserColours"/>\r
132                                          </xs:sequence>\r
133                                          <xs:attribute name="id" type="xs:string"/>\r
134                  </xs:complexType>\r
135             </xs:element>\r
136 \r
137         </xs:sequence>\r
138 \r
139     </xs:sequence>\r
140 \r
141 </xs:complexType>\r
142 \r
143 \r
144 \r
145 \r
146 </xs:schema>\r