{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bloomberg-buyside-enterprise-solutions/json-schema/bloomberg-buyside-enterprise-solutions-broker-schema.json",
  "title": "Broker",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bloomberg-buyside-enterprise-solutions-brokers-api-openapi.yml#/components/schemas/Broker",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Broker identifier"
    },
    "name": {
      "type": "string",
      "description": "Broker name"
    },
    "shortCode": {
      "type": "string",
      "description": "Broker short code"
    },
    "status": {
      "type": "string",
      "enum": [
        "CONNECTED",
        "DISCONNECTED"
      ],
      "description": "Connection status"
    },
    "supportedAssetClasses": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Supported asset classes"
    },
    "supportedOrderTypes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Supported order types"
    },
    "algorithms": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Algorithm name"
          },
          "description": {
            "type": "string",
            "description": "Algorithm description"
          },
          "parameters": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "type": {
                  "type": "string"
                },
                "required": {
                  "type": "boolean"
                },
                "description": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}