{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-graph/json-schema/microsoft-graph-microsoft-graph-comms-operation-schema.json",
  "title": "microsoft.graph.commsOperation",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-graph-communications-call-api-openapi.yml#/components/schemas/microsoft.graph.commsOperation",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "commsOperation",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "clientContext": {
          "type": [
            "string",
            "null"
          ],
          "description": "Unique Client Context string. Max limit is 256 chars."
        },
        "resultInfo": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.resultInfo"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The result information. Read-only."
        },
        "status": {
          "$ref": "#/$defs/microsoft.graph.operationStatus"
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "$defs": {
    "microsoft.graph.entity": {
      "title": "entity",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier for an entity. Read-only."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.operationStatus": {
      "title": "operationStatus",
      "enum": [
        "NotStarted",
        "Running",
        "Completed",
        "Failed"
      ],
      "type": "string"
    },
    "microsoft.graph.resultInfo": {
      "title": "resultInfo",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "code": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The result code.",
          "format": "int32"
        },
        "message": {
          "type": [
            "string",
            "null"
          ],
          "description": "The message."
        },
        "subcode": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The result subcode.",
          "format": "int32"
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  }
}