Amazon GameLift · JSON Structure

Gamelift Desired Player Session Structure

Player information for use when creating player sessions using a game session placement request.

Type: object Properties: 2
Cloud ComputingGame ServersGamingMultiplayerMatchmakingFlexMatchFleetIQ

DesiredPlayerSession is a JSON Structure definition published by Amazon GameLift, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

PlayerId PlayerData

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-gamelift/refs/heads/main/json-structure/gamelift-desired-player-session-structure.json",
  "name": "DesiredPlayerSession",
  "description": "Player information for use when creating player sessions using a game session placement request.",
  "type": "object",
  "properties": {
    "PlayerId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NonZeroAndMaxString"
        },
        {
          "description": "A unique identifier for a player to associate with the player session."
        }
      ]
    },
    "PlayerData": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PlayerData"
        },
        {
          "description": "Developer-defined information related to a player. Amazon GameLift does not use this data, so it can be formatted as needed for use in the game."
        }
      ]
    }
  }
}