Microsoft Graph · Schema

microsoft.graph.richLongRunningOperation

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphrichlongrunningoperation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.richLongRunningOperation",
  "title": "microsoft.graph.richLongRunningOperation",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.longRunningOperation"
    },
    {
      "title": "richLongRunningOperation",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "error": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.publicError"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Error that caused the operation to fail."
        },
        "percentageComplete": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "A value between 0 and 100 that indicates the progress of the operation.",
          "format": "int32",
          "nullable": true
        },
        "resourceId": {
          "type": "string",
          "description": "The unique identifier for the result.",
          "nullable": true
        },
        "type": {
          "type": "string",
          "description": "The type of the operation.",
          "nullable": true
        },
        "@odata.type": {
          "type": "string"
        }
      },
      "description": "The status of a long-running operation."
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.richLongRunningOperation"
}