{
  "id": "/?source=pwa",
  "name": "آنی — پلتفرم هوشمند",
  "short_name": "آنی",
  "description": "پلتفرم هوشمند آنی — غذا، خودرو، خرید، خدمات، پارکینگ، سفر و ۳۳ ماژول",
  "lang": "fa",
  "dir": "rtl",
  "start_url": "/?source=pwa",
  "scope": "/",
  "display": "standalone",
  "display_override": ["window-controls-overlay", "standalone", "minimal-ui"],
  "orientation": "portrait-primary",
  "background_color": "#0b1219",
  "theme_color": "#2d7a5f",
  "categories": ["food", "shopping", "lifestyle", "travel", "business"],
  "prefer_related_applications": false,
  "handle_links": "preferred",
  "launch_handler": {
    "client_mode": ["navigate-existing", "auto"]
  },
  "scope_extensions": [
    { "type": "origin", "origin": "https://ani.example" }
  ],
  "icons": [
    {
      "src": "/img/pwa-72.png",
      "sizes": "72x72",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/img/pwa-96.png",
      "sizes": "96x96",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/img/pwa-128.png",
      "sizes": "128x128",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/img/pwa-144.png",
      "sizes": "144x144",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/img/pwa-152.png",
      "sizes": "152x152",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/img/pwa-192.png",
      "sizes": "192x192",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/img/pwa-384.png",
      "sizes": "384x384",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/img/pwa-512.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/img/pwa-maskable-512.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "maskable"
    },
    {
      "src": "/img/pwa-192.png",
      "sizes": "192x192",
      "type": "image/png",
      "purpose": "monochrome"
    }
  ],
  "screenshots": [
    {
      "src": "/img/og-image.png",
      "sizes": "1200x630",
      "type": "image/png",
      "form_factor": "wide",
      "label": "آنی — پلتفرم هوشمند"
    }
  ],
  "shortcuts": [
    {
      "name": "آنی کباب",
      "short_name": "کباب",
      "description": "سفارش آنلاین غذای آنی کباب",
      "url": "/shop.html?brand=kabab&source=shortcut",
      "icons": [
        { "src": "/img/pwa-192.png", "sizes": "192x192", "type": "image/png" }
      ]
    },
    {
      "name": "آنی خودرو",
      "short_name": "خودرو",
      "description": "درخواست سفر با آنی خودرو",
      "url": "/ani-car.html?source=shortcut",
      "icons": [
        { "src": "/img/pwa-192.png", "sizes": "192x192", "type": "image/png" }
      ]
    },
    {
      "name": "سفارش‌های من",
      "short_name": "سفارش‌ها",
      "description": "پیگیری سفارش‌های جاری",
      "url": "/orders.html?source=shortcut",
      "icons": [
        { "src": "/img/pwa-192.png", "sizes": "192x192", "type": "image/png" }
      ]
    },
    {
      "name": "کیف پول",
      "short_name": "کیف",
      "description": "موجودی، آنی‌کوین و توکن",
      "url": "/wallet.html?source=shortcut",
      "icons": [
        { "src": "/img/pwa-192.png", "sizes": "192x192", "type": "image/png" }
      ]
    },
    {
      "name": "پارکینگ",
      "short_name": "پارکینگ",
      "description": "رزرو جایگاه پارکینگ",
      "url": "/parking.html?source=shortcut",
      "icons": [
        { "src": "/img/pwa-192.png", "sizes": "192x192", "type": "image/png" }
      ]
    },
    {
      "name": "پنل‌ها",
      "short_name": "پنل‌ها",
      "description": "دسترسی به همه پنل‌های مدیریتی",
      "url": "/panels.html?source=shortcut",
      "icons": [
        { "src": "/img/pwa-192.png", "sizes": "192x192", "type": "image/png" }
      ]
    }
  ],
  "share_target": {
    "action": "/share-target",
    "method": "POST",
    "enctype": "multipart/form-data",
    "params": {
      "title": "title",
      "text": "text",
      "url": "url",
      "files": [
        {
          "name": "media",
          "accept": ["image/*", "audio/*", "video/*"]
        }
      ]
    }
  },
  "protocol_handlers": [
    {
      "protocol": "web+ani",
      "url": "/handle-protocol?url=%s"
    }
  ],
  "file_handlers": [
    {
      "action": "/open-file",
      "accept": {
        "application/pdf": [".pdf"]
      }
    }
  ],
  "edge_side_panel": {
    "preferred_width": 400
  }
}
