<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XML Spy v4.3 U (http://www.xmlspy.com) by Julian Beak (Disney Interactive Victoria) -->
<!--(c) 2002 Copyright Disney Interactive
All rights are reserved.-->
<xs:schema targetNamespace="http://www.inlightentertainment.com/level" xmlns:level="http://www.inlightentertainment.com/level" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:seed="http://www.inlightentertainment.com/seed" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:import namespace="http://www.inlightentertainment.com/seed" schemaLocation="seed.xsd"/>
	<xs:element name="levelData">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="initial" minOccurs="0">
					<xs:complexType>
						<xs:choice maxOccurs="unbounded">
							<xs:element name="group" type="level:seedGroupType" minOccurs="0"/>
						</xs:choice>
					</xs:complexType>
				</xs:element>
				<xs:element name="timed" minOccurs="0">
					<xs:complexType>
						<xs:choice maxOccurs="unbounded">
							<xs:element name="group" type="level:timedSeedGroupType" minOccurs="0"/>
						</xs:choice>
					</xs:complexType>
				</xs:element>
				<xs:element name="anytime" minOccurs="0">
					<xs:complexType>
						<xs:choice maxOccurs="unbounded">
							<xs:element name="group" type="level:seedGroupType" minOccurs="0"/>
						</xs:choice>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
			<xs:attribute name="name" type="xs:string" use="optional"/>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="timedSeedType">
		<xs:complexContent>
			<xs:extension base="seed:seedType">
				<xs:attribute name="spawnTime" type="xs:double" use="optional"/>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="seedGroupType">
		<xs:sequence>
			<xs:element name="default" type="seed:seedType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Every value except for the core attribute that is set in the default will be used to set the seed values. Seeds can overwrite these defaults by setting their own corresponding values.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="seed" type="level:timedSeedType" maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attributeGroup ref="level:groupAttributes"/>
	</xs:complexType>
	<xs:complexType name="timedSeedGroupType">
		<xs:complexContent>
			<xs:extension base="level:seedGroupType">
				<xs:attribute name="spawnTime"/>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:attributeGroup name="groupAttributes">
		<xs:attribute name="name" type="xs:ID" use="required"/>
		<xs:attribute name="spawnCount" use="optional">
			<xs:annotation>
				<xs:documentation>How many of the group will be spawned ( spawn_count less than or equal to total group members). Chooses randomly non-repeating from the group members until the spawn_count is reached. </xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:integer">
					<xs:minExclusive value="0"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:attributeGroup>
</xs:schema>
