{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-log-analytics/json-schema/azure-log-analytics-operation-status-schema.json",
  "title": "OperationStatus",
  "description": "The status of operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-log-analytics-async-operations-api-openapi.yml#/components/schemas/OperationStatus",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The operation Id."
    },
    "name": {
      "type": "string",
      "description": "The operation name."
    },
    "startTime": {
      "type": "string",
      "description": "The start time of the operation."
    },
    "endTime": {
      "type": "string",
      "description": "The end time of the operation."
    },
    "status": {
      "type": "string",
      "description": "The status of the operation."
    },
    "error": {
      "$ref": "#/$defs/ErrorResponse",
      "description": "The error detail of the operation if any."
    }
  },
  "$defs": {
    "ErrorResponse": {
      "type": "object",
      "title": "Error response",
      "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
      "properties": {
        "error": {
          "$ref": "#/$defs/ErrorDetail",
          "description": "The error object."
        }
      }
    }
  }
}