{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/overwing-ai/json-schema/overwing-ai-beacon-report-schema.json",
  "title": "BeaconReport",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/overwing-ai-openapi.json#/components/schemas/BeaconReport",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "host": {
      "type": "string"
    },
    "scanned_at": {
      "type": "string",
      "format": "date-time"
    },
    "score": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100
    },
    "verdict": {
      "type": "string",
      "enum": [
        "yes",
        "partly",
        "no"
      ],
      "description": "Is the product reachable by agents"
    },
    "summary": {
      "type": "string"
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "enum": [
              "find",
              "read",
              "use"
            ]
          },
          "title": {
            "type": "string"
          },
          "question": {
            "type": "string"
          },
          "answer": {
            "type": "string",
            "enum": [
              "yes",
              "partly",
              "no"
            ]
          },
          "points": {
            "type": "integer"
          },
          "max": {
            "type": "integer"
          }
        }
      }
    },
    "checks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "category": {
            "type": "string",
            "enum": [
              "find",
              "read",
              "use"
            ]
          },
          "title": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "pass",
              "warn",
              "fail"
            ]
          },
          "points": {
            "type": "integer"
          },
          "max": {
            "type": "integer"
          },
          "detail": {
            "type": "string",
            "description": "What was found"
          },
          "fix": {
            "type": "string",
            "description": "What to change. Absent when the check passed"
          },
          "evidence": {
            "type": "string",
            "description": "The address that was read"
          }
        }
      }
    },
    "top_fixes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "check": {
            "type": "string"
          },
          "fix": {
            "type": "string"
          },
          "gain": {
            "type": "integer",
            "description": "Points the fix is worth"
          }
        }
      }
    },
    "judged": {
      "type": "boolean",
      "description": "False when the model judgments could not be made; their checks are then left out"
    },
    "duration_ms": {
      "type": "integer"
    },
    "requests": {
      "type": "integer"
    }
  }
}