{
  "id": "affordacalc-mortgage-calculator",
  "name": "AffordaCalc: Mortgage Calculator",
  "short_name": "AffordaCalc",
  "start_url": "https://affordacalc.com/",
  "pwa_features": {
    "background_sync": true,
    "offline_capability": true,
    "periodic_sync": true,
    "push_notifications": true
  },
  "display": "standalone",
  "background_color": "#ffffff",
  "theme_color": "#3B82F6",
  "icons": [
    {
      "src": "/icon-192.png",
      "sizes": "192x192",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/icon-512.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/icon-maskable-192.png",
      "sizes": "192x192",
      "type": "image/png",
      "purpose": "maskable"
    },
    {
      "src": "/icon-maskable-512.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "maskable"
    }
  ],
  "screenshots": [
    {
      "src": "/screenshots/calculator-screen.png",
      "sizes": "1280x800",
      "type": "image/png",
      "platform": "wide",
      "label": "Mortgage Calculator Screen"
    },
    {
      "src": "/screenshots/amortization-screen.png",
      "sizes": "1280x800",
      "type": "image/png", 
      "platform": "wide",
      "label": "Amortization Schedule"
    }
  ],
  "description": "Calculate mortgage affordability with precision for Canadian & US markets.",
  "related_applications": [],
  "categories": ["finance", "utilities"],
  "orientation": "portrait",
  "prefer_related_applications": false,
  "launch_handler": {
    "client_mode": "auto"
  },
  "display_override": ["window-controls-overlay", "standalone"],
  "handle_links": "preferred",
  "dir": "ltr",
  "lang": "en",
  "scope": "/",
  "iarc_rating_id": "e84b072d-71b3-4d3e-86ae-31a8ce4e53b7",
  "scope_extensions": [
    {"origin": "https://affordacalc.com"}
  ],
  "shortcuts": [
    {
      "name": "Calculate Mortgage",
      "short_name": "Calculate",
      "description": "Start a new mortgage calculation",
      "url": "/calculator",
      "icons": [{ "src": "/icon-192.png", "sizes": "192x192" }]
    }
  ],
  "permissions": ["background-sync", "periodic-background-sync", "notifications", "storage", "offline"],
  "features": [
    "Background Sync",
    "Periodic Background Sync", 
    "Push Notifications",
    "Offline Capability"
  ],
  "background_sync": {
    "apis": [
      {
        "name": "Background Sync API",
        "url": "/background-sync-test.html"
      },
      {
        "name": "Standard Background Sync",
        "url": "/standard-sync-test.html"
      },
      {
        "name": "Workbox Background Sync",
        "url": "/workbox-sync-test.html"
      },
      {
        "name": "Periodic Background Sync",
        "url": "/periodic-sync-test.html"
      }
    ]
  },
  "push_notification": {
    "enabled": true,
    "test_url": "/push-notification-test.html"
  },
  "offline_enabled": true
}