{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/btse/main/json-schema/btse-redeem-investment-request-schema.json",
  "title": "RedeemInvestmentRequest",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/btse-earn-openapi.yml#/components/schemas/RedeemInvestmentRequest",
  "type": "object",
  "required": [
    "orderId",
    "amount"
  ],
  "properties": {
    "orderId": {
      "type": "integer",
      "description": "Investment order ID"
    },
    "amount": {
      "type": "number",
      "description": "Amount to redeem"
    }
  }
}