#using namespace 1.3.6.1.4.1.10176.3000.*

# copied from core.schema : mail / rfc822Mailbox
attributetype ( 1.3.6.1.4.1.10176.3000.101
	NAME 'univentionPasswordSelfServiceEmail'
	DESC 'Email address for password recovery'
	EQUALITY caseIgnoreIA5Match
	SUBSTR caseIgnoreIA5SubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} SINGLE-VALUE )

# copied from cosine.schema : mobile / mobileTelephoneNumber
attributetype ( 1.3.6.1.4.1.10176.3000.102
	NAME 'univentionPasswordSelfServiceMobile'
	DESC 'Mobile number for password recovery'
	EQUALITY telephoneNumberMatch
	SUBSTR telephoneNumberSubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.50 )

attributetype ( 1.3.6.1.4.1.10176.3000.103
	NAME 'univentionPasswordRecoveryEmailVerified'
	DESC 'Boolean for verification state'
	EQUALITY booleanMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.10176.3000.104
	NAME 'univentionRegisteredThroughSelfService'
	DESC 'Boolean for self-registration status'
	EQUALITY booleanMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.10176.3000.105
	NAME 'univentionDeregisteredThroughSelfService'
	DESC 'Boolean for self-deregistration status'
	EQUALITY booleanMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.10176.3000.106
	NAME 'univentionDeregistrationTimestamp'
	DESC 'Timestamp of the moment the user requested deregistration of his account'
	EQUALITY generalizedTimeMatch
	ORDERING generalizedTimeOrderingMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 SINGLE-VALUE )

objectclass ( 1.3.6.1.4.1.10176.3000.100 NAME 'univentionPasswordSelfService'
	DESC 'Data for the password reset service'
	SUP top AUXILIARY
	MAY ( univentionPasswordSelfServiceEmail $ univentionPasswordSelfServiceMobile $ univentionPasswordRecoveryEmailVerified $ univentionRegisteredThroughSelfService $ univentionDeregisteredThroughSelfService $ univentionDeregistrationTimestamp) )
