1{
2 "title": "Scrape data from a web page",
3 "type": "object",
4 "schemaVersion": 1,
5 "properties": {
6 "datasetId": {
7 "sectionCaption": "Source dataset",
8 "title": "Dataset ID",
9 "type": "string",
10 "description": "Id of dataset that should be forwarded",
11 "editor": "textfield"
12 },
13 "datasetFieldName": {
14 "title": "Dataset field name",
15 "type": "string",
16 "description": "Name of the dataset field",
17 "editor": "textfield"
18 },
19 "targetType": {
20 "sectionCaption": "Target",
21 "title": "Type",
22 "type": "string",
23 "description": "Select if the target is Actor or task",
24 "editor": "select",
25 "enum": ["ACTOR", "TASK"],
26 "enumTitles": ["Actor", "Task"],
27 "prefill": "TASK"
28 },
29 "targetId": {
30 "title": "Target ID or name",
31 "type": "string",
32 "description": "",
33 "editor": "textfield"
34 },
35 "targetFieldName": {
36 "title": "Field name",
37 "type": "string",
38 "description": "Name of the field on input of target Actor or task that the dataset should be mapped to.",
39 "editor": "textfield"
40 },
41 "format": {
42 "title": "Format",
43 "description": "Pick the format that should be used. Corresponds to target field format.",
44 "type": "string",
45 "editor": "select",
46 "enum": ["stringList", "requestListSources"],
47 "enumTitles": ["String list", "Request list sources"],
48 "prefill": "stringList"
49 },
50 "inputOverride": {
51 "title": "Input override",
52 "type": "object",
53 "description": "Input override",
54 "editor": "json"
55 },
56 "optionsOverride": {
57 "title": "Options override",
58 "type": "object",
59 "description": "Options override",
60 "editor": "json"
61 }
62 },
63 "required": ["datasetId", "datasetFieldName", "format", "targetFieldName", "targetType", "targetId"]
64}