-
Notifications
You must be signed in to change notification settings - Fork 10
/
datasets_config.json.example
34 lines (34 loc) · 1.39 KB
/
datasets_config.json.example
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
{
"storage": "/drive/folder/subfolder",
"sortMemory": "4G",
"organization": {
"id": "https://example.org/your/URL",
"name": "Data publisher name"
},
"datasets":[
{
"companyName": "company x",
"keywords": ["Train", "Linked Connections"],
"geographicArea": "http://sws.geonames.org/2802361",
"downloadUrl": "http://...",
"downloadOnLaunch": true,
"updatePeriod": "0 0 3 28 * *",
"fragmentSize": 1000,
"realTimeData": {
"downloadUrl": "http://...",
"headers": { "apiKeyHeader": "my_api_key" },
"updatePeriod": "*/30 * * * * *",
"fragmentTimeSpan": 600,
"compressionPeriod": "* * * * * *",
"indexStore": "LevelStore",
"deduce": false
},
"baseURIs": {
"stop": "http://example.org/stations/{stops.stop_id}",
"connection": "http://example.org/connections/{routes.route_short_name}{trips.trip_short_name}/{trips.startTime(yyyyMMdd)}/{connection.departureStop}",
"trip": "http://example.org/vehicle/{routes.route_short_name}{trips.trip_short_name}/{trips.startTime(yyyyMMdd)}",
"route": "http://example.org/routes/{routes.route_short_name}{trips.trip_short_name}"
}
}
]
}