add sample map def
This commit is contained in:
parent
8ec04081b9
commit
6de5ece3d0
18
interface/map_def/test/mapdef.json
Normal file
18
interface/map_def/test/mapdef.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"defn": [
|
||||
{
|
||||
"key": "{Description}",
|
||||
"map": "y",
|
||||
"flag": "g",
|
||||
"field": "f20",
|
||||
"regex": ".{1,20}",
|
||||
"retain": "y"
|
||||
}
|
||||
],
|
||||
"name": "First 20",
|
||||
"where": [
|
||||
{}
|
||||
],
|
||||
"function": "extract",
|
||||
"description": "pull first 20 characters from description for mapping"
|
||||
}
|
Loading…
Reference in New Issue
Block a user