{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/xt-com/main/json-schema/xt-com-contract-vo-schema.json",
  "title": "ContractVO",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/xt-com-futures-market-openapi.yml#/components/schemas/ContractVO",
  "type": "object",
  "properties": {
    "ask": {
      "type": "string",
      "description": "Current lowest ask price"
    },
    "base_currency": {
      "type": "string",
      "description": "Symbol/currency code of base pair, eg. BTC"
    },
    "base_volume": {
      "type": "string",
      "description": "24小时交易量"
    },
    "bid": {
      "type": "string",
      "description": "Current highest bid price"
    },
    "collection_internal": {
      "type": "integer",
      "description": "收取时间间隔（小时）",
      "format": "int32"
    },
    "contractSize": {
      "type": "number",
      "format": "bigdecimal"
    },
    "end_timestamp": {
      "type": "integer",
      "description": "Ending of this derivative product (relevant for expirable futures or options)",
      "format": "int64"
    },
    "funding_rate": {
      "type": "number",
      "description": "资金费率",
      "format": "bigdecimal"
    },
    "high": {
      "type": "string",
      "description": "24小时最高交易价格"
    },
    "id": {
      "type": "integer",
      "format": "int64"
    },
    "index_currency": {
      "type": "string",
      "description": "Underlying currency for index"
    },
    "index_name": {
      "type": "string",
      "description": "Name of the underlying index if any"
    },
    "index_price": {
      "type": "string",
      "description": "Underlying index price"
    },
    "last_price": {
      "type": "string",
      "description": "最新价格"
    },
    "low": {
      "type": "string",
      "description": "24小时最低交易价格"
    },
    "next_funding_rate": {
      "type": "number",
      "description": "Upcoming predicted funding rate",
      "format": "bigdecimal"
    },
    "next_funding_rate_timestamp": {
      "type": "integer",
      "description": "下次资金费率时间",
      "format": "int64"
    },
    "open_interest": {
      "type": "number",
      "description": "The open interest in the last 24 hours in contracts",
      "format": "bigdecimal"
    },
    "product_type": {
      "type": "string",
      "description": "产品类型"
    },
    "start_timestamp": {
      "type": "integer",
      "description": "Starting of this derivative product (relevant for expirable futures or options)",
      "format": "int64"
    },
    "symbol": {
      "type": "string"
    },
    "target_currency": {
      "type": "string",
      "description": "Symbol/currency code of target pair, eg. ETH"
    },
    "target_volume": {
      "type": "string",
      "description": "24小时交易额"
    },
    "ticker_id": {
      "type": "string",
      "description": "Identifier of a ticker with delimiter to separate base/target, eg. BTC-PERP"
    },
    "underlyingType": {
      "type": "integer",
      "format": "int32"
    }
  }
}