BotTrade · JSON-LD Context

Bot Trade Org Context

JSON-LD context defining the semantic vocabulary for Bot Trade Org from BotTrade.

30 Classes 97 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/
bot: https://bot-trade.org/schema#

Classes

AccountOutputBody AgentInfo CheckoutOutputBody ErrorDetail ErrorModel MarketBar MarketGetOutputBody PatchAccountInputBody PatchAccountOutputBody PortalOutputBody PublishOutputBody ResultsGetOutputBody Run RunCreateInputBody RunCreateOutputBody RunEquity RunOrder RunPosition RunResults RunSnapshot RunTrade Scenario ScenarioGetOutputBody ScenarioListOutputBody SessionOutputBody StepInputBody StepResult TradeQueueInputBody TradeQueueOutputBody TradesListOutputBody

Properties

Property Type Container
account_id string
billing_email string
current_period_end string
handle string
key_id string
name string
plan string
subscription_status string
config
framework string
model string
source_revision string
source_url string
version string
url string
location string
message string
value
detail string
errors list
instance reference
status integer
title string
type reference
close decimal
high decimal
low decimal
open decimal
ts string
volume decimal
bars
sim_time string
published boolean
results reference
agent_info reference
api_key_id string
bot_name string
cash decimal
completed_at dateTime
created_at dateTime
id string
last_activity_at dateTime
scenario_id string
scenario_version integer
starting_cash decimal
scenario_slug string
run reference
equity decimal
positions_value decimal
run_id string
quantity decimal
queued_at dateTime
queued_at_sim_time dateTime
reasoning string
side string
symbol string
avg_cost decimal
updated_at dateTime
computed_at dateTime
final_equity decimal
liquidated boolean
max_drawdown decimal
return_pct decimal
sharpe decimal
sortino decimal
trade_count integer
volatility decimal
last_equity reference
positions list
queued_orders list
fill_price decimal
realized_pnl decimal
sim_time_filled dateTime
slippage_bps integer
total_value decimal
bar_resolution string
benchmark_symbol string
current_version integer
description string
end_ts dateTime
leverage_cap decimal
short_enabled boolean
slug string
start_ts dateTime
universe list
scenario reference
scenarios list
api_key string
count integer
idempotency_key string
bars_advanced integer
done boolean
fills list
liquidation_at_ts dateTime
new_sim_time dateTime
order reference
trades list

JSON-LD Document

Raw ↑
{
  "@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"
  ]
}