Mojang · Schema

SessionProperty

A single signed session-profile property (e.g. textures).

Games And ComicsMinecraftGamingIdentityPlayer ProfilesSessionPublic APIs

Properties

Name Type Description
name string Property name (typically `textures`).
value string Base64-encoded JSON payload (skin / cape URLs and metadata).
signature string Mojang RSA signature of `value`. Present only when the request included `unsigned=false`.
View JSON Schema on GitHub

JSON Schema

session-server-session-property-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mojang/refs/heads/main/json-schema/session-server-session-property-schema.json",
  "title": "SessionProperty",
  "description": "A single signed session-profile property (e.g. textures).",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Property name (typically `textures`).",
      "example": "textures"
    },
    "value": {
      "type": "string",
      "description": "Base64-encoded JSON payload (skin / cape URLs and metadata).",
      "example": "ewogICJ0aW1lc3RhbXAiIDogMTcwMDAwMDAwMDAwMCwKICAicHJvZmlsZUlkIiA6IC4uLgp9"
    },
    "signature": {
      "type": "string",
      "description": "Mojang RSA signature of `value`. Present only when the request included `unsigned=false`.",
      "example": "a1b2c3d4...=="
    }
  },
  "required": [
    "name",
    "value"
  ]
}