1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by MSD (EMBL OUTSTATION THE EBI WELLCOME TRUST GENOME CAMPUS) -->
3 <!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com) by lj (jl) -->
4 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vamsas="http://www.vamsas.org" targetNamespace="http://www.vamsas.org" elementFormDefault="qualified" attributeFormDefault="unqualified">
5 <xs:element name="VAMSAS">
8 <xs:element ref="vamsas:Tree" minOccurs="0" maxOccurs="unbounded"/>
9 <xs:element ref="vamsas:DataSet" minOccurs="0" maxOccurs="unbounded"/>
11 <xs:attribute name="id" type="xs:ID" use="optional"/>
14 <xs:element name="Tree">
17 <xs:element name="title" type="xs:string" minOccurs="0" maxOccurs="1"/>
18 <xs:element name="newick" minOccurs="1" maxOccurs="unbounded">
21 <xs:extension base="xs:string">
22 <xs:attribute name="title" type="xs:string" use="optional"/>
23 <xs:attribute name="id" type="xs:ID" use="optional"/>
28 <xs:element ref="vamsas:Provenance" minOccurs="1" maxOccurs="1"/>
30 <xs:attribute name="id" type="xs:ID" use="optional"/>
33 <xs:element name="Provenance">
36 <xs:element name="entry" minOccurs="0" maxOccurs="unbounded">
39 <xs:element name="User" type="xs:string"/>
40 <xs:element name="Action" type="xs:string"/>
41 <xs:element name="Date" type="xs:date"/>
43 <xs:attribute name="id" type="xs:ID" use="optional"/>
49 <xs:element name="DataSet">
52 <xs:element name="Sequence" maxOccurs="unbounded">
55 <xs:extension base="vamsas:SequenceType">
57 <xs:element name="dbRef" minOccurs="0" maxOccurs="unbounded">
59 <xs:attribute name="source"/>
60 <xs:attribute name="version"/>
61 <xs:attribute name="accessionId"/>
62 <xs:attribute name="id" type="xs:ID" use="optional"/>
66 <xs:attribute name="id" type="xs:ID" use="required"/>
67 <xs:attribute name="dictionary" type="xs:string"/>
72 <xs:element name="DataSetAnnotations" minOccurs="0" maxOccurs="unbounded">
75 <xs:element name="description" type="xs:string" minOccurs="0"/>
76 <xs:element name="status" type="xs:string" minOccurs="0"/>
77 <xs:element ref="vamsas:annotationElement" minOccurs="0" maxOccurs="unbounded"/>
78 <xs:element ref="vamsas:Provenance" minOccurs="0" maxOccurs="unbounded"/>
80 <xs:attribute name="type" type="xs:string" use="required"/>
81 <xs:attribute name="end" type="xs:string" use="required"/>
82 <xs:attribute name="begin" type="xs:string" use="required"/>
83 <xs:attribute name="seqRef" type="xs:IDREF" use="required"/>
84 <xs:attribute name="id" type="xs:ID" use="optional"/>
87 <xs:element name="Alignment" minOccurs="0" maxOccurs="unbounded">
90 <xs:element name="AlignmentAnnotations" minOccurs="0">
93 <xs:element ref="vamsas:annotationElement" maxOccurs="unbounded"/>
94 <xs:element name="label" type="xs:string"/>
95 <xs:element name="description" type="xs:string"/>
96 <xs:element ref="vamsas:Provenance"/>
98 <xs:attribute name="graph" type="xs:boolean" use="required"/>
99 <xs:attribute name="id" type="xs:ID" use="optional"/>
102 <xs:element ref="vamsas:Tree" minOccurs="0" maxOccurs="unbounded"/>
103 <xs:element name="alignmentSequence" minOccurs="2" maxOccurs="unbounded">
106 <xs:extension base="vamsas:SequenceType">
107 <xs:attribute name="id" type="xs:ID" use="optional"/>
108 <xs:attribute name="refid" type="xs:IDREF" use="required"/>
113 <xs:element ref="vamsas:Provenance"/>
115 <xs:attribute name="gapChar" type="xs:string" use="required"/>
116 <xs:attribute name="aligned" type="xs:boolean" use="optional"/>
117 <xs:attribute name="id" type="xs:ID" use="optional"/>
120 <xs:element ref="vamsas:Tree" minOccurs="0" maxOccurs="unbounded"/>
121 <xs:element ref="vamsas:Provenance" minOccurs="1" maxOccurs="unbounded"/>
123 <xs:attribute name="id" type="xs:ID" use="optional"/>
126 <xs:element name="annotationElement">
129 <xs:element name="displayCharacter" type="xs:string" maxOccurs="1" minOccurs="0"/>
130 <xs:element name="description" type="xs:string" maxOccurs="1" minOccurs="0"/>
131 <xs:element name="secondaryStructure" maxOccurs="1" minOccurs="0">
133 <xs:restriction base="xs:string">
134 <xs:length value="1"/>
138 <xs:element name="value" type="xs:float" maxOccurs="1" minOccurs="0"/>
140 <xs:attribute name="position" type="xs:int" use="required"/>
141 <xs:attribute name="id" type="xs:ID" use="optional"/>
144 <xs:complexType name="SequenceType">
146 <xs:element name="sequence" type="xs:string" maxOccurs="1" minOccurs="1"/>
147 <xs:element name="name" type="xs:string" maxOccurs="1" minOccurs="1"/>
149 <xs:attribute name="start" type="xs:int" use="required"/>
150 <xs:attribute name="end" type="xs:int" use="required"/>
152 <xs:element name="ApplicationData">
155 <xs:element name="Application" minOccurs="0" maxOccurs="unbounded">
158 <xs:element name="User" minOccurs="1" maxOccurs="unbounded">
160 <xs:attribute name="fullname" type="xs:string"/>
161 <xs:attribute name="organization" type="xs:string"/>
162 <xs:attribute name="data" type="xs:string"/>
166 <xs:attribute name="version" type="xs:string" use="required"/>
167 <xs:attribute name="name" type="xs:string" use="required"/>
168 <xs:attribute name="urn" type="xs:string" use="required"/>
169 <xs:attribute name="data" type="xs:string" use="required"/>