{
  "openapi": "3.1.0",
  "info": {
    "title": "AIAct50 Ready by RungLab — Article 50 Transparency Audit & Pricing API",
    "version": "1.0.0",
    "description": "OpenAPI 3.1 specification for AIAct50 Ready EU AI Act Article 50 transparency auditing (ai50-api.runglab.dev), free tailored fix lead capture, and Creem $39 pack checkout.",
    "contact": {
      "name": "RungLab Support",
      "email": "support@runglab.dev",
      "url": "https://runglab.dev/support"
    }
  },
  "servers": [
    { "url": "https://ai50.runglab.dev", "description": "AIAct50 Ready Web & Static Discovery" },
    { "url": "https://ai50-api.runglab.dev", "description": "AIAct50 Live URL & HTML Audit API" },
    { "url": "https://api.runglab.dev", "description": "RungLab Lead & Creem Checkout API" }
  ],
  "paths": {
    "/api/audit": {
      "get": {
        "operationId": "auditArticle50Url",
        "servers": [{ "url": "https://ai50-api.runglab.dev" }],
        "summary": "Audit a live URL for EU AI Act Article 50 transparency & provenance",
        "parameters": [
          { "name": "url", "in": "query", "required": true, "schema": { "type": "string", "format": "uri" } }
        ],
        "responses": { "200": { "description": "Article 50 readiness JSON report" } }
      }
    },
    "/api/audit-html": {
      "post": {
        "operationId": "auditArticle50Html",
        "servers": [{ "url": "https://ai50-api.runglab.dev" }],
        "summary": "Audit pasted HTML, headers, and scope flags locally without live fetch",
        "responses": { "200": { "description": "Article 50 readiness JSON report" } }
      }
    },
    "/api/pricing": {
      "get": {
        "operationId": "getPricing",
        "summary": "Retrieve AIAct50 Ready pricing tiers, currencies, and rate limits",
        "responses": { "200": { "description": "Pricing JSON" } }
      }
    },
    "/api/health": {
      "get": {
        "operationId": "getHealth",
        "summary": "Check AIAct50 Ready static discovery health",
        "responses": { "200": { "description": "Health JSON" } }
      }
    }
  }
}
