JAL-976 - add support for storing service parameter sets in project
[jalview.git] / schemas / jalview.xsd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)
4  * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle
5  * 
6  * This file is part of Jalview.
7  * 
8  * Jalview is free software: you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License 
10  * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
11  * 
12  * Jalview is distributed in the hope that it will be useful, but 
13  * WITHOUT ANY WARRANTY; without even the implied warranty 
14  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
15  * PURPOSE.  See the GNU General Public License for more details.
16  * 
17  * You should have received a copy of the GNU General Public License along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
18 -->
19 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vamsas="www.vamsas.ac.uk/jalview/version2" xmlns:jalview="www.jalview.org/colours" xmlns:jv="www.jalview.org" xmlns:jvws="www.jalview.org/xml/wsparamset" targetNamespace="www.jalview.org" elementFormDefault="qualified" attributeFormDefault="unqualified">
20                 <xs:import namespace="www.vamsas.ac.uk/jalview/version2" schemaLocation="vamsas.xsd"/>
21         <xs:import namespace="www.jalview.org/colours" schemaLocation="JalviewUserColours.xsd"/>
22         <xs:import namespace="www.jalview.org/xml/wsparamset" schemaLocation="JalviewWsParamSet.xsd"/>
23         <xs:complexType name="JalviewModel">
24                 <xs:sequence>
25                         <xs:element name="creationDate" type="xs:dateTime" />
26                         <xs:element name="version" type="xs:string" />
27                         <xs:element name="vamsasModel" type="vamsas:VAMSAS" />
28                         <xs:sequence>
29                                 <xs:element name="JSeq" maxOccurs="unbounded">
30                                         <xs:complexType>
31                                                 <xs:sequence>
32                                                         <xs:element name="features"
33                                                                 type="jv:feature" minOccurs="0" maxOccurs="unbounded" />
34                                                         <xs:element name="pdbids" minOccurs="0"
35                                                                 maxOccurs="unbounded">
36                                                                 <xs:complexType>
37                                                                         <xs:complexContent>
38                                                                                 <xs:extension
39                                                                                         base="jv:pdbentry">
40                                                                                         <xs:sequence>
41                                                                                                 <xs:element
42                                                                                                         name="structureState" minOccurs="0"
43                                                                                                         maxOccurs="unbounded">
44                                                                                                         <xs:complexType>
45                                                                                                                 <xs:simpleContent>
46                                                                                                                         <xs:extension
47                                                                                                                                 base="xs:string">
48                                                                                                                                 <xs:attributeGroup
49                                                                                                                                         ref="jv:swingwindow" />
50                                                                                                                                 <xs:attribute
51                                                                                                                                         name="visible" type="xs:boolean" />
52                                                                                                                                 <xs:attribute
53                                                                                                                                         name="viewId" type="xs:string" use="optional">
54                                                                                                                                         <xs:annotation>
55                                                                                                                                                 <xs:documentation>
56                                                                                                                                                         additional
57                                                                                                                                                         identifier
58                                                                                                                                                         which
59                                                                                                                                                         properly
60                                                                                                                                                         disambiguates
61                                                                                                                                                         the
62                                                                                                                                                         structure
63                                                                                                                                                         view
64                                                                                                                                                         from
65                                                                                                                                                         any
66                                                                                                                                                         other
67                                                                                                                                                         view
68                                                                                                                                                         with
69                                                                                                                                                         the
70                                                                                                                                                         same
71                                                                                                                                                         attributes.
72                                                                                                                                                         This
73                                                                                                                                                         is
74                                                                                                                                                         not
75                                                                                                                                                         an
76                                                                                                                                                         ID,
77                                                                                                                                                         because
78                                                                                                                                                         it
79                                                                                                                                                         is
80                                                                                                                                                         possible
81                                                                                                                                                         to
82                                                                                                                                                         have
83                                                                                                                                                         many
84                                                                                                                                                         references
85                                                                                                                                                         to
86                                                                                                                                                         the
87                                                                                                                                                         same
88                                                                                                                                                         physical
89                                                                                                                                                         structure
90                                                                                                                                                         view
91                                                                                                                                                         from
92                                                                                                                                                         different
93                                                                                                                                                         sequences
94                                                                                                                                                         in
95                                                                                                                                                         an
96                                                                                                                                                         alignment.
97                                                                                                                                                         A
98                                                                                                                                                         structureState
99                                                                                                                                                         element
100                                                                                                                                                         citing
101                                                                                                                                                         the
102                                                                                                                                                         same
103                                                                                                                                                         viewId
104                                                                                                                                                         will
105                                                                                                                                                         appear
106                                                                                                                                                         for
107                                                                                                                                                         each
108                                                                                                                                                         instance.
109                                                                                                                                                 </xs:documentation>
110                                                                                                                                         </xs:annotation>
111                                                                                                                                 </xs:attribute>
112                                                                                                                                 <xs:attribute
113                                                                                                                                         name="alignwithAlignPanel" type="xs:boolean"
114                                                                                                                                         use="optional" default="true">
115                                                                                                                                         <xs:annotation>
116                                                                                                                                                 <xs:documentation>
117                                                                                                                                                         Flag
118                                                                                                                                                         set
119                                                                                                                                                         if
120                                                                                                                                                         the
121                                                                                                                                                         alignment
122                                                                                                                                                         panel
123                                                                                                                                                         containing
124                                                                                                                                                         this
125                                                                                                                                                         JSeq
126                                                                                                                                                         should
127                                                                                                                                                         be
128                                                                                                                                                         included
129                                                                                                                                                         in
130                                                                                                                                                         those
131                                                                                                                                                         used
132                                                                                                                                                         to
133                                                                                                                                                         perform
134                                                                                                                                                         a
135                                                                                                                                                         structure
136                                                                                                                                                         superposition
137                                                                                                                                                         (since
138                                                                                                                                                         Jalview
139                                                                                                                                                         2.7).
140                                                                                                                                                 </xs:documentation>
141                                                                                                                                         </xs:annotation>
142                                                                                                                                 </xs:attribute>
143                                                                                                                                 <xs:attribute
144                                                                                                                                         name="colourwithAlignPanel" type="xs:boolean"
145                                                                                                                                         use="optional" default="false">
146                                                                                                                                         <xs:annotation>
147                                                                                                                                                 <xs:documentation>
148                                                                                                                                                         Flag
149                                                                                                                                                         set
150                                                                                                                                                         if
151                                                                                                                                                         the
152                                                                                                                                                         alignment
153                                                                                                                                                         panel
154                                                                                                                                                         containing
155                                                                                                                                                         this
156                                                                                                                                                         JSeq
157                                                                                                                                                         should
158                                                                                                                                                         be
159                                                                                                                                                         included
160                                                                                                                                                         in
161                                                                                                                                                         those
162                                                                                                                                                         used
163                                                                                                                                                         to
164                                                                                                                                                         colour
165                                                                                                                                                         its
166                                                                                                                                                         associated
167                                                                                                                                                         sequences
168                                                                                                                                                         in
169                                                                                                                                                         this
170                                                                                                                                                         structureState(since
171                                                                                                                                                         Jalview
172                                                                                                                                                         2.7).
173                                                                                                                                                 </xs:documentation>
174                                                                                                                                         </xs:annotation>
175                                                                                                                                 </xs:attribute>
176                                                                                                                                 <xs:attribute
177                                                                                                                                         name="colourByJmol" type="xs:boolean" use="optional"
178                                                                                                                                         default="true">
179                                                                                                                                         <xs:annotation>
180                                                                                                                                                 <xs:documentation>
181                                                                                                                                                         Flag
182                                                                                                                                                         set
183                                                                                                                                                         if
184                                                                                                                                                         the
185                                                                                                                                                         structure
186                                                                                                                                                         display
187                                                                                                                                                         is
188                                                                                                                                                         coloured
189                                                                                                                                                         by
190                                                                                                                                                         the
191                                                                                                                                                         Jmol
192                                                                                                                                                         state,
193                                                                                                                                                         rather
194                                                                                                                                                         than
195                                                                                                                                                         by
196                                                                                                                                                         one
197                                                                                                                                                         or
198                                                                                                                                                         more
199                                                                                                                                                         linked
200                                                                                                                                                         alignment
201                                                                                                                                                         views.
202                                                                                                                                                 </xs:documentation>
203                                                                                                                                         </xs:annotation>
204                                                                                                                                 </xs:attribute>
205
206                                                                                                                         </xs:extension>
207                                                                                                                 </xs:simpleContent>
208                                                                                                         </xs:complexType>
209                                                                                                 </xs:element>
210                                                                                         </xs:sequence>
211                                                                                 </xs:extension>
212                                                                         </xs:complexContent>
213                                                                 </xs:complexType>
214                                                         </xs:element>
215                                                         <xs:element name="hiddenSequences"
216                                                                 type="xs:int" minOccurs="0" maxOccurs="unbounded" />
217                                                 </xs:sequence>
218                                                 <xs:attribute name="colour" type="xs:int"
219                                                         use="optional" />
220                                                 <xs:attribute name="start" type="xs:int"
221                                                         use="required" />
222                                                 <xs:attribute name="end" type="xs:int"
223                                                         use="required" />
224                                                 <xs:attribute name="id" type="xs:string"
225                                                         use="required" />
226                                                 <xs:attribute name="hidden" type="xs:boolean" />
227                                         </xs:complexType>
228                                 </xs:element>
229                                 <xs:element name="JGroup" minOccurs="0"
230                                         maxOccurs="unbounded">
231                                         <xs:complexType>
232                                                 <xs:sequence>
233                                                         <xs:element name="seq" type="xs:string"
234                                                                 maxOccurs="unbounded" />
235                                                 </xs:sequence>
236                                                 <xs:attribute name="start" type="xs:int" />
237                                                 <xs:attribute name="end" type="xs:int" />
238                                                 <xs:attribute name="name" type="xs:string" />
239                                                 <xs:attribute name="colour" type="xs:string" />
240                                                 <xs:attribute name="consThreshold"
241                                                         type="xs:int" />
242                                                 <xs:attribute name="pidThreshold" type="xs:int" />
243                                                 <xs:attribute name="outlineColour"
244                                                         type="xs:int" />
245                                                 <xs:attribute name="displayBoxes"
246                                                         type="xs:boolean" />
247                                                 <xs:attribute name="displayText"
248                                                         type="xs:boolean" />
249                                                 <xs:attribute name="colourText"
250                                                         type="xs:boolean" />
251                                                 <xs:attribute name="textCol1" type="xs:int" />
252                                                 <xs:attribute name="textCol2" type="xs:int" />
253                                                 <xs:attribute name="textColThreshold"
254                                                         type="xs:int" />
255                                                 <xs:attribute name="showUnconserved"
256                                                         type="xs:boolean" use="optional" />
257                                                 <xs:attribute name="ignoreGapsinConsensus"
258                                                         type="xs:boolean" use="optional" default="true" />
259                                                 <xs:attribute name="showConsensusHistogram"
260                                                         type="xs:boolean" use="optional" default="true" />
261                                                 <xs:attribute name="showSequenceLogo"
262                                                         type="xs:boolean" use="optional" default="false" />
263                                                 <xs:attribute name="id" type="xs:string"
264                                                         use="optional">
265                                                         <xs:annotation>
266                                                                 <xs:documentation>
267                                                                         Optional sequence group ID (only
268                                                                         needs to be unique for this
269                                                                         alignment)
270                                                                 </xs:documentation>
271                                                         </xs:annotation>
272                                                 </xs:attribute>
273                                         </xs:complexType>
274                                 </xs:element>
275                                 <xs:element name="Viewport" maxOccurs="unbounded">
276                                         <xs:complexType>
277                                                 <xs:sequence>
278                                                         <xs:element name="AnnotationColours"
279                                                                 minOccurs="0">
280                                                                 <xs:complexType>
281                                                                         <xs:attribute name="aboveThreshold"
282                                                                                 type="xs:int" />
283                                                                         <xs:attribute name="annotation"
284                                                                                 type="xs:string" />
285                                                                         <xs:attribute name="minColour"
286                                                                                 type="xs:int" />
287                                                                         <xs:attribute name="maxColour"
288                                                                                 type="xs:int" />
289                                                                         <xs:attribute name="colourScheme"
290                                                                                 type="xs:string" />
291                                                                         <xs:attribute name="threshold"
292                                                                                 type="xs:float" />
293                                                                 </xs:complexType>
294                                                         </xs:element>
295                                                         <xs:element name="hiddenColumns"
296                                                                 minOccurs="0" maxOccurs="unbounded">
297                                                                 <xs:complexType>
298                                                                         <xs:attribute name="start"
299                                                                                 type="xs:int" />
300                                                                         <xs:attribute name="end"
301                                                                                 type="xs:int" />
302                                                                 </xs:complexType>
303                                                         </xs:element>
304                                                         <xs:element name="calcIdParam" 
305                                                          
306                                                         minOccurs="0" maxOccurs="unbounded">
307                                                         <xs:complexType>
308                                                         <xs:complexContent>
309                                                         <xs:extension base="jvws:WebServiceParameterSet">
310                                                         <xs:attribute name="calcId" type="xs:string" use="required">
311                                                         <xs:annotation>
312                                                         <xs:documentation>handle for the calculation which uses this parameter set</xs:documentation></xs:annotation>
313                                                         </xs:attribute>
314                                                         <xs:attribute name="needsUpdate" type="xs:boolean" use="optional" default="false">
315                                                         <xs:annotation><xs:documentation>should the calculation be performed immediately after loading in order to refresh results</xs:documentation></xs:annotation>
316                                                         </xs:attribute>
317                                                         <xs:attribute name="autoUpdate" type="xs:boolean" use="required">
318                                                         <xs:annotation><xs:documentation>should the calculation be automatically performed on edits</xs:documentation></xs:annotation>
319                                                         </xs:attribute>
320                                                         </xs:extension>
321                                                         </xs:complexContent>
322                                                         </xs:complexType>
323                                                         </xs:element>
324                                                 </xs:sequence>
325                                                 <xs:attributeGroup ref="jv:swingwindow" />
326                                                 <xs:attribute name="conservationSelected"
327                                                         type="xs:boolean" />
328                                                 <xs:attribute name="pidSelected"
329                                                         type="xs:boolean" />
330                                                 <xs:attribute name="bgColour" type="xs:string" />
331                                                 <xs:attribute name="consThreshold"
332                                                         type="xs:int" />
333                                                 <xs:attribute name="pidThreshold" type="xs:int" />
334                                                 <xs:attribute name="title" type="xs:string" />
335                                                 <xs:attribute name="showFullId"
336                                                         type="xs:boolean" />
337                                                 <xs:attribute name="rightAlignIds"
338                                                         type="xs:boolean" />
339                                                 <xs:attribute name="showText" type="xs:boolean" />
340                                                 <xs:attribute name="showColourText"
341                                                         type="xs:boolean" />
342                                                 <xs:attribute name="showUnconserved"
343                                                         type="xs:boolean" use="optional" default="false" />
344                                                 <xs:attribute name="showBoxes"
345                                                         type="xs:boolean" />
346                                                 <xs:attribute name="wrapAlignment"
347                                                         type="xs:boolean" />
348                                                 <xs:attribute name="renderGaps"
349                                                         type="xs:boolean" />
350                                                 <xs:attribute name="showSequenceFeatures"
351                                                         type="xs:boolean" />
352                                                 <xs:attribute name="showNPfeatureTooltip"
353                                                         type="xs:boolean" use="optional" />
354                                                 <xs:attribute name="showDbRefTooltip"
355                                                         type="xs:boolean" use="optional" />
356                                                 <xs:attribute name="followHighlight"
357                                                         type="xs:boolean" use="optional" default="true" />
358                                                 <xs:attribute name="followSelection"
359                                                         type="xs:boolean" use="optional" default="true" />
360                                                 <xs:attribute name="showAnnotation"
361                                                         type="xs:boolean" />
362                                                 <xs:attribute name="centreColumnLabels"
363                                                         type="xs:boolean" use="optional" default="false" />
364                                                 <xs:attribute name="showGroupConservation"
365                                                         type="xs:boolean" use="optional" default="false" />
366                                                 <xs:attribute name="showGroupConsensus"
367                                                         type="xs:boolean" use="optional" default="false" />
368                                                 <xs:attribute name="showConsensusHistogram"
369                                                         type="xs:boolean" use="optional" default="true" />
370                                                 <xs:attribute name="showSequenceLogo"
371                                                         type="xs:boolean" use="optional" default="false" />
372                                                 <xs:attribute name="ignoreGapsinConsensus"
373                                                         type="xs:boolean" use="optional" default="true" />
374
375                                                 <xs:attribute name="startRes" type="xs:int" />
376                                                 <xs:attribute name="startSeq" type="xs:int" />
377                                                 <xs:attribute name="fontName" type="xs:string" />
378                                                 <xs:attribute name="fontSize" type="xs:int" />
379                                                 <xs:attribute name="fontStyle" type="xs:int" />
380                                                 <xs:attribute name="viewName" type="xs:string" />
381                                                 <xs:attribute name="sequenceSetId"
382                                                         type="xs:string" />
383                                                 <xs:attribute name="gatheredViews"
384                                                         type="xs:boolean" />
385                                                 <xs:attribute name="textCol1" type="xs:int" />
386                                                 <xs:attribute name="textCol2" type="xs:int" />
387                                                 <xs:attribute name="textColThreshold"
388                                                         type="xs:int" />
389                                                 <xs:attribute name="id" type="xs:ID"
390                                                         use="optional">
391                                                         <xs:annotation>
392                                                                 <xs:documentation>
393                                                                         unique id used by jalview to
394                                                                         synchronize between stored and
395                                                                         instantiated views
396                                                                 </xs:documentation>
397                                                         </xs:annotation>
398                                                 </xs:attribute>
399                                         </xs:complexType>
400                                 </xs:element>
401                                 <xs:element name="UserColours" minOccurs="0"
402                                         maxOccurs="unbounded">
403                                         <xs:complexType>
404                                                 <xs:sequence>
405                                                         <xs:element name="UserColourScheme"
406                                                                 type="jalview:JalviewUserColours" />
407                                                 </xs:sequence>
408                                                 <xs:attribute name="id" type="xs:string" />
409                                         </xs:complexType>
410                                 </xs:element>
411                                 <xs:element name="tree" minOccurs="0"
412                                         maxOccurs="unbounded">
413                                         <xs:complexType>
414                                                 <xs:sequence minOccurs="0">
415                                                         <xs:element name="title" type="xs:string" />
416                                                         <xs:element name="newick" type="xs:string" />
417                                                 </xs:sequence>
418                                                 <xs:attribute name="fontName" type="xs:string" />
419                                                 <xs:attribute name="fontSize" type="xs:int" />
420                                                 <xs:attribute name="fontStyle" type="xs:int" />
421                                                 <xs:attribute name="threshold" type="xs:float" />
422                                                 <xs:attribute name="showBootstrap"
423                                                         type="xs:boolean" />
424                                                 <xs:attribute name="showDistances"
425                                                         type="xs:boolean" />
426                                                 <xs:attribute name="markUnlinked"
427                                                         type="xs:boolean" />
428                                                 <xs:attribute name="fitToWindow"
429                                                         type="xs:boolean" />
430                                                 <xs:attribute name="currentTree"
431                                                         type="xs:boolean" />
432                                                 <xs:attribute name="id" type="xs:ID"
433                                                         use="optional">
434                                                         <xs:annotation>
435                                                                 <xs:documentation>
436                                                                         Tree ID added for binding tree
437                                                                         visualization settings to vamsas
438                                                                         document trees in jalview 2.4.1
439                                                                 </xs:documentation>
440                                                         </xs:annotation>
441                                                 </xs:attribute>
442                                                 <xs:attributeGroup ref="jv:swingwindow" />
443                                         </xs:complexType>
444                                 </xs:element>
445                                 <xs:element name="FeatureSettings" minOccurs="0">
446                                         <xs:complexType>
447                                                 <xs:sequence>
448                                                         <xs:element name="setting" minOccurs="0"
449                                                                 maxOccurs="unbounded">
450                                                                 <xs:complexType>
451                                                                         <xs:attribute name="type"
452                                                                                 type="xs:string" use="required" />
453                                                                         <xs:attribute name="colour"
454                                                                                 type="xs:int" use="required" />
455                                                                         <xs:attribute name="display"
456                                                                                 type="xs:boolean" use="required" />
457                                                                         <xs:attribute name="order"
458                                                                                 type="xs:float" use="optional" />
459                                                                         <xs:attribute name="mincolour"
460                                                                                 type="xs:int" use="optional">
461                                                                                 <xs:annotation>
462                                                                                         <xs:documentation>
463                                                                                                 Optional minimum colour
464                                                                                                 for graduated feature
465                                                                                                 colour
466                                                                                         </xs:documentation>
467                                                                                 </xs:annotation>
468                                                                         </xs:attribute>
469                                                                         <xs:attribute name="threshold"
470                                                                                 type="xs:float" use="optional">
471                                                                                 <xs:annotation>
472                                                                                         <xs:documentation>
473                                                                                                 threshold value for
474                                                                                                 graduated feature colour
475                                                                                         </xs:documentation>
476                                                                                 </xs:annotation>
477                                                                         </xs:attribute>
478                                                                         <xs:attribute name="threshstate"
479                                                                                 type="xs:int" use="optional">
480                                                                                 <xs:annotation>
481                                                                                         <xs:documentation>
482                                                                                                 threshold type for
483                                                                                                 graduated feature colour
484                                                                                         </xs:documentation>
485                                                                                 </xs:annotation>
486                                                                         </xs:attribute>
487                                                                         <xs:attribute name="max"
488                                                                                 type="xs:float" use="optional" />
489                                                                         <xs:attribute name="min"
490                                                                                 type="xs:float" use="optional" />
491                                                                         <xs:attribute name="colourByLabel"
492                                                                                 type="xs:boolean" use="optional" />
493                                                                         <xs:attribute name="autoScale"
494                                                                                 type="xs:boolean" use="optional" />
495                                                                 </xs:complexType>
496                                                         </xs:element>
497                                                         <xs:element name="group" minOccurs="0"
498                                                                 maxOccurs="unbounded">
499                                                                 <xs:complexType>
500                                                                         <xs:attribute name="name"
501                                                                                 type="xs:string" use="required" />
502                                                                         <xs:attribute name="display"
503                                                                                 type="xs:boolean" use="required" />
504                                                                 </xs:complexType>
505                                                         </xs:element>
506                                                 </xs:sequence>
507                                         </xs:complexType>
508                                 </xs:element>
509                         </xs:sequence>
510                 </xs:sequence>
511         </xs:complexType>
512         <xs:complexType name="feature">
513                 <xs:sequence>
514                         <xs:element name="otherData" minOccurs="0" maxOccurs="unbounded">
515                                 <xs:complexType>
516                                         <xs:attribute name="key" type="xs:string" use="required"/>
517                                         <xs:attribute name="value" type="xs:string" use="required"/>
518                                 </xs:complexType>
519                         </xs:element>
520                 </xs:sequence>
521                 <xs:attribute name="begin" type="xs:int" use="required"/>
522                 <xs:attribute name="end" type="xs:int" use="required"/>
523                 <xs:attribute name="type" type="xs:string" use="required"/>
524                 <xs:attribute name="description" type="xs:string" use="optional"/>
525                 <xs:attribute name="status" type="xs:string" use="optional"/>
526                 <xs:attribute name="featureGroup" type="xs:string" use="optional"/>
527                 <xs:attribute name="score" type="xs:float" use="optional"/>
528         </xs:complexType>
529         <xs:complexType name="pdbentry">
530                 <xs:sequence minOccurs="0" maxOccurs="unbounded">
531                         <xs:element name="property" minOccurs="0" maxOccurs="unbounded">
532                                 <xs:complexType>
533                                         <xs:attribute name="name" type="xs:string" use="required"/>
534                                         <xs:attribute name="value" type="xs:string" use="required"/>
535                                 </xs:complexType>
536                         </xs:element>
537                 </xs:sequence>
538                 <xs:attribute name="id" type="xs:string" use="required"/>
539                 <xs:attribute name="type" type="xs:string" use="optional"/>
540                 <xs:attribute name="file" type="xs:string"/>
541         </xs:complexType>
542         <!-- 
543         <xs:complexType name="reportWindow">
544         <xs:annotation>
545         <xs:documentation>Generic type for windows containing mime-typed data associated with other jalview windows</xs:documentation>
546         </xs:annotation>
547         <xs:sequence>
548         </xs:sequence>
549     <xs:attribute name="id" type="xs:string" use="required"/>
550     <xs:attribute name="type" type="xs:string" use="optional"/>
551     <xs:attribute name="file" type="xs:string" use="optional"/>
552         </xs:complexType>
553  -->
554     <xs:attributeGroup name="swingwindow">
555     <xs:annotation>
556     <xs:documentation>
557       base attributes for windows displayed in Jalview desktop.
558     </xs:documentation>
559     </xs:annotation>
560       <xs:attribute name="width" type="xs:int"/>
561       <xs:attribute name="height" type="xs:int"/>
562       <xs:attribute name="xpos" type="xs:int"/>
563       <xs:attribute name="ypos" type="xs:int"/>
564     </xs:attributeGroup>
565 </xs:schema>