forked from petrpatek/tripadvisor-scraper
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathINPUT_SCHEMA.json
56 lines (56 loc) · 1.71 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
{
"title": "TripAdvisor API/Scrapper input",
"description": "To unleashed the full power of the scrapper/API use the options bellow!",
"type": "object",
"schemaVersion": 1,
"properties": {
"locationFullName": {
"title": "Location",
"type": "string",
"description": "Location name as you would enter to TripAdvisor search. Actor takes the first result as desired location",
"default": "Prague",
"editor": "textfield"
},
"lastReviewDate": {
"title": "Reviews since date",
"type": "string",
"description": "It is a date where the scrapper stops loading older reviews ",
"default": "2019-01-01",
"prefill": "2019-01-01",
"editor": "textfield"
},
"includeRestaurants": {
"title": "Include restaurants",
"type": "boolean",
"description": "If checked results includes restaurants for given location.",
"default": true,
"groupCaption": "Options",
"groupDescription": "Information that will be included"
},
"includeHotels": {
"title": "Include Hotels",
"type": "boolean",
"description": "If checked results includes hotels for given location.",
"default": true
},
"includeReviews": {
"title": "Include reviews",
"type": "boolean",
"description": "If checked results includes reviews data",
"default": false
},
"hotelId": {
"title": "Hotel id",
"type": "string",
"description": "Id of hotel",
"editor": "hidden"
},
"restaurantId": {
"title": "Restaurant id",
"type": "string",
"description": "Id of restaurant",
"editor": "hidden"
}
},
"required": ["locationFullName", "includeReviews"]
}