{
  "id": "/",
  "name": "Min väg",
  "short_name": "Min väg",
  "description": "Mående, mediciner och min historia — inför varje läkarbesök",
  "start_url": "/",
  "scope": "/",
  "display": "standalone",
  "background_color": "#f7efe2",
  "theme_color": "#f7efe2",
  "lang": "sv",
  "icons": [
    { "src": "icon-192.png", "sizes": "192x192", "type": "image/png", "purpose": "any" },
    { "src": "icon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "any" },
    { "src": "icon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" }
  ],
  "launch_handler": { "client_mode": "navigate-existing" },
  "shortcuts": [
    { "name": "Hur mår du idag?", "short_name": "Logga", "url": "/?view=log", "icons": [{ "src": "icon-192.png", "sizes": "192x192" }] },
    { "name": "Mina mediciner", "short_name": "Mediciner", "url": "/?view=meds", "icons": [{ "src": "icon-192.png", "sizes": "192x192" }] },
    { "name": "Inför besöket", "short_name": "Besöket", "url": "/?view=visit", "icons": [{ "src": "icon-192.png", "sizes": "192x192" }] }
  ],
  "share_target": {
    "action": "/share-target",
    "method": "POST",
    "enctype": "multipart/form-data",
    "params": {
      "title": "title",
      "text": "text",
      "files": [{ "name": "files", "accept": ["image/*", "application/pdf"] }]
    }
  }
}
