{
  "name": "Varmacy",
  "short_name": "Varmacy",
  "id": "/?source=pwa",
  "scope": "/",
  "scope_extensions": [
    { "origin": "https://*.vercel.app" },
    { "origin": "https://*.run.app" },
    { "origin": "https://varmacy.vercel.app" }
  ],
  "categories": ["education", "medical", "health"],
  "prefer_related_applications": false,
  "related_applications": [
    {
      "platform": "webapp",
      "url": "https://varmacy.vercel.app/manifest.json"
    }
  ],
  "iarc_rating_id": "e84b072d-71b3-4d3e-86ae-31a8ce4e53b7",
  "start_url": "/",
  "display": "standalone",
  "orientation": "any",
  "background_color": "#ffffff",
  "theme_color": "#1cb0f6",
  "lang": "ar",
  "dir": "rtl",
  "description": "تطبيق محاكاة وتدريب صيدلاني بأسلوب تفاعلي",
  "icons": [
    {
      "src": "icons/icon-192.png",
      "sizes": "192x192",
      "type": "image/png"
    },
    {
      "src": "icons/icon-512.png",
      "sizes": "512x512",
      "type": "image/png"
    },
    {
      "src": "icons/icon-maskable-192.png",
      "sizes": "192x192",
      "type": "image/png",
      "purpose": "any maskable"
    },
    {
      "src": "icons/icon-maskable-512.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "any maskable"
    }
  ],
  "screenshots": [
    {
      "src": "screenshots/desktop.png",
      "sizes": "1280x720",
      "type": "image/png",
      "form_factor": "wide",
      "label": "Desktop view of Varmacy"
    },
    {
      "src": "screenshots/mobile.png",
      "sizes": "720x1280",
      "type": "image/png",
      "form_factor": "narrow",
      "label": "Mobile view of Varmacy"
    }
  ],
  "shortcuts": [
    {
      "name": "New Patient",
      "short_name": "Patient",
      "description": "Start a new patient simulation",
      "url": "/?action=new_patient",
      "icons": [{ "src": "icons/icon-192.png", "sizes": "192x192", "type": "image/png" }]
    }
  ],
  "launch_handler": {
    "client_mode": "focus-existing"
  },
  "share_target": {
    "action": "/share",
    "method": "POST",
    "enctype": "multipart/form-data",
    "params": {
      "title": "title",
      "text": "text",
      "url": "url"
    }
  },
  "protocol_handlers": [
    {
      "protocol": "web+pharmacy",
      "url": "/?open=%s"
    }
  ],
  "edge_side_panel": {
    "preferred_width": 400
  },
  "note_taking": {
    "new_note_url": "/?action=new_note"
  },
  "file_handlers": [
    {
      "action": "/",
      "accept": {
        "application/json": [".json"]
      }
    }
  ],
  "widgets": [
    {
      "name": "صيدلاني",
      "short_name": "صيدلاني",
      "description": "Widget for Pharmacy App",
      "tag": "pharmacist-widget",
      "ms_ac_template": "/widgets/template.json",
      "data": "/widgets/data.json",
      "type": "application/json"
    }
  ]
}
