<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:mstns="http://tempuri.org/SegmentDataset.xsd" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns="http://tempuri.org/SegmentDataset.xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://tempuri.org/SegmentDataset.xsd" id="SegmentDataset" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element msdata:IsDataSet="true" msdata:UseCurrentLocale="true" name="SegmentDataset">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Segment">
          <xs:complexType>
            <xs:sequence>
              <xs:element msdata:Caption="IGNORE" minOccurs="0" name="ClauseAdd">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="IGNORE" minOccurs="0" name="ClauseAfterSelect">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="The list of tables joined in this segment" minOccurs="0" name="ClauseFrom">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="The order in which results of the segment will be presented in repeater groups" minOccurs="0" name="ClauseOrderBy">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="Additional columns that will be displayed forst tests in the UI" minOccurs="0" name="ClauseSelect">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="IGNORE" minOccurs="0" default="" name="ClauseWhere">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="Description of the Segment" minOccurs="0" default="" name="Description">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="90" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="Account the segment is attached to" minOccurs="0" default="" name="List">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="60" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="Name of the Segment" default="" name="Name">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="60" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="IGNORE" minOccurs="0" name="NumTestRecords" type="xs:int" />
              <xs:element msdata:Caption="IGNORE" minOccurs="0" name="AddWhereList">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="IGNORE" minOccurs="0" name="AddWhereMemberType">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="IGNORE" minOccurs="0" name="AddWhereSubType">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="Normal, Triggered, or Category" minOccurs="0" name="SegmentType">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="IGNORE" minOccurs="0" name="NewsletterID" type="xs:int" />
              <xs:element msdata:Caption="IGNORE" minOccurs="0" name="tmp">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="8000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="Internal segment ID" minOccurs="0" name="SegmentID" type="xs:int" />
              <xs:element msdata:Caption="When it was created" minOccurs="0" name="Created" type="xs:dateTime" />
              <xs:element msdata:Caption="When was the segment last modified" minOccurs="0" name="Modified" type="xs:dateTime" />
              <xs:element msdata:Caption="When was the segment last used" minOccurs="0" name="LastUsed" type="xs:dateTime" />
              <xs:element msdata:Caption="Internal directory ID" minOccurs="0" name="DirectoryID" type="xs:int" />
              <xs:element msdata:Caption="IGNORE" minOccurs="0" name="ClauseWhereXML" type="xs:string" />
              <xs:element msdata:Caption="Last amount of recipient when previously used" minOccurs="0" name="LastUsedRecipientCount" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>