Realistic output shape
Illustrative output from the canonical adapter fixture and schema. It is not a completed paid execution or a current live observation.
{
"service_id": "orderbook_depth",
"evidence_scope": "caller_supplied_data",
"orderbook_depth": "{\"ask_depth\":{\"levels\":1,\"notional\":\"303\",\"quantity\":\"3\"},\"best_ask\":\"101\",\"best_bid\":\"99\",\"bid_depth\":{\"levels\":1,\"notional\":\"198\",\"quantity\":\"2\"},\"level_limit\":10}",
"warnings": [
"The order book is caller supplied and may be stale or incomplete."
]
}
View complete output schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"additionalProperties": false,
"minProperties": 4,
"maxProperties": 4,
"required": [
"service_id",
"evidence_scope",
"orderbook_depth",
"warnings"
],
"properties": {
"service_id": {
"type": "string",
"const": "orderbook_depth",
"minLength": 15,
"maxLength": 15
},
"evidence_scope": {
"type": "string",
"const": "caller_supplied_data",
"minLength": 20,
"maxLength": 20
},
"orderbook_depth": {
"type": "string",
"minLength": 1,
"maxLength": 65536
},
"warnings": {
"type": "array",
"minItems": 1,
"maxItems": 8,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 512
}
}
}
}