{
  "service": "longbridge",
  "displayName": "Longbridge",
  "categories": [
    "Finance",
    "Data"
  ],
  "authTypes": [
    "oauth2"
  ],
  "auth": [
    {
      "type": "oauth2",
      "authorizationUrl": "https://openapi.longbridge.com/oauth2/authorize",
      "tokenUrl": "https://openapi.longbridge.com/oauth2/token",
      "scopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "tokenEndpointAuthMethod": "none",
      "pkce": {
        "method": "S256"
      }
    }
  ],
  "homepageUrl": "https://longbridge.com",
  "actions": [
    {
      "id": "longbridge.ah_premium",
      "service": "longbridge",
      "name": "ah_premium",
      "description": "List Longbridge A/H premium K-line records for a dual-listed security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          },
          "period": {
            "type": "string",
            "minLength": 1,
            "description": "The A/H premium K-line period."
          },
          "count": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of records to request."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol",
          "period",
          "count"
        ],
        "description": "Input parameters for ah_premium."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "premiums": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The premiums object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge ah_premium response."
      }
    },
    {
      "id": "longbridge.ah_premium_intraday",
      "service": "longbridge",
      "name": "ah_premium_intraday",
      "description": "List Longbridge intraday A/H premium records for a dual-listed security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for ah_premium_intraday."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "premiums": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The premiums object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge ah_premium_intraday response."
      }
    },
    {
      "id": "longbridge.anomaly",
      "service": "longbridge",
      "name": "anomaly",
      "description": "List Longbridge quote change and anomaly records.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "market": {
            "type": "string",
            "enum": [
              "HK",
              "US",
              "CN",
              "SG"
            ],
            "description": "The Longbridge market code."
          },
          "size": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of records to request."
          },
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          }
        },
        "additionalProperties": false,
        "required": [
          "market"
        ],
        "description": "Input parameters for anomaly."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "changes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A raw Longbridge item."
            },
            "description": "The changes records returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge anomaly response."
      }
    },
    {
      "id": "longbridge.broker_holding",
      "service": "longbridge",
      "name": "broker_holding",
      "description": "List top Longbridge broker holdings for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          },
          "period": {
            "type": "string",
            "enum": [
              "rct_1",
              "rct_5",
              "rct_20",
              "rct_60"
            ],
            "description": "The broker holding period."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol",
          "period"
        ],
        "description": "Input parameters for broker_holding."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "holdings": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The holdings object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge broker_holding response."
      }
    },
    {
      "id": "longbridge.broker_holding_daily",
      "service": "longbridge",
      "name": "broker_holding_daily",
      "description": "List daily Longbridge broker holding history for a broker and security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          },
          "brokerId": {
            "type": "string",
            "minLength": 1,
            "description": "The broker participant number."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol",
          "brokerId"
        ],
        "description": "Input parameters for broker_holding_daily."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "history": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The history object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge broker_holding_daily response."
      }
    },
    {
      "id": "longbridge.broker_holding_detail",
      "service": "longbridge",
      "name": "broker_holding_detail",
      "description": "Get detailed Longbridge broker holdings for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for broker_holding_detail."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "detail": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The detail object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge broker_holding_detail response."
      }
    },
    {
      "id": "longbridge.business_segments",
      "service": "longbridge",
      "name": "business_segments",
      "description": "Get Longbridge business segment data for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for business_segments."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "segments": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The segments object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge business_segments response."
      }
    },
    {
      "id": "longbridge.business_segments_history",
      "service": "longbridge",
      "name": "business_segments_history",
      "description": "List Longbridge business segment history for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          },
          "report": {
            "type": "string",
            "enum": [
              "af",
              "saf",
              "q1",
              "q2",
              "q3",
              "qf",
              "3q"
            ],
            "description": "The Longbridge report period."
          },
          "category": {
            "type": "string",
            "minLength": 1,
            "description": "The business segment category filter."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for business_segments_history."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "segments": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The segments object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge business_segments_history response."
      }
    },
    {
      "id": "longbridge.buyback",
      "service": "longbridge",
      "name": "buyback",
      "description": "Get Longbridge buyback data for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for buyback."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "buyback": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The buyback object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge buyback response."
      }
    },
    {
      "id": "longbridge.company",
      "service": "longbridge",
      "name": "company",
      "description": "Get Longbridge company overview and profile data for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for company."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "profile": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The profile object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge company response."
      }
    },
    {
      "id": "longbridge.consensus",
      "service": "longbridge",
      "name": "consensus",
      "description": "Get Longbridge financial consensus estimates for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for consensus."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "consensus": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The consensus object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge consensus response."
      }
    },
    {
      "id": "longbridge.constituent",
      "service": "longbridge",
      "name": "constituent",
      "description": "List Longbridge index constituents.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for constituent."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "constituents": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The constituents object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge constituent response."
      }
    },
    {
      "id": "longbridge.corp_action",
      "service": "longbridge",
      "name": "corp_action",
      "description": "List Longbridge corporate actions for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for corp_action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "actions": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The actions object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge corp_action response."
      }
    },
    {
      "id": "longbridge.dividend",
      "service": "longbridge",
      "name": "dividend",
      "description": "List Longbridge dividend history for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The 1-based page number."
          },
          "size": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of records to request."
          },
          "year": {
            "type": "integer",
            "description": "The dividend year."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for dividend."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "dividends": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A raw Longbridge item."
            },
            "description": "The dividends records returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge dividend response."
      }
    },
    {
      "id": "longbridge.dividend_detail",
      "service": "longbridge",
      "name": "dividend_detail",
      "description": "Get detailed Longbridge dividend information for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for dividend_detail."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "dividend": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The dividend object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge dividend_detail response."
      }
    },
    {
      "id": "longbridge.estimate_max_buy_quantity",
      "service": "longbridge",
      "name": "estimate_max_buy_quantity",
      "description": "Estimate the maximum Longbridge buy quantity for a security without submitting an order.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol to estimate.",
            "pattern": "\\S"
          },
          "orderType": {
            "type": "string",
            "enum": [
              "LO",
              "ELO",
              "MO",
              "LIT",
              "MIT",
              "TSLPAMT",
              "TSMAMT",
              "TSMPCT",
              "UnknownOrderType",
              "AO",
              "ALO",
              "ODD",
              "TSLPPCT",
              "SLO"
            ],
            "description": "The Longbridge order type used for buy quantity estimates."
          },
          "side": {
            "type": "string",
            "enum": [
              "UnknownSide",
              "Buy",
              "Sell"
            ],
            "description": "The Longbridge order side."
          },
          "price": {
            "type": "string",
            "minLength": 1,
            "description": "The limit or trigger price, when required by the order type.",
            "pattern": "\\S"
          },
          "currency": {
            "type": "string",
            "minLength": 1,
            "description": "The settlement currency override, such as USD or HKD.",
            "pattern": "\\S"
          },
          "market": {
            "type": "string",
            "enum": [
              "UnknownMarket",
              "DE",
              "JP",
              "SH",
              "SZ",
              "UK",
              "AU",
              "HK",
              "SG",
              "US"
            ],
            "description": "The Longbridge trade market code."
          },
          "fractionalShares": {
            "type": "boolean",
            "description": "Whether to allow fractional share quantities in the estimate."
          },
          "orderId": {
            "type": "string",
            "minLength": 1,
            "description": "The original order ID when estimating for an order modification scenario.",
            "pattern": "\\S"
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol",
          "orderType",
          "side"
        ],
        "description": "Input parameters for estimating Longbridge maximum buy quantity."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "estimate": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The maximum buy quantity estimate returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge maximum buy quantity estimate response."
      }
    },
    {
      "id": "longbridge.exchange_rate",
      "service": "longbridge",
      "name": "exchange_rate",
      "description": "Get Longbridge exchange rates for supported currencies.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "Input parameters for exchange_rate."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "rates": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The rates object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge exchange_rate response."
      }
    },
    {
      "id": "longbridge.executive",
      "service": "longbridge",
      "name": "executive",
      "description": "List Longbridge company executives and board members for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for executive."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "executives": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The executives object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge executive response."
      }
    },
    {
      "id": "longbridge.finance_calendar",
      "service": "longbridge",
      "name": "finance_calendar",
      "description": "List Longbridge finance calendar events.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "startDate": {
            "type": "string",
            "description": "A date string in YYYY-MM-DD format.",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "endDate": {
            "type": "string",
            "description": "A date string in YYYY-MM-DD format.",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "report",
                "financial",
                "dividend",
                "split",
                "merge",
                "ipo",
                "macrodata",
                "closed",
                "meeting"
              ],
              "description": "The Longbridge finance calendar category."
            },
            "description": "Longbridge finance calendar categories.",
            "minItems": 1
          },
          "symbols": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
            },
            "description": "Longbridge symbols to filter by."
          },
          "market": {
            "type": "string",
            "enum": [
              "HK",
              "US",
              "CN",
              "SG"
            ],
            "description": "The Longbridge market code."
          },
          "count": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of records to request."
          },
          "star": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 1,
              "description": "One star level."
            },
            "description": "Macro calendar importance levels."
          }
        },
        "additionalProperties": false,
        "required": [
          "startDate",
          "categories"
        ],
        "description": "Input parameters for finance_calendar."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "calendar": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The calendar object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge finance_calendar response."
      }
    },
    {
      "id": "longbridge.financial_report",
      "service": "longbridge",
      "name": "financial_report",
      "description": "Get Longbridge financial report data for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          },
          "kind": {
            "type": "string",
            "enum": [
              "IS",
              "BS",
              "CF",
              "ALL"
            ],
            "description": "The financial statement kind."
          },
          "period": {
            "type": "string",
            "enum": [
              "af",
              "saf",
              "q1",
              "q2",
              "q3",
              "qf",
              "3q"
            ],
            "description": "The Longbridge report period."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for financial_report."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "report": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The report object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge financial_report response."
      }
    },
    {
      "id": "longbridge.financial_report_latest",
      "service": "longbridge",
      "name": "financial_report_latest",
      "description": "Get the latest Longbridge financial report summary for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for financial_report_latest."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "report": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The report object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge financial_report_latest response."
      }
    },
    {
      "id": "longbridge.financial_report_snapshot",
      "service": "longbridge",
      "name": "financial_report_snapshot",
      "description": "Get Longbridge earnings snapshot data for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          },
          "report": {
            "type": "string",
            "enum": [
              "af",
              "saf",
              "q1",
              "q2",
              "q3",
              "qf",
              "3q"
            ],
            "description": "The Longbridge report period."
          },
          "fiscalYear": {
            "type": "integer",
            "description": "The fiscal year to query."
          },
          "fiscalPeriod": {
            "type": "string",
            "enum": [
              "1",
              "2",
              "3",
              "4"
            ],
            "description": "The fiscal quarter to query."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for financial_report_snapshot."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "snapshot": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The snapshot object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge financial_report_snapshot response."
      }
    },
    {
      "id": "longbridge.financial_statement",
      "service": "longbridge",
      "name": "financial_statement",
      "description": "Get Longbridge company financial statement data for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          },
          "kind": {
            "type": "string",
            "enum": [
              "IS",
              "BS",
              "CF",
              "ALL"
            ],
            "description": "The financial statement kind."
          },
          "period": {
            "type": "string",
            "enum": [
              "af",
              "saf",
              "q1",
              "q2",
              "q3",
              "qf",
              "3q"
            ],
            "description": "The Longbridge report period."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for financial_statement."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "statement": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The statement object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge financial_statement response."
      }
    },
    {
      "id": "longbridge.forecast_eps",
      "service": "longbridge",
      "name": "forecast_eps",
      "description": "Get Longbridge EPS forecast data for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for forecast_eps."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "forecast": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The forecast object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge forecast_eps response."
      }
    },
    {
      "id": "longbridge.fund_holder",
      "service": "longbridge",
      "name": "fund_holder",
      "description": "List Longbridge funds and ETFs holding a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of records to request."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for fund_holder."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "holders": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The holders object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge fund_holder response."
      }
    },
    {
      "id": "longbridge.get_market_temperature",
      "service": "longbridge",
      "name": "get_market_temperature",
      "description": "Get the current Longbridge market sentiment temperature for a market.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "market": {
            "type": "string",
            "enum": [
              "HK",
              "US",
              "CN",
              "SG"
            ],
            "description": "The Longbridge market code."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for querying the current Longbridge market temperature."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "temperature": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The current market temperature snapshot returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge current market temperature response."
      }
    },
    {
      "id": "longbridge.get_order_detail",
      "service": "longbridge",
      "name": "get_order_detail",
      "description": "Get a Longbridge order detail record by order ID.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "orderId": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge order ID to query.",
            "pattern": "\\S"
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for querying a Longbridge order detail."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "order": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The order detail returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge order detail response."
      }
    },
    {
      "id": "longbridge.industry_peers",
      "service": "longbridge",
      "name": "industry_peers",
      "description": "List Longbridge industry peer securities for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          },
          "market": {
            "type": "string",
            "enum": [
              "HK",
              "US",
              "CN",
              "SG"
            ],
            "description": "The Longbridge market code."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol",
          "market"
        ],
        "description": "Input parameters for industry_peers."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "peers": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The peers object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge industry_peers response."
      }
    },
    {
      "id": "longbridge.industry_valuation",
      "service": "longbridge",
      "name": "industry_valuation",
      "description": "Get Longbridge industry peer valuation comparison for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          },
          "currency": {
            "type": "string",
            "minLength": 1,
            "description": "The comparison currency."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for industry_valuation."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "valuation": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The valuation object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge industry_valuation response."
      }
    },
    {
      "id": "longbridge.industry_valuation_dist",
      "service": "longbridge",
      "name": "industry_valuation_dist",
      "description": "Get Longbridge industry valuation distribution for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for industry_valuation_dist."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "distribution": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The distribution object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge industry_valuation_dist response."
      }
    },
    {
      "id": "longbridge.institution_rating",
      "service": "longbridge",
      "name": "institution_rating",
      "description": "Get the latest Longbridge institution analyst rating summary for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for institution_rating."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "rating": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The rating object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge institution_rating response."
      }
    },
    {
      "id": "longbridge.institution_rating_detail",
      "service": "longbridge",
      "name": "institution_rating_detail",
      "description": "Get Longbridge institution analyst rating detail for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for institution_rating_detail."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "rating": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The rating object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge institution_rating_detail response."
      }
    },
    {
      "id": "longbridge.institution_rating_history",
      "service": "longbridge",
      "name": "institution_rating_history",
      "description": "List Longbridge institution analyst rating history for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for institution_rating_history."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "ratings": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The ratings object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge institution_rating_history response."
      }
    },
    {
      "id": "longbridge.institution_rating_industry_rank",
      "service": "longbridge",
      "name": "institution_rating_industry_rank",
      "description": "Get Longbridge institution rating industry rank for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The 1-based page number."
          },
          "size": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of records to request."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for institution_rating_industry_rank."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "rank": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The rank object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge institution_rating_industry_rank response."
      }
    },
    {
      "id": "longbridge.institutional_views",
      "service": "longbridge",
      "name": "institutional_views",
      "description": "List Longbridge institutional views for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for institutional_views."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "views": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The views object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge institutional_views response."
      }
    },
    {
      "id": "longbridge.invest_relation",
      "service": "longbridge",
      "name": "invest_relation",
      "description": "List Longbridge investor relations records for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          },
          "count": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of records to request."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for invest_relation."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "relations": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The relations object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge invest_relation response."
      }
    },
    {
      "id": "longbridge.list_account_cash",
      "service": "longbridge",
      "name": "list_account_cash",
      "description": "List Longbridge account cash balances visible to the connected OAuth user.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "currency": {
            "type": "string",
            "minLength": 1,
            "description": "The currency code to send to Longbridge, such as USD or HKD.",
            "pattern": "\\S"
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for querying Longbridge account cash balances."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "balances": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "currency": {
                  "type": "string",
                  "description": "The account currency for this balance record."
                },
                "total_cash": {
                  "type": "string",
                  "description": "The total cash amount returned by Longbridge."
                },
                "net_assets": {
                  "type": "string",
                  "description": "The net asset amount returned by Longbridge."
                },
                "buy_power": {
                  "type": "string",
                  "description": "The buying power returned by Longbridge."
                },
                "cash_infos": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "currency": {
                        "type": "string",
                        "description": "The currency for this cash detail record."
                      },
                      "withdraw_cash": {
                        "type": "string",
                        "description": "The withdrawable cash amount returned by Longbridge."
                      },
                      "available_cash": {
                        "type": "string",
                        "description": "The available cash amount returned by Longbridge."
                      },
                      "frozen_cash": {
                        "type": "string",
                        "description": "The frozen cash amount returned by Longbridge."
                      },
                      "settling_cash": {
                        "type": "string",
                        "description": "The settling cash amount returned by Longbridge."
                      },
                      "redemption_cash": {
                        "type": "string",
                        "description": "The redemption cash amount returned by Longbridge."
                      }
                    },
                    "additionalProperties": true,
                    "description": "A Longbridge per-currency cash detail record."
                  },
                  "description": "Per-currency Longbridge cash detail records."
                }
              },
              "additionalProperties": true,
              "description": "A Longbridge account cash balance record."
            },
            "description": "The account cash balance records returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge account cash response."
      }
    },
    {
      "id": "longbridge.list_cash_flow",
      "service": "longbridge",
      "name": "list_cash_flow",
      "description": "List Longbridge account cash flow records visible to the connected OAuth user.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "startTime": {
            "type": "integer",
            "description": "A Unix timestamp in seconds."
          },
          "endTime": {
            "type": "integer",
            "description": "A Unix timestamp in seconds."
          },
          "businessType": {
            "type": "integer",
            "description": "The Longbridge business type filter."
          },
          "symbols": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Longbridge symbol.",
              "pattern": "\\S"
            },
            "description": "Longbridge symbols to filter by.",
            "minItems": 1,
            "maxItems": 100
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The 1-based page number."
          },
          "size": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of records per page."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for querying Longbridge account cash flow records."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "cashFlows": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "The raw object returned by Longbridge."
            },
            "description": "The cash flow records returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge cash flow response."
      }
    },
    {
      "id": "longbridge.list_filings",
      "service": "longbridge",
      "name": "list_filings",
      "description": "List Longbridge regulatory filings and disclosure documents for a symbol.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK.",
            "pattern": "\\S"
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for querying Longbridge filings."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "list_filings": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "The raw object returned by Longbridge."
            },
            "description": "The filing records returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge filings response."
      }
    },
    {
      "id": "longbridge.list_fund_positions",
      "service": "longbridge",
      "name": "list_fund_positions",
      "description": "List Longbridge fund positions visible to the connected OAuth user.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbols": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Longbridge symbol.",
              "pattern": "\\S"
            },
            "description": "Longbridge symbols to filter by.",
            "minItems": 1,
            "maxItems": 100
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for querying Longbridge fund positions."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "positionGroups": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "The raw object returned by Longbridge."
            },
            "description": "The fund position groups returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge fund positions response."
      }
    },
    {
      "id": "longbridge.list_history_executions",
      "service": "longbridge",
      "name": "list_history_executions",
      "description": "List historical Longbridge execution records visible to the connected OAuth user.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "startAt": {
            "type": "integer",
            "description": "A Unix timestamp in seconds."
          },
          "endAt": {
            "type": "integer",
            "description": "A Unix timestamp in seconds."
          },
          "orderId": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge order ID to filter by.",
            "pattern": "\\S"
          },
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol to filter by.",
            "pattern": "\\S"
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The 1-based page number."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for querying historical Longbridge executions."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "executions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "The raw object returned by Longbridge."
            },
            "description": "The historical execution records returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge historical executions response."
      }
    },
    {
      "id": "longbridge.list_history_orders",
      "service": "longbridge",
      "name": "list_history_orders",
      "description": "List historical Longbridge orders visible to the connected OAuth user.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "startAt": {
            "type": "integer",
            "description": "A Unix timestamp in seconds."
          },
          "endAt": {
            "type": "integer",
            "description": "A Unix timestamp in seconds."
          },
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol to filter by.",
            "pattern": "\\S"
          },
          "market": {
            "type": "string",
            "enum": [
              "UnknownMarket",
              "DE",
              "JP",
              "SH",
              "SZ",
              "UK",
              "AU",
              "HK",
              "SG",
              "US"
            ],
            "description": "The Longbridge trade market code."
          },
          "side": {
            "type": "string",
            "enum": [
              "UnknownSide",
              "Buy",
              "Sell"
            ],
            "description": "The Longbridge order side."
          },
          "statuses": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "NotReported",
                "VarietiesNotReported",
                "FilledStatus",
                "WaitToNew",
                "ReplacedStatus",
                "PartialFilledStatus",
                "CanceledStatus",
                "ExpiredStatus",
                "UnknownOrderStatus",
                "RejectedStatus",
                "PartialWithdrawal",
                "ReplacedNotReported",
                "ProtectedNotReported",
                "NewStatus",
                "WaitToReplace",
                "PendingReplaceStatus",
                "PendingCancelStatus",
                "WaitToCancel"
              ],
              "description": "A Longbridge order status."
            },
            "description": "Longbridge order statuses to filter by.",
            "minItems": 1
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The 1-based page number."
          },
          "size": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of records per page."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for querying historical Longbridge orders."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "orders": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "The raw object returned by Longbridge."
            },
            "description": "The historical order records returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge historical orders response."
      }
    },
    {
      "id": "longbridge.list_market_temperature",
      "service": "longbridge",
      "name": "list_market_temperature",
      "description": "List historical Longbridge market sentiment temperature values for a market and date range.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "market": {
            "type": "string",
            "enum": [
              "HK",
              "US",
              "CN",
              "SG"
            ],
            "description": "The Longbridge market code."
          },
          "startDate": {
            "type": "string",
            "minLength": 1,
            "description": "The start date in YYYYMMDD format.",
            "pattern": "\\S"
          },
          "endDate": {
            "type": "string",
            "minLength": 1,
            "description": "The end date in YYYYMMDD format.",
            "pattern": "\\S"
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for querying Longbridge historical market temperature."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "temperatures": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "The raw object returned by Longbridge."
            },
            "description": "The historical market temperature records returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge historical market temperature response."
      }
    },
    {
      "id": "longbridge.list_news",
      "service": "longbridge",
      "name": "list_news",
      "description": "List Longbridge news articles for a symbol.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK.",
            "pattern": "\\S"
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for querying Longbridge news."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "list_news": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "The raw object returned by Longbridge."
            },
            "description": "The news records returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge news response."
      }
    },
    {
      "id": "longbridge.list_securities",
      "service": "longbridge",
      "name": "list_securities",
      "description": "List Longbridge tradable securities for a market and category.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "market": {
            "type": "string",
            "enum": [
              "US",
              "HK"
            ],
            "description": "The Longbridge market code."
          },
          "category": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security category filter, such as Overnight for US overnight-tradable securities.",
            "pattern": "\\S"
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for listing Longbridge tradable securities."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "securities": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "symbol": {
                  "type": "string",
                  "description": "The Longbridge security symbol."
                },
                "name_cn": {
                  "type": "string",
                  "description": "The Simplified Chinese security name returned by Longbridge."
                },
                "name_hk": {
                  "type": "string",
                  "description": "The Traditional Chinese security name returned by Longbridge."
                },
                "name_en": {
                  "type": "string",
                  "description": "The English security name returned by Longbridge."
                }
              },
              "additionalProperties": true,
              "description": "A Longbridge tradable security record."
            },
            "description": "The tradable securities returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge securities response."
      }
    },
    {
      "id": "longbridge.list_stock_positions",
      "service": "longbridge",
      "name": "list_stock_positions",
      "description": "List Longbridge stock positions visible to the connected OAuth user.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbols": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Longbridge security symbol, such as AAPL.US or 700.HK.",
              "pattern": "\\S"
            },
            "description": "The Longbridge security symbols to filter by.",
            "minItems": 1,
            "maxItems": 100
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for querying Longbridge stock positions."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "positionGroups": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "account_channel": {
                  "type": "string",
                  "description": "The Longbridge account channel for this group."
                },
                "stock_info": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "symbol": {
                        "type": "string",
                        "description": "The Longbridge security symbol."
                      },
                      "symbol_name": {
                        "type": "string",
                        "description": "The security name returned by Longbridge."
                      },
                      "currency": {
                        "type": "string",
                        "description": "The position currency."
                      },
                      "quantity": {
                        "type": "string",
                        "description": "The position quantity returned by Longbridge."
                      },
                      "available_quantity": {
                        "type": "string",
                        "description": "The available quantity returned by Longbridge."
                      },
                      "cost_price": {
                        "type": "string",
                        "description": "The cost price returned by Longbridge."
                      },
                      "market": {
                        "type": "string",
                        "description": "The market code returned by Longbridge."
                      },
                      "init_quantity": {
                        "type": "string",
                        "description": "The initial quantity returned by Longbridge."
                      }
                    },
                    "additionalProperties": true,
                    "description": "A Longbridge stock position record."
                  },
                  "description": "The stock positions in this account channel."
                }
              },
              "additionalProperties": true,
              "description": "A Longbridge stock position group by account channel."
            },
            "description": "The stock position groups returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge stock positions response."
      }
    },
    {
      "id": "longbridge.list_today_executions",
      "service": "longbridge",
      "name": "list_today_executions",
      "description": "List today's Longbridge execution records visible to the connected OAuth user.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "orderId": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge order ID to filter by.",
            "pattern": "\\S"
          },
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol to filter by.",
            "pattern": "\\S"
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for querying today's Longbridge executions."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "executions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "The raw object returned by Longbridge."
            },
            "description": "Today's execution records returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge today's executions response."
      }
    },
    {
      "id": "longbridge.list_today_orders",
      "service": "longbridge",
      "name": "list_today_orders",
      "description": "List today's Longbridge orders visible to the connected OAuth user.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol to filter by.",
            "pattern": "\\S"
          },
          "market": {
            "type": "string",
            "enum": [
              "UnknownMarket",
              "DE",
              "JP",
              "SH",
              "SZ",
              "UK",
              "AU",
              "HK",
              "SG",
              "US"
            ],
            "description": "The Longbridge trade market code."
          },
          "side": {
            "type": "string",
            "enum": [
              "UnknownSide",
              "Buy",
              "Sell"
            ],
            "description": "The Longbridge order side."
          },
          "statuses": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "NotReported",
                "VarietiesNotReported",
                "FilledStatus",
                "WaitToNew",
                "ReplacedStatus",
                "PartialFilledStatus",
                "CanceledStatus",
                "ExpiredStatus",
                "UnknownOrderStatus",
                "RejectedStatus",
                "PartialWithdrawal",
                "ReplacedNotReported",
                "ProtectedNotReported",
                "NewStatus",
                "WaitToReplace",
                "PendingReplaceStatus",
                "PendingCancelStatus",
                "WaitToCancel"
              ],
              "description": "A Longbridge order status."
            },
            "description": "Longbridge order statuses to filter by.",
            "minItems": 1
          },
          "orderId": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge order ID to filter by.",
            "pattern": "\\S"
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The 1-based page number."
          },
          "size": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of records per page."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for querying today's Longbridge orders."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "orders": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "The raw object returned by Longbridge."
            },
            "description": "Today's order records returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge today's orders response."
      }
    },
    {
      "id": "longbridge.list_watchlist_groups",
      "service": "longbridge",
      "name": "list_watchlist_groups",
      "description": "List Longbridge watchlist groups for the connected OAuth user.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "Input parameters for listing Longbridge watchlist groups."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "groups": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "The raw object returned by Longbridge."
            },
            "description": "The watchlist groups returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge watchlist groups response."
      }
    },
    {
      "id": "longbridge.market_status",
      "service": "longbridge",
      "name": "market_status",
      "description": "Get Longbridge market trading status for supported markets.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "Input parameters for market_status."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "status": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The status object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge market_status response."
      }
    },
    {
      "id": "longbridge.market_stock_events",
      "service": "longbridge",
      "name": "market_stock_events",
      "description": "List Longbridge market stock events.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "markets": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "HK",
                "US",
                "CN",
                "SG"
              ],
              "description": "The Longbridge market code."
            },
            "description": "Markets to filter market stock events by."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of records to request."
          },
          "sort": {
            "type": "integer",
            "description": "The Longbridge stock event sort code: 0 time, 1 change, 2 hot."
          },
          "date": {
            "type": "string",
            "description": "A date string in YYYY-MM-DD format.",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for market_stock_events."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "events": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The events object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge market_stock_events response."
      }
    },
    {
      "id": "longbridge.news",
      "service": "longbridge",
      "name": "news",
      "description": "List Longbridge news articles for a symbol.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for news."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "news": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A raw Longbridge item."
            },
            "description": "The news records returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge news response."
      }
    },
    {
      "id": "longbridge.operating",
      "service": "longbridge",
      "name": "operating",
      "description": "Get Longbridge operating metrics for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          },
          "report": {
            "type": "string",
            "enum": [
              "af",
              "saf",
              "q1",
              "q2",
              "q3",
              "qf",
              "3q"
            ],
            "description": "The Longbridge report period."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for operating."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "metrics": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The metrics object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge operating response."
      }
    },
    {
      "id": "longbridge.option_volume",
      "service": "longbridge",
      "name": "option_volume",
      "description": "List Longbridge real-time option volume statistics for an underlying security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for option_volume."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "volume": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The volume object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge option_volume response."
      }
    },
    {
      "id": "longbridge.option_volume_daily",
      "service": "longbridge",
      "name": "option_volume_daily",
      "description": "List Longbridge historical daily option volume statistics for an underlying security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          },
          "timestamp": {
            "type": "integer",
            "description": "The Unix timestamp pagination anchor."
          },
          "count": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of records to request."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for option_volume_daily."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "volume": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The volume object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge option_volume_daily response."
      }
    },
    {
      "id": "longbridge.profit_analysis",
      "service": "longbridge",
      "name": "profit_analysis",
      "description": "Get Longbridge portfolio profit and loss analysis summary.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "startDate": {
            "type": "string",
            "description": "A date string in YYYY-MM-DD format.",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "endDate": {
            "type": "string",
            "description": "A date string in YYYY-MM-DD format.",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for profit_analysis."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "analysis": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The analysis object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge profit_analysis response."
      }
    },
    {
      "id": "longbridge.profit_analysis_by_market",
      "service": "longbridge",
      "name": "profit_analysis_by_market",
      "description": "List Longbridge portfolio profit and loss analysis grouped by market.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "market": {
            "type": "string",
            "enum": [
              "HK",
              "US",
              "CN",
              "SG"
            ],
            "description": "The Longbridge market code."
          },
          "startDate": {
            "type": "string",
            "description": "A date string in YYYY-MM-DD format.",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "endDate": {
            "type": "string",
            "description": "A date string in YYYY-MM-DD format.",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "currency": {
            "type": "string",
            "minLength": 1,
            "description": "The currency code."
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The 1-based page number."
          },
          "size": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of records to request."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for profit_analysis_by_market."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "analysis": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The analysis object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge profit_analysis_by_market response."
      }
    },
    {
      "id": "longbridge.profit_analysis_detail",
      "service": "longbridge",
      "name": "profit_analysis_detail",
      "description": "Get Longbridge portfolio profit and loss detail for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          },
          "startDate": {
            "type": "string",
            "description": "A date string in YYYY-MM-DD format.",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "endDate": {
            "type": "string",
            "description": "A date string in YYYY-MM-DD format.",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for profit_analysis_detail."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "detail": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The detail object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge profit_analysis_detail response."
      }
    },
    {
      "id": "longbridge.profit_analysis_flows",
      "service": "longbridge",
      "name": "profit_analysis_flows",
      "description": "List Longbridge portfolio profit and loss flow records for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The 1-based page number."
          },
          "size": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of records to request."
          },
          "derivative": {
            "type": "boolean",
            "description": "Whether to include derivative records."
          },
          "startDate": {
            "type": "string",
            "description": "A date string in YYYY-MM-DD format.",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "endDate": {
            "type": "string",
            "description": "A date string in YYYY-MM-DD format.",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for profit_analysis_flows."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "flows": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The flows object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge profit_analysis_flows response."
      }
    },
    {
      "id": "longbridge.profit_analysis_sublist",
      "service": "longbridge",
      "name": "profit_analysis_sublist",
      "description": "List Longbridge portfolio profit and loss analysis sublist records.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "profitOrLoss": {
            "type": "string",
            "enum": [
              "all",
              "profit",
              "loss"
            ],
            "description": "The profit/loss grouping filter."
          },
          "startDate": {
            "type": "string",
            "description": "A date string in YYYY-MM-DD format.",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "endDate": {
            "type": "string",
            "description": "A date string in YYYY-MM-DD format.",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for profit_analysis_sublist."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "items": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The items object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge profit_analysis_sublist response."
      }
    },
    {
      "id": "longbridge.rank_categories",
      "service": "longbridge",
      "name": "rank_categories",
      "description": "List Longbridge market ranking categories.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "Input parameters for rank_categories."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "categories": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The categories object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge rank_categories response."
      }
    },
    {
      "id": "longbridge.rank_list",
      "service": "longbridge",
      "name": "rank_list",
      "description": "List Longbridge ranked securities for a market ranking category.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge ranking category key."
          },
          "needArticle": {
            "type": "boolean",
            "description": "Whether to include article context."
          },
          "market": {
            "type": "string",
            "enum": [
              "HK",
              "US",
              "CN",
              "SG"
            ],
            "description": "The Longbridge market code."
          },
          "size": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of records to request."
          }
        },
        "additionalProperties": false,
        "required": [
          "key"
        ],
        "description": "Input parameters for rank_list."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "securities": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A raw Longbridge item."
            },
            "description": "The securities records returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge rank_list response."
      }
    },
    {
      "id": "longbridge.screener_indicators",
      "service": "longbridge",
      "name": "screener_indicators",
      "description": "List Longbridge screener indicator definitions.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "Input parameters for screener_indicators."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "indicators": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The indicators object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge screener_indicators response."
      }
    },
    {
      "id": "longbridge.screener_recommend_strategies",
      "service": "longbridge",
      "name": "screener_recommend_strategies",
      "description": "List Longbridge recommended screener strategies.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "market": {
            "type": "string",
            "enum": [
              "HK",
              "US",
              "CN",
              "SG"
            ],
            "description": "The Longbridge market code."
          }
        },
        "additionalProperties": false,
        "required": [
          "market"
        ],
        "description": "Input parameters for screener_recommend_strategies."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "strategies": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The strategies object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge screener_recommend_strategies response."
      }
    },
    {
      "id": "longbridge.screener_search",
      "service": "longbridge",
      "name": "screener_search",
      "description": "Search Longbridge securities with screener filters.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "market": {
            "type": "string",
            "enum": [
              "HK",
              "US",
              "CN",
              "SG"
            ],
            "description": "The Longbridge market code."
          },
          "filters": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A Longbridge screener filter condition."
            },
            "description": "Longbridge screener filter conditions."
          },
          "conditions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A Longbridge screener filter condition."
            },
            "description": "Alternative Longbridge screener filter conditions."
          },
          "returns": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One return field."
            },
            "description": "Longbridge screener return fields."
          },
          "extraReturns": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One return field."
            },
            "description": "Additional Longbridge screener return fields."
          },
          "page": {
            "type": "integer",
            "minimum": 0,
            "description": "The zero-based page number."
          },
          "size": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of records to request."
          },
          "sortByKey": {
            "type": "string",
            "minLength": 1,
            "description": "The screener return field key to sort by."
          },
          "sortBy": {
            "type": "integer",
            "minimum": 0,
            "description": "The zero-based return field index used for sorting."
          },
          "sortOrder": {
            "type": "integer",
            "description": "The Longbridge sort order code."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for screener_search."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A raw Longbridge item."
            },
            "description": "The results records returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge screener_search response."
      }
    },
    {
      "id": "longbridge.screener_strategy",
      "service": "longbridge",
      "name": "screener_strategy",
      "description": "Get one Longbridge screener strategy by ID.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "minimum": 1,
            "description": "The Longbridge screener strategy ID."
          }
        },
        "additionalProperties": false,
        "required": [
          "id"
        ],
        "description": "Input parameters for screener_strategy."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "strategy": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The strategy object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge screener_strategy response."
      }
    },
    {
      "id": "longbridge.screener_user_strategies",
      "service": "longbridge",
      "name": "screener_user_strategies",
      "description": "List Longbridge saved screener strategies for the connected user.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "market": {
            "type": "string",
            "enum": [
              "HK",
              "US",
              "CN",
              "SG"
            ],
            "description": "The Longbridge market code."
          }
        },
        "additionalProperties": false,
        "required": [
          "market"
        ],
        "description": "Input parameters for screener_user_strategies."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "strategies": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The strategies object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge screener_user_strategies response."
      }
    },
    {
      "id": "longbridge.shareholder",
      "service": "longbridge",
      "name": "shareholder",
      "description": "List Longbridge shareholder records for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          },
          "range": {
            "type": "string",
            "minLength": 1,
            "description": "The shareholder range filter."
          },
          "sortField": {
            "type": "string",
            "minLength": 1,
            "description": "The shareholder sort field."
          },
          "sortOrder": {
            "type": "string",
            "enum": [
              "asc",
              "desc"
            ],
            "description": "The shareholder sort order."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for shareholder."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "shareholders": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The shareholders object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge shareholder response."
      }
    },
    {
      "id": "longbridge.shareholder_detail",
      "service": "longbridge",
      "name": "shareholder_detail",
      "description": "Get Longbridge shareholder holding detail for a security and shareholder object.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          },
          "objectId": {
            "type": "integer",
            "description": "The Longbridge shareholder object ID."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol",
          "objectId"
        ],
        "description": "Input parameters for shareholder_detail."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "shareholder": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The shareholder object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge shareholder_detail response."
      }
    },
    {
      "id": "longbridge.shareholder_top",
      "service": "longbridge",
      "name": "shareholder_top",
      "description": "List Longbridge top shareholder records for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for shareholder_top."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "shareholders": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The shareholders object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge shareholder_top response."
      }
    },
    {
      "id": "longbridge.short_margin",
      "service": "longbridge",
      "name": "short_margin",
      "description": "Get Longbridge short margin information for the connected account.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "Input parameters for short_margin."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "margin": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The margin object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge short_margin response."
      }
    },
    {
      "id": "longbridge.short_positions",
      "service": "longbridge",
      "name": "short_positions",
      "description": "List Longbridge short interest records for a US or HK security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          },
          "lastTimestamp": {
            "type": "integer",
            "description": "The pagination timestamp returned by Longbridge."
          },
          "count": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of records to request."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for short_positions."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "positions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A raw Longbridge item."
            },
            "description": "The positions records returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge short_positions response."
      }
    },
    {
      "id": "longbridge.short_trades",
      "service": "longbridge",
      "name": "short_trades",
      "description": "List Longbridge short sale trade records for a US or HK security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          },
          "lastTimestamp": {
            "type": "integer",
            "description": "The pagination timestamp returned by Longbridge."
          },
          "count": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of records to request."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for short_trades."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "trades": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A raw Longbridge item."
            },
            "description": "The trades records returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge short_trades response."
      }
    },
    {
      "id": "longbridge.stock_rating_history",
      "service": "longbridge",
      "name": "stock_rating_history",
      "description": "List Longbridge stock rating history records for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for stock_rating_history."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "history": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The history object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge stock_rating_history response."
      }
    },
    {
      "id": "longbridge.stock_ratings",
      "service": "longbridge",
      "name": "stock_ratings",
      "description": "List Longbridge stock rating records for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for stock_ratings."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "ratings": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The ratings object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge stock_ratings response."
      }
    },
    {
      "id": "longbridge.trade_stats",
      "service": "longbridge",
      "name": "trade_stats",
      "description": "Get Longbridge trade statistics for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for trade_stats."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "statistics": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The statistics object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge trade_stats response."
      }
    },
    {
      "id": "longbridge.valuation",
      "service": "longbridge",
      "name": "valuation",
      "description": "Get Longbridge valuation metrics for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          },
          "indicator": {
            "type": "string",
            "minLength": 1,
            "description": "The valuation indicator, such as pe, pb, or ps."
          },
          "range": {
            "type": "string",
            "minLength": 1,
            "description": "The valuation range code."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for valuation."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "valuation": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The valuation object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge valuation response."
      }
    },
    {
      "id": "longbridge.valuation_comparison",
      "service": "longbridge",
      "name": "valuation_comparison",
      "description": "Compare Longbridge valuation metrics between a security and optional peers.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          },
          "currency": {
            "type": "string",
            "minLength": 1,
            "description": "The comparison currency."
          },
          "comparisonSymbols": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
            },
            "description": "The peer symbols to compare against.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol",
          "currency"
        ],
        "description": "Input parameters for valuation_comparison."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "comparison": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The comparison object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge valuation_comparison response."
      }
    },
    {
      "id": "longbridge.valuation_history",
      "service": "longbridge",
      "name": "valuation_history",
      "description": "List Longbridge historical valuation detail data for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          },
          "indicator": {
            "type": "string",
            "minLength": 1,
            "description": "The valuation indicator, such as pe, pb, or ps."
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for valuation_history."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "history": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The history object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge valuation_history response."
      }
    },
    {
      "id": "longbridge.valuation_rank",
      "service": "longbridge",
      "name": "valuation_rank",
      "description": "Get Longbridge valuation rank data for a security.",
      "requiredScopes": [
        "4",
        "6",
        "10",
        "11"
      ],
      "providerPermissions": [
        "openapi"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "minLength": 1,
            "description": "The Longbridge security symbol, such as AAPL.US or 700.HK."
          },
          "startDate": {
            "type": "string",
            "description": "A date string in YYYYMMDD format.",
            "pattern": "^\\d{8}$"
          },
          "endDate": {
            "type": "string",
            "description": "A date string in YYYYMMDD format.",
            "pattern": "^\\d{8}$"
          }
        },
        "additionalProperties": false,
        "required": [
          "symbol"
        ],
        "description": "Input parameters for valuation_rank."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "rank": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The rank object returned by Longbridge."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw object returned by Longbridge."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Longbridge valuation_rank response."
      }
    }
  ]
}
