Klineo/Docs
Open app ↗

API schemas

StrategyCompilation

All API schemas

object — Additional properties rejected

Field Required at this level Type Description and constraints
compilerVersion Yes Constant strategy-dsl-v1 —
valid Yes boolean —
allocationPips Yes Pips —
issues Yes Array of object —
issues[].code Yes string —
issues[].severity Yes string Allowed: ERROR, WARNING
issues[].path Yes string —
issues[].message Yes string —
enforceability Yes Array of object —
enforceability[].field Yes string —
enforceability[].class Yes string Allowed: ONCHAIN, DETERMINISTIC_OFFCHAIN, MANUAL_APPROVAL
enforceability[].reason Yes string —
activationClass Yes string Allowed: BOUNDED_AUTOPILOT_ELIGIBLE, SAFE_APPROVAL_ONLY, INVALID

Nested required fields apply when their parent object or matching union branch is present. Named types link to their complete schema.

Exact definition: #/components/schemas/StrategyCompilation in the OpenAPI contract.