<!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com) by lj (jl) -->
<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">
<xs:element name="Version" type="xs:string"/>
+ <xs:annotation>
+ <xs:documentation>DESCRIPTION</xs:documentation>
+ </xs:annotation>
+
<xs:complexType name="LockFile">
<xs:simpleContent>
<xs:extension base="xs:string"/>
</xs:simpleContent>
</xs:complexType>
- <xs:complexType name="VAMSAS">
+ <xs:element name="VAMSAS">
+ <xs:complexType>
+
<xs:sequence>
<xs:element ref="vamsas:Tree" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="vamsas:SequenceSet" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
- <xs:attribute name="id" type="xs:ID" minOccurs="0" maxOccurs="1"/>
- </xs:complexType>
+ <xs:attribute name="id" type="xs:ID" use="optional"/>
+ </xs:complexType>
+ </xs:element>
<xs:element name="Tree">
<xs:complexType>
<xs:sequence>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
- <xs:attribute name="title" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:attribute name="id" type="xs:ID" minOccurs="0" maxOccurs="1"/>
+ <xs:attribute name="title" type="xs:string" use="optional"/>
+ <xs:attribute name="id" type="xs:ID" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element ref="vamsas:Provenance" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
- <xs:attribute name="id" type="xs:ID" minOccurs="0" maxOccurs="1"/>
+ <xs:attribute name="id" type="xs:ID" use="optional"/>
</xs:complexType>
</xs:element>
<xs:element name="Provenance">
<xs:element name="Action" type="xs:string"/>
<xs:element name="Date" type="xs:date"/>
</xs:sequence>
- <xs:attribute name="id" type="xs:ID" minOccurs="0" maxOccurs="1"/>
+ <xs:attribute name="id" type="xs:ID" use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="source"/>
<xs:attribute name="version"/>
<xs:attribute name="accessionId"/>
- <xs:attribute name="id" type="xs:ID" minOccurs="0" maxOccurs="1"/>
+ <xs:attribute name="id" type="xs:ID" use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>
- <xs:attribute name="id" type="xs:ID" minOccurs="1" maxOccurs="1"/>
+ <xs:attribute name="id" type="xs:ID" use="required"/>
<xs:attribute name="dictionary" type="xs:string"/>
</xs:extension>
</xs:complexContent>
<xs:attribute name="end" type="xs:string" use="required"/>
<xs:attribute name="begin" type="xs:string" use="required"/>
<xs:attribute name="seqRef" type="xs:IDREF" use="required"/>
- <xs:attribute name="id" type="xs:ID" minOccurs="0" maxOccurs="1"/>
+ <xs:attribute name="id" type="xs:ID" use="optional"/>
</xs:complexType>
</xs:element>
<xs:element name="Alignment" minOccurs="0" maxOccurs="unbounded">
<xs:element ref="vamsas:Provenance"/>
</xs:sequence>
<xs:attribute name="graph" type="xs:boolean" use="required"/>
- <xs:attribute name="id" type="xs:ID" minOccurs="0" maxOccurs="1"/>
+ <xs:attribute name="id" type="xs:ID" use="optional"/>
</xs:complexType>
</xs:element>
<xs:element ref="vamsas:Tree" minOccurs="0" maxOccurs="unbounded"/>
<xs:complexType>
<xs:complexContent>
<xs:extension base="vamsas:SequenceType">
- <xs:attribute name="id" type="xs:ID" minOccurs="0" maxOccurs="1"/>
+ <xs:attribute name="id" type="xs:ID" use="optional"/>
<xs:attribute name="refid" type="xs:IDREF" use="required"/>
</xs:extension>
</xs:complexContent>
</xs:element>
<xs:element ref="vamsas:Provenance"/>
</xs:sequence>
- <xs:attribute name="id" type="xs:ID" minOccurs="0" maxOccurs="1"/>
+ <xs:attribute name="id" type="xs:ID" use="optional"/>
</xs:complexType>
</xs:element>
<xs:element ref="vamsas:Tree" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="gapChar" type="xs:string" use="required"/>
<xs:attribute name="aligned" type="xs:boolean" use="optional"/>
- <xs:attribute name="id" type="xs:ID" minOccurs="0" maxOccurs="1"/>
+ <xs:attribute name="id" type="xs:ID" use="optional"/>
</xs:complexType>
</xs:element>
<xs:element name="annotationElement">
<xs:element name="value" type="xs:float"/>
</xs:sequence>
<xs:attribute name="position" type="xs:int" use="required"/>
- <xs:attribute name="id" type="xs:ID" minOccurs="0" maxOccurs="1"/>
+ <xs:attribute name="id" type="xs:ID" use="optional"/>
</xs:complexType>
</xs:element>
<xs:complexType name="SequenceType">