{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-graph/json-schema/microsoft-graph-microsoft-graph-item-body-schema.json",
  "title": "itemBody",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-graph-chats-chat-actions-api-openapi.yml#/components/schemas/microsoft.graph.itemBody",
  "required": [
    "@odata.type"
  ],
  "type": "object",
  "properties": {
    "content": {
      "type": [
        "string",
        "null"
      ],
      "description": "The content of the item."
    },
    "contentType": {
      "anyOf": [
        {
          "$ref": "#/$defs/microsoft.graph.bodyType"
        },
        {
          "type": [
            "object",
            "null"
          ]
        }
      ],
      "description": "The type of the content. Possible values are text and html."
    },
    "@odata.type": {
      "type": "string"
    }
  },
  "$defs": {
    "microsoft.graph.bodyType": {
      "title": "bodyType",
      "enum": [
        "text",
        "html"
      ],
      "type": "string"
    }
  }
}