Mojang · JSON Structure

Session Server Session Profile Structure

A signed session profile with textures and metadata properties.

Type: object Properties: 4 Required: 3
Games And ComicsMinecraftGamingIdentityPlayer ProfilesSessionPublic APIs

SessionProfile is a JSON Structure definition published by Mojang, describing 4 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id name properties profileActions

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/mojang/refs/heads/main/json-structure/session-server-session-profile-structure.json",
  "name": "SessionProfile",
  "description": "A signed session profile with textures and metadata properties.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Player UUID without hyphens.",
      "example": "853c80ef3c3749fdaa49938b674adae6"
    },
    "name": {
      "type": "string",
      "description": "Player username.",
      "example": "jeb_"
    },
    "properties": {
      "type": "array",
      "description": "Signed property list (currently only `textures`).",
      "items": {
        "$ref": "#/components/schemas/SessionProperty"
      }
    },
    "profileActions": {
      "type": "array",
      "description": "Sanctions or actions Mojang has taken on the profile.",
      "items": {
        "type": "string",
        "example": "FORCED_NAME_CHANGE"
      }
    }
  },
  "required": [
    "id",
    "name",
    "properties"
  ]
}