<!--
 ~ Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 ~
 ~ WSO2 Inc. licenses this file to you under the Apache License,
 ~ Version 2.0 (the "License"); you may not use this file except
 ~ in compliance with the License.
 ~ You may obtain a copy of the License at
 ~
 ~    http://www.apache.org/licenses/LICENSE-2.0
 ~
 ~ Unless required by applicable law or agreed to in writing,
 ~ software distributed under the License is distributed on an
 ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 ~ KIND, either express or implied.  See the License for the
 ~ specific language governing permissions and limitations
 ~ under the License.
 -->
<ClaimConfig>
    <Dialects>
        <Dialect dialectURI="http://wso2.org/claims">
            <Claim>
                <ClaimURI>http://wso2.org/claims/userid</ClaimURI>
                <DisplayName>User ID</DisplayName>
                <AttributeID>scimId</AttributeID>
                <Description>Unique ID of the user</Description>
                <ReadOnly/>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/externalid</ClaimURI>
                <DisplayName>External User ID</DisplayName>
                <AttributeID>externalId</AttributeID>
                <Description>Unique ID of the user used in external systems</Description>
                <ReadOnly/>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/created</ClaimURI>
                <DisplayName>Created Time</DisplayName>
                <AttributeID>createdDate</AttributeID>
                <Description>Created timestamp of the user</Description>
                <ReadOnly/>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/modified</ClaimURI>
                <DisplayName>Last Modified Time</DisplayName>
                <AttributeID>lastModifiedDate</AttributeID>
                <Description>Last Modified timestamp of the user</Description>
                <ReadOnly/>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/location</ClaimURI>
                <DisplayName>Location</DisplayName>
                <AttributeID>location</AttributeID>
                <Description>Location</Description>
            </Claim>

            <Claim>
                <ClaimURI>http://wso2.org/claims/formattedName</ClaimURI>
                <DisplayName>Name - Formatted Name</DisplayName>
                <AttributeID>formattedName</AttributeID>
                <Description>Formatted Name</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/middleName</ClaimURI>
                <DisplayName>Middle Name</DisplayName>
                <AttributeID>middleName</AttributeID>
                <Description>Middle Name</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/honorificPrefix</ClaimURI>
                <DisplayName>Name - Honoric Prefix</DisplayName>
                <AttributeID>honoricPrefix</AttributeID>
                <Description>Honoric Prefix</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/honorificSuffix</ClaimURI>
                <DisplayName>Name - Honoric Suffix</DisplayName>
                <AttributeID>honoricSuffix</AttributeID>
                <Description>Honoric Suffix</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/userType</ClaimURI>
                <DisplayName>User Type</DisplayName>
                <AttributeID>userType</AttributeID>
                <Description>User Type</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/preferredLanguage</ClaimURI>
                <DisplayName>Preferred Language</DisplayName>
                <AttributeID>preferredLanguage</AttributeID>
                <Description>Preferred Language</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/local</ClaimURI>
                <DisplayName>Local</DisplayName>
                <AttributeID>local</AttributeID>
                <Description>Local</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/timeZone</ClaimURI>
                <DisplayName>Time Zone</DisplayName>
                <AttributeID>timeZone</AttributeID>
                <Description>Time Zone</Description>
            </Claim>

            <Claim>
                <ClaimURI>http://wso2.org/claims/emails.work</ClaimURI>
                <DisplayName>Emails - Work Email</DisplayName>
                <AttributeID>workEmail</AttributeID>
                <Description>Work Email</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/emails.home</ClaimURI>
                <DisplayName>Emails - Home Email</DisplayName>
                <AttributeID>homeEmail</AttributeID>
                <Description>Home Email</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/emails.other</ClaimURI>
                <DisplayName>Emails - Other Email</DisplayName>
                <AttributeID>otherEmail</AttributeID>
                <Description>Other Email</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/phoneNumbers</ClaimURI>
                <DisplayName>Phone Numbers</DisplayName>
                <AttributeID>phoneNumbers</AttributeID>
                <Description>Phone Numbers</Description>
                <RegEx>^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$</RegEx>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/phoneNumbers.home</ClaimURI>
                <DisplayName>Phone Numbers - Home Phone Number</DisplayName>
                <AttributeID>homePhone</AttributeID>
                <Description>Home Phone</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/phoneNumbers.work</ClaimURI>
                <DisplayName>Phone Numbers - Work Phone Number</DisplayName>
                <AttributeID>workPhone</AttributeID>
                <Description>Work Phone</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/phoneNumbers.fax</ClaimURI>
                <DisplayName>Phone Numbers - Fax Number</DisplayName>
                <AttributeID>fax</AttributeID>
                <Description>Fax Number</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/phoneNumbers.pager</ClaimURI>
                <DisplayName>Phone Numbers - Pager Number</DisplayName>
                <AttributeID>pager</AttributeID>
                <Description>Pager Number</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/phoneNumbers.other</ClaimURI>
                <DisplayName>Phone Numbers - Other</DisplayName>
                <AttributeID>otherPhoneNumber</AttributeID>
                <Description>Other Phone Number</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/gtalk</ClaimURI>
                <DisplayName>IM - Gtalk</DisplayName>
                <AttributeID>imGtalk</AttributeID>
                <Description>IM - Gtalk</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/skype</ClaimURI>
                <DisplayName>IM - Skype</DisplayName>
                <AttributeID>imSkype</AttributeID>
                <Description>IM - Skype</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/photos</ClaimURI>
                <DisplayName>Photo</DisplayName>
                <AttributeID>photos</AttributeID>
                <Description>Photo</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/photourl</ClaimURI>
                <DisplayName>Photo URIL</DisplayName>
                <AttributeID>photoUrl</AttributeID>
                <Description>Photo URL</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/thumbnail</ClaimURI>
                <DisplayName>Photo - Thumbnail</DisplayName>
                <AttributeID>thumbnail</AttributeID>
                <Description>Photo - Thumbnail</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/addresses</ClaimURI>
                <DisplayName>Address</DisplayName>
                <AttributeID>addresses</AttributeID>
                <Description>Address</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/addresses.formatted</ClaimURI>
                <DisplayName>Address - Formatted</DisplayName>
                <AttributeID>formattedAddress</AttributeID>
                <Description>Address - Formatted</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/addresses.locality</ClaimURI>
                <DisplayName>Address - Locality</DisplayName>
                <AttributeID>localityAddress</AttributeID>
                <Description>Address - Locality</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/groups</ClaimURI>
                <DisplayName>Groups</DisplayName>
                <AttributeID>groups</AttributeID>
                <Description>Groups</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/identity/verifyEmail</ClaimURI>
                <DisplayName>Verify Email</DisplayName>
                <AttributeID>manager</AttributeID>
                <Description>Temporary claim to invoke email verified feature</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/identity/askPassword</ClaimURI>
                <DisplayName>Ask Password</DisplayName>
                <AttributeID>postOfficeBox</AttributeID>
                <Description>Temporary claim to invoke email ask Password feature</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/identity/adminForcedPasswordReset</ClaimURI>
                <DisplayName>Force Password Reset</DisplayName>
                <AttributeID>departmentNumber</AttributeID>
                <Description>Temporary claim to invoke email force password feature</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/entitlements</ClaimURI>
                <DisplayName>Entitlements</DisplayName>
                <AttributeID>entitlements</AttributeID>
                <Description>Entitlements</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/x509Certificates</ClaimURI>
                <DisplayName>X509Certificates</DisplayName>
                <AttributeID>x509Certificates</AttributeID>
                <Description>X509Certificates</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/identity/failedPasswordRecoveryAttempts</ClaimURI>
                <DisplayName>Failed Password Recovery Attempts</DisplayName>
                <AttributeID>postalCode</AttributeID>
                <Description>Number of consecutive failed attempts done for password recovery</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/identity/emailVerified</ClaimURI>
                <DisplayName>Email Verified</DisplayName>
                <!-- Proper attribute Id in your user store must be configured for this -->
                <AttributeID>postalAddress</AttributeID>
                <Description>Email Verified</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/identity/failedLoginLockoutCount</ClaimURI>
                <DisplayName>Failed Lockout Count</DisplayName>
                <!-- Proper attribute Id in your user store must be configured for this -->
                <AttributeID>employeeNumber</AttributeID>
                <Description>Failed Lockout Count</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/identity/lastLogonTime</ClaimURI>
                <DisplayName>Last Logon</DisplayName>
                <!-- Proper attribute Id in your user store must be configured for this -->
                <AttributeID>carLicense</AttributeID>
                <Description>Last Logon Time</Description>
            </Claim>
            <Claim>
                <ClaimURI>http://wso2.org/claims/active</ClaimURI>
                <DisplayName>Active</DisplayName>
                <AttributeID>active</AttributeID>
                <Description>Status of the account</Description>
            </Claim>
        </Dialect>
    </Dialects>
</ClaimConfig>
