{
  "$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-account-exchange-schema.json",
  "title": "ApiEnvelopeOfIReadOnlyListOfAccountExchange",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/arbitron-app-openapi.json#/components/schemas/ApiEnvelopeOfIReadOnlyListOfAccountExchange",
  "required": [
    "data",
    "meta"
  ],
  "type": "object",
  "properties": {
    "data": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "$ref": "#/$defs/AccountExchange"
      }
    },
    "meta": {
      "$ref": "#/$defs/ApiMeta"
    }
  },
  "$defs": {
    "AccountExchange": {
      "required": [
        "exchange",
        "account",
        "active",
        "default_for_exchange",
        "taker_fee_pct",
        "default_leverage",
        "order_pricing",
        "min_position_lifetime_seconds",
        "connected_at"
      ],
      "type": "object",
      "properties": {
        "exchange": {
          "type": "string"
        },
        "account": {
          "type": "string"
        },
        "active": {
          "type": "boolean"
        },
        "default_for_exchange": {
          "type": "boolean"
        },
        "taker_fee_pct": {
          "type": "number",
          "format": "double"
        },
        "default_leverage": {
          "type": [
            "null",
            "integer"
          ],
          "format": "int32"
        },
        "order_pricing": {
          "type": "string"
        },
        "min_position_lifetime_seconds": {
          "type": [
            "null",
            "integer"
          ],
          "format": "int32"
        },
        "connected_at": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "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"
        }
      }
    }
  }
}