{
  "schema_version": "1.0",
  "organization": "p2-data-lab",
  "portal": "p2-soc2-iso27001-hipaa-calc",
  "live_meta_url": "https://p2-soc2-iso27001-hipaa-calc.pages.dev/data/meta.json",
  "openapi_url": "https://p2-soc2-iso27001-hipaa-calc.pages.dev/openapi.json",
  "public_datasets": [
    "https://p2-soc2-iso27001-hipaa-calc.pages.dev/data/grc-frameworks-oscal.json",
    "https://p2-soc2-iso27001-hipaa-calc.pages.dev/data/iso27006-audit-days-and-labor.json"
  ],
  "calculator_inputs_schema": {
    "selected_frameworks": {
      "label": "Target Compliance Frameworks Bundle",
      "type": "multiselect",
      "default": [
        "SOC2_TYPE2_SECURITY",
        "ISO_27001_2022_ACCREDITED"
      ],
      "options": [
        "SOC2_TYPE2_SECURITY",
        "SOC2_PLUS_CONFIDENTIALITY_AVAILABILITY",
        "ISO_27001_2022_ACCREDITED",
        "HIPAA_SECURITY_PRIVACY_BAA",
        "NIST_CSF_2_SP800_171",
        "EU_AI_ACT_HIGH_RISK_ANNEX_III",
        "PCI_DSS_4_0_SAQ_D_ROC"
      ]
    },
    "in_scope_headcount": {
      "label": "In-Scope Organization Headcount (Employees + Contractors w/ Production Access)",
      "type": "number",
      "default": 65,
      "min": 3,
      "max": 10000
    },
    "cloud_accounts_k8s_envs": {
      "label": "In-Scope Cloud Accounts / Production VPCs (AWS / GCP / Azure)",
      "type": "number",
      "default": 4,
      "min": 1,
      "max": 200
    },
    "external_api_web_apps": {
      "label": "Distinct Customer-Facing Web Apps & APIs Requiring Annual Pentest",
      "type": "number",
      "default": 2,
      "min": 1,
      "max": 50
    },
    "vendor_subprocessors": {
      "label": "Critical SaaS / AI Subprocessors Requiring TPRM Security Review",
      "type": "number",
      "default": 28,
      "min": 5,
      "max": 500
    },
    "automation_mode": {
      "label": "Compliance Evidence Collection Operating Model",
      "type": "select",
      "default": "CONTINUOUS_GRC_AUTOMATION_PLATFORM",
      "options": [
        "MANUAL_SPREADSHEETS_SCREENSHOTS",
        "CONTINUOUS_GRC_AUTOMATION_PLATFORM",
        "MANAGED_V_CISO_PLUS_AUTOMATION"
      ]
    },
    "engineering_hub_region": {
      "label": "Engineering Team Cost Benchmark Region (Live Eurostat NACE-J / US Tech Multiplier)",
      "type": "select",
      "default": "US_TECH_HUB",
      "options": [
        "US_TECH_HUB",
        "WESTERN_EU_DE_NL_IE",
        "UK_LONDON",
        "CEE_NEARSHORE_PL_RO"
      ]
    },
    "blocked_enterprise_acv_usd": {
      "label": "Enterprise Sales Pipeline ACV Currently Gated by Security Questionnaire / SOC 2 (USD)",
      "type": "number",
      "default": 320000,
      "min": 0,
      "max": 50000000
    }
  },
  "formulas_summary": {
    "deduplicated_unique_controls": "N_controls_unique = Base_Controls(primary_fw) + sum_{f in secondary_fws}( Controls(f) * (1 - Overlap_Coeff(primary_fw, f)) ), anchored to live NIST OSCAL control/objective counts",
    "iso27006_stage1_stage2_audit_days": "Days_ISO = ISO27006_BaseDays(in_scope_headcount) * Complexity_Factor(cloud_accounts_k8s_envs); Surveillance_Annual_Days = 0.33 * Days_ISO",
    "external_auditor_fees_usd": "Fee_Auditor = CPA_SOC2_Fee(TSC_count, in_scope_headcount) + (Days_ISO * Accredited_CB_DayRate_USD * (0.72_combined_audit_discount if both_SOC2_and_ISO else 1.0)) + EU_AI_Act_NotifiedBody_Fee",
    "crest_pentest_cost_usd": "Fee_Pentest = (8500_base + external_api_web_apps * 4800 + cloud_accounts_k8s_envs * 1400)",
    "internal_engineering_opportunity_cost": "Hours_Eng = (N_controls_unique * Hours_Per_Control(automation_mode) + vendor_subprocessors * Hours_Per_TPRM(automation_mode)); Cost_Eng_USD = Hours_Eng * Live_Loaded_Eng_Hourly_USD(engineering_hub_region)",
    "grc_tooling_subscription_usd": "Cost_GRC_SaaS = Tiered_GRC_Seat_Price(in_scope_headcount, len(selected_frameworks)) if automation_mode != MANUAL else 0",
    "year1_vs_year2_3_tco_and_pipeline_roi": "TCO_Year1 = Fee_Auditor + Fee_Pentest + Cost_GRC_SaaS + Cost_Eng_USD; Deal_Unlock_ROI = (blocked_enterprise_acv_usd - TCO_Year1) / TCO_Year1"
  },
  "pro_api_endpoint": "https://p2-core-api.evsmtoken.workers.dev/v1/pro/p2-soc2-iso27001-hipaa-calc/dataset",
  "auth_header": "Authorization: Bearer <POLAR_LICENSE_KEY>",
  "purchase_tiers": [
    {
      "sku_key": "grc_oscal_crosswalk_dataset",
      "product_id": "620d1a70-5e19-4bea-ad2e-2aa518feab94",
      "name": "NIST OSCAL & SOC2/ISO27001/HIPAA Overlap Dataset (CSV/JSON)",
      "price_usd": 39,
      "billing": "one_time",
      "checkout_url": "https://buy.polar.sh/polar_cl_H9fVTgAUfKbgzyfAstTyZBoAaCDtSw0AqNZVr2WAlIZ"
    },
    {
      "sku_key": "grc_scoping_pro_license",
      "product_id": "8fd73887-629f-44bc-9775-7ded7c45a60e",
      "name": "Pro Multi-Framework GRC Scope Modeler & API License Key",
      "price_usd": 29,
      "billing": "month",
      "checkout_url": "https://buy.polar.sh/polar_cl_WeIvDFVWbxr73PNVljo7aDZvNsX1ZNdV9hCmF1hysEf"
    },
    {
      "sku_key": "cto_ciso_audit_rfp_pack",
      "product_id": "efa639d7-ef9c-4d91-a406-a52d06266dfc",
      "name": "B2B SaaS CTO/CISO Compliance Budget & Auditor RFP Pack",
      "price_usd": 99,
      "billing": "one_time",
      "checkout_url": "https://buy.polar.sh/polar_cl_n8bzUFeesrx6pgjktvHlLj4fboCjO3iV6ugaL2bavXE"
    }
  ],
  "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"
    }
  }
}