# Schema for Adminbuch about Divesites # Last change: March # 15, 2010 # Created by: Stefan Kania # General guideline: # 1. The language in this file is english # 2. Every OID in this file must look like this: ns.a.b.c., where # ns - the official namespace of the DiveSite schema: # 1.3.6.1.4.1.12345 # a - Reserved, must always be 1 for the DiveSite schema. # b - Entry type (1:attribute, 2:object) # c - Serial number (increased with every new entry) # 3. Every entry in this file MUST have a "DESC" field, containing a # suitable description! # 4. Attributes are listed in front of objects. All entries must be # ordered by their serial number. # 5. All attributenames must start with DivingPlace # This schema is not depending on other schemas # Attribute type definitions attributetype (1.3.6.1.4.1.12345.1.1.1 NAME 'DivingPlaceName' DESC 'Name of the diveplace' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{100} SINGLE-VALUE) attributetype (1.3.6.1.4.1.12345.1.1.2 NAME 'DivingPlacePhoto' DESC 'JPEG photo of the diveplace' SYNTAX 1.3.6.1.4.1.1466.115.121.1.28 SINGLE-VALUE) attributetype (1.3.6.1.4.1.12345.1.1.3 NAME 'DivingPlaceStreetName' DESC 'streetname of the diveplace' EQUALITY caseIgnoreListMatch SUBSTR caseIgnoreListSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 SINGLE-VALUE) attributetype (1.3.6.1.4.1.12345.1.1.4 NAME 'DivingPlaceZipCode' DESC 'Zipcode of diveplace' EQUALITY caseIgnoreListMatch SUBSTR caseIgnoreListSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 SINGLE-VALUE) attributetype (1.3.6.1.4.1.12345.1.1.5 NAME 'DivingPlaceCity' DESC 'Cityname of the diveplace' EQUALITY caseIgnoreListMatch SUBSTR caseIgnoreListSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 SINGLE-VALUE) attributetype (1.3.6.1.4.1.12345.1.1.6 NAME 'DivingPlaceCountry' DESC 'Countryname of the DivingPlace' EQUALITY caseIgnoreListMatch SUBSTR caseIgnoreListSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 SINGLE-VALUE) attributetype (1.3.6.1.4.1.12345.1.1.7 NAME 'DivingPlacePhonenumber' DESC 'Official phonenumber of the diveplace' EQUALITY telephoneNumberMatch SUBSTR telephoneNumberSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.50) attributetype (1.3.6.1.4.1.12345.1.1.8 NAME 'DivingPlaceHomepage' DESC 'Official homepage of the diveplace' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{255}) attributetype (1.3.6.1.4.1.12345.1.1.9 NAME 'DivingPlaceMail' DESC 'Mailaddress of the diveplace' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ) attributetype ( 1.3.6.1.4.1.12345.1.1.10 NAME 'DivingPlaceOK' DESC 'If set to true then the diveplace is ok' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE ) # Objectclass definitions objectclass ( 1.3.6.1.4.1.12345.1.2.1 NAME 'DiveSite' DESC 'Objectclass to manage all divesites' SUP top STRUCTURAL MUST (DivingPlaceName $ DivingPlaceCity) MAY ( DivingPlacePhoto $ DivingPlaceStreetName $ DivingPlaceZipCode $ DivingPlaceCity $ DivingPlaceCountry $ DivingPlacePhonenumber $ DivingPlaceHomepage $ DivingPlaceMail $ DivingPlaceOK) )