fix path
[jalview.git] / schemas / vamsasJvV1.xsd
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!--\r
3   Jalview - A Sequence Alignment Editor and Viewer (Version 2.4.0.b2)\r
4   Copyright (C) 2009 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
5   \r
6   This program is free software; you can redistribute it and/or\r
7   modify it under the terms of the GNU General Public License\r
8   as published by the Free Software Foundation; either version 2\r
9   of the License, or (at your option) any later version.\r
10   \r
11   This program is distributed in the hope that it will be useful,\r
12   but WITHOUT ANY WARRANTY; without even the implied warranty of\r
13   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
14   GNU General Public License for more details.\r
15   \r
16   You should have received a copy of the GNU General Public License\r
17   along with this program; if not, write to the Free Software\r
18   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA\r
19 -->\r
20 <!-- edited with XMLSpy v2006 sp1 U (http://www.altova.com) by ioh[ (o[ih[oh) -->\r
21 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vamsas="www.vamsas.org" targetNamespace="www.vamsas.org" elementFormDefault="qualified" attributeFormDefault="unqualified">\r
22         <xs:complexType name="VAMSAS">\r
23                 <xs:sequence>\r
24                         <xs:element name="Alignment" minOccurs="0" maxOccurs="unbounded">\r
25                                 <xs:complexType>\r
26                                         <xs:sequence>\r
27                                                 <xs:element name="Annotation" minOccurs="0">\r
28                                                         <xs:complexType>\r
29                                                                 <xs:sequence>\r
30                                                                         <xs:element ref="vamsas:annotationElement" maxOccurs="unbounded"/>\r
31                                                                         <xs:element name="label" type="xs:string"/>\r
32                                                                         <xs:element name="description" type="xs:string"/>\r
33                                                                 </xs:sequence>\r
34                                                                 <xs:attribute name="graph" type="xs:boolean" use="required"/>\r
35                                                                 <xs:attribute name="graphType" type="xs:int" use="optional"/>\r
36                                                         </xs:complexType>\r
37                                                 </xs:element>\r
38                                                 <xs:element ref="vamsas:SequenceSet"/>\r
39                                         </xs:sequence>\r
40                                 </xs:complexType>\r
41                         </xs:element>\r
42                         <xs:element name="Tree" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
43                         <xs:element ref="vamsas:SequenceSet" minOccurs="0" maxOccurs="unbounded"/>\r
44                 </xs:sequence>\r
45         </xs:complexType>\r
46         <xs:element name="SequenceSet">\r
47                 <xs:complexType>\r
48                         <xs:sequence>\r
49                                 <xs:element name="Sequence" type="vamsas:SequenceType" maxOccurs="unbounded"/>\r
50                                 <xs:element name="Annotation" minOccurs="0" maxOccurs="unbounded">\r
51                                         <xs:complexType>\r
52                                                 <xs:sequence>\r
53                                                         <xs:element name="description" type="xs:string" minOccurs="0"/>\r
54                                                         <xs:element name="status" type="xs:string" minOccurs="0"/>\r
55                                                         <xs:element ref="vamsas:annotationElement" minOccurs="0" maxOccurs="unbounded"/>\r
56                                                 </xs:sequence>\r
57                                                 <xs:attribute name="type" type="xs:string" use="required"/>\r
58                                                 <xs:attribute name="end" type="xs:string" use="required"/>\r
59                                                 <xs:attribute name="begin" type="xs:string" use="required"/>\r
60                                                 <xs:attribute name="seqRef" type="xs:string" use="required"/>\r
61                                         </xs:complexType>\r
62                                 </xs:element>\r
63                         </xs:sequence>\r
64                         <xs:attribute name="gapChar" type="xs:string" use="required"/>\r
65                         <xs:attribute name="aligned" type="xs:boolean" use="optional"/>\r
66                 </xs:complexType>\r
67         </xs:element>\r
68         <xs:element name="annotationElement">\r
69                 <xs:complexType>\r
70                         <xs:sequence>\r
71                                 <xs:element name="displayCharacter" type="xs:string"/>\r
72                                 <xs:element name="description" type="xs:string"/>\r
73                                 <xs:element name="secondaryStructure">\r
74                                         <xs:simpleType>\r
75                                                 <xs:restriction base="xs:string">\r
76                                                         <xs:length value="1"/>\r
77                                                 </xs:restriction>\r
78                                         </xs:simpleType>\r
79                                 </xs:element>\r
80                                 <xs:element name="value" type="xs:float"/>\r
81                         </xs:sequence>\r
82                         <xs:attribute name="position" type="xs:int" use="required"/>\r
83                 </xs:complexType>\r
84         </xs:element>\r
85         <xs:complexType name="SequenceType">\r
86                 <xs:sequence>\r
87                         <xs:element name="sequence" type="xs:string"/>\r
88                         <xs:element name="name" type="xs:string"/>\r
89                 </xs:sequence>\r
90                 <xs:attribute name="id" type="xs:string"/>\r
91         </xs:complexType>\r
92 </xs:schema>\r