##
## goto-mime.schema - Needed by the GONICUS Terminal concept
##
## Maintainer:	Cajus Pollmeier	(pollmeier@GONICUS.de)
##

# Basic list of mime groups:
#   application audio chemical image inode message model multipart
#   text video x-conference x-world
attributetype ( 1.3.6.1.4.1.10098.1.1.14.1 NAME 'gotoMimeGroup'
        DESC 'IANA defined mime group'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreIA5SubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)

# File extensions without search patterns. i.e. png, jpg, xcf
attributetype ( 1.3.6.1.4.1.10098.1.1.14.2 NAME 'gotoMimeFilePattern'
        DESC 'File extensions for mime types'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreIA5SubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)

# Coded application and priority seperated by |. i.e. /usr/bin/gimp|1
attributetype ( 1.3.6.1.4.1.10098.1.1.14.3 NAME 'gotoMimeApplication'
        DESC 'Assigned application and priority'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreIA5SubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)

# Coded application and priority seperated by |.
# i.e. cn=gimp,ou=apps,dc=gonicus,dc=de|1
attributetype ( 1.3.6.1.4.1.10098.1.1.14.4 NAME 'gotoMimeEmbeddedApplication'
        DESC 'Assigned application and priority for embedded applications'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreIA5SubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)

# Encoded left click action for filebrowsers, etc. This can be either:
#  I: show in embedded viewer
#  E: show in external viewer
#  O: take settings from global mime group
#  These fields are taken as OR. Additionally you can add a
#  Q: to ask wether a question should pop up - to save it to
#     the local disc or not.
attributetype ( 1.3.6.1.4.1.10098.1.1.14.5 NAME 'gotoMimeLeftClickAction'
        DESC 'GOto - Gonicus Terminal Concept, PPD data'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreIA5SubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)

# Save binary png icon here
attributetype ( 1.3.6.1.4.1.10098.1.1.14.6 NAME 'gotoMimeIcon'
        DESC 'Specify the mime icon'
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.28 SINGLE-VALUE)

objectclass (1.3.6.1.4.1.10098.1.2.4.1 NAME 'gotoMimeType'
        DESC 'Class to represent global mime types (v2.6.1)' SUP top STRUCTURAL
        MUST ( cn $ gotoMimeFilePattern $ gotoMimeGroup )
        MAY  ( description $ gotoMimeIcon $ gotoMimeApplication $
	       gotoMimeEmbeddedApplication $ gotoMimeLeftClickAction ))

