<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:mstns="http://tempuri.org/MailDeliveredDataset.xsd" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns="http://tempuri.org/MailDeliveredDataset.xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://tempuri.org/MailDeliveredDataset.xsd" id="MailDeliveredDataset" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element msdata:IsDataSet="true" msdata:UseCurrentLocale="true" name="MailDeliveredDataset">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="MailDelivered">
          <xs:complexType>
            <xs:sequence>
              <xs:element msdata:Caption="Internal ID for the recipient of the delivered mailing" name="RecipientID" type="xs:decimal" />
              <xs:element msdata:Caption="Internal ID for the bounced mailing" minOccurs="0" name="BounceMailingID" type="xs:int" />
              <xs:element msdata:Caption="Status of the Mailing, if it was delivered or not" name="CompletionStatusID" type="xs:int" />
              <xs:element msdata:Caption="Domain that the mailing was sent to" minOccurs="0" name="Domain">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="250" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="When the final attempt at sending was taken" name="FinalAttempt" type="xs:dateTime" />
              <xs:element msdata:Caption="When the first attempt at sending was taken" minOccurs="0" name="FirstAttempt" type="xs:dateTime" />
              <xs:element msdata:Caption="Internal mailing ID" name="MailingID" type="xs:int" />
              <xs:element msdata:Caption="Internal contact ID" minOccurs="0" name="MemberID" type="xs:int" />
              <xs:element msdata:Caption="How many times the mailing tried to send" name="SendTry" type="xs:unsignedByte" />
              <xs:element msdata:Caption="What happened to the mailing at send" minOccurs="0" name="TransactionLog">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="Username of the user who sent the mailing" minOccurs="0" name="UserName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique msdata:PrimaryKey="true" name="Constraint1">
      <xs:selector xpath=".//mstns:MailDelivered" />
      <xs:field xpath="mstns:RecipientID" />
    </xs:unique>
  </xs:element>
</xs:schema>