{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentry-com/json-schema/agentry-com-security-scan-result-schema.json",
  "title": "SecurityScanResult",
  "description": "Full security scan report for an agent endpoint.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentry-com-security-api-openapi.yml#/components/schemas/SecurityScanResult",
  "properties": {
    "scan_id": {
      "type": "string",
      "title": "Scan Id"
    },
    "agent_id": {
      "type": "string",
      "title": "Agent Id"
    },
    "url": {
      "type": "string",
      "title": "Url"
    },
    "score": {
      "type": "number",
      "maximum": 10.0,
      "minimum": 0.0,
      "title": "Score",
      "description": "Security score 0-10"
    },
    "risk_level": {
      "type": "string",
      "title": "Risk Level",
      "description": "Critical, High, Moderate, or Low Risk"
    },
    "tls": {
      "additionalProperties": true,
      "type": "object",
      "title": "Tls"
    },
    "headers": {
      "additionalProperties": true,
      "type": "object",
      "title": "Headers"
    },
    "endpoint": {
      "additionalProperties": true,
      "type": "object",
      "title": "Endpoint"
    },
    "cors": {
      "additionalProperties": true,
      "type": "object",
      "title": "Cors"
    },
    "server_info": {
      "additionalProperties": true,
      "type": "object",
      "title": "Server Info"
    },
    "scanned_at": {
      "type": "string",
      "title": "Scanned At",
      "default": ""
    }
  },
  "type": "object",
  "required": [
    "scan_id",
    "agent_id",
    "url",
    "score",
    "risk_level"
  ]
}