I’ve just made two files available on the USCF website:
uschess.org/TD_Affil/sample_tournament.xml
This is a sample rating report in XML format.
uschess.org/TD_Affil/xml_dictionary.txt
This is a data dictionary describing the fields in the XML format, most of which are used in the sample.
This is not a full-blown XML standard, but should be a fairly complete illustration of a proposed way to submit tournament results in XML.
Hopefully I haven’t forgotten any close field tags, the simple XML parser I ran it through doesn’t complain about any.
The event doesn’t make a lot of sense (it’s just a 4 player event), but I was more concerned with showing where and how the various elements are used than coming up with a real-world event.
I’ve added a number of fields that are needed by the USCF or by FIDE that aren’t in the current upload format (and removed a few that are no longer needed), and I’ve indicated in the data dictionary file which fields (and field groups) I think should be mandatory.
I’ve also included fields to report prizes won (for players as well as for teams), plus a field for reporting class prize floors that need to be assigned.
I’ve included some fields to report information about teams, with support for both board-order teams, like the Amateur Teams, and for team/individual events, like the National Scholastics.
Comments and suggestions appreciated.
If no serious problems are present, I hope to start work on a parser this month as part of the rewrite of the TD/Affiliate Support Area, which I hope to have completed by the end of September.
I’ve also sent this message to Tom Doan (author of WinTD) and Thad Suits (author of SwisSys.)