JAL-3858 persist PAE matrix (only so far) as serialised floats in element on dataset...
[jalview.git] / schemas / vamsas.xsd
index 333a4e4..5fd2bab 100755 (executable)
                                                <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>