{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-data-policy-operation-schema.json",
  "title": "microsoft.graph.dataPolicyOperation",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-ad-datapolicyoperations-datapolicyoperation-api-openapi.yml#/components/schemas/microsoft.graph.dataPolicyOperation",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "dataPolicyOperation",
      "type": "object",
      "properties": {
        "completedDateTime": {
          "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",
            "null"
          ],
          "description": "Represents when the request for this data policy operation was completed, in UTC time, using the ISO 8601 format. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Null until the operation completes.",
          "format": "date-time"
        },
        "progress": {
          "type": [
            "number",
            "null"
          ],
          "description": "Specifies the progress of an operation.",
          "format": "double"
        },
        "status": {
          "$ref": "#/$defs/microsoft.graph.dataPolicyOperationStatus"
        },
        "storageLocation": {
          "type": [
            "string",
            "null"
          ],
          "description": "The URL location to where data is being exported for export requests."
        },
        "submittedDateTime": {
          "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": "Represents when the request for this data operation was submitted, in UTC time, using the ISO 8601 format. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z",
          "format": "date-time"
        },
        "userId": {
          "type": "string",
          "description": "The id for the user on whom the operation is performed."
        }
      },
      "additionalProperties": {
        "type": "object"
      }
    }
  ],
  "$defs": {
    "microsoft.graph.dataPolicyOperationStatus": {
      "title": "dataPolicyOperationStatus",
      "enum": [
        "notStarted",
        "running",
        "complete",
        "failed",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.entity": {
      "title": "entity",
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier for an entity. Read-only."
        }
      },
      "additionalProperties": {
        "type": "object"
      }
    }
  }
}