<?xml version="1.0" encoding="UTF-8"?>
<xmlacycle>
  <Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
    <RequestType>MDSCHEMA_DIMENSIONS</RequestType>
    <Restrictions>
      <RestrictionList>
        <CATALOG_NAME>${catalog}</CATALOG_NAME>
        <CUBE_NAME>Sales</CUBE_NAME>
        <DIMENSION_NAME>Time</DIMENSION_NAME>
      </RestrictionList>
    </Restrictions>
    <Properties>
      <PropertyList>
        <DataSourceInfo>${datasource}</DataSourceInfo>
        <Catalog>${catalog}</Catalog>
        <Format>Tabular</Format>
      </PropertyList>
    </Properties>
  </Discover>
<xmla:DiscoverResponse xmlns:xmla="urn:schemas-microsoft-com:xml-analysis">
  <xmla:return>
    <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception">
      <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sql="urn:schemas-microsoft-com:xml-sql" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" elementFormDefault="qualified">
        <xsd:element name="root">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element name="row" type="row" minOccurs="0" maxOccurs="unbounded"/>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
        <xsd:simpleType name="uuid">
          <xsd:restriction base="xsd:string">
            <xsd:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
          </xsd:restriction>
        </xsd:simpleType>
        <xsd:complexType name="row">
          <xsd:sequence>
            <xsd:element sql:field="CATALOG_NAME" name="CATALOG_NAME" type="xsd:string" minOccurs="0"/>
            <xsd:element sql:field="SCHEMA_NAME" name="SCHEMA_NAME" type="xsd:string" minOccurs="0"/>
            <xsd:element sql:field="CUBE_NAME" name="CUBE_NAME" type="xsd:string"/>
            <xsd:element sql:field="DIMENSION_NAME" name="DIMENSION_NAME" type="xsd:string"/>
            <xsd:element sql:field="DIMENSION_UNIQUE_NAME" name="DIMENSION_UNIQUE_NAME" type="xsd:string"/>
            <xsd:element sql:field="DIMENSION_GUID" name="DIMENSION_GUID" type="uuid" minOccurs="0"/>
            <xsd:element sql:field="DIMENSION_CAPTION" name="DIMENSION_CAPTION" type="xsd:string"/>
            <xsd:element sql:field="DIMENSION_ORDINAL" name="DIMENSION_ORDINAL" type="xsd:unsignedInt"/>
            <xsd:element sql:field="DIMENSION_TYPE" name="DIMENSION_TYPE" type="xsd:short"/>
            <xsd:element sql:field="DIMENSION_CARDINALITY" name="DIMENSION_CARDINALITY" type="xsd:unsignedInt"/>
            <xsd:element sql:field="DEFAULT_HIERARCHY" name="DEFAULT_HIERARCHY" type="xsd:string"/>
            <xsd:element sql:field="DESCRIPTION" name="DESCRIPTION" type="xsd:string" minOccurs="0"/>
            <xsd:element sql:field="IS_VIRTUAL" name="IS_VIRTUAL" type="xsd:boolean" minOccurs="0"/>
            <xsd:element sql:field="IS_READWRITE" name="IS_READWRITE" type="xsd:boolean" minOccurs="0"/>
            <xsd:element sql:field="DIMENSION_UNIQUE_SETTINGS" name="DIMENSION_UNIQUE_SETTINGS" type="xsd:int" minOccurs="0"/>
            <xsd:element sql:field="DIMENSION_MASTER_UNIQUE_NAME" name="DIMENSION_MASTER_UNIQUE_NAME" type="xsd:string" minOccurs="0"/>
            <xsd:element sql:field="DIMENSION_IS_VISIBLE" name="DIMENSION_IS_VISIBLE" type="xsd:boolean" minOccurs="0"/>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:schema>
      <row>
        <CATALOG_NAME>FoodMart</CATALOG_NAME>
        <CUBE_NAME>Sales</CUBE_NAME>
        <DIMENSION_NAME>Time</DIMENSION_NAME>
        <DIMENSION_UNIQUE_NAME>[Time]</DIMENSION_UNIQUE_NAME>
        <DIMENSION_CAPTION>Time</DIMENSION_CAPTION>
        <DIMENSION_ORDINAL>4</DIMENSION_ORDINAL>
        <DIMENSION_TYPE>1</DIMENSION_TYPE>
        <DIMENSION_CARDINALITY>25</DIMENSION_CARDINALITY>
        <DEFAULT_HIERARCHY>[Time]</DEFAULT_HIERARCHY>
        <DESCRIPTION>Sales Cube - Time Dimension</DESCRIPTION>
        <IS_VIRTUAL>false</IS_VIRTUAL>
        <IS_READWRITE>false</IS_READWRITE>
        <DIMENSION_UNIQUE_SETTINGS>0</DIMENSION_UNIQUE_SETTINGS>
        <DIMENSION_IS_VISIBLE>true</DIMENSION_IS_VISIBLE>
      </row>
    </root>
  </xmla:return>
</xmla:DiscoverResponse>
</xmlacycle>