Country Entity
Description
Represents a country in Azuro's ecosystem. It is linked to a sport and contains information about leagues, games, and the betting turnover within the country.
Usage
Use this entity to group games and leagues by country, and display turnover data for each region. If you're building a market that allows users to explore games based on location, this entity is the one to use.
Attributes
Attribute | Type | Description |
---|---|---|
id | ID! | Unique identifier for the country. |
name | String! | Name of the country. |
slug | String! | URL-friendly slug for the country. |
sport | Sport! | Reference to the sport associated with the country. |
leagues | [League!]! @derivedFrom | List of leagues in the country. |
hasActiveLeagues | Boolean! | Indicates if the country has active leagues. |
activeLeaguesEntityIds | [String!] | List of active league IDs. |
turnover | BigInt! | Turnover value of the country based on betting activity. Useful for sorting |