<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> 

<xs:complexType name="shield-span-type">
   <xs:sequence>
		<xs:element name="span-percent"			type="xs:decimal"/>
		<xs:element name="range" 					type="xs:integer"/>
   </xs:sequence>
	<xs:attribute name="class" type="xs:string" fixed="mot.common.technology.ShieldSpan"/> 
</xs:complexType>

<xs:complexType name="special-type">
   <xs:sequence>
		<xs:element name="name" 			type="xs:string"/>
		<xs:element name="description"			type="xs:string" minOccurs="0"/>
		<xs:element name="image"			type="xs:string" minOccurs="0"/>
		<xs:element name="speed-bonus" 			type="xs:decimal" minOccurs="0"/>
		<xs:element name="battle-speed-bonus" 	        type="xs:decimal" minOccurs="0"/>
		<xs:element name="battle-turning-bonus"         type="xs:decimal" minOccurs="0"/>
		<xs:element name="defender-modification"        type="xs:decimal" minOccurs="0"/>
		<xs:element name="attacker-modification"        type="xs:decimal" minOccurs="0"/>
		<xs:element name="range-modification" 	        type="xs:decimal" minOccurs="0"/>
		<xs:element name="initiative-bonus" 	        type="xs:decimal" minOccurs="0"/>
		<xs:element name="max-damage-bonus" 	        type="xs:decimal" minOccurs="0"/>
		<xs:element name="can-colonise-rating"          type="xs:decimal" minOccurs="0"/>
		<xs:element name="qty-berths" 			type="xs:integer" minOccurs="0"/>
		<xs:element name="qty-fighters" 		type="xs:integer" minOccurs="0"/>
		<xs:element name="qty-holo-craft" 		type="xs:integer" minOccurs="0"/>
		<xs:element name="influence"			type="xs:decimal" minOccurs="0"/>
		<xs:element name="salvage-effect"		type="xs:decimal" minOccurs="0"/>
		<xs:element name="shield-span"			type="shield-span-type" minOccurs="0"/>
		<xs:element name="immunity"			type="xs:string"  minOccurs="0" maxOccurs="unbounded"/>
		<xs:element name="repair-effect"		type="xs:decimal" minOccurs="0"/>
		<xs:element name="missile-retarget"		type="xs:boolean" minOccurs="0"/>
		<xs:element name="fleet-battle-speed-bonus" 	type="xs:decimal" minOccurs="0"/>
		<xs:element name="fleet-battle-turning-bonus"   type="xs:decimal" minOccurs="0"/>
		<xs:element name="fleet-defender-modification"  type="xs:decimal" minOccurs="0"/>
		<xs:element name="fleet-attacker-modification"  type="xs:decimal" minOccurs="0"/>
		<xs:element name="fleet-range-modification" 	type="xs:decimal" minOccurs="0"/>
		<xs:element name="fleet-initiative-bonus" 	type="xs:decimal" minOccurs="0"/>
		<xs:element name="space" 			type="xs:integer"/>
		<xs:element name="cost-to-build" 		type="xs:integer"/>
		<xs:element name="cost-to-research" 	        type="xs:integer"/>
		<xs:element name="group" 			type="xs:string" minOccurs="0"/>
   </xs:sequence>
	<xs:attribute name="class" type="xs:string" fixed="mot.common.technology.Special"/> 
</xs:complexType>

<xs:complexType name="specials-type">
   <xs:sequence>
		<xs:element name="special" type="special-type" minOccurs="1" maxOccurs="unbounded"/>
   </xs:sequence>
	<xs:attribute name="class" type="xs:string" fixed="mot.common.technology.Specials"/> 
</xs:complexType>

<xs:element name="specials" type="specials-type"/>

</xs:schema>