Subgraph
GraphQL Queries
Sports, Leagues, Countries Entities
Sport Entity

Sport Entity

Description

Represents a sport within the betting system. It is linked to a SportHub and is used to group related games, countries, and leagues for betting purposes.

Usage

When building interfaces that organize games by sport, this entity is essential. It helps filter and categorize games by sport, making it ideal for applications that need to create dynamic menus or filters for sports categories.

Attributes

AttributeTypeDescription
idID!Unique identifier for the sport.
sportIdBigInt!Numeric ID representing the sport.
nameString!Name of the sport.
slugString!URL-friendly slug for the sport.
sporthubSportHub!Reference to the associated sport hub.
countries[Country!]! @derivedFromList of countries participating in this sport.
games[Game!]! @derivedFromList of games related to this sport.