<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:mstns="http://tempuri.org/ReportEventDataset.xsd" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns="http://tempuri.org/ReportEventDataset.xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://tempuri.org/ReportEventDataset.xsd" id="ReportEventDataset" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element msdata:IsDataSet="true" msdata:UseCurrentLocale="true" name="ReportEventDataset">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="ReportEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element msdata:Caption="Email Address attached to the mailing report" name="EmailAddress">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="System generated contact ID" name="MemberID" type="xs:int" />
              <xs:element msdata:Caption="System generated mailing ID" minOccurs="0" name="MailingID" type="xs:int" />
              <xs:element msdata:Caption="When an event happened for a mailing" name="EventTime" type="xs:dateTime" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ReportClickthroughEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element msdata:Caption="Email Address attached to the mailing report" name="EmailAddress">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="System generated contact ID" name="MemberID" type="xs:int" />
              <xs:element msdata:Caption="System generated mailing ID" name="MailingID" type="xs:int" />
              <xs:element msdata:Caption="When an event happened for a mailing" name="EventTime" type="xs:dateTime" />
              <xs:element msdata:Caption="URL that was clicked." name="URI">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ReportBounceEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element msdata:Caption="Email Address attached to the mailing report" name="EmailAddress">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="System generated contact ID" name="MemberID" type="xs:int" />
              <xs:element msdata:Caption="System generated mailing ID" name="MailingID" type="xs:int" />
              <xs:element msdata:Caption="When an event happened for a mailing" name="EventTime" type="xs:dateTime" />
              <xs:element name="CompletionStatus" type="xs:int" />
              <xs:element minOccurs="0" name="BounceClassificationCode" type="xs:int" />
              <xs:element minOccurs="0" name="BounceClassificationDescription">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="512" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ReportNamedClickthroughEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element msdata:Caption="Email Address attached to the mailing report" name="EmailAddress">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="System generated contact ID" name="MemberID" type="xs:int" />
              <xs:element msdata:Caption="System generated mailing ID" name="MailingID" type="xs:int" />
              <xs:element msdata:Caption="When an event happened for a mailing" name="EventTime" type="xs:dateTime" />
              <xs:element name="URI">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Name">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element minOccurs="0" name="IPAddress" type="xs:string" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ReportClickstreamEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element msdata:Caption="Email Address attached to the mailing report" name="EmailAddress">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="System generated contact ID" name="MemberID" type="xs:int" />
              <xs:element msdata:Caption="System generated mailing ID" name="MailingID" type="xs:int" />
              <xs:element msdata:Caption="When an event happened for a mailing" name="EventTime" type="xs:dateTime" />
              <xs:element msdata:Caption="URL that was clicked." name="StreamWebPageName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ReportPurchaseEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element msdata:Caption="Email Address attached to the mailing report" name="EmailAddress">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="System generated contact ID" name="MemberID" type="xs:int" />
              <xs:element msdata:Caption="System generated mailing ID" name="MailingID" type="xs:int" />
              <xs:element msdata:Caption="Timestamp of the purchase" name="EventTime" type="xs:dateTime" />
              <xs:element msdata:Caption="Order ID from purchase" minOccurs="0" name="OrderID">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="25" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="Quantity of the items that were purchased" minOccurs="0" name="Quantity" type="xs:int" />
              <xs:element msdata:Caption="Price of the unit/items that were purchased" minOccurs="0" name="UnitPrice" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ReportOpenEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element msdata:Caption="Email Address attached to the mailing report" name="EmailAddress">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="System generated contact ID" name="MemberID" type="xs:int" />
              <xs:element msdata:Caption="System generated mailing ID" minOccurs="0" name="MailingID" type="xs:int" />
              <xs:element msdata:Caption="When an event happened for a mailing" name="EventTime" type="xs:dateTime" />
              <xs:element minOccurs="0" name="IPAddress" type="xs:string" />
              <xs:element msdata:Caption="Engagement of the contact" minOccurs="0" name="ContactEngagement" type="xs:decimal" />
              <xs:element msdata:Caption="User Agent (email reader for web content)" minOccurs="0" name="UserAgent" type="xs:string" />
              <xs:element msdata:Caption="Platform (operating system)" minOccurs="0" name="Platform" type="xs:string" />
              <xs:element msdata:Caption="Platform Version (version number of OS)" minOccurs="0" name="PlatformVersion" type="xs:string" />
              <xs:element msdata:Caption="Browser (web browsing interface)" minOccurs="0" name="Browser" type="xs:string" />
              <xs:element msdata:Caption="Browser Version (version of web browser)" minOccurs="0" name="BrowserVersion" type="xs:string" />
              <xs:element msdata:Caption="Reading Environment (eg. desktop, web, mobile)" minOccurs="0" name="ReadingEnvironment" type="xs:string" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>