<?xml version="1.0" encoding="UTF-8"?>
<EventStoreConfiguration>
   <TableSchema>
   	  <ColumnDefinition>
         <Name>year</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>true</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>INTEGER</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>month</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>true</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>INTEGER</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>day</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>true</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>INTEGER</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>hour</Name>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>true</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>INTEGER</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>minute</Name>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>true</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>INTEGER</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>meta_clientType</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>false</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>STRING</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>context</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>true</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>STRING</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>api_version</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>true</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>STRING</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>api</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>false</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>STRING</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>resourceTemplate</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>true</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>STRING</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>version</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>false</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>STRING</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>tenantDomain</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>false</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>STRING</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>hostName</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>true</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>STRING</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>apiPublisher</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>true</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>STRING</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>destination</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>true</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>STRING</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>consumerKey</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>true</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>STRING</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>resourcePath</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>false</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>STRING</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>method</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>true</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>STRING</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>response</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>false</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>INTEGER</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>responseTime</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>false</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>LONG</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>serviceTime</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>false</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>LONG</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>backendTime</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>false</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>LONG</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>username</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>true</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>STRING</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>eventTime</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>false</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>LONG</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>applicationName</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>false</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>STRING</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>applicationId</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>false</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>STRING</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>cacheHit</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>false</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>BOOLEAN</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>responseSize</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>false</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>LONG</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>protocol</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>false</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>STRING</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>responseCode</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>false</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>INTEGER</Type>
      </ColumnDefinition>
      <ColumnDefinition>
         <Name>total_response_count</Name>
         <IsFacet>false</IsFacet>
         <EnableIndexing>false</EnableIndexing>
         <IsPrimaryKey>false</IsPrimaryKey>
         <EnableScoreParam>false</EnableScoreParam>
         <Type>LONG</Type>
      </ColumnDefinition>
   </TableSchema>
   <Source>
      <StreamId>org.wso2.apimgt.statistics.perMinuteResponse:1.0.0</StreamId>
   </Source>
   <MergeSchema>false</MergeSchema>
   <RecordStoreName>EVENT_STORE</RecordStoreName>
</EventStoreConfiguration>