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_lending_health_factor",
"evidence_scope": "caller_supplied_data",
"lending_health_factor": "{\"adjusted_collateral_value\":\"160\",\"debt_value\":\"100\",\"health_factor\":\"1.6\",\"liquidatable_at_or_below_one\":false}",
"warnings": [
"Protocol rules, prices, and positions are caller supplied."
]
}
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",
"lending_health_factor",
"warnings"
],
"properties": {
"service_id": {
"type": "string",
"const": "defi_lending_health_factor",
"minLength": 26,
"maxLength": 26
},
"evidence_scope": {
"type": "string",
"const": "caller_supplied_data",
"minLength": 20,
"maxLength": 20
},
"lending_health_factor": {
"type": "string",
"minLength": 1,
"maxLength": 65536
},
"warnings": {
"type": "array",
"minItems": 1,
"maxItems": 8,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 512
}
}
}
}