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
9 <xs:import schemaLocation="vamsas.xsd" namespace="www.vamsas.org" />
\r
10 <xs:import schemaLocation="jalviewUserColours.xsd" namespace="www.jalview.org/colours"/>
\r
12 <xs:complexType name="JalviewModel">
\r
16 <xs:element name="creationDate" type="xs:dateTime"/>
\r
18 <xs:element name="version" type="xs:string"/>
\r
20 <xs:element name="vamsasModel" type="vamsas:VAMSAS"/>
\r
24 <xs:element name="JSeq" maxOccurs="unbounded">
\r
28 <xs:attribute name="colour" type="xs:int" use="optional"/>
\r
30 <xs:attribute name="start" type="xs:int" use="required"/>
\r
32 <xs:attribute name="end" type="xs:int" use="required"/>
\r
34 <xs:attribute name="id" type="xs:int" use="required"/>
\r
40 <xs:element name="JGroup" minOccurs="0" maxOccurs="unbounded">
\r
44 <xs:sequence minOccurs="1">
\r
46 <xs:element name="seq" maxOccurs="unbounded" type="xs:int"/>
\r
50 <xs:attribute name="start" type="xs:int"/>
\r
52 <xs:attribute name="end" type="xs:int"/>
\r
54 <xs:attribute name="name" type="xs:string"/>
\r
56 <xs:attribute name="colour" type="xs:string"/>
\r
58 <xs:attribute name="consThreshold" type="xs:int"/>
\r
60 <xs:attribute name="pidThreshold" type="xs:int"/>
\r
62 <xs:attribute name="outlineColour" type="xs:int"/>
\r
64 <xs:attribute name="displayBoxes" type="xs:boolean"/>
\r
66 <xs:attribute name="displayText" type="xs:boolean"/>
\r
68 <xs:attribute name="colourText" type="xs:boolean"/>
\r
74 <xs:element name="Viewport" maxOccurs="unbounded">
\r
77 <xs:attribute name="conservationSelected" type="xs:boolean"/>
\r
79 <xs:attribute name="pidSelected" type="xs:boolean"/>
\r
81 <xs:attribute name="bgColour" type="xs:string"/>
\r
83 <xs:attribute name="consThreshold" type="xs:int"/>
\r
85 <xs:attribute name="pidThreshold" type="xs:int"/>
\r
87 <xs:attribute name="title" type="xs:string"/>
\r
89 <xs:attribute name="showFullId" type="xs:boolean"/>
\r
91 <xs:attribute name="showText" type="xs:boolean"/>
\r
93 <xs:attribute name="showColourText" type="xs:boolean"/>
\r
95 <xs:attribute name="showBoxes" type="xs:boolean"/>
\r
97 <xs:attribute name="wrapAlignment" type="xs:boolean"/>
\r
99 <xs:attribute name="renderGaps" type="xs:boolean"/>
\r
101 <xs:attribute name="showSequenceFeatures" type="xs:boolean"/>
\r
103 <xs:attribute name="showAnnotation" type="xs:boolean"/>
\r
105 <xs:attribute name="showConservation" type="xs:boolean"/>
\r
107 <xs:attribute name="showQuality" type="xs:boolean"/>
\r
109 <xs:attribute name="showIdentity" type="xs:boolean"/>
\r
111 <xs:attribute name="xpos" type="xs:int"/>
\r
113 <xs:attribute name="ypos" type="xs:int"/>
\r
115 <xs:attribute name="width" type="xs:int"/>
\r
117 <xs:attribute name="height" type="xs:int"/>
\r
119 <xs:attribute name="startRes" type="xs:int"/>
\r
120 <xs:attribute name="startSeq" type="xs:int"/>
\r
121 <xs:attribute name="fontName" type="xs:string"/>
\r
122 <xs:attribute name="fontSize" type="xs:int"/>
\r
123 <xs:attribute name="fontStyle" type="xs:int"/>
\r
131 <xs:element name="UserColours" minOccurs="0" maxOccurs="unbounded">
\r
133 <xs:sequence minOccurs="1">
\r
134 <xs:element name="UserColourScheme" type="jalview:JalviewUserColours"/>
\r
136 <xs:attribute name="id" type="xs:string"/>
\r
140 <xs:element name="tree" minOccurs="0" maxOccurs="unbounded">
\r
142 <xs:sequence minOccurs="0" maxOccurs="1">
\r
143 <xs:element name="title" type="xs:string"/>
\r
144 <xs:element name="newick" type="xs:string"/>
\r
146 <xs:attribute name="width" type="xs:int"/>
\r
147 <xs:attribute name="height" type="xs:int"/>
\r
148 <xs:attribute name="xpos" type="xs:int"/>
\r
149 <xs:attribute name="ypos" type="xs:int"/>
\r
150 <xs:attribute name="fontName" type="xs:string"/>
\r
151 <xs:attribute name="fontSize" type="xs:int"/>
\r
152 <xs:attribute name="fontStyle" type="xs:int"/>
\r
153 <xs:attribute name="threshold" type="xs:float"/>
\r
154 <xs:attribute name="showBootstrap" type="xs:boolean"/>
\r
155 <xs:attribute name="showDistances" type="xs:boolean"/>
\r
156 <xs:attribute name="markUnlinked" type="xs:boolean"/>
\r
157 <xs:attribute name="fitToWindow" type="xs:boolean"/>
\r
158 <xs:attribute name="currentTree" type="xs:boolean"/>
\r