Raw schema
{
"type": "object",
"properties": {
"symbol": {
"type": "string",
"minLength": 1,
"maxLength": 20,
"description": "Ticker / token, e.g. AAPL or BTC"
},
"asset_class": {
"type": "string",
"enum": [
"crypto_spot",
"crypto_perp",
"equity",
"option"
],
"description": "Asset class — must match the broker's supportedAssetClasses"
},
"side": {
"type": "string",
"enum": [
"buy",
"sell"
],
"description": "Direction"
},
"notional_cents": {
"description": "USD cents notional (preferred sizing — broker converts to qty)",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"qty": {
"description": "Per-share / per-token qty (alternative to notional)",
"type": "number",
"exclusiveMinimum": 0
},
"order_type": {
"default": "bracket",
"type": "string",
"enum": [
"market",
"limit",
"bracket"
]
},
"limit_price": {
"type": "number",
"exclusiveMinimum": 0
},
"stop_price": {
"type": "number",
"exclusiveMinimum": 0
},
"take_profits": {
"type": "array",
"items": {
"type": "object",
"properties": {
"price": {
"type": "number",
"exclusiveMinimum": 0
},
"qty_pct": {
"type": "number",
"minimum": 1,
"maximum": 100
}
},
"required": [
"price",
"qty_pct"
],
"additionalProperties": false
}
},
"reasoning": {
"type": "string",
"minLength": 20,
"maxLength": 2000,
"description": "Plain-English rationale, surfaced to the user when they review the intent"
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Your confidence 0-1"
},
"signal_id": {
"description": "MarketIntell TradeSignal ID, if this is acting on one",
"type": "string"
}
},
"required": [
"symbol",
"asset_class",
"side",
"reasoning",
"confidence"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}