{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-admin-consent-request-policy-schema.json",
  "title": "microsoft.graph.adminConsentRequestPolicy",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-ad-policies-adminconsentrequestpolicy-api-openapi.yml#/components/schemas/microsoft.graph.adminConsentRequestPolicy",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "adminConsentRequestPolicy",
      "type": "object",
      "properties": {
        "isEnabled": {
          "type": "boolean",
          "description": "Specifies whether the admin consent request feature is enabled or disabled. Required."
        },
        "notifyReviewers": {
          "type": "boolean",
          "description": "Specifies whether reviewers will receive notifications. Required."
        },
        "remindersEnabled": {
          "type": "boolean",
          "description": "Specifies whether reviewers will receive reminder emails. Required."
        },
        "requestDurationInDays": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Specifies the duration the request is active before it automatically expires if no decision is applied.",
          "format": "int32"
        },
        "reviewers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.accessReviewReviewerScope"
          },
          "description": "The list of reviewers for the admin consent. Required."
        },
        "version": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Specifies the version of this policy. When the policy is updated, this version is updated. Read-only.",
          "format": "int32"
        }
      },
      "additionalProperties": {
        "type": "object"
      }
    }
  ],
  "$defs": {
    "microsoft.graph.accessReviewReviewerScope": {
      "title": "accessReviewReviewerScope",
      "type": "object",
      "properties": {
        "query": {
          "type": [
            "string",
            "null"
          ],
          "description": "The query specifying who will be the reviewer."
        },
        "queryRoot": {
          "type": [
            "string",
            "null"
          ],
          "description": "In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query, for example, ./manager, is specified. Possible value: decisions."
        },
        "queryType": {
          "type": [
            "string",
            "null"
          ],
          "description": "The type of query. Examples include MicrosoftGraph and ARM."
        }
      },
      "additionalProperties": {
        "type": "object"
      }
    },
    "microsoft.graph.entity": {
      "title": "entity",
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier for an entity. Read-only."
        }
      },
      "additionalProperties": {
        "type": "object"
      }
    }
  }
}