<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:l="EventListener" xmlns:c="Command" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="Command" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:import namespace="EventListener" schemaLocation="../Event/EventListener.xsd"/>
	<xs:complexType name="CommandType" abstract="true">
		<xs:annotation>
			<xs:documentation>An EventListener that executes an action</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="l:EventListenerType">
				<xs:attribute name="target" type="xs:string" use="optional"/>
				<xs:attribute name="undoable" type="xs:boolean" use="optional" default="false"/>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="CommandSequence" type="c:CommandType">
		<xs:annotation>
			<xs:documentation>Contains a sequence (AttributeVector) of other Commands.  Use a CommandSequence to Execute multiple Commands in response to a single Event or AttributeTrigger</xs:documentation>
		</xs:annotation>
	</xs:element>
</xs:schema>
