{
  "name": "DokuFluss",
  "short_name": "DokuFluss",
  "description": "Intelligentes Dokumentenmanagement für den Mittelstand",
  "start_url": "/",
  "scope": "/",
  "id": "/",
  "display": "standalone",
  "display_override": ["window-controls-overlay", "standalone", "minimal-ui"],
  "background_color": "#ffffff",
  "theme_color": "#0071E3",
  "orientation": "any",
  "categories": ["business", "productivity", "finance"],
  "lang": "de",
  "dir": "ltr",
  "prefer_related_applications": false,
  "icons": [
    { "src": "/icons/icon-192.png", "sizes": "192x192", "type": "image/png", "purpose": "any" },
    { "src": "/icons/icon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "any" },
    { "src": "/icons/icon-192.png", "sizes": "192x192", "type": "image/png", "purpose": "maskable" },
    { "src": "/icons/icon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" }
  ],
  "shortcuts": [
    {
      "name": "Beleg scannen",
      "short_name": "Scan",
      "description": "Foto eines Belegs aufnehmen und in den Posteingang legen",
      "url": "/inbox?action=capture",
      "icons": [{ "src": "/icons/icon-192.png", "sizes": "192x192" }]
    },
    {
      "name": "Zeit erfassen",
      "short_name": "Zeit",
      "description": "Zeiterfassung für ein Projekt starten",
      "url": "/timetracking?action=start",
      "icons": [{ "src": "/icons/icon-192.png", "sizes": "192x192" }]
    },
    {
      "name": "Neue Rechnung",
      "short_name": "Rechnung",
      "description": "Ausgangsrechnung anlegen",
      "url": "/invoice-creator",
      "icons": [{ "src": "/icons/icon-192.png", "sizes": "192x192" }]
    },
    {
      "name": "Posteingang",
      "short_name": "Inbox",
      "description": "Eingehende Belege bearbeiten",
      "url": "/inbox",
      "icons": [{ "src": "/icons/icon-192.png", "sizes": "192x192" }]
    }
  ],
  "share_target": {
    "action": "/share",
    "method": "POST",
    "enctype": "multipart/form-data",
    "params": {
      "title": "title",
      "text": "text",
      "url": "url",
      "files": [
        {
          "name": "file",
          "accept": [
            "application/pdf",
            "image/jpeg",
            "image/png",
            "image/heic",
            "image/heif",
            "image/webp",
            "message/rfc822",
            ".eml",
            ".pdf",
            ".jpg",
            ".jpeg",
            ".png",
            ".heic"
          ]
        }
      ]
    }
  },
  "file_handlers": [
    {
      "action": "/inbox?source=file",
      "accept": {
        "application/pdf": [".pdf"],
        "image/jpeg": [".jpg", ".jpeg"],
        "image/png": [".png"],
        "image/heic": [".heic"],
        "image/webp": [".webp"],
        "message/rfc822": [".eml"]
      },
      "icons": [{ "src": "/icons/icon-192.png", "sizes": "192x192", "type": "image/png" }],
      "launch_type": "single-client"
    }
  ],
  "protocol_handlers": [
    {
      "protocol": "web+dokufluss",
      "url": "/handle?u=%s"
    }
  ],
  "edge_side_panel": {
    "preferred_width": 400
  },
  "launch_handler": {
    "client_mode": ["focus-existing", "auto"]
  }
}
