<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:mstns="http://tempuri.org/MailDataset.xsd" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns="http://tempuri.org/MailDataset.xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://tempuri.org/MailDataset.xsd" id="MailDataset" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element msdata:IsDataSet="true" msdata:UseCurrentLocale="true" name="MailDataset">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Mail">
          <xs:complexType>
            <xs:sequence>
              <xs:element msdata:Caption="Who was the email sent by" minOccurs="0" name="FromName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="Who sent the email" minOccurs="0" name="FromAddress">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="Internal segment ID" minOccurs="0" default="0" name="SegmentID" type="xs:int" />
              <xs:element msdata:Caption="Internal category ID" minOccurs="0" default="0" name="CategoryID" type="xs:int" />
              <xs:element msdata:Caption="Subject of the email" minOccurs="0" default="" name="Subject">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="Title of the mailing" minOccurs="0" default="" name="Title">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="70" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="HTML for the content" minOccurs="0" default="" name="HtmlContent" type="xs:string" />
              <xs:element msdata:Caption="Plain text format for the content" minOccurs="0" default="" name="TextContent" type="xs:string" />
              <xs:element msdata:Caption="Internal mailing ID" minOccurs="0" default="0" name="MailID" type="xs:int" />
              <xs:element msdata:Caption="Encoding of the content file. Ex: UTF-8" minOccurs="0" name="CharacterSet" type="xs:string" />
              <xs:element msdata:Caption="Email Address that all replies will be sent to" minOccurs="0" name="ReplyToAddress">
                <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:element>
</xs:schema>