<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="www.jalview.org/colours">
<xs:complexType name="JalviewUserColours">
<xs:sequence>
- <xs:element name="colour" maxOccurs="unbounded">
+ <xs:element name="Version" maxOccurs="1" minOccurs="0" type="xs:string">\r <xs:annotation>
+ <xs:documentation>
+ Jalview colour scheme document version.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="colour" maxOccurs="unbounded" minOccurs="0">
<xs:complexType>
<xs:attribute name="Name" type="xs:string"/>
<xs:attribute name="RGB" type="xs:string" use="required"/>
+ <xs:attribute name="minRGB" type="xs:string" use="optional"/>
+ <xs:attribute name="threshType" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation>loosely specified enumeration: NONE,ABOVE, or BELOW</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="threshold" type="xs:float" use="optional"/>
+ <xs:attribute name="max" type="xs:float" use="optional"/>
+ <xs:attribute name="min" type="xs:float" use="optional"/>
+ <xs:attribute name="colourByLabel" type="xs:boolean" use="optional"/>
+ <xs:attribute name="autoScale" type="xs:boolean" use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>