<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<EventStoreConfiguration>
    <TableSchema>
        <ColumnDefinition>
            <Name>meta_tenantId</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>true</EnableIndexing>
            <IsPrimaryKey>true</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>INTEGER</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>contextId</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>true</EnableIndexing>
            <IsPrimaryKey>true</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>STRING</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>eventId</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>false</EnableIndexing>
            <IsPrimaryKey>true</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>STRING</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>eventType</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>true</EnableIndexing>
            <IsPrimaryKey>true</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>STRING</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>authenticationSuccess</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>true</EnableIndexing>
            <IsPrimaryKey>false</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>BOOLEAN</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>username</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>true</EnableIndexing>
            <IsPrimaryKey>false</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>STRING</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>localUsername</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>true</EnableIndexing>
            <IsPrimaryKey>false</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>STRING</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>userStoreDomain</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>true</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>remoteIp</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>true</EnableIndexing>
            <IsPrimaryKey>false</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>STRING</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>region</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>true</EnableIndexing>
            <IsPrimaryKey>false</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>STRING</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>inboundAuthType</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>false</EnableIndexing>
            <IsPrimaryKey>false</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>STRING</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>serviceProvider</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>true</EnableIndexing>
            <IsPrimaryKey>false</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>STRING</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>rememberMeEnabled</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>false</EnableIndexing>
            <IsPrimaryKey>false</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>BOOLEAN</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>forceAuthEnabled</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>false</EnableIndexing>
            <IsPrimaryKey>false</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>BOOLEAN</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>passiveAuthEnabled</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>false</EnableIndexing>
            <IsPrimaryKey>false</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>BOOLEAN</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>rolesCommaSeparated</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>true</EnableIndexing>
            <IsPrimaryKey>false</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>STRING</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>authenticationStep</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>false</EnableIndexing>
            <IsPrimaryKey>false</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>STRING</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>identityProvider</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>true</EnableIndexing>
            <IsPrimaryKey>false</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>STRING</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>authStepSuccess</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>true</EnableIndexing>
            <IsPrimaryKey>false</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>BOOLEAN</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>stepAuthenticator</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>false</EnableIndexing>
            <IsPrimaryKey>false</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>STRING</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>isFirstLogin</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>true</EnableIndexing>
            <IsPrimaryKey>false</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>BOOLEAN</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>identityProviderType</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>true</EnableIndexing>
            <IsPrimaryKey>false</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>STRING</Type>
        </ColumnDefinition>
    </TableSchema>
    <Source>
        <StreamId>org.wso2.is.analytics.stream.ProcessedOverallAuthentication:1.0.0</StreamId>
    </Source>
    <MergeSchema>false</MergeSchema>
    <RecordStoreName>EVENT_STORE_WO</RecordStoreName>
</EventStoreConfiguration>
