##
## applications-fd.schema - Needed by FusionDirectory for the applications plugin
##
## Maintained by the FusionDirectory Project <contact@fusiondirectory.org>
##

#Attributes
attributetype ( 1.3.6.1.4.1.38414.46.10.1 NAME 'fdApplicationTitle'
  DESC 'FusionDirectory - store the application title'
  EQUALITY caseIgnoreMatch
  SUBSTR caseIgnoreSubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)

attributetype ( 1.3.6.1.4.1.38414.46.10.2 NAME 'fdApplicationImage'
  DESC 'FusionDirectory - Keeps the application icon in png format'
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.28)

attributetype ( 1.3.6.1.4.1.38414.46.10.3 NAME 'fdApplicationImageLocation'
  DESC 'FusionDirectory - store application image/icon location'
  EQUALITY caseIgnoreMatch
  SUBSTR caseIgnoreSubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)

attributetype ( 1.3.6.1.4.1.38414.46.10.4 NAME 'fdApplicationVariables'
  DESC 'FusionDirectory - Store application variables'
  EQUALITY caseIgnoreMatch
  SUBSTR caseIgnoreSubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)

attributetype ( 1.3.6.1.4.1.38414.46.10.5 NAME 'fdApplicationExecutePath'
  DESC 'FusionDirectory - Store the executable path of an application'
  EQUALITY caseIgnoreMatch
  SUBSTR caseIgnoreSubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)

attributetype ( 1.3.6.1.4.1.38414.46.10.6 NAME 'fdApplicationFlags'
  DESC 'FusionDirectory - Specifies the application flags G(roup only), O(replace user config), D(esktop icon), M(enu icon), L(aunch bar)'
  EQUALITY caseIgnoreIA5Match
  SUBSTR caseIgnoreIA5SubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)

attributetype ( 1.3.6.1.4.1.38414.46.11.1 NAME 'fdApplicationAllowed'
  DESC 'FusionDirectory - Applications which this user/role/group is allowed to access'
  EQUALITY caseIgnoreMatch
  SUBSTR caseIgnoreSubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)

#ObjectClasses
objectclass ( 1.3.6.1.4.1.38414.46.2.1 NAME 'fdDesktopApplication'
  DESC 'FusionDirectory - desktop Applications storage for FusionDirectory'
  MUST ( cn $ fdApplicationExecutePath )
  MAY ( fdApplicationTitle $ fdApplicationImage $ fdApplicationFlags $
        fdApplicationVariables $ description ))

objectclass ( 1.3.6.1.4.1.38414.46.2.2 NAME 'fdWebApplication'
  DESC 'FusionDirectory - Web Applications storage for FusionDirectory'
  MUST ( cn $ labeledURI )
  MAY ( fdApplicationTitle $ fdApplicationImage $ fdApplicationImageLocation $ description ))

objectclass ( 1.3.6.1.4.1.38414.46.2.3 NAME 'fdApplicationRights'
  SUP top AUXILIARY
  DESC 'FusionDirectory - Applications user rights'
  MUST ( fdApplicationAllowed )
  MAY (  ))
