{
  "schema_version": "1.0",
  "organization": "p2-data-lab",
  "portal": "p2-cbam-carbon-calc",
  "live_meta_url": "https://p2-cbam-carbon-calc.pages.dev/data/meta.json",
  "openapi_url": "https://p2-cbam-carbon-calc.pages.dev/openapi.json",
  "public_datasets": [
    "https://p2-cbam-carbon-calc.pages.dev/data/cbam-cn-commodities.json",
    "https://p2-cbam-carbon-calc.pages.dev/data/fx-carbon-deductions.json",
    "https://p2-cbam-carbon-calc.pages.dev/data/sector-emissions-benchmarks.json"
  ],
  "calculator_inputs_schema": {
    "cbam_sector_product": {
      "label": "CBAM Annex I Commodity & Production Route",
      "type": "select",
      "default": "STEEL_BF_BOF_HOT_ROLLED_CN7208",
      "options": [
        "STEEL_BF_BOF_HOT_ROLLED_CN7208",
        "STEEL_EAF_SCRAP_ALLOY_CN7225",
        "STEEL_FASTENERS_COMPLEX_CN7318",
        "ALUMINIUM_PRIMARY_ELECTROLYSIS_CN7601",
        "ALUMINIUM_SECONDARY_EXTRUDED_CN7604",
        "CEMENT_PORTLAND_CLINKER_CN2523",
        "FERTILIZER_AMMONIA_UREA_CN3102",
        "HYDROGEN_SMR_GREY_VS_GREEN_CN2804"
      ]
    },
    "import_mass_tonnes": {
      "label": "Annual Imported Net Mass into EU Customs Territory (Tonnes)",
      "type": "number",
      "default": 2500,
      "min": 1,
      "max": 5000000
    },
    "compliance_year": {
      "label": "CBAM Definitive Compliance Year (2026–2034 Phase-In Curve)",
      "type": "select",
      "default": 2026,
      "options": [
        2026,
        2027,
        2028,
        2029,
        2030,
        2031,
        2032,
        2033,
        2034
      ]
    },
    "emissions_data_source": {
      "label": "Supplier Emissions Verification Mode",
      "type": "select",
      "default": "VERIFIED_ACTUAL_INSTALLATION_SEE",
      "options": [
        "VERIFIED_ACTUAL_INSTALLATION_SEE",
        "EC_DEFAULT_PUNITIVE_MARKUP_VALUE"
      ]
    },
    "see_direct_tco2_per_t": {
      "label": "Direct Specific Embedded Emissions (tCO2e / tonne good)",
      "type": "number",
      "default": 2.15,
      "min": 0.01,
      "max": 25
    },
    "precursor_mass_ratio": {
      "label": "Precursor Input Mass Ratio (tonnes precursor / tonne complex good)",
      "type": "number",
      "default": 1.06,
      "min": 0,
      "max": 3
    },
    "precursor_see_tco2_per_t": {
      "label": "Precursor Specific Embedded Emissions (tCO2e / tonne precursor)",
      "type": "number",
      "default": 0.35,
      "min": 0,
      "max": 20
    },
    "electricity_mwh_per_t": {
      "label": "Specific Electricity Consumption (MWh / tonne — billed on non-Annex-II sectors)",
      "type": "number",
      "default": 0.65,
      "min": 0,
      "max": 60
    },
    "origin_grid_ef_tco2_mwh": {
      "label": "Origin Country Grid Emission Factor (tCO2e / MWh)",
      "type": "number",
      "default": 0.62,
      "min": 0,
      "max": 1.3
    },
    "eua_cbam_cert_price_eur": {
      "label": "EU ETS / Weekly CBAM Certificate Price (EUR / tCO2e)",
      "type": "number",
      "default": 71,
      "min": 25,
      "max": 250
    },
    "origin_carbon_price_paid_local": {
      "label": "Effective Carbon Price Paid in Country of Origin (per tCO2e, after rebates)",
      "type": "number",
      "default": 90,
      "min": 0,
      "max": 2000
    },
    "origin_currency": {
      "label": "Origin Carbon Tax Currency",
      "type": "select",
      "default": "CNY",
      "options": [
        "CNY",
        "GBP",
        "CHF",
        "TRY",
        "INR",
        "KRW",
        "CAD",
        "USD",
        "EUR"
      ]
    }
  },
  "formulas_summary": {
    "cbam_free_allocation_factor": "F_free(year) = {2026: 0.975, 2027: 0.95, 2028: 0.90, 2029: 0.775, 2030: 0.515, 2031: 0.39, 2032: 0.265, 2033: 0.14, 2034: 0.0}[compliance_year]",
    "total_covered_see_tco2_per_t": "SEE_covered = see_direct_tco2_per_t + precursor_mass_ratio * precursor_see_tco2_per_t + (electricity_mwh_per_t * origin_grid_ef_tco2_mwh if not in_Annex_II_Direct_Only else 0)",
    "payable_specific_emissions": "SEE_payable = max(0, SEE_covered - F_free(compliance_year) * BM_EU_ETS(cbam_sector_product))",
    "certificates_required": "N_certs = import_mass_tonnes * SEE_payable",
    "gross_cbam_liability_eur": "Cost_Gross_EUR = N_certs * eua_cbam_cert_price_eur",
    "art9_origin_carbon_credit_eur": "Credit_Art9_EUR = min(Cost_Gross_EUR, import_mass_tonnes * SEE_payable * (origin_carbon_price_paid_local / FX_local_per_EUR))",
    "net_cbam_tax_eur_and_per_tonne": "Net_CBAM_EUR = max(0, Cost_Gross_EUR - Credit_Art9_EUR); CBAM_Surcharge_EUR_per_t = Net_CBAM_EUR / import_mass_tonnes",
    "non_compliance_penalty_eur": "Penalty_Art26_EUR = N_certs_unreported * 100 * HICP_Inflation_Index (statutory €100/tCO2e excess emissions penalty without extinguishing surrender obligation)"
  },
  "pro_api_endpoint": "https://p2-core-api.evsmtoken.workers.dev/v1/pro/p2-cbam-carbon-calc/dataset",
  "auth_header": "Authorization: Bearer <POLAR_LICENSE_KEY>",
  "purchase_tiers": [
    {
      "sku_key": "cbam_cn_emissions_dataset",
      "product_id": "bb767db8-ccc3-4393-afb6-79ed7d03663c",
      "name": "EU CBAM CN Commodity Map & Sector GHG Dataset (CSV/JSON)",
      "price_usd": 39,
      "billing": "one_time",
      "checkout_url": "https://buy.polar.sh/polar_cl_xEBfgjT614zwTDNCPF2ZWbJ50uET0EhiB1fH03QoCiz"
    },
    {
      "sku_key": "cbam_declarant_pro_license",
      "product_id": "26fd0463-b0ec-4c49-b66e-8402f24bf3a1",
      "name": "Pro Authorized CBAM Declarant CSV & API License Key",
      "price_usd": 34,
      "billing": "month",
      "checkout_url": "https://buy.polar.sh/polar_cl_cyxindummt9wJqwYgFoMSnZUqvtyucb8zGnVP0vW3vM"
    },
    {
      "sku_key": "cbam_supplier_audit_pack",
      "product_id": "0b582c35-0a83-495a-b601-24527182299f",
      "name": "Industrial Importer CBAM Procurement & Audit Pack (2026-2034)",
      "price_usd": 99,
      "billing": "one_time",
      "checkout_url": "https://buy.polar.sh/polar_cl_xumLyzNFVQ24o5mnD9ZHiYi3FG1cEQaPUUBgk0Fz2vp"
    }
  ],
  "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"
    }
  }
}