Code

Created trunk inside of 2.6-lhm
[gosa.git] / trunk / gosa-core / contrib / openldap / goto-mime.schema
1 ##
2 ## goto-mime.schema - Needed by the GONICUS Terminal concept
3 ##
4 ## Maintainer:  Cajus Pollmeier (pollmeier@GONICUS.de)
5 ##
7 # Basic list of mime groups:
8 #   application audio chemical image inode message model multipart
9 #   text video x-conference x-world
10 attributetype ( 1.3.6.1.4.1.10098.1.1.14.1 NAME 'gotoMimeGroup'
11         DESC 'IANA defined mime group'
12         EQUALITY caseIgnoreIA5Match
13         SUBSTR caseIgnoreIA5SubstringsMatch
14         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
16 # File extensions without search patterns. i.e. png, jpg, xcf
17 attributetype ( 1.3.6.1.4.1.10098.1.1.14.2 NAME 'gotoMimeFilePattern'
18         DESC 'File extensions for mime types'
19         EQUALITY caseIgnoreIA5Match
20         SUBSTR caseIgnoreIA5SubstringsMatch
21         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
23 # Coded application and priority seperated by |. i.e. /usr/bin/gimp|1
24 attributetype ( 1.3.6.1.4.1.10098.1.1.14.3 NAME 'gotoMimeApplication'
25         DESC 'Assigned application and priority'
26         EQUALITY caseIgnoreIA5Match
27         SUBSTR caseIgnoreIA5SubstringsMatch
28         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
30 # Coded application and priority seperated by |.
31 # i.e. cn=gimp,ou=apps,dc=gonicus,dc=de|1
32 attributetype ( 1.3.6.1.4.1.10098.1.1.14.4 NAME 'gotoMimeEmbeddedApplication'
33         DESC 'Assigned application and priority for embedded applications'
34         EQUALITY caseIgnoreIA5Match
35         SUBSTR caseIgnoreIA5SubstringsMatch
36         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
38 # Encoded left click action for filebrowsers, etc. This can be either:
39 #  I: show in embedded viewer
40 #  E: show in external viewer
41 #  O: take settings from global mime group
42 #  These fields are taken as OR. Additionally you can add a
43 #  Q: to ask wether a question should pop up - to save it to
44 #     the local disc or not.
45 attributetype ( 1.3.6.1.4.1.10098.1.1.14.5 NAME 'gotoMimeLeftClickAction'
46         DESC 'GOto - Gonicus Terminal Concept, PPD data'
47         EQUALITY caseIgnoreIA5Match
48         SUBSTR caseIgnoreIA5SubstringsMatch
49         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
51 # Save binary png icon here
52 attributetype ( 1.3.6.1.4.1.10098.1.1.14.6 NAME 'gotoMimeIcon'
53         DESC 'Specify the mime icon'
54         SYNTAX 1.3.6.1.4.1.1466.115.121.1.28 SINGLE-VALUE)
56 objectclass (1.3.6.1.4.1.10098.1.2.4.1 NAME 'gotoMimeType'
57         DESC 'Class to represent global mime types (v2.6.1)' SUP top STRUCTURAL
58         MUST ( cn $ gotoMimeFilePattern $ gotoMimeGroup )
59         MAY  ( description $ gotoMimeIcon $ gotoMimeApplication $
60                gotoMimeEmbeddedApplication $ gotoMimeLeftClickAction ))