<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:include schemaLocation="elementproperties.xsd"/>
	<xs:include schemaLocation="elements.xsd"/>
	<xs:annotation>
		<xs:documentation> This file implements the sectors as defined in chapter 5 of the
		specs.</xs:documentation>
	</xs:annotation>
	<xs:element name="sector" type="sectortype"/>
	<xs:complexType name="sectortype">
		<xs:sequence>
			<xs:choice>
				<xs:sequence maxOccurs="unbounded">
					<xs:element ref="element" minOccurs="0" maxOccurs="unbounded"/>
					<xs:element name="sector" type="sectortype" minOccurs="0" maxOccurs="unbounded"
					/>
				</xs:sequence>
			</xs:choice>
		</xs:sequence>
		<xs:attribute name="name" type="xs:ID"/>
		<xs:attribute name="multipass" type="xs:boolean"/>
		<xs:attribute name="repeat" type="xs:integer"/>
		<xs:attribute name="reflection" type="xs:boolean"/>
		<xs:attribute name="ref" type="xs:IDREF"/>
		<xs:attribute name="i_beam" type="xs:IDREF"/>
		<xs:attribute name="arg1" type="xs:string"/>
		<xs:attribute name="arg2" type="xs:string"/>
		<xs:attribute name="arg3" type="xs:string"/>
		<xs:attribute name="arg4" type="xs:string"/>
		<xs:attribute name="arg5" type="xs:string"/>
		<xs:attribute name="arg6" type="xs:string"/>
		<xs:attribute name="arg7" type="xs:string"/>
		<xs:attribute name="arg8" type="xs:string"/>
		<xs:attribute name="arg9" type="xs:string"/>
		<xs:attribute name="arg10" type="xs:string"/>
	</xs:complexType>
	<!-- use command, p 36 5.4 -->
	<xs:element name="sector_used">
		<xs:complexType>
			<xs:attribute name="ref" type="xs:IDREF"/>
		</xs:complexType>
	</xs:element>
	<!-- list command, p 36 5.3 -->
	<xs:element name="list">
		<xs:complexType>
			<xs:sequence maxOccurs="unbounded">
				<xs:element ref="element"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>
