{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mojang/json-schema/mojang-change-skin-request-schema.json",
  "title": "ChangeSkinRequest",
  "description": "JSON body for the URL-based skin-change call.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mojang-skins-api-openapi.yml#/components/schemas/ChangeSkinRequest",
  "type": "object",
  "required": [
    "variant",
    "url"
  ],
  "properties": {
    "variant": {
      "type": "string",
      "enum": [
        "classic",
        "slim"
      ]
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Public URL of the PNG skin image."
    }
  }
}