more clustalx bugs fixed
[jalview.git] / schemas / vamsas.xsd
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com) by lj (jl) -->\r
3 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vamsas="www.vamsas.org" targetNamespace="www.vamsas.org" elementFormDefault="qualified" attributeFormDefault="unqualified">\r
4         <xs:complexType name="VAMSAS">\r
5                 <xs:sequence>\r
6                         <xs:element name="Alignment" minOccurs="0" maxOccurs="unbounded">\r
7                                 <xs:complexType>\r
8                                         <xs:sequence>\r
9                                                 <xs:element name="Annotation" minOccurs="0">\r
10                                                         <xs:complexType>\r
11                                                                 <xs:sequence>\r
12                                                                         <xs:element ref="vamsas:annotationElement" maxOccurs="unbounded"/>\r
13                                                                         <xs:element name="label" type="xs:string"/>\r
14                                                                         <xs:element name="description" type="xs:string"/>\r
15                                                                 </xs:sequence>\r
16                                                                 <xs:attribute name="graph" type="xs:boolean" use="required"/>\r
17                                                         </xs:complexType>\r
18                                                 </xs:element>\r
19                                                 <xs:element ref="vamsas:SequenceSet"/>\r
20                                         </xs:sequence>\r
21                                 </xs:complexType>\r
22                         </xs:element>\r
23                         <xs:element name="Tree" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
24                         <xs:element ref="vamsas:SequenceSet" minOccurs="0" maxOccurs="unbounded"/>\r
25                 </xs:sequence>\r
26         </xs:complexType>\r
27         <xs:element name="SequenceSet">\r
28                 <xs:complexType>\r
29                         <xs:sequence>\r
30                                 <xs:element name="Sequence" type="vamsas:SequenceType" maxOccurs="unbounded"/>\r
31                                 <xs:element name="Annotation" minOccurs="0" maxOccurs="unbounded">\r
32                                         <xs:complexType>\r
33                                                 <xs:sequence>\r
34                                                         <xs:element name="description" type="xs:string" minOccurs="0"/>\r
35                                                         <xs:element name="status" type="xs:string" minOccurs="0"/>\r
36                                                         <xs:element ref="vamsas:annotationElement" minOccurs="0" maxOccurs="unbounded"/>\r
37                                                 </xs:sequence>\r
38                                                 <xs:attribute name="type" type="xs:string" use="required"/>\r
39                                                 <xs:attribute name="end" type="xs:string" use="required"/>\r
40                                                 <xs:attribute name="begin" type="xs:string" use="required"/>\r
41                                                 <xs:attribute name="seqRef" type="xs:string" use="required"/>\r
42                                         </xs:complexType>\r
43                                 </xs:element>\r
44                         </xs:sequence>\r
45                         <xs:attribute name="gapChar" type="xs:string" use="required"/>\r
46                         <xs:attribute name="aligned" type="xs:boolean" use="optional"/>\r
47                 </xs:complexType>\r
48         </xs:element>\r
49         <xs:element name="annotationElement">\r
50                 <xs:complexType>\r
51                         <xs:sequence>\r
52                                 <xs:element name="displayCharacter" type="xs:string"/>\r
53                                 <xs:element name="description" type="xs:string"/>\r
54                                 <xs:element name="secondaryStructure">\r
55                                         <xs:simpleType>\r
56                                                 <xs:restriction base="xs:string">\r
57                                                         <xs:length value="1"/>\r
58                                                 </xs:restriction>\r
59                                         </xs:simpleType>\r
60                                 </xs:element>\r
61                                 <xs:element name="value" type="xs:float"/>\r
62                         </xs:sequence>\r
63                         <xs:attribute name="position" type="xs:int" use="required"/>\r
64                 </xs:complexType>\r
65         </xs:element>\r
66         <xs:complexType name="SequenceType">\r
67                 <xs:sequence>\r
68                         <xs:element name="sequence" type="xs:string"/>\r
69                         <xs:element name="name" type="xs:string"/>\r
70                 </xs:sequence>\r
71                 <xs:attribute name="id" type="xs:string"/>\r
72         </xs:complexType>\r
73 </xs:schema>\r