{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentry-com/json-schema/agentry-com-reputation-score-schema.json",
  "title": "ReputationScore",
  "description": "Composite reputation score with dimensional breakdown.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentry-com-reputation-api-openapi.yml#/components/schemas/ReputationScore",
  "properties": {
    "agent_id": {
      "type": "string",
      "title": "Agent Id"
    },
    "overall_score": {
      "type": "number",
      "title": "Overall Score",
      "description": "Composite 0-100"
    },
    "dimensions": {
      "additionalProperties": {
        "type": "number"
      },
      "type": "object",
      "title": "Dimensions",
      "description": "reliability, performance, trustworthiness, community"
    },
    "tier": {
      "type": "string",
      "title": "Tier",
      "description": "legendary, established, rising, new, flagged"
    },
    "total_events": {
      "type": "integer",
      "title": "Total Events",
      "default": 0
    },
    "event_window_days": {
      "type": "integer",
      "title": "Event Window Days",
      "default": 90
    },
    "computed_at": {
      "type": "string",
      "title": "Computed At",
      "default": ""
    },
    "trend": {
      "type": "string",
      "title": "Trend",
      "description": "improving, stable, declining",
      "default": "stable"
    }
  },
  "type": "object",
  "required": [
    "agent_id",
    "overall_score",
    "tier"
  ]
}