Source code

Download source archive ↓

spec.json

1{
2  "class": "MockData",
3  "description": "Random Arrow records. source is a trigger stream consumed and discarded (matching upstream unused default input); output independent of input. Params schema e.g. name:String,age:Int,optional:Double:true; count string0..1000000. Types String/Int/Long/Float/Double/Boolean. Batches1024.",
4  "params": {
5    "schema": "name:String,age:Int,temperature:Double:true",
6    "count": "100"
7  },
8  "inputs": {
9    "source": {
10      "representations": [
11        "records"
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": "mock_data",
28  "parameters": {
29    "type": "object",
30    "properties": {
31      "schema": {
32        "type": "string",
33        "description": "schema parameter. Random Arrow records. source is a trigger stream consumed and discarded (matching upstream unused default input); output independent of input. Params schema e.g. name:String,age:Int,optional:Double:true; count string0..1000000. Types String/Int/Long/Float/Double/Boolean. Batches1024."
34      },
35      "count": {
36        "type": "string",
37        "description": "count parameter. Random Arrow records. source is a trigger stream consumed and discarded (matching upstream unused default input); output independent of input. Params schema e.g. name:String,age:Int,optional:Double:true; count string0..1000000. Types String/Int/Long/Float/Double/Boolean. Batches1024."
38      }
39    },
40    "required": [
41      "schema",
42      "count"
43    ],
44    "additionalProperties": false
45  },
46  "icon": {
47    "path": "M3 5h18v14H3zM3 10h18M3 14h18M9 5v14"
48  }
49}