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