{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/chainfolioai-com/json-schema/chainfolioai-com-get-api-v1-realized-gains-response-schema.json",
  "title": "GetApiV1RealizedGainsResponse",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/chainfolioai-com-openapi-generated.yml#/components/schemas/GetApiV1RealizedGainsResponse",
  "type": "object",
  "properties": {
    "currency": {
      "type": "string"
    },
    "method": {
      "type": "string"
    },
    "year": {
      "type": "integer"
    },
    "realizedPnlEur": {
      "type": "number"
    },
    "feesEur": {
      "type": "number"
    },
    "byAsset": {
      "type": "array"
    },
    "byYear": {
      "type": "array"
    },
    "unmatched": {
      "type": "object"
    }
  }
}