{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-365/json-schema/microsoft-365-microsoft-graph-chat-message-hosted-content-schema.json",
  "title": "microsoft.graph.chatMessageHostedContent",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-365-chats-chatmessage-api-openapi.yml#/components/schemas/microsoft.graph.chatMessageHostedContent",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.teamworkHostedContent"
    },
    {
      "title": "chatMessageHostedContent",
      "type": "object",
      "additionalProperties": {
        "type": "object"
      }
    }
  ],
  "$defs": {
    "microsoft.graph.entity": {
      "title": "entity",
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier for an entity. Read-only."
        }
      },
      "additionalProperties": {
        "type": "object"
      }
    },
    "microsoft.graph.teamworkHostedContent": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "teamworkHostedContent",
          "type": "object",
          "properties": {
            "contentBytes": {
              "type": [
                "string",
                "null"
              ],
              "description": "Write only. Bytes for the hosted content (such as images).",
              "format": "base64url"
            },
            "contentType": {
              "type": [
                "string",
                "null"
              ],
              "description": "Write only. Content type. such as image/png, image/jpg."
            }
          },
          "additionalProperties": {
            "type": "object"
          }
        }
      ]
    }
  }
}