{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/arbitron-app/json-schema/arbitron-app-api-envelope-of-iread-only-list-of-current-spread-item-schema.json",
  "title": "ApiEnvelopeOfIReadOnlyListOfCurrentSpreadItem",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/arbitron-app-openapi.json#/components/schemas/ApiEnvelopeOfIReadOnlyListOfCurrentSpreadItem",
  "required": [
    "data",
    "meta"
  ],
  "type": "object",
  "properties": {
    "data": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "$ref": "#/$defs/CurrentSpreadItem"
      }
    },
    "meta": {
      "$ref": "#/$defs/ApiMeta"
    }
  },
  "$defs": {
    "ApiMeta": {
      "required": [
        "as_of",
        "delayed_seconds",
        "source",
        "url"
      ],
      "type": "object",
      "properties": {
        "as_of": {
          "type": "string",
          "format": "date-time"
        },
        "delayed_seconds": {
          "type": "integer",
          "format": "int32"
        },
        "source": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "count": {
          "type": [
            "null",
            "integer"
          ],
          "format": "int32"
        },
        "total": {
          "type": [
            "null",
            "integer"
          ],
          "format": "int32"
        },
        "next_cursor": {
          "type": [
            "null",
            "string"
          ]
        },
        "withheld": {
          "type": [
            "null",
            "integer"
          ],
          "format": "int32"
        }
      }
    },
    "CurrentSpreadItem": {
      "required": [
        "symbol",
        "coin",
        "exchange_a",
        "exchange_b",
        "spread_pct",
        "direction",
        "long_a_short_b_pct",
        "short_a_long_b_pct",
        "bid_a",
        "ask_a",
        "bid_b",
        "ask_b",
        "volume_a_usdt",
        "volume_b_usdt",
        "funding_rate_a_pct",
        "funding_rate_b_pct",
        "funding_interval_hours_a",
        "funding_interval_hours_b",
        "next_funding_at_a",
        "next_funding_at_b",
        "strength",
        "updated_at"
      ],
      "type": "object",
      "properties": {
        "symbol": {
          "type": "string"
        },
        "coin": {
          "type": "string"
        },
        "exchange_a": {
          "type": "string"
        },
        "exchange_b": {
          "type": "string"
        },
        "spread_pct": {
          "type": "number",
          "format": "double"
        },
        "direction": {
          "type": "string"
        },
        "long_a_short_b_pct": {
          "type": "number",
          "format": "double"
        },
        "short_a_long_b_pct": {
          "type": "number",
          "format": "double"
        },
        "bid_a": {
          "type": "number",
          "format": "double"
        },
        "ask_a": {
          "type": "number",
          "format": "double"
        },
        "bid_b": {
          "type": "number",
          "format": "double"
        },
        "ask_b": {
          "type": "number",
          "format": "double"
        },
        "volume_a_usdt": {
          "type": "number",
          "format": "double"
        },
        "volume_b_usdt": {
          "type": "number",
          "format": "double"
        },
        "funding_rate_a_pct": {
          "type": [
            "null",
            "number"
          ],
          "format": "double"
        },
        "funding_rate_b_pct": {
          "type": [
            "null",
            "number"
          ],
          "format": "double"
        },
        "funding_interval_hours_a": {
          "type": [
            "null",
            "integer"
          ],
          "format": "int32"
        },
        "funding_interval_hours_b": {
          "type": [
            "null",
            "integer"
          ],
          "format": "int32"
        },
        "next_funding_at_a": {
          "type": [
            "null",
            "string"
          ],
          "format": "date-time"
        },
        "next_funding_at_b": {
          "type": [
            "null",
            "string"
          ],
          "format": "date-time"
        },
        "strength": {
          "type": "integer",
          "format": "int32"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}