feat: implement StaySense MVP backend, frontend, imports, and deployment docs
This commit is contained in:
commit
902988276c
24 changed files with 2536 additions and 0 deletions
42
docs/open_data_sources.json
Normal file
42
docs/open_data_sources.json
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
"sources": [
|
||||
{
|
||||
"id": "local_template_csv",
|
||||
"enabled": true,
|
||||
"format": "csv",
|
||||
"file": "open_data_events_template.csv",
|
||||
"source_name": "stadt_mettmann_template",
|
||||
"field_map": {
|
||||
"lat": "lat",
|
||||
"lon": "lon",
|
||||
"event_type": "event_type",
|
||||
"start_datetime": "start_datetime",
|
||||
"end_datetime": "end_datetime",
|
||||
"risk_modifier": "risk_modifier"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "nrw_portal_placeholder_json",
|
||||
"enabled": false,
|
||||
"format": "json",
|
||||
"url": "https://example-opendata.nrw.example/api/events.json",
|
||||
"json_path": "items",
|
||||
"source_name": "open_data_nrw",
|
||||
"field_map": {
|
||||
"external_id": "id",
|
||||
"lat": "latitude",
|
||||
"lon": "longitude",
|
||||
"event_type": "category",
|
||||
"start_datetime": "start",
|
||||
"end_datetime": "end",
|
||||
"risk_modifier": "risk"
|
||||
},
|
||||
"event_type_map": {
|
||||
"abfall": "waste",
|
||||
"markt": "market",
|
||||
"veranstaltung": "event",
|
||||
"baustelle": "construction"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue