<?xml version="1.0" encoding="utf-8"?>
<manifest manifest-version="0.1" xmlns="http://www.tableau.com/xml/extension_manifest">
  <worksheet-extension id="com.dataskera.cohortgrid" extension-version="1.0.0">
    <default-locale>en_US</default-locale>
    <name resource-id="name"/>
    <description resource-id="description"/>
    <author name="Dataskera" email="support@dataskera.com" organization="Dataskera" website="https://dataskera.com"/>
    <min-api-version>1.12</min-api-version>
    <source-location>
      <url>https://vizextension.dataskera.com/cohortgrid/cohortgrid.html</url>
    </source-location>
    <icon>
iVBORw0KGgoAAAANSUhEUgAAAEYAAABGCAYAAABxLuKEAAAB5klEQVR4AeyXsU3EQBREbSKgElqA
nOBKQCIi4aoAQRVHQoRECReQQwtUAmRGP5hsRxpsOOzTO2m00mjs73s7yT/o+DUJAKaJpesAAxhD
wNg0BjCGgLFpDGAMAWPTmClgDi8fh0SacXS9fU+k/PF6+5JI+du34TmR8jevwyaR8nXSmKLQEGAa
UMoCTFFoCDANKGXNH0x95T8IMAY6YABjCBibxkwB8/V01SfSjM+H1Uki5T82q/NEyt+d9heJlL8/
69eJlK+TxhSFhiIwyZ5UGb0/2ZMqo3yyJ1VG+WRPqozyY84IzJgXL/0ZwJgbBAxgDAFj0xjAGALG
pjHTwZg37KlNY8zFRmCSPakympHsSZVRPtmTKqN8sidVRvkxZwRmzIuX/kwEpvagRIJRe1Ai5WsP
SqT8Ls4IzC4+ZG4zAGNuBDCAMQSMTWMAYwgYm8YAxhAwNo2ZAqb2oESaUXtQIuVrD0qkvDt/06cx
hmYEJtmTKqMZyZ5UGeXneEZg5vjhf/1NgDGEAQMYQ8DYNAYwhoCxaQxgDAFj05gpYJI9qTKakexJ
lVF+jieNMbcSgak9KJGZsUg7AvPjf7YHDwDGXCJgAGMIGJvGAMYQMDaNAYwhYGwaMwVM7UGJzIxF
2jTGXBtgDJhvAAAA///tczYsAAAABklEQVQDAKmTWKtKMpZ0AAAAAElFTkSuQmCC
    </icon>
    <context-menu>
      <configure-context-menu-item />
    </context-menu>
    <encoding id="cohort">
      <display-name resource-id="cohort-name">Cohort</display-name>
      <data-spec>
        <data-type>string</data-type>
        <data-type>temporal</data-type>
        <data-type>numeric</data-type>
        <data-type>boolean</data-type>
      </data-spec>
      <role-spec>
        <role-type>discrete-dimension</role-type>
        <role-type>discrete-measure</role-type>
        <role-type>continuous-dimension</role-type>
      </role-spec>
      <fields max-count="1"/>
      <encoding-icon token="grid" />
      <tooltip resource-id="cohort-tooltip">Drag a dimension for the cohorts, one per row</tooltip>
    </encoding>
    <encoding id="period">
      <display-name resource-id="period-name">Period</display-name>
      <data-spec>
        <data-type>string</data-type>
        <data-type>temporal</data-type>
        <data-type>numeric</data-type>
        <data-type>boolean</data-type>
      </data-spec>
      <role-spec>
        <role-type>discrete-dimension</role-type>
        <role-type>discrete-measure</role-type>
        <role-type>continuous-dimension</role-type>
      </role-spec>
      <fields max-count="1"/>
      <encoding-icon token="arrow-right" />
      <tooltip resource-id="period-tooltip">Drag the age of the cohort: 0, 1, 2 periods since it started</tooltip>
    </encoding>
    <encoding id="value">
      <display-name resource-id="value-name">Value</display-name>
      <data-spec>
        <data-type>numeric</data-type>
      </data-spec>
      <role-spec>
        <role-type>continuous-measure</role-type>
        <role-type>continuous-dimension</role-type>
      </role-spec>
      <fields max-count="1"/>
      <encoding-icon token="metric" />
      <tooltip resource-id="value-tooltip">Drag a measure to fill and colour the cells</tooltip>
    </encoding>
  </worksheet-extension>
  <resources>
    <resource id="name">
      <text locale="en_US">Cohort Grid</text>
    </resource>
    <resource id="description">
      <text locale="en_US">One row per cohort, one column per period since it started, colour carrying the value, so retention or decay reads as a shape. Configure the scale, labels, legend and tooltips.</text>
    </resource>
    <resource id="cohort-name">
      <text locale="en_US">Cohort</text>
    </resource>
    <resource id="cohort-tooltip">
      <text locale="en_US">Drag a dimension for the cohorts, one per row</text>
    </resource>
    <resource id="period-name">
      <text locale="en_US">Period</text>
    </resource>
    <resource id="period-tooltip">
      <text locale="en_US">Drag the age of the cohort: 0, 1, 2 periods since it started</text>
    </resource>
    <resource id="value-name">
      <text locale="en_US">Value</text>
    </resource>
    <resource id="value-tooltip">
      <text locale="en_US">Drag a measure to fill and colour the cells</text>
    </resource>
  </resources>
</manifest>
