{
  "openapi": "3.1.0",
  "info": { "title": "Renameproof name screening", "version": "1.0.0", "description": "Check whether app, product or startup names are already used: .com and .app domains (and who uses a taken .com), the US App Store, Google Play, GitHub and npm." },
  "servers": [{ "url": "https://renameproof.com" }],
  "paths": {
    "/api/v1/screen": {
      "get": {
        "operationId": "screenNames",
        "summary": "Screen up to 10 candidate names",
        "description": "Call this with every name before suggesting it. Returns a verdict per name (looks clear, minor issues, conflicts), the conflicts found, notes, and a link to the full report.",
        "parameters": [{ "name": "names", "in": "query", "required": true, "description": "Comma-separated names, up to 10, e.g. pawtrail,leashly", "schema": { "type": "string" } }],
        "responses": { "200": { "description": "Results per name", "content": { "application/json": { "schema": { "type": "object", "properties": {
          "results": { "type": "array", "items": { "type": "object", "properties": {
            "name": { "type": "string" }, "verdict": { "type": "string" },
            "conflicts": { "type": "array", "items": { "type": "string" } },
            "notes": { "type": "array", "items": { "type": "string" } },
            "fullReport": { "type": "string" }, "error": { "type": "string" } } } },
          "note": { "type": "string" } } } } } } }
      }
    }
  }
}
