{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/knoxcall/json-schema/knoxcall-agent-tamper-event-schema.json",
  "title": "AgentTamperEvent",
  "description": "A recorded tamper event (unverified build, signature mismatch) for an agent.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/knoxcall-agents-api-openapi.yml#/components/schemas/AgentTamperEvent",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "version_reported": {
      "type": [
        "string",
        "null"
      ],
      "description": "Agent version string reported at session time."
    },
    "build_sig_reported": {
      "type": [
        "string",
        "null"
      ],
      "description": "Build signature the agent reported."
    },
    "src_ip": {
      "type": [
        "string",
        "null"
      ],
      "description": "Source IP of the offending session attempt."
    },
    "action_taken": {
      "type": [
        "string",
        "null"
      ],
      "description": "What KnoxCall did in response (e.g. session refused)."
    },
    "detected_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}