<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<EventStoreConfiguration>
	<TableSchema>
		<ColumnDefinition>
			<Name>api_version</Name>
			<EnableIndexing>false</EnableIndexing>
			<IsPrimaryKey>true</IsPrimaryKey>
			<EnableScoreParam>false</EnableScoreParam>
			<Type>STRING</Type>
		</ColumnDefinition>
		<ColumnDefinition>
			<Name>userId</Name>
			<EnableIndexing>false</EnableIndexing>
			<IsPrimaryKey>true</IsPrimaryKey>
			<EnableScoreParam>false</EnableScoreParam>
			<Type>STRING</Type>
		</ColumnDefinition>
		<ColumnDefinition>
			<Name>consumerKey</Name>
			<EnableIndexing>false</EnableIndexing>
			<IsPrimaryKey>true</IsPrimaryKey>
			<EnableScoreParam>false</EnableScoreParam>
			<Type>STRING</Type>
		</ColumnDefinition>
		<ColumnDefinition>
			<Name>resourceTemplate</Name>
			<EnableIndexing>false</EnableIndexing>
			<IsPrimaryKey>true</IsPrimaryKey>
			<EnableScoreParam>false</EnableScoreParam>
			<Type>STRING</Type>
		</ColumnDefinition>
		<ColumnDefinition>
			<Name>method</Name>
			<EnableIndexing>false</EnableIndexing>
			<IsPrimaryKey>true</IsPrimaryKey>
			<EnableScoreParam>false</EnableScoreParam>
			<Type>STRING</Type>
		</ColumnDefinition>
		<ColumnDefinition>
			<Name>requestsPerMinUpperPercentile</Name>
			<EnableIndexing>false</EnableIndexing>
			<IsPrimaryKey>false</IsPrimaryKey>
			<EnableScoreParam>false</EnableScoreParam>
			<Type>DOUBLE</Type>
		</ColumnDefinition>
		<ColumnDefinition>
			<Name>requestsPerMinLowerPercentile</Name>
			<EnableIndexing>false</EnableIndexing>
			<IsPrimaryKey>false</IsPrimaryKey>
			<EnableScoreParam>false</EnableScoreParam>
			<Type>DOUBLE</Type>
		</ColumnDefinition>
	</TableSchema>
	<Source>
		<StreamId>org.wso2.analytics.apim.requestPercentile:1.0.0</StreamId>
	</Source>
	<MergeSchema>false</MergeSchema>
	<RecordStoreName>EVENT_STORE</RecordStoreName>
</EventStoreConfiguration>