# $phpgroupware : phpgwcontact.schema,v 1.0 2000/07/29 01:53:16 milosch Exp $

# REQUIRED
attributetype ( 1.3.6.1.4.1.9554.100
	NAME 'phpgwContactTypeId'
	EQUALITY caseIgnoreMatch
	SUBSTR caseIgnoreSubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{16}
	SINGLE-VALUE )

# REQUIRED
attributetype ( 1.3.6.1.4.1.9554.101
	NAME 'phpgwContactCatId'
	EQUALITY caseIgnoreMatch
	SUBSTR caseIgnoreSubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{16})

# REQUIRED
attributetype ( 1.3.6.1.4.1.9554.102
	NAME 'phpgwContactAccess'
	EQUALITY caseIgnoreMatch
	SUBSTR caseIgnoreSubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024}
	SINGLE-VALUE )

# REQUIRED
attributetype ( 1.3.6.1.4.1.9554.103
	NAME 'phpgwContactOwner'
	EQUALITY numericStringMatch
	SUBSTR numericStringSubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{16}
	SINGLE-VALUE )

# BELOW ARE OPTIONAL
attributetype ( 1.3.6.1.4.1.9554.105
	NAME 'phpgwMiddlename'
	SUP name )

attributetype ( 1.3.6.1.4.1.9554.106
	NAME 'phpgwPrefix'
	SUP name )

attributetype ( 1.3.6.1.4.1.9554.107
	NAME 'phpgwSuffix'
	SUP name )

attributetype ( 1.3.6.1.4.1.9554.108
	NAME 'phpgwAudio'
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.4{25000} )

attributetype ( 1.3.6.1.4.1.9554.109
	NAME 'phpgwBirthday'
	EQUALITY caseIgnoreMatch
	SUBSTR caseIgnoreSubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )

attributetype ( 1.3.6.1.4.1.9554.110
	NAME 'phpgwTz'
	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
	SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.9554.111
	NAME 'phpgwGeo'
 	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
	SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.9554.112
	NAME 'phpgwUrl'
	EQUALITY caseIgnoreMatch
	SUBSTR caseIgnoreSubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )

attributetype ( 1.3.6.1.4.1.9554.113
	NAME 'phpgwPublicKey'
	EQUALITY caseIgnoreMatch
	SUBSTR caseIgnoreSubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )

attributetype ( 1.3.6.1.4.1.9554.114
	NAME 'phpgwAdrOneType'
	EQUALITY caseIgnoreMatch
	SUBSTR caseIgnoreSubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )

attributetype ( 1.3.6.1.4.1.9554.115
	NAME 'phpgwAddressLabel'
	EQUALITY caseIgnoreListMatch
	SUBSTR caseIgnoreListSubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 )

attributetype ( 1.3.6.1.4.1.9554.116
	NAME 'phpgwAdrTwoStreet'
	SUP street )

attributetype ( 1.3.6.1.4.1.9554.117
	NAME 'phpgwAdrTwoLocality'
	SUP l )

attributetype ( 1.3.6.1.4.1.9554.118
	NAME 'phpgwAdrTwoRegion'
	SUP st )

attributetype ( 1.3.6.1.4.1.9554.119
	NAME 'phpgwAdrTwoPostalCode'
	SUP postalcode )

attributetype ( 1.3.6.1.4.1.9554.120
	NAME 'phpgwAdrTwoCountryName'
	SUP friendlyCountryName )

attributetype ( 1.3.6.1.4.1.9554.121
	NAME 'phpgwAdrTwoType'
	SUP phpgwAdrOneType )

attributetype ( 1.3.6.1.4.1.9554.122
	NAME 'phpgwVoiceTelephoneNumber'
	SUP telephonenumber )

attributetype ( 1.3.6.1.4.1.9554.123
	NAME 'phpgwMsgTelephoneNumber'
	SUP telephonenumber )

attributetype ( 1.3.6.1.4.1.9554.124
	NAME 'phpgwPagerTelephoneNumber'
	SUP telephonenumber )
 
attributetype ( 1.3.6.1.4.1.9554.125
	NAME 'phpgwCellTelephoneNumber'
	SUP telephonenumber )
 
attributetype ( 1.3.6.1.4.1.9554.126
	NAME 'phpgwBbsTelephoneNumber'
	SUP telephonenumber )
 
attributetype ( 1.3.6.1.4.1.9554.127
	NAME 'phpgwModemTelephoneNumber'
	SUP telephonenumber )

attributetype ( 1.3.6.1.4.1.9554.128
	NAME 'phpgwMobileTelephoneNumber'
	SUP telephonenumber )
 
attributetype ( 1.3.6.1.4.1.9554.129
	NAME 'phpgwIsdnphoneNumber'
	SUP telephonenumber )

attributetype ( 1.3.6.1.4.1.9554.130
	NAME 'phpgwVideophoneNumber'
	SUP telephonenumber )

attributetype ( 1.3.6.1.4.1.9554.131
	NAME 'phpgwPreferPhone'
	EQUALITY caseExactIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.9554.132
	NAME 'phpgwMailType'
	EQUALITY caseExactIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.9554.133
	NAME 'phpgwMailHome'
	SUP mail )

attributetype ( 1.3.6.1.4.1.9554.134
	NAME 'phpgwMailHomeType'
	SUP phpgwMailType )

# phpgwContact
# The phpgwContact represents people who are associated with a
# phpgw install in some way.  It is a structural class and is derived
# from the inetOrgPerson schema.
objectclass	( 1.3.6.1.4.1.9554.200
	NAME 'phpgwContact'
	DESC 'phpGroupWare Contact Entry'
	MUST(
		uid $ uidnumber $ phpgwContactTypeId $ phpgwContactCatId $
		phpgwContactAccess $ phpgwContactOwner )
	MAY ( cn $ givenname $ sn $ phpgwMiddlename $ phpgwPrefix $
		phpgwSuffix $ phpgwAudio $ phpgwBirthday $ phpgwTz $ phpgwGeo $
		phpgwUrl $ phpgwPublicKey $ o $ ou $ title $ streetaddress $
		l $ st $ postalcode $ friendlyCountryName $ c $ co $ countryname $
		phpgwAdrOneType $ phpgwAddressLabel $
		phpgwAdrTwoStreet $ phpgwAdrTwoLocality $ phpgwAdrTwoRegion $
		phpgwAdrTwoPostalCode $ phpgwAdrTwoCountryName $ phpgwAdrTwoType $
		telephonenumber $ homephone $ phpgwVoiceTelephoneNumber $ facsimiletelephonenumber $
		phpgwMsgTelephoneNumber $ phpgwCellTelephoneNumber $ phpgwPagerTelephoneNumber $
		phpgwBbsTelephoneNumber $ phpgwModemTelephoneNumber $
		phpgwMobileTelephoneNumber $ phpgwIsdnphoneNumber $
		phpgwVideophoneNumber $ phpgwPreferPhone $
		mail $ phpgwMailType $ phpgwMailHome $ phpgwMailHomeType )
	)

