{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/btse/main/json-schema/btse-deposit-investment-request-schema.json",
  "title": "DepositInvestmentRequest",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/btse-earn-openapi.yml#/components/schemas/DepositInvestmentRequest",
  "type": "object",
  "required": [
    "productId",
    "amount",
    "renew",
    "day"
  ],
  "properties": {
    "productId": {
      "type": "string",
      "description": "Product ID"
    },
    "amount": {
      "type": "number",
      "description": "Investment amount"
    },
    "renew": {
      "type": "boolean",
      "description": "Whether to auto-renew"
    },
    "day": {
      "type": "integer",
      "description": "Investment duration in days"
    }
  }
}