{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/super-payments/main/json-schema/super-payments-generate-reward-calculation-output-dto-schema.json",
  "title": "GenerateRewardCalculationOutputDto",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/super-payments-rewards-api-openapi.yml#/components/schemas/GenerateRewardCalculationOutputDto",
  "type": "object",
  "properties": {
    "id": {
      "description": "Unique identifier for the reward calculation",
      "type": "string"
    },
    "rewardPercentage": {
      "description": "The percentage rate used for the reward calculation",
      "type": "number"
    },
    "rewardsIssuable": {
      "type": "object",
      "properties": {
        "amount": {
          "description": "The amount",
          "type": "number"
        },
        "currency": {
          "description": "The currency code",
          "type": "string"
        }
      },
      "required": [
        "amount",
        "currency"
      ]
    }
  },
  "required": [
    "id",
    "rewardPercentage",
    "rewardsIssuable"
  ]
}