INPUT_OBJECT
CreateCompetitionInput
Create a Competition.
link GraphQL Schema definition
1 input CreateCompetitionInput { 4 2 # Banner image for the competition event page. 3 : String 8 5 # This is the amount of time (in minutes) available for participants to check-in 6 # once competition startAt has passed. 7 : Int! 11 9 # Long form description of the competition. 10 : String 14 12 # The time the competition is scheduled to end. 13 : Time! 18 15 # The competition format type (i.e. enum values of LEADERBOARD, ROUND_ROBIN, 16 # SINGLE_ELIM etc.). 17 : FormatType! 21 19 # The game_id of the game being played in the competition. 20 : ID! 24 22 # Primary artwork for the competition. 23 : String 27 25 # The required inputs for leaderboard format. 26 : CreateCompetitionLeaderboardDetailsInput 30 28 # The name of the competition. 29 : String! 33 31 # Owner of the Competition, or filled in as user making the request. 32 : ID 37 34 # The participant-facing points of contact for the competition that only 35 # registered players can see. 36 : CreateCompetitionContactInfoInput 40 38 # The type of participant for the competition. e.g. SOLO, TEAM, ... 39 : CompetitionParticipantType! 44 41 # Long form text block description that explains the prizing for the competition 42 # and will be converted to Markdown client-side. 43 : String 47 45 # The public points of contact for the competition that anyone can see. 46 : CreateCompetitionContactInfoInput 50 48 # The time the competition is scheduled to end registration. 49 : Time! 54 51 # The maximum number of players in a REGISTERED state. A default value will be set 52 # if none is provided. 53 : Int 57 55 # The type of a registration for the competition. e.g. OPEN, INVITATIONAL, ... 56 : RegistrationType! 61 58 # Long form text block description that explains the rules for the competition and 59 # will be converted to Markdown client-side. 60 : String 64 62 # The time the competition is scheduled to start. 63 : Time! 67 65 # The state the Competition. Defaults to the UPCOMING state if not specified. 66 : CompetitionState 71 68 # The number of players within a single team entity. Must be 1 for solo-type 69 # competitions. 70 : Int! 74 72 # Link URL to any additional terms and conditions. 73 : String 75 }