{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-gamelift/refs/heads/main/json-structure/gamelift-matched-player-session-structure.json",
  "name": "MatchedPlayerSession",
  "description": "<p>Represents a new player session that is created as a result of a successful FlexMatch match. A successful match automatically creates new player sessions for every player ID in the original matchmaking request. </p> <p>When players connect to the match's game session, they must include both player ID and player session ID in order to claim their assigned player slot.</p>",
  "type": "object",
  "properties": {
    "PlayerId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NonZeroAndMaxString"
        },
        {
          "description": "A unique identifier for a player "
        }
      ]
    },
    "PlayerSessionId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PlayerSessionId"
        },
        {
          "description": "A unique identifier for a player session"
        }
      ]
    }
  }
}