{
  "@context": {
    "@vocab": "https://bot-trade.org/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "bot": "https://bot-trade.org/schema#",
    "AccountOutputBody": "bot:AccountOutputBody",
    "account_id": {
      "@id": "bot:account_id",
      "@type": "xsd:string"
    },
    "billing_email": {
      "@id": "bot:billing_email",
      "@type": "xsd:string"
    },
    "current_period_end": {
      "@id": "bot:current_period_end",
      "@type": "xsd:string"
    },
    "handle": {
      "@id": "bot:handle",
      "@type": "xsd:string"
    },
    "key_id": {
      "@id": "bot:key_id",
      "@type": "xsd:string"
    },
    "name": {
      "@id": "bot:name",
      "@type": "xsd:string"
    },
    "plan": {
      "@id": "bot:plan",
      "@type": "xsd:string"
    },
    "subscription_status": {
      "@id": "bot:subscription_status",
      "@type": "xsd:string"
    },
    "AgentInfo": "bot:AgentInfo",
    "config": {
      "@id": "bot:config"
    },
    "framework": {
      "@id": "bot:framework",
      "@type": "xsd:string"
    },
    "model": {
      "@id": "bot:model",
      "@type": "xsd:string"
    },
    "source_revision": {
      "@id": "bot:source_revision",
      "@type": "xsd:string"
    },
    "source_url": {
      "@id": "bot:source_url",
      "@type": "xsd:string"
    },
    "version": {
      "@id": "bot:version",
      "@type": "xsd:string"
    },
    "CheckoutOutputBody": "bot:CheckoutOutputBody",
    "url": {
      "@id": "bot:url",
      "@type": "xsd:string"
    },
    "ErrorDetail": "bot:ErrorDetail",
    "location": {
      "@id": "bot:location",
      "@type": "xsd:string"
    },
    "message": {
      "@id": "bot:message",
      "@type": "xsd:string"
    },
    "value": {
      "@id": "bot:value"
    },
    "ErrorModel": "bot:ErrorModel",
    "detail": {
      "@id": "bot:detail",
      "@type": "xsd:string"
    },
    "errors": {
      "@id": "bot:errors",
      "@container": "@list"
    },
    "instance": {
      "@id": "bot:instance",
      "@type": "@id"
    },
    "status": {
      "@id": "bot:status",
      "@type": "xsd:integer"
    },
    "title": {
      "@id": "bot:title",
      "@type": "xsd:string"
    },
    "type": {
      "@id": "bot:type",
      "@type": "@id"
    },
    "MarketBar": "bot:MarketBar",
    "close": {
      "@id": "bot:close",
      "@type": "xsd:decimal"
    },
    "high": {
      "@id": "bot:high",
      "@type": "xsd:decimal"
    },
    "low": {
      "@id": "bot:low",
      "@type": "xsd:decimal"
    },
    "open": {
      "@id": "bot:open",
      "@type": "xsd:decimal"
    },
    "ts": {
      "@id": "bot:ts",
      "@type": "xsd:string"
    },
    "volume": {
      "@id": "bot:volume",
      "@type": "xsd:decimal"
    },
    "MarketGetOutputBody": "bot:MarketGetOutputBody",
    "bars": {
      "@id": "bot:bars"
    },
    "sim_time": {
      "@id": "bot:sim_time",
      "@type": "xsd:string"
    },
    "PatchAccountInputBody": "bot:PatchAccountInputBody",
    "PatchAccountOutputBody": "bot:PatchAccountOutputBody",
    "PortalOutputBody": "bot:PortalOutputBody",
    "PublishOutputBody": "bot:PublishOutputBody",
    "published": {
      "@id": "bot:published",
      "@type": "xsd:boolean"
    },
    "results": {
      "@id": "bot:results",
      "@type": "@id"
    },
    "ResultsGetOutputBody": "bot:ResultsGetOutputBody",
    "Run": "bot:Run",
    "agent_info": {
      "@id": "bot:agent_info",
      "@type": "@id"
    },
    "api_key_id": {
      "@id": "bot:api_key_id",
      "@type": "xsd:string"
    },
    "bot_name": {
      "@id": "bot:bot_name",
      "@type": "xsd:string"
    },
    "cash": {
      "@id": "bot:cash",
      "@type": "xsd:decimal"
    },
    "completed_at": {
      "@id": "bot:completed_at",
      "@type": "xsd:dateTime"
    },
    "created_at": {
      "@id": "bot:created_at",
      "@type": "xsd:dateTime"
    },
    "id": {
      "@id": "bot:id",
      "@type": "xsd:string"
    },
    "last_activity_at": {
      "@id": "bot:last_activity_at",
      "@type": "xsd:dateTime"
    },
    "scenario_id": {
      "@id": "bot:scenario_id",
      "@type": "xsd:string"
    },
    "scenario_version": {
      "@id": "bot:scenario_version",
      "@type": "xsd:integer"
    },
    "starting_cash": {
      "@id": "bot:starting_cash",
      "@type": "xsd:decimal"
    },
    "RunCreateInputBody": "bot:RunCreateInputBody",
    "scenario_slug": {
      "@id": "bot:scenario_slug",
      "@type": "xsd:string"
    },
    "RunCreateOutputBody": "bot:RunCreateOutputBody",
    "run": {
      "@id": "bot:run",
      "@type": "@id"
    },
    "RunEquity": "bot:RunEquity",
    "equity": {
      "@id": "bot:equity",
      "@type": "xsd:decimal"
    },
    "positions_value": {
      "@id": "bot:positions_value",
      "@type": "xsd:decimal"
    },
    "run_id": {
      "@id": "bot:run_id",
      "@type": "xsd:string"
    },
    "RunOrder": "bot:RunOrder",
    "quantity": {
      "@id": "bot:quantity",
      "@type": "xsd:decimal"
    },
    "queued_at": {
      "@id": "bot:queued_at",
      "@type": "xsd:dateTime"
    },
    "queued_at_sim_time": {
      "@id": "bot:queued_at_sim_time",
      "@type": "xsd:dateTime"
    },
    "reasoning": {
      "@id": "bot:reasoning",
      "@type": "xsd:string"
    },
    "side": {
      "@id": "bot:side",
      "@type": "xsd:string"
    },
    "symbol": {
      "@id": "bot:symbol",
      "@type": "xsd:string"
    },
    "RunPosition": "bot:RunPosition",
    "avg_cost": {
      "@id": "bot:avg_cost",
      "@type": "xsd:decimal"
    },
    "updated_at": {
      "@id": "bot:updated_at",
      "@type": "xsd:dateTime"
    },
    "RunResults": "bot:RunResults",
    "computed_at": {
      "@id": "bot:computed_at",
      "@type": "xsd:dateTime"
    },
    "final_equity": {
      "@id": "bot:final_equity",
      "@type": "xsd:decimal"
    },
    "liquidated": {
      "@id": "bot:liquidated",
      "@type": "xsd:boolean"
    },
    "max_drawdown": {
      "@id": "bot:max_drawdown",
      "@type": "xsd:decimal"
    },
    "return_pct": {
      "@id": "bot:return_pct",
      "@type": "xsd:decimal"
    },
    "sharpe": {
      "@id": "bot:sharpe",
      "@type": "xsd:decimal"
    },
    "sortino": {
      "@id": "bot:sortino",
      "@type": "xsd:decimal"
    },
    "trade_count": {
      "@id": "bot:trade_count",
      "@type": "xsd:integer"
    },
    "volatility": {
      "@id": "bot:volatility",
      "@type": "xsd:decimal"
    },
    "RunSnapshot": "bot:RunSnapshot",
    "last_equity": {
      "@id": "bot:last_equity",
      "@type": "@id"
    },
    "positions": {
      "@id": "bot:positions",
      "@container": "@list"
    },
    "queued_orders": {
      "@id": "bot:queued_orders",
      "@container": "@list"
    },
    "RunTrade": "bot:RunTrade",
    "fill_price": {
      "@id": "bot:fill_price",
      "@type": "xsd:decimal"
    },
    "realized_pnl": {
      "@id": "bot:realized_pnl",
      "@type": "xsd:decimal"
    },
    "sim_time_filled": {
      "@id": "bot:sim_time_filled",
      "@type": "xsd:dateTime"
    },
    "slippage_bps": {
      "@id": "bot:slippage_bps",
      "@type": "xsd:integer"
    },
    "total_value": {
      "@id": "bot:total_value",
      "@type": "xsd:decimal"
    },
    "Scenario": "bot:Scenario",
    "bar_resolution": {
      "@id": "bot:bar_resolution",
      "@type": "xsd:string"
    },
    "benchmark_symbol": {
      "@id": "bot:benchmark_symbol",
      "@type": "xsd:string"
    },
    "current_version": {
      "@id": "bot:current_version",
      "@type": "xsd:integer"
    },
    "description": {
      "@id": "bot:description",
      "@type": "xsd:string"
    },
    "end_ts": {
      "@id": "bot:end_ts",
      "@type": "xsd:dateTime"
    },
    "leverage_cap": {
      "@id": "bot:leverage_cap",
      "@type": "xsd:decimal"
    },
    "short_enabled": {
      "@id": "bot:short_enabled",
      "@type": "xsd:boolean"
    },
    "slug": {
      "@id": "bot:slug",
      "@type": "xsd:string"
    },
    "start_ts": {
      "@id": "bot:start_ts",
      "@type": "xsd:dateTime"
    },
    "universe": {
      "@id": "bot:universe",
      "@container": "@list"
    },
    "ScenarioGetOutputBody": "bot:ScenarioGetOutputBody",
    "scenario": {
      "@id": "bot:scenario",
      "@type": "@id"
    },
    "ScenarioListOutputBody": "bot:ScenarioListOutputBody",
    "scenarios": {
      "@id": "bot:scenarios",
      "@container": "@list"
    },
    "SessionOutputBody": "bot:SessionOutputBody",
    "api_key": {
      "@id": "bot:api_key",
      "@type": "xsd:string"
    },
    "StepInputBody": "bot:StepInputBody",
    "count": {
      "@id": "bot:count",
      "@type": "xsd:integer"
    },
    "idempotency_key": {
      "@id": "bot:idempotency_key",
      "@type": "xsd:string"
    },
    "StepResult": "bot:StepResult",
    "bars_advanced": {
      "@id": "bot:bars_advanced",
      "@type": "xsd:integer"
    },
    "done": {
      "@id": "bot:done",
      "@type": "xsd:boolean"
    },
    "fills": {
      "@id": "bot:fills",
      "@container": "@list"
    },
    "liquidation_at_ts": {
      "@id": "bot:liquidation_at_ts",
      "@type": "xsd:dateTime"
    },
    "new_sim_time": {
      "@id": "bot:new_sim_time",
      "@type": "xsd:dateTime"
    },
    "TradeQueueInputBody": "bot:TradeQueueInputBody",
    "TradeQueueOutputBody": "bot:TradeQueueOutputBody",
    "order": {
      "@id": "bot:order",
      "@type": "@id"
    },
    "TradesListOutputBody": "bot:TradesListOutputBody",
    "trades": {
      "@id": "bot:trades",
      "@container": "@list"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "BotTrade API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects BotTrade's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-03) from openapi/bot-trade-org-openapi.json.",
  "dcterms:created": "2026-11-03",
  "dcterms:source": [
    "openapi/bot-trade-org-openapi.json"
  ]
}