<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:mstns="http://tempuri.org/MailingStatisticsDataset.xsd" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns="http://tempuri.org/MailingStatisticsDataset.xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://tempuri.org/MailingStatisticsDataset.xsd" id="MailingStatisticsDataset" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element msdata:IsDataSet="true" msdata:UseCurrentLocale="true" name="MailingStatisticsDataset">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="MailingStatistics">
          <xs:complexType>
            <xs:sequence>
              <xs:element msdata:Caption="Number of opens for the mailing" minOccurs="0" default="0" name="Opens" type="xs:int" />
              <xs:element msdata:Caption="Number of permanent failures" minOccurs="0" default="0" name="PerminantFailures" type="xs:int" />
              <xs:element msdata:Caption="Number of temporary failures" minOccurs="0" default="0" name="TransientFailures" type="xs:int" />
              <xs:element msdata:Caption="Number of successful deliveries" minOccurs="0" default="0" name="Successful" type="xs:int" />
              <xs:element msdata:Caption="Number of active mailings being sent" minOccurs="0" default="0" name="Active_x0020_" type="xs:int" />
              <xs:element msdata:Caption="Number of total mailings sent" minOccurs="0" default="0" name="TotalSent" type="xs:int" />
              <xs:element msdata:Caption="The destination mail server reported a temporary failure error code (between 400 - 499)." minOccurs="0" default="0" name="Code301" type="xs:int" />
              <xs:element msdata:Caption="The destination mail server reported a permanent failure error code (500+)." minOccurs="0" default="0" name="Code302" type="xs:int" />
              <xs:element msdata:Caption="A temporary DNS failure occurred." minOccurs="0" default="0" name="Code303" type="xs:int" />
              <xs:element msdata:Caption="The domain is reported to be bad via DNS." minOccurs="0" default="0" name="Code304" type="xs:int" />
              <xs:element msdata:Caption="A bounce was received for this recipient." minOccurs="0" default="0" name="Code305" type="xs:int" />
              <xs:element msdata:Caption="An attempt was made to send to an email address (rather than a contact/member ID) and that address is not syntactically valid." minOccurs="0" default="0" name="Code306" type="xs:int" />
              <xs:element msdata:Caption="The message to send for this recipient was deleted from the database." minOccurs="0" default="0" name="Code307" type="xs:int" />
              <xs:element msdata:Caption="The expiration date to send the mailing was reached before all attempts were completed." minOccurs="0" default="0" name="Code308" type="xs:int" />
              <xs:element msdata:Caption="The recipient was not sent to because the mailing was stopped by an administrator." minOccurs="0" default="0" name="Code309" type="xs:int" />
              <xs:element msdata:Caption="The recipient was not processed due to the skip command in mailmerge." minOccurs="0" default="0" name="Code310" type="xs:int" />
              <xs:element msdata:Caption="The recipient was not sent to because the mailing was stopped during mail merging by the 'abort' command." minOccurs="0" default="0" name="Code311" type="xs:int" />
              <xs:element msdata:Caption="Was the mailing forwarded to another user" minOccurs="0" default="0" name="SendToAFriend" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="TrackingSummary">
          <xs:complexType>
            <xs:sequence>
              <xs:element msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:Caption="Internal mailing ID. System Generated." name="MessageID_" type="xs:int" />
              <xs:element msdata:Caption="Title of the mailing" minOccurs="0" name="Title_">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="70" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="When was the mailing created." name="CreatedDate" type="xs:dateTime" />
              <xs:element msdata:ReadOnly="true" msdata:Caption="Number of Total Recipients" minOccurs="0" name="Total" type="xs:int" />
              <xs:element msdata:ReadOnly="true" msdata:Caption="How many successful deliveries" minOccurs="0" name="Successful" type="xs:int" />
              <xs:element msdata:ReadOnly="true" msdata:Caption="How many opens for the mailings" minOccurs="0" name="Opens" type="xs:int" />
              <xs:element msdata:ReadOnly="true" msdata:Caption="How many were clicked through" minOccurs="0" name="ClickThroughs" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="SentMailingSummary">
          <xs:complexType>
            <xs:sequence>
              <xs:element msdata:ReadOnly="true" msdata:AutoIncrement="true" name="MessageID_" type="xs:int" />
              <xs:element minOccurs="0" name="Title_">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="70" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Created_" type="xs:dateTime" />
              <xs:element msdata:ReadOnly="true" minOccurs="0" name="TotalRecips" type="xs:int" />
              <xs:element msdata:ReadOnly="true" minOccurs="0" name="PercentAttempted" type="xs:int" />
              <xs:element msdata:ReadOnly="true" minOccurs="0" name="PercentCompleted" type="xs:int" />
              <xs:element msdata:ReadOnly="true" minOccurs="0" name="PercentSuccess" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique msdata:PrimaryKey="true" name="Constraint1">
      <xs:selector xpath=".//mstns:TrackingSummary" />
      <xs:field xpath="mstns:MessageID_" />
    </xs:unique>
    <xs:unique msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true" name="SentMailingSummary_Constraint1">
      <xs:selector xpath=".//mstns:SentMailingSummary" />
      <xs:field xpath="mstns:MessageID_" />
    </xs:unique>
  </xs:element>
</xs:schema>