jalview XML schema update for 2.4.1 (or 2.5?) introducing IDs for views and treepanel...
[jalview.git] / schemas / vamsas.xsd
index b457bec..660b3af 100755 (executable)
                        <xs:sequence>
                                <xs:element name="alcodon" minOccurs="0" maxOccurs="unbounded">
                                        <xs:complexType>
-                                               <xs:attribute name="pos1" type="xs:integer"/>
-                                               <xs:attribute name="pos2" type="xs:integer"/>
-                                               <xs:attribute name="pos3" type="xs:integer"/>
+                                               <xs:annotation>
+                                                       <xs:documentation>
+                                                               specifies a series of aligned codons from an associated DNA sequence alignment that when translated correspond to columns of a peptide alignment.
+                                                               Element may have either all pos1,2,3 attributes specified, or none at all (indicating a gapped column with no translated peptide).
+                                                       </xs:documentation>
+                                               </xs:annotation>
+                                               <xs:attribute name="pos1" type="xs:integer" use="optional"/>
+                                               <xs:attribute name="pos2" type="xs:integer" use="optional"/>
+                                               <xs:attribute name="pos3" type="xs:integer" use="optional"/>
                                        </xs:complexType>
                                </xs:element>
                                <xs:element name="alcodMap" minOccurs="0" maxOccurs="unbounded">