{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentready-me/json-schema/agentready-me-diagnostic-tool-report-schema.json",
  "title": "DiagnosticToolReport",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentready-me-diagnostics-api-openapi.yml#/components/schemas/DiagnosticToolReport",
  "type": "object",
  "required": [
    "schemaVersion",
    "methodologyVersion",
    "tool",
    "status",
    "checks",
    "limitations"
  ],
  "properties": {
    "schemaVersion": {
      "type": "string",
      "const": "agentready.tool-report.v1"
    },
    "methodologyVersion": {
      "type": "string"
    },
    "tool": {
      "type": "string",
      "enum": [
        "crawler-access",
        "openapi-readiness",
        "a2a-agent-card"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "pass",
        "partial",
        "fail",
        "unobservable",
        "error"
      ]
    },
    "checks": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ToolEvidenceCheck"
      }
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "additionalProperties": true,
  "$defs": {
    "ToolEvidenceCheck": {
      "type": "object",
      "required": [
        "id",
        "title",
        "status",
        "summary",
        "evidence"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "pass",
            "partial",
            "fail",
            "unobservable",
            "error"
          ]
        },
        "summary": {
          "type": "string"
        },
        "evidence": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "remediation": {
          "type": "string"
        }
      }
    }
  }
}