tps/sample_discovercard/mapdef.json

20 lines
413 B
JSON
Raw Normal View History

2018-05-24 16:56:34 -04:00
{
2018-05-25 02:25:36 -04:00
"srce": "dcard",
"sequence": 1,
2018-05-24 16:56:34 -04:00
"defn": [
{
"key": "{Description}",
"map": "y",
2018-05-25 02:25:36 -04:00
"flag": "",
2018-05-24 16:56:34 -04:00
"field": "f20",
"regex": ".{1,20}",
"retain": "y"
}
],
"name": "First 20",
"where": [
{}
],
"function": "extract",
"description": "pull first 20 characters from description for mapping"
}