{
  "openapi": "3.0.3",
  "info": {
    "title": "i7Trust Public API",
    "version": "v1",
    "description": "Public discovery and free-tool scoring API for i7Trust."
  },
  "servers": [
    {
      "url": "https://s2ogefwp7nln6il4y56clxi5n40gamez.lambda-url.us-west-2.on.aws"
    }
  ],
  "paths": {
    "/api/public/v1/health": {
      "get": {
        "summary": "API health check"
      }
    },
    "/api/public/v1/frameworks": {
      "get": {
        "summary": "List supported frameworks"
      }
    },
    "/api/public/v1/benchmarks/devsecops": {
      "get": {
        "summary": "Get benchmark score bands for DevSecOps"
      }
    },
    "/api/public/v1/checklists/{topic}": {
      "get": {
        "summary": "Get checklist by topic",
        "parameters": [
          {
            "name": "topic",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": ["soc2", "iso27001", "eu-cra", "supply-chain"]
            }
          }
        ]
      }
    },
    "/api/public/v1/free-tools/{tool}/score": {
      "post": {
        "summary": "Score free tool answers",
        "parameters": [
          {
            "name": "tool",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": ["soc2-quickscan", "devsecops-snapshot", "supply-chain-trust"]
            }
          }
        ]
      }
    },
    "/api/public/v1/leads/capture": {
      "post": {
        "summary": "Capture qualified lead from free tools"
      }
    }
  }
}
