spec.json
1{
2 "class": "CsvStringParser",
3 "description": "Parse headerless UTF-8 CSV text bytes to string records. Params: delimiter, schema; absent schema generates _0, _1, etc. Input stream replaces PiFlow string property.",
4 "params": {
5 "delimiter": ";",
6 "schema": "station,temp"
7 },
8 "inputs": {
9 "source": {
10 "representations": [
11 "bytes"
12 ],
13 "formats": []
14 }
15 },
16 "outputs": {
17 "result": {
18 "representations": [
19 "records"
20 ],
21 "formats": [
22 "arrow"
23 ]
24 }
25 },
26 "mode": "streaming",
27 "test": "csv_string_parser",
28 "parameters": {
29 "type": "object",
30 "properties": {
31 "delimiter": {
32 "type": "string",
33 "description": "delimiter parameter. Parse headerless UTF-8 CSV text bytes to string records. Params: delimiter, schema; absent schema generates _0, _1, etc. Input stream replaces PiFlow string property.",
34 "default": ",",
35 "minLength": 1,
36 "maxLength": 1
37 },
38 "schema": {
39 "type": "string",
40 "description": "schema parameter. Parse headerless UTF-8 CSV text bytes to string records. Params: delimiter, schema; absent schema generates _0, _1, etc. Input stream replaces PiFlow string property.",
41 "default": ""
42 }
43 },
44 "required": [],
45 "additionalProperties": false
46 },
47 "icon": {
48 "path": "M8 5 3 12l5 7m8-14 5 7-5 7M14 4l-4 16"
49 }
50}