{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-entra/json-schema/microsoft-entra-microsoft-graph-access-review-instance-decision-item-schema.json",
  "title": "microsoft.graph.accessReviewInstanceDecisionItem",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-entra-identitygovernance-accessreviewset-api-openapi.yml#/components/schemas/microsoft.graph.accessReviewInstanceDecisionItem",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "accessReviewInstanceDecisionItem",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "accessReviewId": {
          "type": "string",
          "description": "The identifier of the accessReviewInstance parent. Supports $select. Read-only."
        },
        "appliedBy": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.userIdentity"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The identifier of the user who applied the decision. Read-only."
        },
        "appliedDateTime": {
          "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": "The timestamp when the approval decision was applied.00000000-0000-0000-0000-000000000000 if the assigned reviewer hasn't applied the decision or it was automatically applied. The DatetimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.  Supports $select. Read-only.",
          "format": "date-time"
        },
        "applyDescription": {
          "type": [
            "string",
            "null"
          ],
          "description": "The description of the apply result. Read-only."
        },
        "applyResult": {
          "type": [
            "string",
            "null"
          ],
          "description": "The result of applying the decision. Possible values: New, AppliedSuccessfully, AppliedWithUnknownFailure, AppliedSuccessfullyButObjectNotFound and ApplyNotSupported. Supports $select, $orderby, and $filter (eq only). Read-only."
        },
        "decision": {
          "type": [
            "string",
            "null"
          ],
          "description": "Result of the review. Possible values: Approve, Deny, NotReviewed, or DontKnow. Supports $select, $orderby, and $filter (eq only)."
        },
        "justification": {
          "type": [
            "string",
            "null"
          ],
          "description": "Justification left by the reviewer when they made the decision."
        },
        "permission": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.accessReviewInstanceDecisionItemPermission"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The permission that grants the principal access to a resource. Read-only."
        },
        "principal": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.identity"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Every decision item in an access review represents a principal's access to a resource. This property represents details of the principal. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is 'Bob' and the resource is 'Sales'. Principals can be of two types - userIdentity and servicePrincipalIdentity. Supports $select. Read-only."
        },
        "principalLink": {
          "type": [
            "string",
            "null"
          ],
          "description": "A link to the principal object. For example, https://graph.microsoft.com/v1.0/users/a6c7aecb-cbfd-4763-87ef-e91b4bd509d9. Read-only."
        },
        "recommendation": {
          "type": [
            "string",
            "null"
          ],
          "description": "A system-generated recommendation for the approval decision based off last interactive sign-in to tenant. The value is Approve if the sign-in is fewer than 30 days after the start of review, Deny if the sign-in is greater than 30 days after, or NoInfoAvailable. Possible values: Approve, Deny, or NoInfoAvailable. Supports $select, $orderby, and $filter (eq only). Read-only."
        },
        "resource": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.accessReviewInstanceDecisionItemResource"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Every decision item in an access review represents a principal's access to a resource. This property represents details of the resource. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is Bob and the resource is 'Sales'. Resources can be of multiple types. See accessReviewInstanceDecisionItemResource. Read-only."
        },
        "resourceLink": {
          "type": [
            "string",
            "null"
          ],
          "description": "A link to the resource. For example, https://graph.microsoft.com/v1.0/servicePrincipals/c86300f3-8695-4320-9f6e-32a2555f5ff8. Supports $select. Read-only."
        },
        "reviewedBy": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.userIdentity"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The identifier of the reviewer.00000000-0000-0000-0000-000000000000 if the assigned reviewer hasn't reviewed. Supports $select. Read-only."
        },
        "reviewedDateTime": {
          "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": "The timestamp when the review decision occurred. Supports $select. Read-only.",
          "format": "date-time"
        },
        "insights": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.governanceInsight"
          },
          "description": "Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.accessReviewInstanceDecisionItem",
  "$defs": {
    "microsoft.graph.accessReviewInstanceDecisionItemPermission": {
      "title": "accessReviewInstanceDecisionItemPermission",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "The description of the permission."
        },
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The display name of the permission."
        },
        "id": {
          "type": [
            "string",
            "null"
          ],
          "description": "The identifier of the permission."
        },
        "type": {
          "type": [
            "string",
            "null"
          ],
          "description": "The type of the permission."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.accessReviewInstanceDecisionItemResource": {
      "title": "accessReviewInstanceDecisionItemResource",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "Description of the resource."
        },
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Display name of the resource"
        },
        "id": {
          "type": [
            "string",
            "null"
          ],
          "description": "Identifier of the resource"
        },
        "type": {
          "type": [
            "string",
            "null"
          ],
          "description": "Type of resource. Types include: Group, ServicePrincipal, DirectoryRole, AzureRole, AccessPackage, AccessPackageAssignmentPolicy, and CustomDataProvidedResource."
        },
        "@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"
        }
      }
    },
    "microsoft.graph.governanceInsight": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "governanceInsight",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "insightCreatedDateTime": {
              "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": "Indicates when the insight was created.",
              "format": "date-time"
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ]
    },
    "microsoft.graph.identity": {
      "title": "identity",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The display name of the identity.For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta."
        },
        "id": {
          "type": [
            "string",
            "null"
          ],
          "description": "Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.userIdentity": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.identity"
        },
        {
          "title": "userIdentity",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "ipAddress": {
              "type": [
                "string",
                "null"
              ],
              "description": "Indicates the client IP address associated with the user performing the activity (audit log only)."
            },
            "userPrincipalName": {
              "type": [
                "string",
                "null"
              ],
              "description": "The userPrincipalName attribute of the user."
            },
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.userIdentity"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.userIdentity"
    }
  }
}