{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/farmdash/json-schema/farmdash-delegation-response-schema.json",
  "title": "DelegationResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/farmdash-delegation-api-openapi.yml#/components/schemas/DelegationResponse",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "delegation": {
      "$ref": "#/$defs/DelegationRecord"
    },
    "message": {
      "type": "string"
    },
    "warning": {
      "type": "string"
    }
  },
  "$defs": {
    "DelegationRecord": {
      "type": "object",
      "properties": {
        "ownerAddress": {
          "type": "string"
        },
        "apiWalletAddress": {
          "type": "string"
        },
        "verified": {
          "type": "boolean"
        },
        "verifiedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      }
    }
  }
}