Misskey · Schema

ChatRoomMembership

Open-SourceSocial NetworksFediverseActivityPubDecentralized

Properties

Name Type Description
id string
createdAt string
userId string
user object
roomId string
room object
View JSON Schema on GitHub

JSON Schema

misskey-chatroommembership-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://misskey.io/schemas/ChatRoomMembership",
  "title": "ChatRoomMembership",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "userId": {
      "type": "string"
    },
    "user": {
      "type": "object",
      "anyOf": [
        {
          "$ref": "#/components/schemas/UserLite"
        },
        {
          "type": "null"
        }
      ]
    },
    "roomId": {
      "type": "string"
    },
    "room": {
      "type": "object",
      "anyOf": [
        {
          "$ref": "#/components/schemas/ChatRoom"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "id",
    "createdAt",
    "userId",
    "roomId"
  ]
}