From 6de5ece3d070938e7e0526b3bc1cc533470b61c4 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Thu, 24 May 2018 16:56:34 -0400 Subject: [PATCH] add sample map def --- interface/map_def/test/mapdef.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 interface/map_def/test/mapdef.json diff --git a/interface/map_def/test/mapdef.json b/interface/map_def/test/mapdef.json new file mode 100644 index 0000000..b085cee --- /dev/null +++ b/interface/map_def/test/mapdef.json @@ -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" +} \ No newline at end of file