{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/2wpower-com/json-schema/2wpower-com-geo-response-schema.json",
  "title": "GeoResponse",
  "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/GeoResponse",
  "properties": {
    "country_code": {
      "type": "string",
      "title": "Country Code",
      "description": "ISO 3166-1 alpha-2 country code."
    },
    "country_name": {
      "type": "string",
      "title": "Country Name",
      "description": "Country name."
    },
    "region": {
      "type": "string",
      "title": "Region",
      "description": "Market region."
    },
    "tier": {
      "type": "string",
      "title": "Tier",
      "description": "Market tier label."
    },
    "currency": {
      "$ref": "#/$defs/Currency",
      "description": "Local currency metadata."
    },
    "timezones": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Timezones",
      "description": "IANA timezone identifiers."
    },
    "utc_offset_primary": {
      "type": "string",
      "title": "Utc Offset Primary",
      "description": "Primary UTC offset recorded in the dataset, in hours; not a live daylight-saving calculation."
    },
    "regulation": {
      "$ref": "#/$defs/Regulation",
      "description": "Regulatory profile recorded in the dataset."
    },
    "payments": {
      "$ref": "#/$defs/Payments",
      "description": "Local payment methods and restrictions."
    },
    "localization": {
      "$ref": "#/$defs/Localization",
      "description": "Language and popular product categories."
    },
    "marketing_notes": {
      "type": "string",
      "title": "Marketing Notes",
      "description": "Country-specific marketing notes."
    }
  },
  "type": "object",
  "required": [
    "country_code",
    "country_name",
    "region",
    "tier",
    "currency",
    "timezones",
    "utc_offset_primary",
    "regulation",
    "payments",
    "localization",
    "marketing_notes"
  ],
  "$defs": {
    "Currency": {
      "properties": {
        "code": {
          "type": "string",
          "title": "Code",
          "description": "ISO 4217 currency code."
        },
        "symbol": {
          "type": "string",
          "title": "Symbol",
          "description": "Local currency symbol."
        },
        "name": {
          "type": "string",
          "title": "Name",
          "description": "Currency name."
        }
      },
      "type": "object",
      "required": [
        "code",
        "symbol",
        "name"
      ],
      "title": "Currency"
    },
    "Localization": {
      "properties": {
        "primary_language": {
          "type": "string",
          "title": "Primary Language",
          "description": "Primary language/locale code."
        },
        "popular_verticals": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Popular Verticals",
          "description": "Popular gambling product categories."
        }
      },
      "type": "object",
      "required": [
        "primary_language",
        "popular_verticals"
      ],
      "title": "Localization"
    },
    "Payments": {
      "properties": {
        "top_methods": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Top Methods",
          "description": "Common local payment method names."
        },
        "crypto_allowed": {
          "type": "boolean",
          "title": "Crypto Allowed",
          "description": "Whether cryptocurrency payments are marked as allowed."
        },
        "credit_cards_allowed": {
          "type": "boolean",
          "title": "Credit Cards Allowed",
          "description": "Whether credit card payments are marked as allowed."
        }
      },
      "type": "object",
      "required": [
        "top_methods",
        "crypto_allowed",
        "credit_cards_allowed"
      ],
      "title": "Payments"
    },
    "Regulation": {
      "properties": {
        "status": {
          "type": "string",
          "title": "Status",
          "description": "Regulatory classification in the country dataset."
        },
        "local_license_available": {
          "type": "boolean",
          "title": "Local License Available",
          "description": "Whether a local gambling license is available."
        },
        "regulator_name": {
          "type": "string",
          "title": "Regulator Name",
          "description": "Regulator name recorded in the dataset."
        },
        "legal_gambling_age": {
          "type": "integer",
          "title": "Legal Gambling Age",
          "description": "Minimum gambling age, in years."
        },
        "tax_ggr_percent": {
          "type": "number",
          "title": "Tax Ggr Percent",
          "description": "Tax on gross gaming revenue, in percent; 13 means 13%, not 0.13."
        }
      },
      "type": "object",
      "required": [
        "status",
        "local_license_available",
        "regulator_name",
        "legal_gambling_age",
        "tax_ggr_percent"
      ],
      "title": "Regulation"
    }
  }
}