What is venueType in Central Data?
Article 3760000, Status: VALIUDATED
Table of Contents
❓ Issue/Question
- What is
venueTypein Central Data? - What does
venueType: LAN,ONLINE, orHYBRIDmean on a tournament? - How do I filter tournaments by whether they are played online or at a physical location?
🖥️ Environment/Context
- Central Data
👌 Resolution/Answer
-
venueTypeis a field on thetournamentobject. It tells you where the tournament is played.
| Value | Meaning |
|---|---|
ONLINE |
Entirely online. |
LAN |
Entirely at a physical location. |
HYBRID |
Has both online and LAN phases. |
UNKNOWN |
Not specified. |
- To filter tournaments by venue, use the
venueTypefilter on thetournamentsquery. Example to get all tournaments with at least one LAN phase
query GetTournamentsPlayedAtPhysicalLocation {
tournaments(
first: 50
filter: {
venueType: [HYBRID, LAN]
}
) {
edges {
node {
id
name
venueType
}
}
}
}