OBJECT
Prediction
A single Prediction made by a user on a Prediction Event.
link GraphQL Schema definition
1 type Prediction { 2 3 # The Event that this Prediction relates to. 4 PredictionEvent : 5 6 # The unique identifier of the Prediction. 7 ID! : 8 9 # Whether the Prediction's results have been acknowledged by the user. Null if the 10 # Prediction has not been resolved yet. 11 Boolean : 12 13 # The Outcome that was Predicted. 14 PredictionOutcome : 15 16 # The number of points that the user spent on this Prediction. 17 Int! : 18 19 # The number of points won by the user for this Prediction. Null if the Prediction 20 # has not been resolved yet. 21 Int : 22 23 # The timestamp of when the user initially made this Prediction. 24 Time! : 25 26 # The result of this Prediction. Null if the Prediction has not been resolved or 27 # refunded yet. 28 PredictionResult : 29 30 # The timestamp of when the user most recently updated this Prediction. 31 Time! : 32 33 # The user that made this Prediction. 34 User : 35 36 }
link Required by
- AcknowledgePredictionResultPayloadPayload for acknowledging the results of a Prediction.
- ChannelSelfEdgeInformation about the requesting user with respect to a channel.
- MakePredictionPayloadPayload for making a prediction.
- PredictionEventSelfEdgeThe relationship between a Prediction Event and the logged in user.
- PredictionOutcomeA single Outcome that users can choose in a Prediction Event.
- UserPredictionStatisticsStatistics concerning how a user has performed when making Predictions in a given channel.