Mojang · Schema

Profile

A Minecraft player profile (id / name pair).

Games And ComicsMinecraftGamingIdentityPlayer ProfilesSessionPublic APIs

Properties

Name Type Description
id string Player UUID without hyphens.
name string Current player username (case-preserving).
legacy boolean True if the account has not yet been migrated to Mojang.
demo boolean True if the account is a free demo account.
View JSON Schema on GitHub

JSON Schema

public-api-profile-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/public-api-profile-schema.json",
  "title": "Profile",
  "description": "A Minecraft player profile (id / name pair).",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Player UUID without hyphens.",
      "example": "853c80ef3c3749fdaa49938b674adae6"
    },
    "name": {
      "type": "string",
      "description": "Current player username (case-preserving).",
      "example": "jeb_"
    },
    "legacy": {
      "type": "boolean",
      "description": "True if the account has not yet been migrated to Mojang.",
      "example": false
    },
    "demo": {
      "type": "boolean",
      "description": "True if the account is a free demo account.",
      "example": false
    }
  },
  "required": [
    "id",
    "name"
  ]
}