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": "defi_price_impact",
"evidence_scope": "caller_supplied_data",
"price_impact": "{\"execution_price\":\"1.974316068794122597\",\"price_impact_percent\":\"1.284196560293\",\"spot_price\":\"2\"}",
"warnings": [
"Calculation is a deterministic model, not an executable quote."
]
}
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",
"price_impact",
"warnings"
],
"properties": {
"service_id": {
"type": "string",
"const": "defi_price_impact",
"minLength": 17,
"maxLength": 17
},
"evidence_scope": {
"type": "string",
"const": "caller_supplied_data",
"minLength": 20,
"maxLength": 20
},
"price_impact": {
"type": "string",
"minLength": 1,
"maxLength": 65536
},
"warnings": {
"type": "array",
"minItems": 1,
"maxItems": 8,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 512
}
}
}
}