{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-chat-integrations-for-workspace/json-schema/google-chat-integrations-for-workspace-list-custom-emojis-response-schema.json",
  "title": "ListCustomEmojisResponse",
  "description": "A response to list custom emojis.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-chat-integrations-for-workspace-custom-emojis-api-openapi.yml#/components/schemas/ListCustomEmojisResponse",
  "type": "object",
  "properties": {
    "nextPageToken": {
      "description": "A token that you can send as `pageToken` to retrieve the next page of results. If empty, there are no subsequent pages.",
      "type": "string"
    },
    "customEmojis": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CustomEmoji"
      },
      "description": "Unordered list. List of custom emojis."
    }
  },
  "$defs": {
    "CustomEmoji": {
      "description": "Represents a [custom emoji](https://support.google.com/chat/answer/12800149).",
      "properties": {
        "name": {
          "description": "Identifier. The resource name of the custom emoji, assigned by the server. Format: `customEmojis/{customEmoji}`",
          "type": "string"
        },
        "payload": {
          "$ref": "#/$defs/CustomEmojiPayload",
          "description": "Optional. Input only. Payload data. Required when the custom emoji is created."
        },
        "emojiName": {
          "type": "string",
          "description": "Optional. Immutable. User-provided name for the custom emoji, which is unique within the organization. Required when the custom emoji is created, output only otherwise. Emoji names must start and end with colons, must be lowercase and can only contain alphanumeric characters, hyphens, and underscores. Hyphens and underscores should be used to separate words and cannot be used consecutively. Example: `:valid-emoji-name:`"
        },
        "temporaryImageUri": {
          "description": "Output only. A temporary image URL for the custom emoji, valid for at least 10 minutes. Note that this is not populated in the response when the custom emoji is created.",
          "readOnly": true,
          "type": "string"
        },
        "uid": {
          "type": "string",
          "description": "Output only. Unique key for the custom emoji resource.",
          "readOnly": true
        }
      },
      "type": "object"
    },
    "CustomEmojiPayload": {
      "description": "Payload data for the custom emoji.",
      "properties": {
        "filename": {
          "type": "string",
          "description": "Required. Input only. The image file name. Supported file extensions: `.png`, `.jpg`, `.gif`."
        },
        "fileContent": {
          "format": "byte",
          "description": "Required. Input only. The image used for the custom emoji. The payload must be under 256 KB and the dimension of the image must be square and between 64 and 500 pixels. The restrictions are subject to change.",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}