{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/theblueprint-xyz/json-schema/theblueprint-xyz-simulate-stake-response-schema.json",
  "title": "SimulateStakeResponse",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/theblueprint-xyz-openapi.json#/components/schemas/SimulateStakeResponse",
  "type": "object",
  "properties": {
    "amountSol": {
      "type": "number",
      "description": "Amount of SOL being simulated for staking"
    },
    "durationDays": {
      "type": "integer",
      "description": "Projection duration in days"
    },
    "baseApy": {
      "type": "number",
      "description": "Current total APY percentage"
    },
    "effectiveApy": {
      "type": "number",
      "description": "Effective APY. Equals the stated APY; total_apy from StakeWiz is already an annual yield, so projections are pro-rata and not re-compounded."
    },
    "rewards": {
      "type": "object",
      "description": "Projected staking rewards over the simulation period (pro-rata; total_apy is already a compounded annual yield)",
      "properties": {
        "daily": {
          "type": "number",
          "description": "Estimated daily reward in SOL"
        },
        "monthly": {
          "type": "number",
          "description": "Estimated 30-day reward in SOL (compounded)"
        },
        "annual": {
          "type": "number",
          "description": "Estimated 365-day reward in SOL (compounded)"
        },
        "total": {
          "type": "number",
          "description": "Total projected reward over duration (compounded)"
        }
      }
    },
    "activation": {
      "type": "object",
      "description": "Stake activation timing — when the stake will start earning rewards",
      "properties": {
        "estimatedActivationEpoch": {
          "type": "integer",
          "description": "Epoch number when stake is expected to activate"
        },
        "estimatedWaitTime": {
          "type": "integer",
          "description": "Seconds until stake activates"
        },
        "estimatedActivationDate": {
          "type": "string",
          "format": "date-time",
          "description": "ISO 8601 timestamp when stake is expected to activate"
        },
        "note": {
          "type": "string",
          "description": "Explanation of activation timing"
        }
      }
    },
    "feeReserve": {
      "type": "object",
      "description": "Fee reserve guidance — how much SOL to keep liquid for transaction fees",
      "properties": {
        "recommendedReserveSol": {
          "type": "number",
          "description": "Recommended SOL to keep unstaked for transaction fees"
        },
        "minimumStakeSol": {
          "type": "number",
          "description": "Minimum SOL required to create a stake account (rent-exempt minimum)"
        },
        "maxStakeableFromBalance": {
          "type": "string",
          "description": "Formula showing how much can be staked from a given balance"
        }
      }
    },
    "recommendation": {
      "type": "string",
      "description": "Natural-language recommendation"
    },
    "disclaimer": {
      "type": "string",
      "description": "Risk disclaimer — projections are estimates, not guarantees"
    },
    "_meta": {
      "$ref": "#/$defs/ResponseMeta"
    }
  },
  "$defs": {
    "ResponseMeta": {
      "type": "object",
      "description": "Navigation metadata included in most responses",
      "properties": {
        "endpoint": {
          "type": "string",
          "description": "The endpoint that generated this response"
        },
        "description": {
          "type": "string",
          "description": "Brief description of the response"
        },
        "timestamp": {
          "type": "string",
          "format": "date-time",
          "description": "ISO 8601 timestamp when this response was generated"
        },
        "relatedEndpoints": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Related REST endpoints for next actions"
        },
        "relatedTools": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Related MCP tool names (MCP responses only)"
        },
        "nextSteps": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Contextual next steps based on response data"
        },
        "verifyThisCode": {
          "type": "string",
          "description": "Endpoint to verify code integrity"
        },
        "cacheTtlSeconds": {
          "type": "integer",
          "description": "Cache TTL for this response"
        },
        "documentation": {
          "type": "string",
          "description": "Link to documentation"
        },
        "support": {
          "type": "object",
          "description": "Optional donation info — Blueprint is free, donation-supported infrastructure",
          "properties": {
            "address": {
              "type": "string",
              "description": "Solana address for donations"
            },
            "message": {
              "type": "string",
              "description": "Context about why donations help"
            },
            "donate": {
              "type": "string",
              "description": "How to build a donation transaction via API/MCP"
            }
          }
        }
      }
    }
  }
}