Нотификация о статусе супервизинга.

<?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:include schemaLocation="conversation.xsd"/>

    <xs:simpleType name="SupervisingStatusType">
        <xs:restriction base="xs:string">
            <xs:enumeration value="none"/>
            <xs:enumeration value="failed"/>
            <xs:enumeration value="connecting"/>
            <xs:enumeration value="consult"/>
            <xs:enumeration value="observing"/>
            <xs:enumeration value="conference"/>
        </xs:restriction>
    </xs:simpleType>

    <xs:element name="event">
        <xs:complexType>
            <xs:complexContent>
                <xs:extension base="baseEventType">
                    <xs:sequence>
                        <xs:element name="supervising">
                            <xs:complexType>
                                <xs:attribute name="conversation_id" type="xs:string" use="optional"/>
                                <xs:attribute name="status" type="SupervisingStatusType"/>
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                </xs:extension>
            </xs:complexContent>
        </xs:complexType>
    </xs:element>

</xs:schema>
XML