{
  "schema_version": "1.0",
  "organization": "p2-data-lab",
  "portal": "p2-cyber-compliance-calc",
  "live_meta_url": "https://p2-cyber-compliance-calc.pages.dev/data/meta.json",
  "openapi_url": "https://p2-cyber-compliance-calc.pages.dev/openapi.json",
  "public_datasets": [
    "https://p2-cyber-compliance-calc.pages.dev/data/kev-epss-enriched.json",
    "https://p2-cyber-compliance-calc.pages.dev/data/regulatory-regimes.json",
    "https://p2-cyber-compliance-calc.pages.dev/data/vendor-kev-leaderboard.json"
  ],
  "calculator_inputs_schema": {
    "cve_selection": {
      "label": "Active CVE / CISA KEV Portfolio Selection (Searchable Live KEV + EPSS Catalog)",
      "type": "multiselect",
      "default": [
        "Top-5 Recent Ransomware-Linked KEV CVEs"
      ]
    },
    "global_annual_turnover": {
      "label": "Global Consolidated Annual Undertaking Turnover",
      "type": "number",
      "default": 450000000,
      "min": 1000000,
      "max": 500000000000
    },
    "reporting_currency": {
      "label": "Board Reporting Currency",
      "type": "select",
      "default": "USD",
      "options": [
        "USD",
        "EUR",
        "GBP",
        "CHF",
        "JPY",
        "CAD",
        "AUD"
      ]
    },
    "nis2_entity_tier": {
      "label": "EU NIS2 Entity Classification (Directive 2022/2555)",
      "type": "select",
      "default": "ESSENTIAL_ANNEX_I",
      "options": [
        "ESSENTIAL_ANNEX_I",
        "IMPORTANT_ANNEX_II",
        "OUT_OF_SCOPE"
      ]
    },
    "dora_role": {
      "label": "EU DORA Financial / ICT Role (Regulation 2022/2554)",
      "type": "select",
      "default": "NONE",
      "options": [
        "FINANCIAL_ENTITY",
        "CRITICAL_ICT_TPPP",
        "NONE"
      ]
    },
    "cra_software_vendor": {
      "label": "Subject to EU Cyber Resilience Act (CRA Hardware/Software w/ Digital Elements)",
      "type": "boolean",
      "default": true
    },
    "exposed_internet_assets": {
      "label": "Internet-Facing / Edge Assets Running Vulnerable Version",
      "type": "number",
      "default": 12,
      "min": 1,
      "max": 50000
    },
    "patch_remediation_days": {
      "label": "Projected Mean Time to Remediate / Patch (MTTR Days)",
      "type": "number",
      "default": 30,
      "min": 1,
      "max": 365
    },
    "incident_notification_delay_hours": {
      "label": "Projected Incident Early-Warning Notification Time (Hours vs 24h NIS2 / 4h DORA SLA)",
      "type": "number",
      "default": 36,
      "min": 1,
      "max": 720
    },
    "compensating_control_efficacy_pct": {
      "label": "WAF / Virtual Patch / Zero-Trust Microsegmentation Risk Reduction (%)",
      "type": "number",
      "default": 40,
      "min": 0,
      "max": 95
    }
  },
  "formulas_summary": {
    "combined_exploit_prob_window": "P_breach(T) = (1 - prod_{i in CVEs}( (1 - P_eff_i)^(T / 30) )) * (1 - compensating_control_efficacy_pct / 100), where P_eff_i = max(EPSS_i, 0.65 if in_CISA_KEV else EPSS_i) * (1 + min(1.5, 0.12 * ln(exposed_internet_assets))) bounded to [0, 0.995]",
    "nis2_statutory_ceiling_eur": "Cap_NIS2_EUR = max(10000000, 0.02 * Turnover_EUR) if Essential else (max(7000000, 0.014 * Turnover_EUR) if Important else 0) per NIS2 Art. 34(4)-(5)",
    "dora_periodic_penalty_ceiling_eur": "Cap_DORA_CTPP_EUR = min(180, patch_remediation_days) * (0.01 * (Turnover_EUR / 365)) per DORA Art. 35(6)-(8) for Critical ICT Third-Party Providers",
    "cra_statutory_ceiling_eur": "Cap_CRA_EUR = max(15000000, 0.025 * Turnover_EUR) if cra_software_vendor (CRA Art. 64(2) essential cybersecurity/vulnerability handling non-compliance) else 0",
    "sla_aggravating_factor": "M_sla = (1.0 + (0.25 if incident_notification_delay_hours > 24 else 0) + (0.30 if any_KEV_ransomware_known and patch_remediation_days > 14 else 0))",
    "expected_annualized_loss_reporting_ccy": "ALE_ccy = P_breach(patch_remediation_days) * (Direct_IR_Downtime_Cost_EUR + 0.15 * max(Cap_NIS2_EUR, Cap_CRA_EUR) * M_sla + Cap_DORA_CTPP_EUR) * FX_ccy_per_EUR",
    "patch_roi_per_day_accelerated": "Delta_ALE_per_day = (ALE(T) - ALE(max(1, T - 7))) / 7"
  },
  "pro_api_endpoint": "https://p2-core-api.evsmtoken.workers.dev/v1/pro/p2-cyber-compliance-calc/dataset",
  "auth_header": "Authorization: Bearer <POLAR_LICENSE_KEY>",
  "purchase_tiers": [
    {
      "sku_key": "cyber_kev_epss_dataset",
      "product_id": "91be7a5c-6deb-49cd-9cc2-c24d9241fcf5",
      "name": "Enriched CISA KEV + EPSS + CVSS Priority Dataset (CSV/JSON)",
      "price_usd": 39,
      "billing": "one_time",
      "checkout_url": "https://buy.polar.sh/polar_cl_oZSYINUxFLyo0FYdOUAOJTYFXKjWv2dmyswSC1UpLkl"
    },
    {
      "sku_key": "cyber_grc_pro_license",
      "product_id": "001c76bc-de3f-414c-a93a-fbc9e69a7cd0",
      "name": "Pro SBOM/CVE Batch Triage & KEV+EPSS API License Key",
      "price_usd": 29,
      "billing": "month",
      "checkout_url": "https://buy.polar.sh/polar_cl_TmFRhiywNiP7nQ0s45wQXjBPSMg0M8aaQAvz81MS1Ly"
    },
    {
      "sku_key": "ciso_nis2_dora_board_pack",
      "product_id": "f081341a-553a-4c6f-890f-bce18c15b25f",
      "name": "CISO Board Quant Pack: NIS2 / DORA / CRA Exposure Pack",
      "price_usd": 99,
      "billing": "one_time",
      "checkout_url": "https://buy.polar.sh/polar_cl_s7jzWxo30f8dxzNGGubTzAzbWdWLfdlQbZ0Kf2Dkqf7"
    }
  ],
  "master_all_portals_pass": {
    "master_all_portals_pro_monthly": {
      "product_id": "18e0b844-b764-41f0-9c3d-186362784997",
      "name": "All-Portals Master Pro API & Batch CSV License Key (Monthly)",
      "price_usd": 79,
      "billing": "monthly",
      "checkout_url": "https://buy.polar.sh/polar_cl_0P1axu2nXEDXECK8Z0k7I3sMndeo3hsdqpepv1LUcJT"
    },
    "enterprise_annual_data_pass": {
      "product_id": "8a5266eb-3aaf-4fb3-9aef-0e5bbfd17dc3",
      "name": "Annual Enterprise FinOps & Compliance Data Pass (All Portals)",
      "price_usd": 499,
      "billing": "yearly",
      "checkout_url": "https://buy.polar.sh/polar_cl_SPWfsAxuQAVHif3soxwqbq5zPAdNZFkN5CtQK3cZRft"
    }
  }
}