Microsoft Graph · Schema

microsoft.graph.documentSetVersion

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphdocumentsetversion-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.documentSetVersion",
  "title": "microsoft.graph.documentSetVersion",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.listItemVersion"
    },
    {
      "title": "documentSetVersion",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "comment": {
          "type": "string",
          "description": "Comment about the captured version.",
          "nullable": true
        },
        "createdBy": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.identitySet"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "User who captured the version."
        },
        "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": "Date and time when this version was created.",
          "format": "date-time",
          "nullable": true
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.documentSetVersionItem"
          },
          "description": "Items within the document set that are captured as part of this version."
        },
        "shouldCaptureMinorVersion": {
          "type": "boolean",
          "description": "If true, minor versions of items are also captured; otherwise, only major versions are captured. The default value is false.",
          "nullable": true
        },
        "@odata.type": {
          "type": "string",
          "default": "#microsoft.graph.documentSetVersion"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.documentSetVersion"
}