Дерево страниц
Перейти к концу метаданных
Переход к началу метаданных

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

<?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:complexType name="ParticipantNew">
        <xs:attribute name="id" type="xs:string"/>
    </xs:complexType>

    <xs:simpleType name="StatusType">
        <xs:restriction base="xs:string">
            <xs:enumeration value="connecting"/>
            <xs:enumeration value="connected"/>
        </xs:restriction>
    </xs:simpleType>

    <xs:simpleType name="ReasonType">
        <xs:restriction base="xs:string">
            <xs:enumeration value="failed"/>
            <xs:enumeration value="released"/>
        </xs:restriction>
    </xs:simpleType>

    <xs:complexType name="ParticipantInfo">
        <xs:attribute name="id" type="xs:string"/>
        <xs:attribute name="status" type="StatusType"/>
        <xs:anyAttribute/>
    </xs:complexType>

    <xs:complexType name="ParticipantRemoved">
        <xs:attribute name="id" type="xs:string"/>
        <xs:attribute name="reason" type="ReasonType"/>
        <xs:anyAttribute/>
    </xs:complexType>

    <xs:complexType name="Participants">
        <xs:sequence>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
                <xs:element name="new" type="ParticipantNew"/>
                <xs:element name="info" type="ParticipantInfo"/>
                <xs:element name="removed" type="ParticipantRemoved"/>
            </xs:choice>
        </xs:sequence>
        <xs:attribute name="id" type="xs:string"/>
    </xs:complexType>

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

</xs:schema>
  • Нет меток