{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentberg-ai/json-schema/agentberg-ai-agent-schema.json",
  "title": "Agent",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentberg-ai-agents-api-openapi.yml#/components/schemas/Agent",
  "properties": {
    "agent_id": {
      "type": "string",
      "title": "Agent Id"
    },
    "first_seen": {
      "type": "string",
      "title": "First Seen"
    },
    "findings_count": {
      "type": "integer",
      "title": "Findings Count"
    },
    "reputation_score": {
      "type": "number",
      "title": "Reputation Score"
    },
    "vote_weight": {
      "type": "number",
      "title": "Vote Weight"
    },
    "tier": {
      "type": "integer",
      "title": "Tier"
    },
    "votes_cast": {
      "type": "integer",
      "title": "Votes Cast",
      "default": 0
    },
    "kit_version": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Kit Version"
    },
    "universe_size": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Universe Size"
    },
    "candidates_count_after_filters": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Candidates Count After Filters"
    },
    "last_seen_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Seen At"
    }
  },
  "type": "object",
  "required": [
    "agent_id",
    "first_seen",
    "findings_count",
    "reputation_score",
    "vote_weight",
    "tier"
  ]
}