Mojang · JSON Structure

Minecraft Services Friend Structure

A friend or pending friend.

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

Friend 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

profile addedAt

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-friend-structure.json",
  "name": "Friend",
  "description": "A friend or pending friend.",
  "type": "object",
  "properties": {
    "profile": {
      "$ref": "#/components/schemas/Profile"
    },
    "addedAt": {
      "type": "datetime",
      "description": "When the friendship was established.",
      "example": "2025-04-12T18:30:00Z"
    }
  },
  "required": [
    "profile"
  ]
}