{
  "$schema": "https://plus.solberg.is/schema/manifest.json",
  "site": "vordur.is",
  "title": "Vörður tryggingar (Mínar síður)",
  "description": "Insurance harvester: policies (Mínar tryggingar), claims history, payments, the no-claims counter and the travel certificate — from the Mínar síður portal. Session-based, email+password handoff in a headed window.",
  "version": "0.1.1",
  "author": "jokull <https://github.com/jokull>",
  "license": "MIT",
  "tags": [
    "insurance",
    "finance",
    "policies"
  ],
  "identities": [
    "policyholder",
    "viewer"
  ],
  "origins": [
    "https://vordur.is"
  ],
  "auth": [
    {
      "id": "browser-session",
      "type": "session",
      "description": "Email (netfang) + password (lykilorð) login in a HEADED agent-browser window. The portal is a Next.js SPA with no public API — ops run inside the session via eval.",
      "default": true,
      "ttl": "1h",
      "loginUrl": "https://vordur.is/innskraning",
      "successUrl": "minar-sidur",
      "probe": "location.pathname includes minar-sidur",
      "credentials": [
        "VORDUR_EMAIL",
        "VORDUR_PASSWORD"
      ],
      "flow": "handoff"
    }
  ],
  "ops": [
    {
      "id": "overview",
      "kind": "dom",
      "title": "Mínar síður overview",
      "description": "The overview dashboard: notifications, summary tables, and key insurance signals (no-claims counter 'Tjónlaus í X mánuði', refunds, premiums) extracted from the rendered text.",
      "tags": [
        "overview",
        "claims"
      ],
      "risk": "read-only",
      "input": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "Optional portal sub-page to harvest instead"
          }
        }
      },
      "output": {
        "type": "object"
      },
      "lastVerified": "2026-08-21"
    },
    {
      "id": "policies",
      "kind": "dom",
      "title": "My policies (Mínar tryggingar)",
      "description": "Policy rows from the rendered portal tables — skírteini, coverage, validity, premiums. The portal renders policy data in-page (Mínar tryggingar / Heimilið / Endurnýjun tabs), so no PDF parsing is needed for the basics.",
      "tags": [
        "policies",
        "premiums"
      ],
      "risk": "read-only",
      "output": {
        "type": "object"
      },
      "lastVerified": "2026-08-21"
    },
    {
      "id": "documents",
      "kind": "dom",
      "title": "Rafræn skjöl (documents)",
      "description": "The owner-only electronic documents section — skírteini and summaries. v0.1: lists whatever the page renders (links, file entries). Confirmed on first logged-in run whether these are rendered rows or PDF download links.",
      "tags": [
        "documents",
        "pdf"
      ],
      "risk": "read-only",
      "output": {
        "type": "object"
      },
      "lastVerified": "2026-08-21"
    },
    {
      "id": "probe",
      "kind": "dom",
      "title": "Page structure dump",
      "description": "Dumps tables + text of the current portal page — the fix-it-forward tool for sharpening selectors after the first real login.",
      "tags": [
        "maintenance"
      ],
      "risk": "read-only",
      "output": {
        "type": "object"
      },
      "lastVerified": null
    },
    {
      "id": "claims",
      "kind": "dom",
      "title": "Tjónasaga (claim history)",
      "description": "The claims history table from /minar-sidur/tjon.",
      "tags": [
        "claims"
      ],
      "risk": "read-only",
      "output": {
        "type": "object"
      },
      "lastVerified": "2026-08-21"
    }
  ]
}
