JAL-4134 allow tree groups to be stored/recovered on contact matrix for groupwise...
[jalview.git] / schemas / vamsas.xsd
index 20c19dd..5fd2bab 100755 (executable)
                                                                                </xs:documentation>
                                                                        </xs:annotation>
                                                                </xs:attribute>
+                                                               <xs:attribute name="canonical" type="xs:boolean" default="false">
+                                                                       <xs:annotation>
+                                                                               <xs:documentation>
+                                                                                       true for the representative accession for databases where multiple accessions map to the same entry (eg. Uniprot)
+                                                                               </xs:documentation>
+                                                                       </xs:annotation>
+                                                               </xs:attribute>
                                                        </xs:complexType>
                                                </xs:element>
                                        </xs:sequence>
                                                <xs:attribute name="colour" type="xs:int" />
                                        </xs:complexType>
                                </xs:element>
+                               <xs:element name="contactmatrix" type="vamsas:MatrixType"
+                                       maxOccurs="unbounded" minOccurs="0">
+                               </xs:element>
                                <xs:element name="property" minOccurs="0" maxOccurs="unbounded">
                                        <xs:complexType>
                                                <xs:attribute name="name" type="xs:string" />
                <xs:attribute name="id" type="xs:string"/>
                <xs:attribute name="description" type="xs:string"/>
        </xs:complexType>
+       <xs:complexType name="MatrixType">
+       <xs:simpleContent><xs:extension base="xs:string">
+       <xs:attribute name="id" type="xs:string"/>
+       <xs:attribute name="type" type="xs:string" use="required"/>
+       <xs:attribute name="rows" type="xs:integer" use="required"/>
+       <xs:attribute name="cols" type="xs:integer" use="required"/>
+       </xs:extension>
+       </xs:simpleContent>
+       </xs:complexType>
+       
 </xs:schema>