Add rregexmapping operation to config schema.
This commit is contained in:
@@ -32,7 +32,7 @@ $defs:
|
||||
# Mapping
|
||||
- description: >-
|
||||
Map one set of values to another. Returns the value of the `_default`
|
||||
property if no other key matches. For `regexmapping`, the mapping keys
|
||||
property if no other key matches. For `rregexmapping`, the mapping keys
|
||||
are treated as regular expressions.
|
||||
type: object
|
||||
required:
|
||||
@@ -43,8 +43,9 @@ $defs:
|
||||
properties:
|
||||
operation:
|
||||
enum:
|
||||
- mapping
|
||||
- regexmapping
|
||||
- mapping # Exact match
|
||||
- regexmapping # Search term is regex, keys are strings
|
||||
- rregexmapping # Search term is string, keys are regexes
|
||||
_file:
|
||||
type: string
|
||||
_column:
|
||||
|
||||
Reference in New Issue
Block a user