Mojang · JSON Structure

Minecraft Services Presence Report Structure

Body for POST /presence.

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

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

Properties

status joinInfo

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-presence-report-structure.json",
  "name": "PresenceReport",
  "description": "Body for POST /presence.",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "OFFLINE",
        "ONLINE",
        "PLAYING_OFFLINE",
        "PLAYING_HOSTED_SERVER",
        "PLAYING_REALMS",
        "PLAYING_SERVER"
      ],
      "example": "PLAYING_SERVER"
    },
    "joinInfo": {
      "type": "object",
      "additionalProperties": true,
      "description": "Optional server / realm join metadata."
    }
  },
  "required": [
    "status"
  ]
}