{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/farmdash/json-schema/farmdash-reputation-response-schema.json",
  "title": "ReputationResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/farmdash-reputation-api-openapi.yml#/components/schemas/ReputationResponse",
  "type": "object",
  "required": [
    "ok",
    "reputation"
  ],
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "reputation": {
      "type": "object",
      "required": [
        "address",
        "trailCred",
        "badge"
      ],
      "properties": {
        "address": {
          "type": "string"
        },
        "trailCred": {
          "type": "number"
        },
        "badge": {
          "type": "string"
        },
        "onchainScore": {
          "type": "number"
        },
        "vouchScore": {
          "type": "number"
        },
        "vouchCount": {
          "type": "integer"
        },
        "vouchers": {
          "type": "array",
          "maxItems": 50,
          "items": {
            "type": "object"
          }
        },
        "activity": {
          "type": "object"
        },
        "onchainData": {
          "nullable": true
        },
        "computedAt": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "scout_bonus": {
      "type": "object",
      "description": "Present only on overflow-bonus 200s after the shared Scout budget is spent",
      "properties": {
        "used": {
          "type": "integer"
        },
        "limit": {
          "type": "integer"
        },
        "remaining": {
          "type": "integer"
        }
      }
    }
  }
}