{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/innernet-live/json-schema/innernet-live-room-schema.json",
  "title": "Room",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/innernet-live-openapi.json#/components/schemas/Room",
  "type": "object",
  "properties": {
    "room": {
      "type": "string",
      "description": "The room's slug — what a `room` argument names."
    },
    "name": {
      "type": "string"
    },
    "map_slug": {
      "type": "string",
      "description": "The slug of the room's memory. Load it, ask it and capture into it like any map."
    },
    "role": {
      "type": "string",
      "enum": [
        "owner",
        "editor",
        "viewer"
      ],
      "description": "Only owners and editors may add."
    },
    "people": {
      "type": "integer",
      "description": "Everyone standing in the room, its owner included."
    },
    "plan": {
      "type": "string",
      "enum": [
        "free",
        "team"
      ]
    },
    "kind": {
      "type": "string",
      "enum": [
        "work",
        "close"
      ]
    }
  }
}