# RFC2739 calEntry schema for OpenLDAP 2.x 

#
# From https://bugs.gentoo.org/show_bug.cgi?id=83988
# Please notify us of updated revisions by submitting a bug report at bugs.gentoo.org
#

# Version of RFC 2739 schema translated by Terrelle Shaw 
# (xytek@xytek.org) # Nov. 7, 2002 # Modifications by Peter Marschall
# <peter.marschall@adpm.de> # Nov. 9, 2002

# Notes:
# * RFC2739 seems to be a bit sloppy about attribute type and
#   objectclass definitions syntax and also about attribute syntax
#   and matching rules.
#   (It even counts the attributes in the calEntry objectclass wrong ;-)
# * The following changes have been applied to correct the schema
#   - added description to each attributetype definition
#   - changed SYNTAX from 'IA5String' to corresponding OID
#     to make matching rules and syntax consistent
#   - replaced illegal keyword SUBSTRING by SUBSTR
#   - changed SUBSTR from caseIgnoreIA5Match to caseIgnoreIA5SubstringsMatch
#   - removed illegal keyword MULTI-VALUE
#   - added keyword SINGLE-VALUE where appropriate
#   - removed USAGE since cwuserApplications is the default 
#   - added description to the objectclass defintion
#   - corrected typo in objectclass definition
#   - added the attributetypes defined but not used to the objectclass


# 2.4.4.1 calCalURI
attributetype ( 1.2.840.113556.1.4.478 
	NAME 'calCalURI' 
	DESC 'URI to a snapshot of the users entire default calendar'
	EQUALITY caseIgnoreIA5Match 
	SUBSTR caseIgnoreIA5SubstringsMatch 
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
	SINGLE-VALUE )

# 2.4.4.2 calFBURL
attributetype ( 1.2.840.113556.1.4.479
	NAME 'calFBURL'
	DESC 'URI to the users default free/busy time data'
	EQUALITY caseIgnoreIA5Match
	SUBSTR caseIgnoreIA5SubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
	SINGLE-VALUE )

# 2.4.4.3 calCAPURI
attributetype ( 1.2.840.113556.1.4.480
	NAME 'calCAPURI'
	DESC 'URI used to communicate with the users calendar'
	EQUALITY caseIgnoreIA5Match
	SUBSTR caseIgnoreIA5SubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
	SINGLE-VALUE )

# 2.4.4.4 calCalAdrURI
attributetype ( 1.2.840.113556.1.4.481
	NAME 'calCalAdrURI'
	DESC 'URI to which event requests should be sent for the user'
	EQUALITY caseIgnoreIA5Match
	SUBSTR caseIgnoreIA5SubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
	SINGLE-VALUE )

# 2.4.4.5 calOtherCalURIs
attributetype ( 1.2.840.113556.1.4.482
	NAME 'calOtherCalURIs'
	DESC 'URIs to snapshots of non-default calendars belonging to the user'
	EQUALITY caseIgnoreIA5Match
	SUBSTR caseIgnoreIA5SubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

# 2.4.4.6 calOtherFBURLs
attributetype ( 1.2.840.113556.1.4.483
	NAME 'calOtherFBURLs'
	DESC 'URIs to non-default free/busy data belonging to the user'
	EQUALITY caseIgnoreIA5Match
	SUBSTR caseIgnoreIA5SubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

# 2.4.4.7 calOtherCAPURIs
attributetype ( 1.2.840.113556.1.4.484
	NAME 'calOtherCAPURIs'
	DESC 'URIs to non-default calendars belonging to the user'
	EQUALITY caseIgnoreIA5Match
	SUBSTR caseIgnoreIA5SubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

# 2.4.4.8 calOtherCalAdrURIs
attributetype ( 1.2.840.113556.1.4.485
	NAME 'calOtherCalAdrURIs'
	DESC 'URIs of destinations for event requests to non-default calendars'
	EQUALITY caseIgnoreIA5Match
	SUBSTR caseIgnoreIA5SubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

# 2.4.3.1 calEntry
objectclass ( 1.2.840.113556.1.5.87
	NAME 'calEntry'
	DESC 'Calendering and free/busy information'
	SUP top AUXILIARY
	MAY ( calCalURI $ calFBURL $ calCAPURI $ calCalAdrURI $
		calOtherCAPURIs $ calOtherCalURIs $ calOtherFBURLs $ 
		calOtherCalAdrURIs ) )

# EOF
