{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/patinadata-xyz/json-schema/patinadata-xyz-get-api-verify-username-response-schema.json",
  "title": "GetApiVerifyUsernameResponse",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/patinadata-xyz-openapi-generated.yml#/components/schemas/GetApiVerifyUsernameResponse",
  "type": "object",
  "properties": {
    "username": {
      "type": "string",
      "description": "The verified username."
    },
    "score": {
      "type": "integer",
      "description": "Score out of 100."
    },
    "verdict": {
      "type": "string",
      "description": "Human‑readable verdict."
    },
    "oldestYear": {
      "type": "integer",
      "description": "Earliest year Patina can prove."
    },
    "yearsOfHistory": {
      "type": "number",
      "description": "Span of history in years (one decimal)."
    },
    "sourcesConnected": {
      "type": "array",
      "description": "List of connected source names."
    },
    "components": {
      "type": "array",
      "description": "Breakdown of score components."
    },
    "provisional": {
      "type": "boolean",
      "description": "True when no date could be proven."
    },
    "provisionalReason": {
      "type": "string",
      "description": "Reason for provisional status (may be null)."
    },
    "issuedAt": {
      "type": "string",
      "description": "ISO timestamp when attestation was signed."
    },
    "expiresAt": {
      "type": "string",
      "description": "ISO timestamp when attestation expires."
    },
    "attestation": {
      "type": "object",
      "description": "Signed attestation object."
    }
  }
}