Klineo/Docs
Open app ↗

API v1 schemas

v1 · PolicyVersion

All API schemas

object — Additional properties allowed

Field Required at this level Type Description and constraints
id Yes string —
version Yes integer Minimum: 1
strategy Yes StrategyKind —
strategyVersion Yes StrategyVersion —
configHash Yes string Pattern: ^0x[0-9a-fA-F]{64}$
validAfter Yes string Format: date-time
validUntil Yes string Format: date-time
riskDelta No RiskDelta —
onchainPolicyHash No string Pattern: ^0x[0-9a-fA-F]{64}$

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/PolicyVersion in the OpenAPI contract.