Microsoft Graph · Schema

microsoft.graph.attachmentSession

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphattachmentsession-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.attachmentSession",
  "title": "microsoft.graph.attachmentSession",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "attachmentSession",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "content": {
          "type": "string",
          "description": "The content streams that are uploaded.",
          "format": "base64url",
          "nullable": true
        },
        "expirationDateTime": {
          "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": "The date and time in UTC when the upload session will expire. The complete file must be uploaded before this expiration time is reached.",
          "format": "date-time",
          "nullable": true
        },
        "nextExpectedRanges": {
          "type": "array",
          "items": {
            "type": "string",
            "nullable": true
          },
          "description": "Indicates a single value {start} that represents the location in the file where the next upload should begin."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.attachmentSession"
}