exploring making PAE storage in projects more efficient
[jalview.git] / schemas / vamsas.xsd
index fedbae3..c4a5d3e 100755 (executable)
                                        </xs:complexType>
                                </xs:element>
                                <xs:element ref="vamsas:AlcodonFrame" minOccurs="0" maxOccurs="unbounded"/>
+                               <xs:element name="Matrices" type="vamsas:MatrixType" minOccurs="0" maxOccurs="unbounded"/>
                        </xs:sequence>
                        <xs:attribute name="gapChar" type="xs:string" use="required"/>
                        <xs:attribute name="datasetId" type="xs:string" use="optional">
                        use="optional" />
                <xs:attribute name="cutHeight" type="xs:double"
                        use="optional" />
-               <xs:attribute name="id" type="xs:string" use="optional" />
+               <xs:attribute name="id" type="xs:string" use="required" />
 
        </xs:complexType>
+       <xs:complexType name="MapOnAMatrixType">
+               <xs:sequence>
+                       <xs:element name="property" type="vamsas:property"
+                               minOccurs="0" maxOccurs="unbounded" />
+                       <xs:element name="mapping" type="vamsas:mapListType"
+                               minOccurs="0" maxOccurs="1">
+                               <xs:annotation>
+                                       <xs:documentation>mapping from the matrix row and column positions
+                                               to
+                                               associated reference frame
+                                       </xs:documentation>
+                               </xs:annotation>
+                       </xs:element>
+               </xs:sequence>
+       
+               <xs:attribute name="matrix" type="xs:string"
+                       use="required">
+       
+                       <xs:annotation>
+                               <xs:documentation>reference to the matrix type this Map refers to
+                               </xs:documentation>
+                       </xs:annotation>
+               </xs:attribute>
+               <xs:attribute name="id" type="xs:string" use="optional" />
+       </xs:complexType>
        <xs:complexType name="property">
                <xs:attribute name="name" type="xs:string" />
                <xs:attribute name="value" type="xs:string" />