{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/2wpower-com/json-schema/2wpower-com-wagering-calculation-response-schema.json",
  "title": "WageringCalculationResponse",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/2wpower-com-api-openapi.json#/components/schemas/WageringCalculationResponse",
  "properties": {
    "wagering_type": {
      "type": "string",
      "enum": [
        "bonus_only",
        "deposit_plus_bonus"
      ],
      "title": "Wagering Type",
      "description": "Whether turnover is based on bonus only or deposit plus bonus."
    },
    "total_turnover_required": {
      "type": "number",
      "title": "Total Turnover Required",
      "description": "Required betting turnover in the same currency units as deposit_amount and bonus_amount, rounded to 2 decimal places."
    },
    "house_edge_percent": {
      "type": "number",
      "title": "House Edge Percent",
      "description": "100 minus slot RTP, in percentage points; 3.8 means 3.8%."
    },
    "expected_theoretical_ggr": {
      "type": "number",
      "title": "Expected Theoretical Ggr",
      "description": "Turnover multiplied by house edge / 100, in input currency units, rounded to 2 decimal places. Theoretical gross gaming revenue before bonus cost."
    },
    "player_expected_value_ev": {
      "type": "number",
      "title": "Player Expected Value Ev",
      "description": "Wagering base minus theoretical GGR, in input currency units, rounded to 2 decimal places. Base is bonus for bonus_only and deposit plus bonus otherwise; this is not net profit after subtracting the deposit."
    },
    "is_profitable_for_operator": {
      "type": "boolean",
      "title": "Is Profitable For Operator",
      "description": "True when unrounded theoretical GGR exceeds the bonus amount; ignores other operator costs."
    }
  },
  "type": "object",
  "required": [
    "wagering_type",
    "total_turnover_required",
    "house_edge_percent",
    "expected_theoretical_ggr",
    "player_expected_value_ev",
    "is_profitable_for_operator"
  ]
}