Событие, содержащее информацию об операторах группы.

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">

	<xs:include schemaLocation="monitor.xsd"/>

	<xs:simpleType name="StatusType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="stopped"/>
			<xs:enumeration value="available"/>
			<xs:enumeration value="auxwork"/>
			<xs:enumeration value="removed"/>
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="LineStatusType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="idle"/>
			<xs:enumeration value="alerting"/>
			<xs:enumeration value="talking"/>
			<xs:enumeration value="acw"/>
		</xs:restriction>
	</xs:simpleType>

	<xs:complexType name="Agent">
		<xs:attribute name="agent_id" type="xs:string"/>
		<xs:attribute name="status" type="StatusType"/>
		<xs:attribute name="line_status" type="LineStatusType"/>
		<xs:attribute name="is_supervisor" type="xs:boolean"/>
		<xs:attribute name="display_name" type="xs:string" use="optional"/>
		<xs:attribute name="number" type="xs:string" use="optional"/>
		<xs:attribute name="auxwork_reason" type="xs:string" use="optional"/>
	</xs:complexType>

	<xs:complexType name="GroupAgentList">
		<xs:sequence>
			<xs:element name="agent" type="Agent"/>
		</xs:sequence>
		<xs:attribute name="group_id" type="xs:string"/>
	</xs:complexType>

	<xs:element name="event">
		<xs:complexType>
			<xs:complexContent>
				<xs:extension base="baseEventType">
					<xs:sequence>
						<xs:element name="group" type="GroupAgentList"/>
					</xs:sequence>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
	</xs:element>

</xs:schema>
XML