{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RedemptionRequest",
  "title": "RedemptionRequest",
  "type": "object",
  "required": [
    "rewardId",
    "pointsToRedeem"
  ],
  "properties": {
    "rewardId": {
      "type": "string"
    },
    "pointsToRedeem": {
      "type": "integer"
    },
    "deliveryMethod": {
      "type": "string"
    },
    "deliveryAddress": {
      "type": "object"
    }
  }
}