# h320Identity Object Schema
#
# Schema for representing h320Identity Object in an LDAP Directory
# 
# Abstract
# 
# This document defines the schema for representing h320Identity 
# object in an LDAP directory [LDAPv3].  It defines schema elements
# to represent an h320Identity object [h320Identity].
# 
#                     .1 = Communication related work
#                     .1.5 = h320Identity
#                     .1.5.1 = attributes
#                     .1.5.2 = objectclass
#                     .1.5.3 = syntax
#
#
#
# Attribute Type Definitions
# 
#    The following attribute types are defined in this document:
# 
#        h320IdentityCC
#        h320IdentityNDC
#        h320IdentitySN
#        h320IdentityServiceLevel
#        h320IdentityExtension
dn: cn=schema 
changetype: modify 
#
# if you need to change the definition of an attribute, 
#            then first delete and re-add in one step
#
# if this is the first time you are adding the h320Identity
# objectclass using this LDIF file, then you should comment
# out the delete attributetypes modification since this will
# fail. Alternatively, if your ldapmodify has a switch to continue
# on errors, then just use that switch -- if you're careful
#
delete: attributetypes
attributetypes: (0.0.8.350.1.1.5.1.1 NAME 'h320IdentityCC' ) 
attributetypes: (0.0.8.350.1.1.5.1.4 NAME 'h320IdentityNDC' ) 
attributetypes: (0.0.8.350.1.1.5.1.5 NAME 'h320IdentitySN' ) 
attributetypes: (0.0.8.350.1.1.5.1.2 NAME 'h320IdentityServiceLevel' ) 
attributetypes: (0.0.8.350.1.1.5.1.3 Name 'h320IdentityExtension' ) 
-
#
# re-add the attributes -- in case there is a change of definition
#
# 
add: attributetypes 
attributetypes: (0.0.8.350.1.1.5.1.1 
     NAME 'h320IdentityCC' 
     DESC 'Country Code' 
     EQUALITY caseIgnoreIA5Match 
     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{3} ) 
attributetypes: (0.0.8.350.1.1.5.1.4 
     NAME 'h320IdentityNDC' 
     DESC 'National Destination Code' 
     EQUALITY caseIgnoreIA5Match 
     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{15} ) 
attributetypes: (0.0.8.350.1.1.5.1.5 
     NAME 'h320IdentitySN' 
     DESC 'Subscriber Number' 
     EQUALITY caseIgnoreIA5Match 
     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{15} ) 
attributetypes: (0.0.8.350.1.1.5.1.2 
     NAME 'h320IdentityServiceLevel' 
     DESC 'To define services that a user can belong to.' 
     EQUALITY caseIgnoreMatch 
     SUBSTR caseIgnoreSubstringsMatch 
     SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) 
attributetypes: (0.0.8.350.1.1.5.1.3 
     NAME 'h320IdentityExtension' 
     DESC 'Extension of terminal required to dial after initial PTSN
 address is connected.' 
     EQUALITY caseIgnoreMatch 
     SUBSTR caseIgnoreSubstringsMatch 
     SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{120} ) 
-
# Object Class Definitions
# 
#    The following object class is defined in this document:
# 
#        h320Identity
# 
# h320Identity
#  
#
delete: objectclasses
objectclasses: (0.0.8.350.1.1.5.2.1 NAME 'h320Identity' ) 
-
add: objectclasses 
objectclasses: (0.0.8.350.1.1.5.2.1 
     NAME 'h320Identity' 
     DESC 'h320Identity object' 
     SUP top AUXILIARY 
     MAY ( h320IdentityCC $ h320IdentityNDC $ h320IdentitySN $
      h320IdentityServiceLevel $ h320IdentityExtension ) 
     ) 
-
#
# end of LDIF
#
