Veli · Schema

AssetAllocation

Asset allocation within a strategy

CryptoDeFiFinanceInvestmentPortfolio Management

Properties

Name Type Description
symbol string Crypto asset symbol
name string Asset name
weight number Target allocation weight (0-1)
View JSON Schema on GitHub

JSON Schema

veli-asset-allocation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/veli/refs/heads/main/json-schema/veli-asset-allocation-schema.json",
  "title": "AssetAllocation",
  "description": "Asset allocation within a strategy",
  "type": "object",
  "properties": {
    "symbol": {
      "type": "string",
      "description": "Crypto asset symbol",
      "example": "BTC"
    },
    "name": {
      "type": "string",
      "description": "Asset name",
      "example": "Bitcoin"
    },
    "weight": {
      "type": "number",
      "description": "Target allocation weight (0-1)",
      "minimum": 0,
      "maximum": 1,
      "example": 0.6
    }
  }
}