Mojang · JSON Structure

Minecraft Services Change Skin Request Structure

JSON body for the URL-based skin-change call.

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

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

Properties

variant url

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-change-skin-request-structure.json",
  "name": "ChangeSkinRequest",
  "description": "JSON body for the URL-based skin-change call.",
  "type": "object",
  "properties": {
    "variant": {
      "type": "string",
      "enum": [
        "classic",
        "slim"
      ],
      "example": "classic"
    },
    "url": {
      "type": "uri",
      "description": "Public URL of the PNG skin image.",
      "example": "https://example.com/skins/my-skin.png"
    }
  },
  "required": [
    "variant",
    "url"
  ]
}