Microsoft Graph · Schema

processContentMetadataBase

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks

Properties

Name Type Description
content object Represents the actual content, either as text (textContent) or binary data (binaryContent). Optional if metadata alone is sufficient for policy evaluation. Do not use for contentActivities.
correlationId string An identifier used to group multiple related content entries (for example, different parts of the same file upload, messages in a conversation).
createdDateTime string Required. Timestamp indicating when the original content was created (for example, file creation time, message sent time).
identifier string Required. A unique identifier for this specific content entry within the context of the calling application or enforcement plane (for example, message ID, file path/URL).
isTruncated boolean Required. Indicates if the provided content has been truncated from its original form (for example, due to size limits).
length number The length of the original content in bytes.
modifiedDateTime string Required. Timestamp indicating when the original content was last modified. For ephemeral content like messages, this might be the same as createdDateTime.
name string Required. A descriptive name for the content (for example, file name, web page title, 'Chat Message').
sequenceNumber number A sequence number indicating the order in which content was generated or should be processed, required when correlationId is used.
@odata.type string
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphprocesscontentmetadatabase-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.processContentMetadataBase",
  "title": "processContentMetadataBase",
  "required": [
    "@odata.type"
  ],
  "type": "object",
  "properties": {
    "content": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/microsoft.graph.contentBase"
        },
        {
          "type": "object",
          "nullable": true
        }
      ],
      "description": "Represents the actual content, either as text (textContent) or binary data (binaryContent). Optional if metadata alone is sufficient for policy evaluation. Do not use for contentActivities."
    },
    "correlationId": {
      "type": "string",
      "description": "An identifier used to group multiple related content entries (for example, different parts of the same file upload, messages in a conversation).",
      "nullable": true
    },
    "createdDateTime": {
      "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
      "type": "string",
      "description": "Required. Timestamp indicating when the original content was created (for example, file creation time, message sent time).",
      "format": "date-time"
    },
    "identifier": {
      "type": "string",
      "description": "Required. A unique identifier for this specific content entry within the context of the calling application or enforcement plane (for example, message ID, file path/URL)."
    },
    "isTruncated": {
      "type": "boolean",
      "description": "Required. Indicates if the provided content has been truncated from its original form (for example, due to size limits)."
    },
    "length": {
      "type": "number",
      "description": "The length of the original content in bytes.",
      "format": "int64",
      "nullable": true
    },
    "modifiedDateTime": {
      "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
      "type": "string",
      "description": "Required. Timestamp indicating when the original content was last modified. For ephemeral content like messages, this might be the same as createdDateTime.",
      "format": "date-time"
    },
    "name": {
      "type": "string",
      "description": "Required. A descriptive name for the content (for example, file name, web page title, 'Chat Message')."
    },
    "sequenceNumber": {
      "type": "number",
      "description": "A sequence number indicating the order in which content was generated or should be processed, required when correlationId is used.",
      "format": "int64",
      "nullable": true
    },
    "@odata.type": {
      "type": "string"
    }
  },
  "discriminator": {
    "propertyName": "@odata.type",
    "mapping": {
      "#microsoft.graph.processConversationMetadata": "#/components/schemas/microsoft.graph.processConversationMetadata",
      "#microsoft.graph.processFileMetadata": "#/components/schemas/microsoft.graph.processFileMetadata"
    }
  }
}