Unity · JSON Structure

Unity Lobby Structure

Document structure for a Unity multiplayer lobby session

Type: object Properties: 0
Game DevelopmentReal-Time 3DMultiplayerGame ServicesCloud Gaming

Unity Lobby Structure is a JSON Structure definition published by Unity.

Meta-schema:

JSON Structure

Raw ↑
{
  "title": "Unity Lobby Structure",
  "description": "Document structure for a Unity multiplayer lobby session",
  "type": "object",
  "fields": [
    {
      "name": "id",
      "type": "string",
      "description": "Unique lobby identifier",
      "required": true
    },
    {
      "name": "name",
      "type": "string",
      "description": "Display name for the lobby",
      "required": true
    },
    {
      "name": "lobbyCode",
      "type": "string",
      "description": "Short code for private lobby join",
      "required": false,
      "example": "ABCD1234"
    },
    {
      "name": "isPrivate",
      "type": "boolean",
      "description": "Whether the lobby is hidden from search results",
      "required": true,
      "default": false
    },
    {
      "name": "isLocked",
      "type": "boolean",
      "description": "Whether new players can join",
      "required": false,
      "default": false
    },
    {
      "name": "maxPlayers",
      "type": "integer",
      "description": "Maximum number of players allowed",
      "required": true
    },
    {
      "name": "availableSlots",
      "type": "integer",
      "description": "Number of open player slots",
      "required": false
    },
    {
      "name": "hostId",
      "type": "string",
      "description": "Player ID of the lobby host",
      "required": true
    },
    {
      "name": "data",
      "type": "object",
      "description": "Custom lobby data (game mode, map, etc.)",
      "required": false,
      "additionalProperties": {
        "type": "object",
        "fields": [
          {
            "name": "value",
            "type": "string",
            "description": "Data value"
          },
          {
            "name": "visibility",
            "type": "string",
            "enum": ["Public", "Member", "Private"],
            "description": "Who can see this data"
          },
          {
            "name": "index",
            "type": "string",
            "description": "Index key for lobby search filtering"
          }
        ]
      }
    },
    {
      "name": "players",
      "type": "array",
      "description": "Players currently in the lobby",
      "required": false,
      "items": {
        "type": "object",
        "fields": [
          {
            "name": "id",
            "type": "string",
            "description": "Player ID"
          },
          {
            "name": "data",
            "type": "object",
            "description": "Player-specific lobby data"
          },
          {
            "name": "joined",
            "type": "string",
            "format": "date-time"
          }
        ]
      }
    },
    {
      "name": "created",
      "type": "string",
      "format": "date-time",
      "description": "Lobby creation time"
    },
    {
      "name": "lastUpdated",
      "type": "string",
      "format": "date-time",
      "description": "Last modification time"
    }
  ]
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/unity-lobby-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.