1{
2 "title": "Images upload input",
3 "type": "object",
4 "schemaVersion": 1,
5 "required": ["datasetId", "pathToImageUrls", "proxyConfiguration"],
6 "properties": {
7 "datasetId": {
8 "title": "Dataset Id",
9 "type": "string",
10 "description": "Id of the dataset on Apify where the data are located. Image URLs will be extracted from there. YOu can find it under the run or in the dataset url link.",
11 "editor": "textfield",
12 "prefill": "BJ1QEU6wepLqFPerV"
13 },
14 "pathToImageUrls": {
15 "title": "Name of the field where image URLs are located",
16 "type": "string",
17 "description": "Name if the field (array or string) where the image URL(s) is/are located. Most often image or images. If more complicated, follow the \"javascript style\", e.g. \"details[0].images\n",
18 "editor": "textfield",
19 "prefill": "image"
20 },
21 "limit": {
22 "title": "Limit",
23 "type": "integer",
24 "description": "Max items to load from the dataset. Use with `offset` to paginate over the data (can reduce memory requirement of large loads).",
25 "minimum": 1,
26 "prefill": 10
27 },
28 "fileNameFunction": {
29 "title": "Filename function",
30 "type": "string",
31 "description": "Function that specifies how will be image filename created from its URL. If you keep this empty, it will be md5 hash of the URL.",
32 "editor": "javascript",
33 "prefill": "({url, md5}) => md5(url)",
34 "sectionCaption": "Advanced settings"
35 },
36 "proxyConfiguration": {
37 "title": "Proxy configuration",
38 "type": "object",
39 "description": "Select proxies to be used.",
40 "prefill": {
41 "useApifyProxy": true
42 },
43 "editor": "proxy"
44 }
45 }
46}