Master Data Reference of GS2-Matchmaking

Reference of the format of master data and various models to be imported
{
  "version": "2020-06-24",
  "ratingModels": [
    {
      "name": "[string]Rating Model Name",
      "metadata": "[string?]Metadata",
      "initialValue": "[int]Initial value of rate value",
      "volatility": "[int]Magnitude of rate value fluctuation"
    }
  ],
  "seasonModels": [
    {
      "name": "[string]Season Model Name",
      "metadata": "[string?]Metadata",
      "maximumParticipants": "[int]Maximum number of participants",
      "experienceModelId": "[string?]Experience model in GS2-Experience that manages tiers",
      "challengePeriodEventId": "[string]GS2-Schedule event GRN that sets the period during which the season is open."
    }
  ]
}
TypeConditionRequiredDefaultValue LimitsDescription
version
2020-06-24Format version of master data
ratingModelsList<RatingModel>~ 50 itemsRating Model
GS2 uses Glicko-2 as its rating algorithm.
Glicko-2 has several parameters, but GS2-Matchmaking aggregates them into a single parameter, volatility, which represents the totality of the parameters.
Volatility is a parameter that expresses the magnitude of change; the larger the value, the greater the change in the rating value.
seasonModelsList<SeasonModel>~ 50 itemsSeason Model

AttributeRange

Terms and Conditions

TypeConditionRequiredDefaultValue LimitsDescription
namestring
~ 128 charsAttribute Name
minint
00 ~ 2147483646Minimum attribute values that can participate in the Gathering
maxint
00 ~ 2147483646Maximum value of attributes that can participate in the Gathering

CapacityOfRole

Application Limit

TypeConditionRequiredDefaultValue LimitsDescription
roleNamestring
“default”~ 128 charsRole Name
roleAliasesList<string>[]0 ~ 9 itemsList of Role Name Aliases
capacityint
1 ~ 256Number of applicants
participantsList<Player>[]0 ~ 1000 itemsList of Participant Players

Attribute

Attribute Value

TypeConditionRequiredDefaultValue LimitsDescription
namestring
~ 128 charsAttribute Name
valueint
00 ~ 2147483646Attribute value

Player

Participant Player Information

TypeConditionRequiredDefaultValue LimitsDescription
userIdstring
~ 128 charsUser Id
attributesList<Attribute>[]0 ~ 5 itemsList of Attributes
roleNamestring
“default”~ 128 charsRole Name
denyUserIdsList<string>[]0 ~ 100 itemsList of user IDs that are denied participation
createdAtlong
NowDatetime of creation
Unix time, milliseconds

GameResult

Match Results

TypeConditionRequiredDefaultValue LimitsDescription
rankint
0 ~ 2147483646Rank
userIdstring
~ 128 charsUser Id

Ballot

Ballot Paper

TypeConditionRequiredDefaultValue LimitsDescription
userIdstring
~ 128 charsUser Id
ratingNamestring
~ 128 charsRating name used for rating calculations
gatheringNamestring
~ 128 charsName of Gathering to be voted
numberOfPlayerint
2 ~ 10Number of participants

SignedBallot

Ballot with signatures

TypeConditionRequiredDefaultValue LimitsDescription
bodystring
~ 1024 charsData for ballot signature targets
signaturestring
~ 256 charsSignature

WrittenBallot

Ballot Paper

TypeConditionRequiredDefaultValue LimitsDescription
ballotBallot
Ballot
gameResultsList<GameResult>0 ~ 10 itemsList of Results

TimeSpan

Time Interval

TypeConditionRequiredDefaultValue LimitsDescription
daysint
00 ~ 365Number of days from current time
hoursint
00 ~ 24Hours from current time
minutesint
00 ~ 60Minutes from current time

RatingModel

Rating Model

GS2 uses Glicko-2 as its rating algorithm. Glicko-2 has several parameters, but GS2-Matchmaking aggregates them into a single parameter, volatility, which represents the totality of the parameters. Volatility is a parameter that expresses the magnitude of change; the larger the value, the greater the change in the rating value.

TypeConditionRequiredDefaultValue LimitsDescription
ratingModelIdstring
~ 1024 charsRating Model GRN
namestring
~ 128 charsRating Model Name
metadatastring~ 128 charsMetadata
initialValueint
1500100 ~ 10000Initial value of rate value
volatilityint
1001 ~ 20000Magnitude of rate value fluctuation

SeasonModel

Season Model

TypeConditionRequiredDefaultValue LimitsDescription
seasonModelIdstring
~ 1024 charsSeason Model GRN
namestring
~ 128 charsSeason Model Name
metadatastring~ 128 charsMetadata
maximumParticipantsint
2 ~ 1000Maximum number of participants
experienceModelIdstring~ 1024 charsExperience model in GS2-Experience that manages tiers
challengePeriodEventIdstring
~ 1024 charsGS2-Schedule event GRN that sets the period during which the season is open.