{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-entra/json-schema/microsoft-entra-microsoft-graph-custom-callout-extension-schema.json",
  "title": "microsoft.graph.customCalloutExtension",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-entra-identitygovernance-accesspackagecatalog-api-openapi.yml#/components/schemas/microsoft.graph.customCalloutExtension",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "customCalloutExtension",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "authenticationConfiguration": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.customExtensionAuthenticationConfiguration"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Configuration for securing the API call to the logic app. For example, using OAuth client credentials flow."
        },
        "clientConfiguration": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.customExtensionClientConfiguration"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "HTTP connection settings that define how long Microsoft Entra ID can wait for a connection to a logic app, how many times you can retry a timed-out connection and the exception scenarios when retries are allowed."
        },
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "Description for the customCalloutExtension object."
        },
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Display name for the customCalloutExtension object."
        },
        "endpointConfiguration": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.customExtensionEndpointConfiguration"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The type and details for configuring the endpoint to call the logic app's workflow."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "$defs": {
    "microsoft.graph.customExtensionAuthenticationConfiguration": {
      "title": "customExtensionAuthenticationConfiguration",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.customExtensionClientConfiguration": {
      "title": "customExtensionClientConfiguration",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "maximumRetries": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": [
            "number",
            "null"
          ],
          "description": "The max number of retries that Microsoft Entra ID makes to the external API. For a roleManagementCustomCalloutExtension, the valid range is from 0 through 5. For other custom extensions, values of 0 or 1 are supported. If null, the default for the service applies.",
          "format": "int32"
        },
        "timeoutInMilliseconds": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": [
            "number",
            "null"
          ],
          "description": "The max duration in milliseconds that Microsoft Entra ID waits for a response from the external app before it shuts down the connection. For a roleManagementCustomCalloutExtension, the valid range is from 1000 through 60000 milliseconds. For other custom extensions, the valid range is from 200 through 2000 milliseconds and the default is 1000 milliseconds.",
          "format": "int32"
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.customExtensionEndpointConfiguration": {
      "title": "customExtensionEndpointConfiguration",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "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"
        }
      }
    }
  }
}