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="vamsasModel" type="vamsas:VAMSAS"/>
\r
22 <xs:element name="JSeq" maxOccurs="unbounded">
\r
26 <xs:attribute name="colour" type="xs:int" use="optional"/>
\r
28 <xs:attribute name="start" type="xs:int" use="required"/>
\r
30 <xs:attribute name="end" type="xs:int" use="required"/>
\r
32 <xs:attribute name="id" type="xs:int" use="required"/>
\r
38 <xs:element name="JGroup" maxOccurs="unbounded">
\r
42 <xs:sequence minOccurs="1">
\r
44 <xs:element name="seq" maxOccurs="unbounded" type="xs:int"/>
\r
48 <xs:attribute name="start" type="xs:int"/>
\r
50 <xs:attribute name="end" type="xs:int"/>
\r
52 <xs:attribute name="name" type="xs:string"/>
\r
54 <xs:attribute name="colour" type="xs:string"/>
\r
56 <xs:attribute name="consThreshold" type="xs:int"/>
\r
58 <xs:attribute name="pidThreshold" type="xs:int"/>
\r
60 <xs:attribute name="outlineColour" type="xs:int"/>
\r
62 <xs:attribute name="displayBoxes" type="xs:boolean"/>
\r
64 <xs:attribute name="displayText" type="xs:boolean"/>
\r
66 <xs:attribute name="colourText" type="xs:boolean"/>
\r
72 <xs:element name="Viewport" maxOccurs="unbounded">
\r
75 <xs:attribute name="conservationSelected" type="xs:boolean"/>
\r
77 <xs:attribute name="pidSelected" type="xs:boolean"/>
\r
79 <xs:attribute name="bgColour" type="xs:string"/>
\r
81 <xs:attribute name="consThreshold" type="xs:int"/>
\r
83 <xs:attribute name="pidThreshold" type="xs:int"/>
\r
85 <xs:attribute name="title" type="xs:string"/>
\r
87 <xs:attribute name="showFullId" type="xs:boolean"/>
\r
89 <xs:attribute name="showText" type="xs:boolean"/>
\r
91 <xs:attribute name="showColourText" type="xs:boolean"/>
\r
93 <xs:attribute name="showBoxes" type="xs:boolean"/>
\r
95 <xs:attribute name="wrapAlignment" type="xs:boolean"/>
\r
97 <xs:attribute name="renderGaps" type="xs:boolean"/>
\r
99 <xs:attribute name="showSequenceFeatures" type="xs:boolean"/>
\r
101 <xs:attribute name="showAnnotation" type="xs:boolean"/>
\r
103 <xs:attribute name="showConservation" type="xs:boolean"/>
\r
105 <xs:attribute name="showQuality" type="xs:boolean"/>
\r
107 <xs:attribute name="showIdentity" type="xs:boolean"/>
\r
109 <xs:attribute name="xpos" type="xs:int"/>
\r
111 <xs:attribute name="ypos" type="xs:int"/>
\r
113 <xs:attribute name="width" type="xs:int"/>
\r
115 <xs:attribute name="height" type="xs:int"/>
\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
128 <xs:element name="UserColours" maxOccurs="unbounded">
\r
130 <xs:sequence minOccurs="1">
\r
131 <xs:element name="UserColourScheme" type="jalview:JalviewUserColours"/>
\r
133 <xs:attribute name="id" type="xs:string"/>
\r