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": "market_drawdown",
"evidence_scope": "caller_supplied_data",
"market_drawdown": "{\"maximum_drawdown\":\"-0.25\",\"maximum_drawdown_percent\":\"-25\",\"series\":[{\"drawdown\":\"0\",\"index\":0},{\"drawdown\":\"0\",\"index\":1},{\"drawdown\":\"-0.25\",\"index\":2},{\"drawdown\":\"-0.083333333333333333\",\"index\":3}]}",
"warnings": [
"Results cover only the supplied observation period."
]
}
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",
"market_drawdown",
"warnings"
],
"properties": {
"service_id": {
"type": "string",
"const": "market_drawdown",
"minLength": 15,
"maxLength": 15
},
"evidence_scope": {
"type": "string",
"const": "caller_supplied_data",
"minLength": 20,
"maxLength": 20
},
"market_drawdown": {
"type": "string",
"minLength": 1,
"maxLength": 65536
},
"warnings": {
"type": "array",
"minItems": 1,
"maxItems": 8,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 512
}
}
}
}