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

CIF - Game Information


<xs:complexType name="GameInfo"> <xs:all> <xs:element name="head" type="GameHead" minOccurs="0"/> <xs:element name="links" type="Links" minOccurs="0"/> <xs:element name="moveinfo" type="MoveInfo" minOccurs="0"/> </xs:all> </xs:complexType>

This element contains all the information belonging to a game, in chess databases parts of this data are stored inside the index data, and some parts are stored inside the game data, this is individually different.

<xs:complexType name="Links"> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element name="blob" type="Token"/> <xs:element name="resource" type="ExternalResource"/> </xs:choice> </xs:complexType>

It is possible to store references to binary data (PDF documents, etc.) with element blob. The referenced data will be stored inside the data element of this game, this means that element blob contains only the name of this BLOb. Note that the data of the BLOb will be stored inside the data section of the game, and may not be accessible at the time the link to this data is parsed. The element resource is a link to any data outside of this archive.

About the move information (evaluation scores, time information, etc.): usually this will be stored as a list inside the moveinfo element, but in some cases it might be more appropriate to store the move information inside the move section.

Extension for Tandem chess games (Bughouse)

For Tandem chess games the move information section will be written for both boards. The first move information element belongs to the first board, and the second move information element belongs to the second board.

The same applies for the game links, for each board one link section will be written.



Google translation

Share this page

C/CIF at Sourceforge

C/CIF at Sourceforge

C/CIF at Launchpad

C/CIF at Launchpad