{
  "name": "PokéDex Scanner — Card Collection Manager",
  "short_name": "PokéDex",
  "description": "Scan, catalog, and manage your Pokémon card collection with OCR and card detection technology.",
  "start_url": "./index.html",
  "scope": "./",
  "display": "standalone",
  "display_override": ["window-controls-overlay", "standalone", "minimal-ui"],
  "orientation": "any",
  "theme_color": "#ED1C24",
  "background_color": "#050510",
  "dir": "ltr",
  "lang": "en-US",
  "categories": ["utilities", "entertainment"],
  "icons": [
    {
      "src": "icons/icon-192x192.png",
      "sizes": "192x192",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "icons/icon-512x512.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "icons/icon-maskable-192x192.png",
      "sizes": "192x192",
      "type": "image/png",
      "purpose": "maskable"
    },
    {
      "src": "icons/icon-maskable-512x512.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "maskable"
    }
  ],
  "shortcuts": [
    {
      "name": "Scan Card",
      "short_name": "Scan",
      "description": "Open the camera scanner",
      "url": "/pokedex_project/?view=scanner",
      "icons": [{ "src": "icons/icon-192x192.png", "sizes": "192x192" }]
    },
    {
      "name": "My Collection",
      "short_name": "Collection",
      "description": "Browse your card collection",
      "url": "/pokedex_project/?view=collection",
      "icons": [{ "src": "icons/icon-192x192.png", "sizes": "192x192" }]
    }
  ],
  "share_target": {
    "action": "/pokedex_project/?action=share",
    "method": "POST",
    "enctype": "multipart/form-data",
    "params": {
      "files": [
        {
          "name": "image",
          "accept": ["image/*", ".jpg", ".jpeg", ".png", ".webp"]
        }
      ]
    }
  },
  "file_handlers": [
    {
      "action": "/pokedex_project/?action=open",
      "accept": {
        "image/jpeg": [".jpg", ".jpeg"],
        "image/png": [".png"],
        "image/webp": [".webp"]
      }
    }
  ]
}
