<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> 

<xs:complexType name="wonder-type">
   <xs:sequence>
		<xs:element name="name" 				type="xs:string" minOccurs="1" maxOccurs="1"/>
		<xs:element name="description"		    type="xs:string" minOccurs="1" maxOccurs="1"/>
		<xs:element name="image"		        type="xs:string" minOccurs="0" maxOccurs="1"/>
		<xs:element name="max-qty-in-galaxy"	type="xs:integer" minOccurs="1" maxOccurs="1"/>
		<xs:element name="max-qty-in-player"	type="xs:integer" minOccurs="1" maxOccurs="1"/>
		<xs:element name="is-capital"		    type="xs:boolean" minOccurs="0"/>
		<xs:element name="influence"    	    type="xs:integer" minOccurs="0"/>
		<xs:element name="influence-bonus"	    type="xs:decimal" minOccurs="0"/>
		<xs:element name="influence-planet"     type="xs:decimal" minOccurs="0"/>
		<xs:element name="production-bonus" 	type="xs:decimal" minOccurs="0"/>
		<xs:element name="production-planet"    type="xs:integer" minOccurs="0"/>
		<xs:element name="production-planet-bonus" type="xs:decimal" minOccurs="0"/>
		<xs:element name="population-bonus" 	type="xs:decimal" minOccurs="0"/>
		<xs:element name="population-planet"    type="xs:integer" minOccurs="0"/>
		<xs:element name="research-bonus"	    type="xs:decimal" minOccurs="0"/>
		<xs:element name="research-planet"      type="xs:integer" minOccurs="0"/>
		<xs:element name="trade-routes"	        type="xs:integer" minOccurs="0"/>
		<xs:element name="galaxy-icon"		    type="xs:string" minOccurs="0" maxOccurs="1"/>
		<xs:element name="galaxy-animation"	    type="xs:string" minOccurs="0" maxOccurs="1"/>
		<xs:element name="project-icon"		    type="xs:string" minOccurs="0" maxOccurs="1"/>
		<xs:element name="cost-to-research"     type="xs:integer" minOccurs="1" maxOccurs="1"/>
		<xs:element name="cost-to-build"        type="xs:integer" minOccurs="1" maxOccurs="1"/>
		<xs:element name="maintenance-cost"     type="xs:integer" minOccurs="0" maxOccurs="1"/>
		<xs:element name="group" 				type="xs:string" minOccurs="0" maxOccurs="1"/>
   </xs:sequence>
	<xs:attribute name="class" type="xs:string" fixed="mot.common.technology.Wonder"/> 
</xs:complexType>

<xs:complexType name="wonders-type">
   <xs:sequence>
		<xs:element name="wonder" type="wonder-type" minOccurs="1" maxOccurs="unbounded"/>
   </xs:sequence>
	<xs:attribute name="class" type="xs:string" fixed="mot.common.technology.Wonders"/> 
</xs:complexType>

<xs:element name="wonders" type="wonders-type"/>

</xs:schema>
