GMX · Schema

BigIntToString_BuybackWeeklyStatsData_

Recursively converts bigint types to string types in a type definition. Handles primitives, objects, arrays, and nested structures. Preserves Date type as-is.

DeFiPerpetual ExchangeDEXTradingLeverageLiquidity PoolsGLPGM TokensGLVArbitrumAvalancheWeb3

Properties

Name Type Description
weeks array
summary object
View JSON Schema on GitHub

JSON Schema

BigIntToString_BuybackWeeklyStatsData_.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api-evangelist.github.io/gmx/json-schema/BigIntToString_BuybackWeeklyStatsData_.json",
  "title": "BigIntToString_BuybackWeeklyStatsData_",
  "properties": {
    "weeks": {
      "items": {
        "properties": {
          "cumulativeAccrued": {
            "type": "string"
          },
          "weeklyAccrued": {
            "type": "string"
          },
          "weekEnd": {
            "type": "number",
            "format": "double"
          },
          "weekStart": {
            "type": "number",
            "format": "double"
          }
        },
        "required": [
          "cumulativeAccrued",
          "weeklyAccrued",
          "weekEnd",
          "weekStart"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "summary": {
      "properties": {
        "weeksTracked": {
          "type": "number",
          "format": "double"
        },
        "latestWeekAccrued": {
          "type": "string"
        },
        "totalAccrued": {
          "type": "string"
        }
      },
      "required": [
        "weeksTracked",
        "latestWeekAccrued",
        "totalAccrued"
      ],
      "type": "object"
    }
  },
  "required": [
    "weeks",
    "summary"
  ],
  "type": "object",
  "description": "Recursively converts bigint types to string types in a type definition.\nHandles primitives, objects, arrays, and nested structures.\nPreserves Date type as-is."
}