HipChat · JSON Structure

Hipchat Room Structure

JSON Structure for a HipChat Room. Historical surface; HipChat was discontinued 2019-02-15.

Type: object Properties: 11
ChatMessagingCollaborationTeam CommunicationSunsetHistoricalAtlassianWebhooks

HipChatRoom is a JSON Structure definition published by HipChat, describing 11 properties. It conforms to the https://json-structure.org/draft-00 meta-schema.

Properties

id name topic privacy is_archived is_guest_accessible guest_access_url created owner participants statistics

Meta-schema: https://json-structure.org/draft-00

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft-00",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hipchat/main/json-structure/hipchat-room-structure.json",
  "name": "HipChatRoom",
  "type": "object",
  "description": "JSON Structure for a HipChat Room. Historical surface; HipChat was discontinued 2019-02-15.",
  "x-status": "sunset",
  "properties": {
    "id": {"type": "int64", "required": true},
    "name": {"type": "string", "required": true, "maxLength": 50},
    "topic": {"type": "string", "maxLength": 250},
    "privacy": {"type": "string", "enum": ["public", "private"]},
    "is_archived": {"type": "boolean"},
    "is_guest_accessible": {"type": "boolean"},
    "guest_access_url": {"type": "string", "format": "uri", "nullable": true},
    "created": {"type": "string", "format": "date-time"},
    "owner": {
      "type": "object",
      "properties": {
        "id": {"type": "int64"},
        "mention_name": {"type": "string"},
        "name": {"type": "string"}
      }
    },
    "participants": {
      "type": "array",
      "items": {"$ref": "#/$defs/UserReference"}
    },
    "statistics": {
      "type": "object",
      "properties": {
        "messages_sent": {"type": "int64"},
        "last_active": {"type": "string", "format": "date-time"}
      }
    }
  },
  "$defs": {
    "UserReference": {
      "type": "object",
      "properties": {
        "id": {"type": "int64"},
        "mention_name": {"type": "string"},
        "name": {"type": "string"}
      }
    }
  }
}