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