<?xml version="1.0"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:t="types">
	<xs:import schemaLocation="../Types.xsd" namespace="types"/>
	<xs:include schemaLocation="../Types/TeamEnum.xsd"/>

	<xs:element name="CapturePoint">
		<xs:annotation>
			<xs:documentation>A Capture Point. Make sure to update the HomePoint,CapturePointNumber,Team for each</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:all>
				<xs:element name="CaptureTimer" type="t:double" minOccurs="0">
					<xs:annotation>
						<xs:documentation>CaptureTimer handled by Capture Point System</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="CapturePointNumber" type="t:int" minOccurs="0">
					<xs:annotation>
						<xs:documentation>CapturePointNumber specify an int number for this</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="CapturePointMaxTimer" type="t:double" minOccurs="0">
					<xs:annotation>
						<xs:documentation>The time needed to take over a Capture Point</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="HomePointForTeam" type="TeamEnum" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Specify if this is a HomePoint for either team</xs:documentation>
					</xs:annotation>
				</xs:element>

			</xs:all>
		</xs:complexType>
	</xs:element>
</xs:schema>