-
Notifications
You must be signed in to change notification settings - Fork 0
/
INPUT_SCHEMA.json
123 lines (123 loc) · 4.51 KB
/
INPUT_SCHEMA.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"title": "This actor must be runned only from other actors",
"type": "object",
"schemaVersion": 1,
"properties": {
"searchtext": {
"title": "Address or administrative area",
"type": "string",
"description": "Address or administrative area as free text",
"editor": "textfield",
"sectionCaption": "Address of area",
"sectionDescription": "Provide address to find coordinates and get up to 100 places or ALL recursively"
},
"isRecursiveSearch": {
"title": "Recursive Search",
"type": "boolean",
"description": "Works only when max results set to 100, will split address area by half until all possible results available",
"default": false
},
"category": {
"title": "Get places of specified type",
"description": "Check for more options at https://developer.here.com/documentation/places/dev_guide/topics/categories.html",
"enum": [
"",
"+",
"800-8100-0163",
"500-5000-0000",
"administrative-areas-buildings",
"eat-drink",
"going-out",
"sights-museums",
"transport",
"accommodation",
"shopping",
"leisure-outdoor",
"natural-geographical",
"petrol-station",
"atm-bank-exchange",
"toilet-rest-area",
"hospital-health-care-facility"
],
"enumTitles": [
"ALL FP PLACES",
"ALL HERE PLACES",
"PDS City halls",
"PDS Hotel or Motel",
"Administrative buildings",
"eat-drink",
"going-out",
"sights-museums",
"transport",
"accommodation",
"shopping",
"leisure-outdoor",
"natural-geographical",
"petrol-station",
"atm-bank-exchange",
"toilet-rest-area",
"hospital-health-care-facility"
],
"type": "string",
"editor": "select",
"default": "",
"example": "",
"prefill": ""
},
"lat": {
"title": "Latitude",
"type": "string",
"description": "Use instead of search by address",
"editor": "textfield",
"sectionCaption": "Latitude-Longitude coordinates with radius",
"sectionDescription": "Instead address you can specify location directly"
},
"lng": {
"title": "Longitude",
"type": "string",
"description": "Use instead of search by address",
"editor": "textfield"
},
"radiusMeters": {
"title": "Search radius",
"type": "integer",
"description": "Radius from geocoded or custom coordinates, if 0 search is limited by approx 300km distance",
"editor": "number",
"minimum": 0
},
"proxy": {
"title": "Proxy configuration",
"type": "object",
"description": "<strong>A proxy server is required to run this actor!</strong> Either use an Apify residential proxy, or provide your own proxy servers. Datacenter proxies will not work.",
"prefill": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
},
"editor": "proxy",
"sectionCaption": "Proxy and scraper configuration",
"sectionDescription": ""
},
"maxResults": {
"title": "Search results",
"type": "integer",
"description": "Max results for search",
"editor": "number",
"default": 100,
"minimum": 1,
"maximum": 100
},
"maxRequestRetries": {
"title": "Max request retries",
"type": "integer",
"description": "Select how many times the page will be retried if the scraper is blocked or encounters other errors.",
"default": 9
},
"debugLog": {
"title": "Debug Log",
"type": "boolean",
"description": "Show data processing log, otherwise only errors will be displayed",
"default": false
}
},
"required": ["proxy"]
}