{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/youtube/json-schema/youtube-live-chat-moderator-schema.json",
  "title": "LiveChatModerator",
  "description": "A *liveChatModerator* resource represents a moderator for a YouTube live chat. A chat moderator has the ability to ban/unban users from a chat, remove message, etc.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/youtube-youtube-live-chat-moderators-api-openapi.yml#/components/schemas/LiveChatModerator",
  "properties": {
    "snippet": {
      "$ref": "#/$defs/LiveChatModeratorSnippet",
      "description": "The snippet object contains basic details about the moderator."
    },
    "id": {
      "description": "The ID that YouTube assigns to uniquely identify the moderator.",
      "type": "string"
    },
    "kind": {
      "default": "youtube#liveChatModerator",
      "type": "string",
      "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveChatModerator\"."
    },
    "etag": {
      "description": "Etag of this resource.",
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "ChannelProfileDetails": {
      "properties": {
        "channelId": {
          "description": "The YouTube channel ID.",
          "type": "string"
        },
        "displayName": {
          "description": "The channel's display name.",
          "type": "string"
        },
        "channelUrl": {
          "description": "The channel's URL.",
          "type": "string"
        },
        "profileImageUrl": {
          "type": "string",
          "description": "The channels's avatar URL."
        }
      },
      "type": "object"
    },
    "LiveChatModeratorSnippet": {
      "type": "object",
      "properties": {
        "liveChatId": {
          "description": "The ID of the live chat this moderator can act on.",
          "type": "string"
        },
        "moderatorDetails": {
          "$ref": "#/$defs/ChannelProfileDetails",
          "description": "Details about the moderator."
        }
      }
    }
  }
}