...
Below is the proposed SIMP OID subtree showing the parent OIDs for attributes and class objects needed for the SIMP DIT.
...
LDAP
...
Custom Schema
DIT Option 1
The proposed custom schema for DIT option 1 is shown below. It has a custom object class , simpkvEntry
, that is comprised of two custom attributes, simpkvKey
and simpkvJsonValue
.
simpkvKey
is case-invariant string that for the key.This is used as the final RDN of the DN for a key/value node.
simpkvJsonValue
is a case-sensitive string to for the JSON-formatted value.In the future, we could write a custom syntax validator for this attribute.
Code Block |
---|
################################################################################
#
dn: cn=schema
#
################################################################################
#
attributeTypes: (
1.3.6.1.5.1.47012.1.1.1.1.1.1
NAME 'simpkvKey'
DESC 'key'
SUP name
SINGLE-VALUE
X-ORIGIN 'SIMP simpkv'
)
#
################################################################################
#
attributeTypes: (
1.3.6.1.5.1.47012.1.1.1.1.1.2
NAME 'simpkvJsonValue'
DESC 'JSON-formatted value'
EQUALITY caseExactMatch
SUBSTR caseExactSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE
X-ORIGIN 'SIMP simpkv'
)
#
################################################################################
#
objectClasses: (
1.3.6.1.5.1.47012.1.1.1.1.2.1
NAME 'simpkvEntry'
DESC 'simpkv entry'
SUP top
STRUCTURAL
MUST ( simpkvKey $ simpkvJsonValue )
X-ORIGIN 'SIMP simpkv'
) |
The corresponding SIMP OID subtree is as follows:
DIT Option 2
Technologies for Plugin Implementation
...