Mojang · JSON Structure

Minecraft Services Name Availability Structure

Response from the name-availability check.

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

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

Properties

status

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-name-availability-structure.json",
  "name": "NameAvailability",
  "description": "Response from the name-availability check.",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "AVAILABLE",
        "DUPLICATE",
        "NOT_ALLOWED"
      ],
      "example": "AVAILABLE"
    }
  },
  "required": [
    "status"
  ]
}