Mojang · JSON Structure

Public Api Profile Structure

A Minecraft player profile (id / name pair).

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

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

Properties

id name legacy demo

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/public-api-profile-structure.json",
  "name": "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"
  ]
}