0ad and the XMPP bots talk to each other using custom IQ stanzas. Up to now these stanzas weren't properly defined so to check how they look like one had to look into the code itself. As there are two components in different languages implementing handling for these stanzas that caused a certain ambiguity.
This patch adds XSDs for the custom IQ stanzas used by 0ad. You can use tools like xmllint to verify a IQ stanza sent by 0ad fits the schema:
xmllint --noout --schema XSD_FILE XML_FILE
I wasn't sure where to put these files into, so if they should live somewhere else in the repo, just drop me a note.