Code

Added mime definitions for applications
[gosa.git] / 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 |. i.e. /usr/bin/gimp|1
31 attributetype ( 1.3.6.1.4.1.10098.1.1.14.4 NAME 'gotoMimeEmbeddedApplication'
32         DESC 'Assigned application and priority for embedded applications'
33         EQUALITY caseIgnoreIA5Match
34         SUBSTR caseIgnoreIA5SubstringsMatch
35         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
37 # Encoded left click action for filebrowsers, etc. This can be either:
38 #  I: show in embedded viewer
39 #  E: show in external viewer
40 #  O: take settings from global mime group
41 #  These fields are taken as OR. Additionally you can add a
42 #  Q: to ask wether a question should pop up - to save it to
43 #     the local disc or not.
44 attributetype ( 1.3.6.1.4.1.10098.1.1.14.5 NAME 'gotoMimeLeftClickAction'
45         DESC 'GOto - Gonicus Terminal Concept, PPD data'
46         EQUALITY caseIgnoreIA5Match
47         SUBSTR caseIgnoreIA5SubstringsMatch
48         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
50 # Save binary png icon here
51 attributetype ( 1.3.6.1.4.1.10098.1.1.14.6 NAME 'gotoMimeIcon'
52         DESC 'Specify the mime icon'
53         SYNTAX 1.3.6.1.4.1.1466.115.121.1.28 SINGLE-VALUE)
55 objectclass (1.3.6.1.4.1.10098.1.2.4.1 NAME 'gotoMimeType'
56         DESC 'Class to represent global mime types (v2.5)' SUP top STRUCTURAL
57         MUST ( cn $ gotoMimeFilePattern $ gotoMimeGroup )
58         MAY  ( description $ gotoMimeIcon $ gotoMimeApplication $
59                gotoMimeEmbeddedApplication $ gotoMimeLeftClickAction ))