HOME XML-SCHEMA XML-EXAMPLES CHESS VARIANTS FBR MBN ANCP FAQ RESOURCES ABOUT

CIF - Archive Data - Move Style


<xs:complexType name="MoveStyle"> <xs:choice> <xs:element name="sign" type="MoveSign" minOccurs="0"/> <xs:element name="priority" type="xs:unsignedByte" minOccurs="0"/> <xs:element name="fontsize" type="xs:unsignedByte" minOccurs="0"/> <xs:element name="fontstyle" type="FontStyle" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="foreground" type="RGBColor" minOccurs="0"/> <xs:element name="background" type="RGBColor" minOccurs="0"/> <xs:element name="description" type="Comment" minOccurs="0"/> </xs:choice> <xs:attribute name="identifier" type="MoveStyleID" use="required"/> <xs:attribute name="signature" type="Signature" use="optional"/> </xs:complexType>

Normally move styles don't need to be exported, every application has his own way how to display the move data, but it is supported for the case that a complete archiving is wanted.

fontsize: the value for this attribute will be given in percentage relative to the global font size. It will be assumed that more than 255% will never be needed. An absolute font size (like in Rybka Aquarium) is not portable.

<xs:complexType name="MoveSign"> <xs:restriction base="xs:string"> <xs:length value="1"/> </xs:restriction> <xs:attribute name="position" type="Position" default="after"/> <xs:attribute name="color" type="RGBColor" use="optional"/> </xs:complexType> <xs:simpleType name="Position"> <xs:enumeration value="before"/> <xs:enumeration value="after"/> </xs:simpleType>

This element specifies a symbol that will be displayed near the move, depending on the position.

<xs:simpleType name="MoveStyleID"> <xs:union memberTypes="Token PredefinedMoveStyle"/> </xs:simpleType> <xs:simpleType name="PredefinedMoveStyle"> <xs:restriction base="xs:string"> <xs:enumeration value=":AnalysisFreeze"/> <!-- Aquarium/Scidb --> <xs:enumeration value=":AnalysisPanel"/> <!-- Aquarium --> <xs:enumeration value=":BadMove"/> <!-- Aquarium --> <xs:enumeration value=":Basic"/> <!-- Scidb --> <xs:enumeration value=":BeginningOfAnalysis"/> <!-- Aquarium/Scidb --> <xs:enumeration value=":DubiousMove"/> <!-- Aquarium --> <xs:enumeration value=":EmbeddedVariation"/> <!-- Scidb --> <xs:enumeration value=":EmbeddedVariationStart"/> <!-- Scidb --> <xs:enumeration value=":EndOfAnalysis"/> <!-- Aquarium/Scidb --> <xs:enumeration value=":EngineAnalysis"/> <!-- Aquarium/Scidb --> <xs:enumeration value=":Error"/> <!-- Aquarium --> <xs:enumeration value=":Exercise"/> <!-- Aquarium --> <xs:enumeration value=":GoodMove"/> <!-- Aquarium --> <xs:enumeration value=":HighlightCurrent"/> <!-- Scidb --> <xs:enumeration value=":HighlightNext"/> <!-- Scidb --> <xs:enumeration value=":IllegalMove"/> <!-- Aquarium/Scidb --> <xs:enumeration value=":ImportantMove"/> <!-- Aquarium/Scidb --> <xs:enumeration value=":InterestingMove"/> <!-- Aquarium --> <xs:enumeration value=":InvalidMove"/> <!-- Scidb --> <xs:enumeration value=":LinkFrom"/> <!-- Scidb --> <xs:enumeration value=":LinkTo"/> <!-- Scidb --> <xs:enumeration value=":Mainline"/> <!-- Scidb --> <xs:enumeration value=":Modification"/> <!-- Aquarium --> <xs:enumeration value=":MouseOver"/> <!-- Scidb --> <xs:enumeration value=":Novelty"/> <!-- Aquarium/Scidb --> <xs:enumeration value=":OpeningAnalysis"/> <!-- Aquarium --> <xs:enumeration value=":PermanentBookmark"/> <!-- Aquarium/Scidb --> <xs:enumeration value=":SentToServer"/> <!-- Aquarium --> <xs:enumeration value=":ServerAnalyzed"/> <!-- Aquarium --> <xs:enumeration value=":ServerInserted"/> <!-- Aquarium --> <xs:enumeration value=":SpecialStyle_22"/> <!-- Aquarium --> <xs:enumeration value=":SpecialStyle_23"/> <!-- Aquarium --> <xs:enumeration value=":SpecialStyle_24"/> <!-- Aquarium --> <xs:enumeration value=":SpecialStyle_25"/> <!-- Aquarium --> <xs:enumeration value=":SpecialStyle_26"/> <!-- Aquarium --> <xs:enumeration value=":SpecialStyle_27"/> <!-- Aquarium --> <xs:enumeration value=":SpecialStyle_28"/> <!-- Aquarium --> <xs:enumeration value=":SpecialStyle_29"/> <!-- Aquarium --> <xs:enumeration value=":SpecialStyle_30"/> <!-- Aquarium --> <xs:enumeration value=":Strategy"/> <!-- Aquarium --> <xs:enumeration value=":Tactics"/> <!-- Aquarium --> <xs:enumeration value=":TemporaryBookmark"/> <!-- Aquarium/Scidb --> <xs:enumeration value=":Variation_1"/> <!-- Scidb --> <xs:enumeration value=":Variation_2"/> <!-- Scidb --> <xs:enumeration value=":Variation_3"/> <!-- Scidb --> <xs:enumeration value=":Variation_4"/> <!-- Scidb --> <xs:enumeration value=":Variation"/> <!-- Scidb --> <xs:enumeration value=":VariationStart_1"/> <!-- Scidb --> <xs:enumeration value=":VariationStart_2"/> <!-- Scidb --> <xs:enumeration value=":VariationStart_3"/> <!-- Scidb --> <xs:enumeration value=":VariationStart_4"/> <!-- Scidb --> <xs:enumeration value=":VariationStart"/> <!-- Scidb --> </xs:restriction> </xs:simpleType>

The identifier of a move style in either a token (free defined style), or it's the name of a pre-defined style. It's not allowed that a free defined style has the same name as another free defined style.

<xs:simpleType name="RGBColor"> <xs:restriction base="xs:hexBinary"> <xs:pattern value="[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?"/> </xs:restriction> </xs:simpleType>

A RGB color consists of up to three channels: red, green, and blue (required), and the optional alpha channel.

<xs:simpleType name="FontStyle"> <xs:restriction base="xs:string"> <xs:enumeration value="bold"/> <xs:enumeration value="italic"/> <xs:enumeration value="underline"/> <xs:enumeration value="strikethrough"/> </xs:restriction> </xs:simpleType>


Google translation

Share this page

C/CIF at Sourceforge

C/CIF at Sourceforge

C/CIF at Launchpad

C/CIF at Launchpad