{
  "schema_version": "1.0",
  "organization": "p2-data-lab",
  "portal": "p2-saf-corsia-aviation-calc",
  "live_meta_url": "https://p2-saf-corsia-aviation-calc.pages.dev/data/meta.json",
  "openapi_url": "https://p2-saf-corsia-aviation-calc.pages.dev/openapi.json",
  "public_datasets": [
    "https://p2-saf-corsia-aviation-calc.pages.dev/data/aviation-saf-corsia-matrix.json",
    "https://p2-saf-corsia-aviation-calc.pages.dev/data/fl340-hub-winds-and-cargo.json"
  ],
  "calculator_inputs_schema": {
    "aircraft_freighter_class": {
      "label": "Freighter / Belly-Cargo Aircraft Type",
      "type": "select",
      "default": "B777F_WIDEBODY_FREIGHTER",
      "options": [
        "B777F_WIDEBODY_FREIGHTER",
        "B747_8F_HEAVY_FREIGHTER",
        "A350F_NEXTGEN_FREIGHTER",
        "B787_9_PASSENGER_BELLY",
        "A330_200F_REGIONAL",
        "GULFSTREAM_G650_CORP_JET"
      ]
    },
    "route_regulatory_scope": {
      "label": "Sector Regulatory Jurisdiction",
      "type": "select",
      "default": "EU_DEPARTURE_EXTRA_EEA_REFUELEU_PLUS_CORSIA",
      "options": [
        "INTRA_EEA_EU_ETS_PLUS_REFUELEU",
        "EU_DEPARTURE_EXTRA_EEA_REFUELEU_PLUS_CORSIA",
        "NON_EU_INTERNATIONAL_CORSIA_ONLY"
      ]
    },
    "great_circle_distance_km": {
      "label": "Great-Circle Sector Distance (km, +95 km ISO-14083 terminal routing)",
      "type": "number",
      "default": 9600,
      "min": 300,
      "max": 17500
    },
    "annual_flights_or_shipments": {
      "label": "Annual Sector Rotations / Shipments",
      "type": "number",
      "default": 104,
      "min": 1,
      "max": 10000
    },
    "cargo_gross_mass_tonnes": {
      "label": "Shipment / Payload Gross Mass per Flight (Tonnes)",
      "type": "number",
      "default": 82,
      "min": 0.1,
      "max": 135
    },
    "cargo_volume_cbm": {
      "label": "Shipment Volume per Flight (m3 — IATA 1:6 volumetric 166.67 kg/m3 check)",
      "type": "number",
      "default": 540,
      "min": 0.5,
      "max": 850
    },
    "compliance_year": {
      "label": "ReFuelEU / CORSIA Compliance Year (2026–2035)",
      "type": "select",
      "default": 2026,
      "options": [
        2026,
        2027,
        2028,
        2029,
        2030,
        2032,
        2035
      ]
    },
    "voluntary_saf_blend_pct": {
      "label": "Contracted SAF Blend % (Book-and-Claim or Physical Uplift >= ReFuelEU Floor)",
      "type": "number",
      "default": 2,
      "min": 0,
      "max": 100
    },
    "jet_a1_price_usd_mt": {
      "label": "Conventional Jet-A1 Price (USD / Metric Tonne)",
      "type": "number",
      "default": 790,
      "min": 450,
      "max": 2000
    },
    "hefa_saf_price_usd_mt": {
      "label": "HEFA Bio-SAF Price (USD / Metric Tonne)",
      "type": "number",
      "default": 2350,
      "min": 1000,
      "max": 6000
    },
    "esaf_synthetic_price_usd_mt": {
      "label": "PtL Synthetic e-SAF Price (USD / Metric Tonne — mandatory from 2030)",
      "type": "number",
      "default": 5200,
      "min": 2000,
      "max": 10000
    },
    "eua_aviation_price_eur": {
      "label": "EU ETS Aviation EUA Price (EUR / tCO2)",
      "type": "number",
      "default": 70,
      "min": 25,
      "max": 250
    },
    "corsia_eeu_credit_usd": {
      "label": "ICAO CORSIA Eligible Emissions Unit (EEU) Price (USD / tCO2)",
      "type": "number",
      "default": 18.5,
      "min": 3,
      "max": 100
    }
  },
  "formulas_summary": {
    "iata_chargeable_weight_tonnes": "W_chargeable_t = max(cargo_gross_mass_tonnes, (cargo_volume_cbm * 166.67) / 1000)",
    "wind_adjusted_fuel_burn_mt": "Fuel_mt_per_flight = Breguet_Fuel(aircraft_freighter_class, great_circle_distance_km + 95, cargo_gross_mass_tonnes) * (1 + Wind_Headwind_Factor_250hPa)",
    "refueleu_mandate_shares": "(s_total_min, s_esaf_min) = ReFuelEU_Schedule(compliance_year) (e.g., 2025–2029: 2.0% SAF / 0% e-SAF; 2030: 6.0% SAF incl. 1.2% e-SAF; 2035: 20.0% SAF incl. 5.0% e-SAF)",
    "blended_fuel_cost_usd": "Cost_Fuel = Annual_Fuel_mt * ( (1 - s_bio - s_esaf) * jet_a1_price_usd_mt + s_bio * hefa_saf_price_usd_mt + s_esaf * esaf_synthetic_price_usd_mt )",
    "refueleu_shortfall_penalty_usd": "Penalty_ReFuelEU = 2.0 * max(0, (s_total_min - actual_saf_pct)/100 * Annual_Fuel_mt * (hefa_saf_price_usd_mt - jet_a1_price_usd_mt)) per Reg. 2023/2405 Art. 12",
    "eu_ets_aviation_net_of_art3c6_usd": "EUAs_Net = Annual_Fuel_mt * (1 - actual_saf_zero_rated_share) * 3.16 * EU_ETS_Scope_Flag; Cost_EU_ETS_USD = max(0, EUAs_Net * eua_aviation_price_eur * FX_USD_per_EUR - SAF_Art3c6_Rebate_USD)",
    "corsia_offset_cost_usd": "Cost_CORSIA_USD = Annual_Fuel_mt * 3.16 * Sector_Growth_Factor_vs_85pct_Baseline * (1 - SAF_CORSIA_Lifecycle_Reduction) * corsia_eeu_credit_usd * CORSIA_Scope_Flag",
    "effective_surcharge_per_chargeable_kg": "Cost_per_kg_USD = (Cost_Fuel + Penalty_ReFuelEU + Cost_EU_ETS_USD + Cost_CORSIA_USD) / (annual_flights_or_shipments * W_chargeable_t * 1000)"
  },
  "pro_api_endpoint": "https://p2-core-api.evsmtoken.workers.dev/v1/pro/p2-saf-corsia-aviation-calc/dataset",
  "auth_header": "Authorization: Bearer <POLAR_LICENSE_KEY>",
  "purchase_tiers": [
    {
      "sku_key": "aviation_saf_corsia_dataset",
      "product_id": "3f385269-2bc2-4340-8611-aba0cc34835d",
      "name": "ReFuelEU SAF Schedule, Freighter Burn & FL340 Wind Dataset",
      "price_usd": 39,
      "billing": "one_time",
      "checkout_url": "https://buy.polar.sh/polar_cl_5PCi48dtOOVocBUHqK9jogLN9caambzoyNqxN1kpkKi"
    },
    {
      "sku_key": "aviation_fuel_desk_pro_license",
      "product_id": "e270fb25-4460-4ea8-ab7f-44cc9084ddc7",
      "name": "Pro Air-Cargo SAF, EU ETS & CORSIA Batch API License Key",
      "price_usd": 29,
      "billing": "month",
      "checkout_url": "https://buy.polar.sh/polar_cl_JABqoNPjkXqQPeBEECmDg4Hi1XwB8lbDicA7u2w1rkw"
    },
    {
      "sku_key": "airline_forwarder_saf_rfp_pack",
      "product_id": "26328032-6bac-4b9f-a37b-bcdb9d7b11ec",
      "name": "Air-Cargo & Aviation SAF Book-and-Claim Procurement Pack",
      "price_usd": 99,
      "billing": "one_time",
      "checkout_url": "https://buy.polar.sh/polar_cl_SsaeHTg8Q0lDGZdX1UgQTrGxiYKi5SYOJenQ616vs8h"
    }
  ],
  "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"
    }
  }
}