{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-structure/public-api-redeem-and-accumulate-rewards-response-structure.json", "name": "RedeemAndAccumulateRewardsResponse", "description": "Response body for RedeemAndAccumulateRewards API call.", "type": "object", "properties": { "transactionId": { "type": "string", "description": "The id of the transaction.", "example": "someidstring" }, "rewardEffect": { "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-reward-effect-schema.json" }, "accumulatedRewards": { "type": "array", "description": "List of rewards accumulated.", "items": { "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-user-balance-schema.json" } } } }