{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-graph/json-schema/microsoft-graph-microsoft-graph-teamwork-activity-topic-schema.json",
  "title": "teamworkActivityTopic",
  "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.teamworkActivityTopic",
  "required": [
    "@odata.type"
  ],
  "type": "object",
  "properties": {
    "source": {
      "anyOf": [
        {
          "$ref": "#/$defs/microsoft.graph.teamworkActivityTopicSource"
        },
        {
          "type": [
            "object",
            "null"
          ]
        }
      ],
      "description": "Type of source. The possible values are: entityUrl, text. For supported Microsoft Graph URLs, use entityUrl. For custom text, use text."
    },
    "value": {
      "type": "string",
      "description": "The topic value. If the value of the source property is entityUrl, this must be a Microsoft Graph URL. If the value is text, this must be a plain text value."
    },
    "webUrl": {
      "type": [
        "string",
        "null"
      ],
      "description": "The link the user clicks when they select the notification. Optional when source is entityUrl; required when source is text."
    },
    "@odata.type": {
      "type": "string"
    }
  },
  "$defs": {
    "microsoft.graph.teamworkActivityTopicSource": {
      "title": "teamworkActivityTopicSource",
      "enum": [
        "entityUrl",
        "text"
      ],
      "type": "string"
    }
  }
}