{
  "name": "LegalMate - AI Legal Research Assistant",
  "short_name": "LegalMate",
  "description": "AI-powered legal research assistant for New Zealand law. Get instant answers to legal questions with comprehensive NZ legislation access.",
  "start_url": "/",
  "display": "standalone",
  "orientation": "portrait-primary",
  "theme_color": "#2563eb",
  "background_color": "#ffffff",
  "lang": "en-NZ",
  "scope": "/",
  "categories": [
    "business",
    "productivity",
    "education",
    "legal"
  ],
  "icons": [
    {
      "src": "/assets/images/icon-192x192.png",
      "sizes": "192x192",
      "type": "image/png",
      "purpose": "any maskable"
    },
    {
      "src": "/assets/images/icon-512x512.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "any maskable"
    }
  ],
  "shortcuts": [
    {
      "name": "Legal Search",
      "short_name": "Search",
      "description": "Search New Zealand legislation and legal resources",
      "url": "/dashboard?action=search"
    },
    {
      "name": "Book Consultation",
      "short_name": "Book",
      "description": "Schedule a legal consultation",
      "url": "/bookings"
    },
    {
      "name": "Pricing Plans",
      "short_name": "Pricing",
      "description": "View LegalMate subscription plans",
      "url": "/pricing"
    }
  ],
  "prefer_related_applications": false,
  "edge_side_panel": {
    "preferred_width": 400
  },
  "protocol_handlers": [
    {
      "protocol": "web+legalmate",
      "url": "/search?q=%s"
    }
  ],
  "handle_links": "preferred",
  "launch_handler": {
    "client_mode": "focus-existing"
  },
  "file_handlers": [
    {
      "action": "/upload",
      "accept": {
        "application/pdf": [".pdf"],
        "text/plain": [".txt"],
        "application/msword": [".doc"],
        "application/vnd.openxmlformats-officedocument.wordprocessingml.document": [".docx"]
      },
      "launch_type": "single-client"
    }
  ],
  "share_target": {
    "action": "/share",
    "method": "POST",
    "enctype": "multipart/form-data",
    "params": {
      "title": "title",
      "text": "text", 
      "url": "url",
      "files": [
        {
          "name": "legal-document",
          "accept": ["application/pdf", "text/plain", ".doc", ".docx"]
        }
      ]
    }
  }
}