JSON Schema

The JSON Schema Provider provides the ability to configure customized JSON query matching rules.

The core schema provides a default 'jsonQueryMatch' equality matching rule for JSON values which match JSON strings according to the LDAP 'caseIgnoreMatch' semantics (i.e trim white space and ignore case differences), as well as the indexing of all JSON fields. This schema provider allows users to create custom JSON matching rules which may use different string matching semantics and, more importantly, may only index a restricted set of JSON fields, thereby consuming less backend resources.

Parent

The JSON Schema object inherits from Schema Provider.

Properties

Use the --advanced option to access advanced properties.

Basic Properties

case-sensitive-strings

SynopsisIndicates whether JSON string comparisons should be case-sensitive.
Default Valuefalse
Allowed Valuestrue
false
Multi-valuedNo
RequiredNo
Admin Action RequiredNone
AdvancedNo
Read-OnlyNo

enabled

SynopsisIndicates whether the Schema Provider is enabled for use.
Default ValueNone
Allowed Valuestrue
false
Multi-valuedNo
RequiredYes
Admin Action RequiredNone
AdvancedNo
Read-OnlyNo

ignore-white-space

SynopsisIndicates whether JSON string comparisons should ignore white-space.
DescriptionWhen enabled all leading and trailing white space will be removed and intermediate white space will be reduced to a single character.
Default Valuetrue
Allowed Valuestrue
false
Multi-valuedNo
RequiredNo
Admin Action RequiredNone
AdvancedNo
Read-OnlyNo

indexed-field

SynopsisSpecifies which JSON fields should be indexed.
DescriptionA field will be indexed if it matches any of the configured field patterns.
Default ValueAll JSON fields will be indexed.
Allowed ValuesA JSON pointer which may include wild-cards. A single '*' wild-card matches at most a single path element, whereas a double '**' matches zero or more path elements.
Multi-valuedYes
RequiredNo
Admin Action RequiredNone
AdvancedNo
Read-OnlyNo

matching-rule-name

SynopsisThe name of the custom JSON matching rule.
Default ValueThe matching rule will not have a name.
Allowed ValuesA string.
Multi-valuedNo
RequiredNo
Admin Action RequiredNone
AdvancedNo
Read-OnlyNo

matching-rule-oid

SynopsisThe numeric OID of the custom JSON matching rule.
Default ValueNone
Allowed ValuesThe OID of the matching rule.
Multi-valuedNo
RequiredYes
Admin Action RequiredNone
AdvancedNo
Read-OnlyNo

Advanced Properties

java-class

SynopsisSpecifies the fully-qualified name of the Java class that provides the JSON Schema implementation.
Default Valueorg.opends.server.schema.JsonSchemaProvider
Allowed ValuesA Java class that extends or implements:
org.opends.server.schema.SchemaProvider
Multi-valuedNo
RequiredYes
Admin Action RequiredNone
AdvancedYes
Read-OnlyNo