Mojang · JSON Structure

Minecraft Services Cape Structure

A cape owned by the authenticated player.

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

Cape 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 state url alias

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/minecraft-services-cape-structure.json",
  "name": "Cape",
  "description": "A cape owned by the authenticated player.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Cape UUID.",
      "example": "1981aad373fa9754"
    },
    "state": {
      "type": "string",
      "enum": [
        "ACTIVE",
        "INACTIVE"
      ],
      "example": "ACTIVE"
    },
    "url": {
      "type": "uri",
      "description": "Cape texture URL.",
      "example": "https://textures.minecraft.net/texture/cape123..."
    },
    "alias": {
      "type": "string",
      "description": "Cape display name.",
      "example": "Migrator"
    }
  },
  "required": [
    "id",
    "state",
    "url"
  ]
}