<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:mstns="http://tempuri.org/CategoryDataset.xsd" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns="http://tempuri.org/CategoryDataset.xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://tempuri.org/CategoryDataset.xsd" id="CategoryDataset" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element msdata:IsDataSet="true" msdata:UseCurrentLocale="true" name="CategoryDataset">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Category">
          <xs:complexType>
            <xs:sequence>
              <xs:element msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:Caption="Internal ID. System Generated" name="ID" type="xs:int" />
              <xs:element msdata:Caption="The account that the category is attached to" minOccurs="0" 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 category" name="Name">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="60" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="The internal segment ID." minOccurs="0" name="SubsetID_" type="xs:int" />
              <xs:element msdata:Caption="Brief description of the category and the members attached to it" minOccurs="0" name="Description">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="90" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element msdata:Caption="If a category is only active for a certain period of time you can identify that here." minOccurs="0" name="ExpireDate" type="xs:dateTime" />
              <xs:element msdata:Caption="Was the category imported." minOccurs="0" name="IsImport" type="xs:boolean" />
              <xs:element msdata:Caption="The category is not able to be edited, only viewed." minOccurs="0" name="IsReadOnly" type="xs:boolean" />
              <xs:element msdata:Caption="The internal directory ID." minOccurs="0" name="DirectoryID" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique msdata:PrimaryKey="true" name="Constraint1">
      <xs:selector xpath=".//mstns:Category" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
  </xs:element>
</xs:schema>