{
  "openapi": "3.1.0",
  "info": {
    "title": "AI Data Center Liquid Cooling (Direct-to-Chip Cold Plate / Immersion vs Evaporative Tower), WUE & Municipal Water Tariff Calculator",
    "version": "1.0.0",
    "description": "Hyperscale, Colocation & High-Density AI GPU Facility FinOps / Wet-Bulb Adiabatic Water Usage Effectiveness (WUE), Blowdown CoC, DLC CDU Retrofit & EU EED Art. 12",
    "x-polar-products": {
      "portal_tiers": [
        {
          "sku_key": "dc_liquid_cooling_wetbulb_wue_dataset",
          "product_id": "ef3c1fc5-8d13-48b7-a1da-c93d4be7500a",
          "name": "8-Hub Wet-Bulb, Water/Power & AI Liquid-Cooling WUE CSV",
          "price_usd": 49,
          "billing": "one_time",
          "checkout_url": ""
        },
        {
          "sku_key": "dc_eed_wue_hourly_pro_license",
          "product_id": "9c3fb416-c335-412f-b2ef-326bfd3d5bed",
          "name": "Pro 8760h Wet-Bulb PUE/WUE & EU EED Art.12 Pro License",
          "price_usd": 39,
          "billing": "month",
          "checkout_url": ""
        },
        {
          "sku_key": "vp_dc_engineering_dlc_retrofit_pack",
          "product_id": "82787a91-b7b3-4326-8525-74910b25e023",
          "name": "VP DC Engineering: 100kW+ DLC Retrofit & Water Permit Pack",
          "price_usd": 119,
          "billing": "one_time",
          "checkout_url": ""
        }
      ],
      "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"
        }
      }
    }
  },
  "externalDocs": {
    "description": "AI-Agent & MCP Tool Discovery Catalog",
    "url": "https://p2-water-cooling-dc-wue-calc.pages.dev/agent-catalog.json"
  },
  "servers": [
    {
      "url": "https://p2-water-cooling-dc-wue-calc.pages.dev",
      "description": "Public static Pages dataset & discovery server"
    },
    {
      "url": "https://p2-core-api.evsmtoken.workers.dev",
      "description": "Authenticated P2 Core Pro API"
    }
  ],
  "paths": {
    "/data/meta.json": {
      "get": {
        "operationId": "getPortalMeta",
        "summary": "Get live dataset freshness metadata and upstream source list",
        "servers": [
          {
            "url": "https://p2-water-cooling-dc-wue-calc.pages.dev"
          }
        ],
        "responses": {
          "200": {
            "description": "Metadata JSON with fetched_at, record_count, and sources",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/llms.txt": {
      "get": {
        "operationId": "getLlmsTxt",
        "summary": "Get LLM-readable portal summary and endpoint directory",
        "servers": [
          {
            "url": "https://p2-water-cooling-dc-wue-calc.pages.dev"
          }
        ],
        "responses": {
          "200": {
            "description": "Plain text discovery guide",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/v1/license/verify": {
      "post": {
        "operationId": "verifyPolarLicense",
        "summary": "Verify a Polar.sh Pro License Key via p2-core-api",
        "servers": [
          {
            "url": "https://p2-core-api.evsmtoken.workers.dev"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "key"
                ],
                "properties": {
                  "key": {
                    "type": "string"
                  },
                  "portal": {
                    "type": "string",
                    "default": "p2-water-cooling-dc-wue-calc"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "License verification result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/v1/pro/p2-water-cooling-dc-wue-calc/dataset": {
      "get": {
        "operationId": "getProDataset",
        "summary": "Fetch authenticated full Pro JSON dataset for p2-water-cooling-dc-wue-calc",
        "servers": [
          {
            "url": "https://p2-core-api.evsmtoken.workers.dev"
          }
        ],
        "security": [
          {
            "PolarBearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Full Pro dataset JSON",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid Polar License Key"
          }
        }
      }
    },
    "/data/dc-liquid-cooling-wue-matrix.json": {
      "get": {
        "operationId": "getPublic_dc_liquid_cooling_wue_matrix_json",
        "summary": "Get public live open-data benchmark JSON (dc-liquid-cooling-wue-matrix.json)",
        "servers": [
          {
            "url": "https://p2-water-cooling-dc-wue-calc.pages.dev"
          }
        ],
        "responses": {
          "200": {
            "description": "Public benchmark dataset JSON",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "PolarBearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "Polar License Key"
      }
    }
  }
}