{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/2wpower-com/json-schema/2wpower-com-game-search-response-schema.json",
  "title": "GameSearchResponse",
  "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/GameSearchResponse",
  "properties": {
    "query": {
      "type": "string",
      "title": "Query",
      "description": "Original query, before trimming and case normalization."
    },
    "total_results": {
      "type": "integer",
      "title": "Total Results",
      "description": "Number of matching games returned in items."
    },
    "items": {
      "items": {
        "$ref": "#/$defs/GameItem"
      },
      "type": "array",
      "title": "Items",
      "description": "Matching games; an empty query returns all games."
    }
  },
  "type": "object",
  "required": [
    "query",
    "total_results",
    "items"
  ],
  "$defs": {
    "GameItem": {
      "properties": {
        "game_id": {
          "type": "string",
          "title": "Game Id",
          "description": "Unique game identifier."
        },
        "title": {
          "type": "string",
          "title": "Title",
          "description": "Game title."
        },
        "slug": {
          "type": "string",
          "title": "Slug",
          "description": "URL-friendly game title."
        },
        "provider": {
          "$ref": "#/$defs/GameProvider",
          "description": "Provider associated with this game."
        },
        "category": {
          "type": "string",
          "title": "Category",
          "description": "Game category."
        },
        "mechanics": {
          "type": "string",
          "title": "Mechanics",
          "description": "Game mechanics description."
        },
        "grid_layout": {
          "type": "string",
          "title": "Grid Layout",
          "description": "Grid layout as columns x rows, or a game-specific layout label."
        },
        "rtp_default_percent": {
          "type": "number",
          "title": "Rtp Default Percent",
          "description": "Default theoretical return to player, in percent; 96.48 means 96.48%."
        },
        "rtp_ranges_available": {
          "type": "boolean",
          "title": "Rtp Ranges Available",
          "description": "Whether alternative RTP configurations are available."
        },
        "volatility": {
          "type": "string",
          "title": "Volatility",
          "description": "Qualitative volatility label."
        },
        "max_win_multiplier": {
          "type": "integer",
          "title": "Max Win Multiplier",
          "description": "Maximum win as a multiple of the stake; 21100 means 21100x."
        },
        "min_bet_usd": {
          "type": "number",
          "title": "Min Bet Usd",
          "description": "Minimum stake in US dollars."
        },
        "max_bet_usd": {
          "type": "number",
          "title": "Max Bet Usd",
          "description": "Maximum stake in US dollars."
        },
        "release_date": {
          "type": "string",
          "title": "Release Date",
          "description": "Release date in YYYY-MM-DD format."
        },
        "features": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Features",
          "description": "Game feature labels."
        },
        "themes": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Themes",
          "description": "Game theme labels."
        },
        "mobile_optimized": {
          "type": "boolean",
          "title": "Mobile Optimized",
          "description": "Whether the game is optimized for mobile devices."
        }
      },
      "type": "object",
      "required": [
        "game_id",
        "title",
        "slug",
        "provider",
        "category",
        "mechanics",
        "grid_layout",
        "rtp_default_percent",
        "rtp_ranges_available",
        "volatility",
        "max_win_multiplier",
        "min_bet_usd",
        "max_bet_usd",
        "release_date",
        "features",
        "themes",
        "mobile_optimized"
      ],
      "title": "GameItem"
    },
    "GameProvider": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id",
          "description": "Provider identifier in the game dataset."
        },
        "name": {
          "type": "string",
          "title": "Name",
          "description": "Provider display name."
        }
      },
      "type": "object",
      "required": [
        "id",
        "name"
      ],
      "title": "GameProvider"
    }
  }
}