Master Data Reference of GS2-Matchmaking

{
  "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"
    }
  ]
}
TypeRequireDefaultLimitationDescription
version2020-06-24Format version of master data
ratingModelsList<RatingModel>

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.

TypeRequireDefaultLimitationDescription
ratingModelIdstring~ 1024 charsRating Model GRN
namestring~ 128 charsRating Model Name
metadatastring~ 128 charsmetadata
initialValueint1500100 ~ 10000Initial value of rate value
volatilityint1001 ~ 20000Magnitude of rate value fluctuation

AttributeRange

TypeRequireDefaultLimitationDescription
namestring~ 128 charsAttribute Name
minint0~ 2147483646Minimum attribute values that can participate in the Gathering
maxint0~ 2147483646Maximum value of attributes that can participate in the Gathering

CapacityOfRole

TypeRequireDefaultLimitationDescription
roleNamestring“default”~ 128 charsRole Name
roleAliasesList<string>[]List of Role Name Aliases
capacityint1 ~ 256Number of applicants
participantsList<Player>[]List of Participant Players

Attribute

TypeRequireDefaultLimitationDescription
namestring~ 128 charsAttribute Name
valueint0~ 2147483646Attribute value

Player

TypeRequireDefaultLimitationDescription
userIdstring~ 128 charsUser Id
attributesList<Attribute>[]List of Attributes
roleNamestring“default”~ 128 charsRole Name
denyUserIdsList<string>[]List of user IDs that are denied participation

GameResult

TypeRequireDefaultLimitationDescription
rankint~ 2147483646Rank
userIdstring~ 128 charsUser Id

Ballot

TypeRequireDefaultLimitationDescription
userIdstring~ 128 charsUser Id
ratingNamestring~ 128 charsRating name used for rating calculations
gatheringNamestring~ 128 charsName of Gathering to be voted
numberOfPlayerint2 ~ 10Number of participants

SignedBallot

TypeRequireDefaultLimitationDescription
bodystring~ 1024 charsData for ballot signature targets
signaturestring~ 256 charsSignature

WrittenBallot

TypeRequireDefaultLimitationDescription
ballotBallotBallot
gameResultsList<GameResult>List of Results

TimeSpan

TypeRequireDefaultLimitationDescription
daysint0~ 365Number of days from current time
hoursint0~ 24Hours from current time
minutesint0~ 60Minutes from current time