The schema of the XML generated is provided in the file history.xsd in the Manuals folder of the ITP/Server installation.