/mcpC H A P T E R 2 Cisco Unity Connection Notification Interface (CUNI) API -- CUNI Event Schema • Schema Example , on page 3 Schema Example <?xml version="1.0" encoding="utf-8"?> <xs:schema xmlns="[http://www.cisco.com"] elementFormDefault="qualified" targetNamespace="[http://www.cisco.com"] xmlns:xs="[http://www.w3.org/2001/XMLSchema">] <xs:simpleType name="priorityType"> <xs:restriction base="xs:string"> <xs:enumeration value="Low-Priority" /> <xs:enumeration value="Normal-Priority" /> <xs:enumeration value="Urgent" /> <xs:enumeration value="Unknown-Priority" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="eventType"> <xs:restriction base="xs:string"> <xs:enumeration value="MESSAGE_INFO" /> <xs:enumeration value="NEW_MESSAGE" /> <xs:enumeration value="SAVED_MESSAGE" /> <xs:enumeration value="UNREAD_MESSAGE" /> <xs:enumeration value="DELETED_MESSAGE" /> <xs:enumeration value="FAILOVER" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="messageType"> <xs:restriction base="xs:string"> <xs:enumeration value="Voice" /> <xs:enumeration value="NDR" /> <xs:enumeration value="DR" /> <xs:enumeration value="RR" /> <xs:enumeration value="Fax" /> <xs:enumeration value="Text" /> <xs:enumeration value="UnknownType" /> </xs:restriction> </xs:simpleType> <xs:complexType name="messageInfoType"> <xs:attribute name="messageId" type="xs:string" /> <xs:attribute name="receiveTime" type="xs:string" /> <xs:attribute name="msgType" type="messageType" /> <xs:attribute name="uid" type="xs:integer" /> <xs:attribute name="priority" type="priorityType" /> Cisco Unity Connection Notification Interface (CUNI) API 3
