Initial TCA commit into DCAEGEN2
[dcaegen2/analytics/tca.git] / dcae-analytics-cdap-plugins / widgets / JsonPathFilter-transform.json
1 {
2   "metadata": {
3     "spec-version": "1.0"
4   },
5   "configuration-groups": [
6     {
7       "label": "JSON Path Filter",
8       "properties": [
9         {
10           "widget-type": "textbox",
11           "label": "Reference Name",
12           "name": "referenceName",
13           "widget-attributes": {
14             "default": "JsonPathFilter"
15           }
16         },
17         {
18           "widget-type": "textbox",
19           "label": "Input Field Name",
20           "name": "incomingJsonFieldName"
21         },
22         {
23           "widget-type": "textbox",
24           "label": "Output Schema Field Name",
25           "name": "outputSchemaFieldName"
26         },
27         {
28           "widget-type": "keyvalue",
29           "label": "Json Path Filter Mappings",
30           "name": "jsonFilterMappings",
31           "widget-attributes": {
32             "showDelimiter": "false"
33           }
34         }
35       ]
36     }
37   ],
38   "outputs": [
39     {
40       "name": "schema",
41       "label": "schema",
42       "widget-type": "schema",
43       "widget-attributes": {
44         "schema-types": [
45           "boolean",
46           "int",
47           "long",
48           "float",
49           "double",
50           "bytes",
51           "string"
52         ],
53         "schema-default-type": "string",
54         "property-watch": "format"
55       }
56     }
57   ]
58 }