Open
Description
An example of very commonly seen business logic for property value validation is based on dependencies of one property on another. For example, here is the definition for an edgeGram
tokenizer
"tokenizer": {
"type": "edgeGram",
"minGram": 5,
"maxGram": 10
}
An expectation is that minGram
<= maxGram
. However, this rule is currently not possible to install directly using the schema, because there is no way to do this in JSON schema specification
We will need to install this rule during the validation phase (no squiggly red lines) of the index before it gets submitted to mongot unless we resort to dynamic injection (doesn't sound worthwhile for this).
Metadata
Metadata
Assignees
Labels
No labels