Klineo/Docs
Open app ↗

API schemas

StrategyPackage

All API schemas

object — Additional properties rejected

Field Required at this level Type Description and constraints
packageId Yes string —
publisherOrganizationId Yes string —
name Yes string —
version Yes string —
compilerVersion Yes Constant strategy-dsl-v1 —
packageContentHash Yes Hash —
compilerHash Yes Hash —
definition Yes StrategyDefinitionV2Input —
supportedAssetIds Yes Array of string —
supportedVenueIds Yes Array of string —
riskClass Yes string Allowed: LOW, MODERATE, HIGH, EXPERIMENTAL
performanceAssumptions Yes Array of string —
historicalTests Yes Array of object —
historicalTests[].studyId Yes string —
historicalTests[].datasetHash Yes Hash —
historicalTests[].reportHash Yes Hash —
historicalTests[].compilerHash Yes Hash —
historicalTests[].passedAt Yes string Format: date-time
historicalTests[].passed Yes Constant true —
forkTests Yes Array of object —
forkTests[].testRunId Yes string —
forkTests[].chainId Yes integer Minimum: 1
forkTests[].forkBlockNumber Yes AtomicAmount —
forkTests[].forkBlockHash Yes Hash —
forkTests[].rpcQuorumEvidenceHashes Yes Array of Hash —
forkTests[].artifactHash Yes Hash —
forkTests[].compilerHash Yes Hash —
forkTests[].passedAt Yes string Format: date-time
forkTests[].passed Yes Constant true —
independentReviews Yes Array of object —
independentReviews[].reviewerIdentityId Yes string —
independentReviews[].reviewerName Yes string —
independentReviews[].reviewerOrganization Yes string —
independentReviews[].reviewedPackageContentHash Yes Hash —
independentReviews[].evidenceHash Yes Hash —
independentReviews[].reviewedAt Yes string Format: date-time
independentReviews[].decision Yes Constant APPROVE —
maximumCapitalQuote Yes AtomicAmount —
failureConditions Yes Array of string —
approvalRegistryEvidence No object Additional properties rejected
approvalRegistryEvidence.approvalId Yes string —
approvalRegistryEvidence.providerId Yes string —
approvalRegistryEvidence.providerKeyResourceVersion Yes Hash —
approvalRegistryEvidence.providerAttestationHash Yes Hash —
approvalRegistryEvidence.packageId Yes string —
approvalRegistryEvidence.packageVersion Yes string —
approvalRegistryEvidence.packageContentHash Yes Hash —
approvalRegistryEvidence.compilerHash Yes Hash —
approvalRegistryEvidence.reviewSetHash Yes Hash —
approvalRegistryEvidence.issuedAt Yes string Format: date-time
approvalRegistryEvidence.validUntil Yes string Format: date-time
approvalRegistryEvidence.signature Yes string —
executionSurface Yes Constant DECLARATIVE_NO_NETWORK_NO_SIGNING —
activationEligibility Yes string Allowed: DIGITAL_TWIN_ONLY, ACTIVATION_WORKFLOW_ELIGIBLE, REVOKED
status Yes string Allowed: CANDIDATE, APPROVED, REVOKED

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