{
  "id": "rotas",
  "name": "Rotas — Percursos de Portugal",
  "short_name": "Rotas",
  "description": "1700+ percursos pedestres e cicláveis em Portugal — mapa, filtros e navegação offline.",
  "lang": "pt-PT",
  "start_url": "./index.html",
  "scope": "./",
  "display": "standalone",
  "orientation": "any",
  "background_color": "#1a1f2e",
  "theme_color": "#1a1f2e",
  "categories": ["travel", "navigation", "sports"],
  "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-maskable-192.png", "sizes": "192x192", "type": "image/png", "purpose": "maskable" },
    { "src": "icons/icon-maskable-512.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" },
    { "src": "favicon.svg", "sizes": "any", "type": "image/svg+xml", "purpose": "any" }
  ],
  "shortcuts": [
    {
      "name": "Procurar rota",
      "url": "./index.html",
      "icons": [{ "src": "icons/icon-192.png", "sizes": "192x192" }]
    }
  ],
  "share_target": {
    "action": "./sharetarget",
    "method": "POST",
    "enctype": "multipart/form-data",
    "params": {
      "files": [
        {
          "name": "file",
          "accept": ["application/gpx+xml", "application/octet-stream", "application/xml", "text/xml", ".gpx"]
        }
      ]
    }
  },
  "file_handlers": [
    {
      "action": "./planear/",
      "accept": {
        "application/gpx+xml": [".gpx"],
        "application/octet-stream": [".gpx"],
        "application/xml": [".gpx"],
        "text/xml": [".gpx"]
      }
    }
  ]
}
