Microsoft Defender · Schema

microsoft.graph.subjectRightsRequest

Cloud SecurityData ProtectionThreat IntelligenceEmail SecurityEndpoint Security

Properties

Name Type Description
id string The unique identifier for an entity. Read-only.
@odata.type string
assignedTo object Identity that the request is assigned to.
closedDateTime stringnull The date and time when the request was closed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-0
contentQuery stringnull KQL based content query that should be used for search. This property is defined only for APIs accessed using the /security query path and not the /privacy query path.
createdBy object Identity information for the entity that created the request.
createdDateTime stringnull The date and time when the request was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-
dataSubject object Information about the data subject.
dataSubjectType object The type of the data subject. The possible values are: customer, currentEmployee, formerEmployee, prospectiveEmployee, student, teacher, faculty, other, unknownFutureValue.
description stringnull Description for the request.
displayName stringnull The name of the request.
externalId stringnull The external ID for the request that is immutable after creation and is used for tracking the request for the external system. This property is defined only for APIs accessed using the /security query
history array Collection of history change events.
includeAllVersions booleannull Include all versions of the documents. By default, the current copies of the documents are returned. If SharePoint sites have versioning enabled, including all versions includes the historical copies
includeAuthoredContent booleannull Include content authored by the data subject. This property is defined only for APIs accessed using the /security query path and not the /privacy query path.
insight object Insight about the request.
internalDueDateTime stringnull The date and time when the request is internally due. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 20
lastModifiedBy object Identity information for the entity that last modified the request.
lastModifiedDateTime stringnull The date and time when the request was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 20
mailboxLocations object The mailbox locations that should be searched. This property is defined only for APIs accessed using the /security query path and not the /privacy query path.
pauseAfterEstimate booleannull Pause the request after estimate has finished. By default, the data estimate runs and then pauses, allowing you to preview results and then select the option to retrieve data in the UI. You can set th
regulations array List of regulations that this request fulfill.
siteLocations object The SharePoint and OneDrive site locations that should be searched. This property is defined only for APIs accessed using the /security query path and not the /privacy query path.
stages array Information about the different stages for the request.
status object The status of the request. The possible values are: active, closed, unknownFutureValue.
type object The type of the request. The possible values are: export, delete, access, tagForAction, unknownFutureValue.
approvers array Collection of users who can approve the request. Currently only supported for requests of type delete.
collaborators array Collection of users who can collaborate on the request.
notes array List of notes associated with the request.
team object Information about the Microsoft Teams team that was created for the request.
View JSON Schema on GitHub

JSON Schema

microsoft-defender-microsoft-graph-subject-rights-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-defender/json-schema/microsoft-defender-microsoft-graph-subject-rights-request-schema.json",
  "title": "microsoft.graph.subjectRightsRequest",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-defender-security-subjectrightsrequest-api-openapi.yml#/components/schemas/microsoft.graph.subjectRightsRequest",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "subjectRightsRequest",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "assignedTo": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.identity"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Identity that the request is assigned to."
        },
        "closedDateTime": {
          "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 date and time when the request was closed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.",
          "format": "date-time"
        },
        "contentQuery": {
          "type": [
            "string",
            "null"
          ],
          "description": "KQL based content query that should be used for search. This property is defined only for APIs accessed using the /security query path and not the /privacy query path."
        },
        "createdBy": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.identitySet"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Identity information for the entity that created the request."
        },
        "createdDateTime": {
          "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 date and time when the request was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.",
          "format": "date-time"
        },
        "dataSubject": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.dataSubject"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Information about the data subject."
        },
        "dataSubjectType": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.dataSubjectType"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The type of the data subject. The possible values are: customer, currentEmployee, formerEmployee, prospectiveEmployee, student, teacher, faculty, other, unknownFutureValue."
        },
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "Description for the request."
        },
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The name of the request."
        },
        "externalId": {
          "type": [
            "string",
            "null"
          ],
          "description": "The external ID for the request that is immutable after creation and is used for tracking the request for the external system. This property is defined only for APIs accessed using the /security query path and not the /privacy query path."
        },
        "history": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.subjectRightsRequestHistory"
          },
          "description": "Collection of history change events."
        },
        "includeAllVersions": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Include all versions of the documents. By default, the current copies of the documents are returned. If SharePoint sites have versioning enabled, including all versions includes the historical copies of the documents. This property is defined only for APIs accessed using the /security query path and not the /privacy query path."
        },
        "includeAuthoredContent": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Include content authored by the data subject. This property is defined only for APIs accessed using the /security query path and not the /privacy query path."
        },
        "insight": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.subjectRightsRequestDetail"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Insight about the request."
        },
        "internalDueDateTime": {
          "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 date and time when the request is internally due. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.",
          "format": "date-time"
        },
        "lastModifiedBy": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.identitySet"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Identity information for the entity that last modified the request."
        },
        "lastModifiedDateTime": {
          "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 date and time when the request was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.",
          "format": "date-time"
        },
        "mailboxLocations": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.subjectRightsRequestMailboxLocation"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The mailbox locations that should be searched. This property is defined only for APIs accessed using the /security query path and not the /privacy query path."
        },
        "pauseAfterEstimate": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Pause the request after estimate has finished. By default, the data estimate runs and then pauses, allowing you to preview results and then select the option to retrieve data in the UI. You can set this property to false if you want it to perform the estimate and then automatically begin with the retrieval of the content. This property is defined only for APIs accessed using the /security query path and not the /privacy query path."
        },
        "regulations": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "List of regulations that this request fulfill."
        },
        "siteLocations": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.subjectRightsRequestSiteLocation"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The SharePoint and OneDrive site locations that should be searched. This property is defined only for APIs accessed using the /security query path and not the /privacy query path."
        },
        "stages": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.subjectRightsRequestStageDetail"
          },
          "description": "Information about the different stages for the request."
        },
        "status": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.subjectRightsRequestStatus"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The status of the request. The possible values are: active, closed, unknownFutureValue."
        },
        "type": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.subjectRightsRequestType"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The type of the request. The possible values are: export, delete, access, tagForAction, unknownFutureValue."
        },
        "approvers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.user"
          },
          "description": "Collection of users who can approve the request. Currently only supported for requests of type delete.",
          "x-ms-navigationProperty": true
        },
        "collaborators": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.user"
          },
          "description": "Collection of users who can collaborate on the request.",
          "x-ms-navigationProperty": true
        },
        "notes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.authoredNote"
          },
          "description": "List of notes associated with the request.",
          "x-ms-navigationProperty": true
        },
        "team": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.team"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Information about the Microsoft Teams team that was created for the request.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.subjectRightsRequest",
  "$defs": {
    "ReferenceNumeric": {
      "enum": [
        "-INF",
        "INF",
        "NaN",
        null
      ],
      "type": [
        "string",
        "null"
      ]
    },
    "microsoft.graph.accessAction": {
      "title": "accessAction",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.actionState": {
      "title": "actionState",
      "enum": [
        "none",
        "pending",
        "canceled",
        "active",
        "done",
        "failed",
        "notSupported"
      ],
      "type": "string",
      "description": "State of the action on the device",
      "x-ms-enum": {
        "name": "actionState",
        "modelAsString": false,
        "values": [
          {
            "value": "none",
            "description": "Not a valid action state",
            "name": "none"
          },
          {
            "value": "pending",
            "description": "Action is pending",
            "name": "pending"
          },
          {
            "value": "canceled",
            "description": "Action has been cancelled.",
            "name": "canceled"
          },
          {
            "value": "active",
            "description": "Action is active.",
            "name": "active"
          },
          {
            "value": "done",
            "description": "Action completed without errors.",
            "name": "done"
          },
          {
            "value": "failed",
            "description": "Action failed",
            "name": "failed"
          },
          {
            "value": "notSupported",
            "description": "Action is not supported.",
            "name": "notSupported"
          }
        ]
      }
    },
    "microsoft.graph.activitiesContainer": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "activitiesContainer",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "contentActivities": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/microsoft.graph.contentActivity"
              },
              "description": "Collection of activity logs related to content processing.",
              "x-ms-navigationProperty": true
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.activitiesContainer"
    },
    "microsoft.graph.activityHistoryItem": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "activityHistoryItem",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "activeDurationSeconds": {
              "maximum": 2147483647,
              "minimum": -2147483648,
              "type": [
                "number",
                "null"
              ],
              "description": "Optional. The duration of active user engagement. if not supplied, this is calculated from the startedDateTime and lastActiveDateTime.",
              "format": "int32"
            },
            "createdDateTime": {
              "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": "Set by the server. DateTime in UTC when the object was created on the server.",
              "format": "date-time"
            },
            "expirationDateTime": {
              "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": "Optional. UTC DateTime when the activityHistoryItem will undergo hard-delete. Can be set by the client.",
              "format": "date-time"
            },
            "lastActiveDateTime": {
              "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": "Optional. UTC DateTime when the activityHistoryItem (activity session) was last understood as active or finished - if null, activityHistoryItem status should be Ongoing.",
              "format": "date-time"
            },
            "lastModifiedDateTime": {
              "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": "Set by the server. DateTime in UTC when the object was modified on the server.",
              "format": "date-time"
            },
            "startedDateTime": {
              "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",
              "description": "Required. UTC DateTime when the activityHistoryItem (activity session) was started. Required for timeline history.",
              "format": "date-time"
            },
            "status": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.status"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Set by the server. A status code used to identify valid objects. Values: active, updated, deleted, ignored."
            },
            "userTimezone": {
              "type": [
                "string",
                "null"
              ],
              "description": "Optional. The timezone in which the user's device used to generate the activity was located at activity creation time. Values supplied as Olson IDs in order to support cross-platform representation."
            },
            "activity": {
              "$ref": "#/$defs/microsoft.graph.userActivity"
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.activityHistoryItem"
    },
    "microsoft.graph.activityMetadata": {
      "title": "activityMetadata",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "activity": {
          "$ref": "#/$defs/microsoft.graph.userActivityType"
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.adhocCall": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "adhocCall",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "recordings": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/microsoft.graph.callRecording"
              },
              "description": "The recordings of a call. Read-only.",
              "x-ms-navigationProperty": true
            },
            "transcripts": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/microsoft.graph.callTranscript"
              },
              "description": "The transcripts of a call. Read-only.",
              "x-ms-navigationProperty": true
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.adhocCall"
    },
    "microsoft.graph.agreementAcceptance": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "agreementAcceptance",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "agreementFileId": {
              "type": [
                "string",
                "null"
              ],
              "description": "The identifier of the agreement file accepted by the user."
            },
            "agreementId": {
              "type": [
                "string",
                "null"
              ],
              "description": "The identifier of the agreement."
            },
            "deviceDisplayName": {
              "type": [
                "string",
                "null"
              ],
              "description": "The display name of the device used for accepting the agreement."
            },
            "deviceId": {
              "type": [
                "string",
                "null"
              ],
              "description": "The unique identifier of the device used for accepting the agreement. Supports $filter (eq) and eq for null values."
            },
            "deviceOSType": {
              "type": [
                "string",
                "null"
              ],
              "description": "The operating system used to accept the agreement."
            },
            "deviceOSVersion": {
              "type": [
                "string",
                "null"
              ],
              "description": "The operating system version of the device used to accept the agreement."
            },
            "expirationDateTime": {
              "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 expiration date time of the acceptance. The Timestamp 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 $filter (eq, ge, le) and eq for null values.",
              "format": "date-time"
            },
            "recordedDateTime": {
              "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 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.",
              "format": "date-time"
            },
            "state": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.agreementAcceptanceState"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The state of the agreement acceptance. The possible values are: accepted, declined. Supports $filter (eq)."
            },
            "userDisplayName": {
              "type": [
                "string",
                "null"
              ],
              "description": "Display name of the user when the acceptance was recorded."
            },
            "userEmail": {
              "type": [
                "string",
                "null"
              ],
              "description": "Email of the user when the acceptance was recorded."
            },
            "userId": {
              "type": [
                "string",
                "null"
              ],
              "description": "The identifier of the user who accepted the agreement. Supports $filter (eq)."
            },
            "userPrincipalName": {
              "type": [
                "string",
                "null"
              ],
              "description": "UPN of the user when the acceptance was recorded."
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.agreementAcceptance"
    },
    "microsoft.graph.agreementAcceptanceState": {
      "title": "agreementAcceptanceState",
      "enum": [
        "accepted",
        "declined",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.album": {
      "title": "album",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "coverImageItemId": {
          "type": [
            "string",
            "null"
          ],
          "description": "Unique identifier of the driveItem that is the cover of the album."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.allowedLobbyAdmitterRoles": {
      "title": "allowedLobbyAdmitterRoles",
      "enum": [
        "organizerAndCoOrganizersAndPresenters",
        "organizerAndCoOrganizers",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.alternativeSecurityId": {
      "title": "alternativeSecurityId",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "identityProvider": {
          "type": [
            "string",
            "null"
          ],
          "description": "For internal use only."
        },
        "key": {
          "type": [
            "string",
            "null"
          ],
          "description": "For internal use only.",
          "format": "base64url"
        },
        "type": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": [
            "number",
            "null"
          ],
          "description": "For internal use only.",
          "format": "int32"
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.appIdentity": {
      "title": "appIdentity",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "appId": {
          "type": [
            "string",
            "null"
          ],
          "description": "Refers to the unique ID representing application in Microsoft Entra ID."
        },
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Refers to the application name displayed in the Microsoft Entra admin center."
        },
        "servicePrincipalId": {
          "type": [
            "string",
            "null"
          ],
          "description": "Refers to the unique ID for the service principal in Microsoft Entra ID."
        },
        "servicePrincipalName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Refers to the Service Principal Name is the Application name in the tenant."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.appLogUploadState": {
      "title": "appLogUploadState",
      "enum": [
        "pending",
        "completed",
        "failed",
        "unknownFutureValue"
      ],
      "type": "string",
      "description": "AppLogUploadStatus",
      "x-ms-enum": {
        "name": "appLogUploadState",
        "modelAsString": false,
        "values": [
          {
            "value": "pending",
            "description": "Default. Indicates that request is waiting to be processed or under processing.",
            "name": "pending"
          },
          {
            "value": "completed",
            "description": "Indicates that request is completed with file uploaded to Azure blob for download.",
            "name": "completed"
          },
          {
            "value": "failed",
            "description": "Indicates that request is completed with file uploaded to Azure blob for download.",
            "name": "failed"
          },
          {
            "value": "unknownFutureValue",
            "description": "Evolvable enumeration sentinel value. Do not use.",
            "name": "unknownFutureValue"
          }
        ]
      }
    },
    "microsoft.graph.appRoleAssignment": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.directoryObject"
        },
        {
          "title": "appRoleAssignment",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "appRoleId": {
              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
              "type": "string",
              "description": "The identifier (id) for the app role that's assigned to the principal. This app role must be exposed in the appRoles property on the resource application's service principal (resourceId). If the resource application hasn't declared any app roles, a default app role ID of 00000000-0000-0000-0000-000000000000 can be specified to signal that the principal is assigned to the resource app without any specific app roles. Required on create.",
              "format": "uuid"
            },
            "createdDateTime": {
              "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 time when the app role assignment was created. The Timestamp 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. Read-only.",
              "format": "date-time"
            },
            "principalDisplayName": {
              "type": [
                "string",
                "null"
              ],
              "description": "The display name of the user, group, or service principal that was granted the app role assignment. Maximum length is 256 characters. Read-only. Supports $filter (eq and startswith)."
            },
            "principalId": {
              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
              "type": [
                "string",
                "null"
              ],
              "description": "The unique identifier (id) for the user, security group, or service principal being granted the app role. Security groups with dynamic memberships are supported. Required on create.",
              "format": "uuid"
            },
            "principalType": {
              "type": [
                "string",
                "null"
              ],
              "description": "The type of the assigned principal. This can either be User, Group, or ServicePrincipal. Read-only."
            },
            "resourceDisplayName": {
              "type": [
                "string",
                "null"
              ],
              "description": "The display name of the resource app's service principal to which the assignment is made. Maximum length is 256 characters."
            },
            "resourceId": {
              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
              "type": [
                "string",
                "null"
              ],
              "description": "The unique identifier (id) for the resource service principal for which the assignment is made. Required on create. Supports $filter (eq only).",
              "format": "uuid"
            },
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.appRoleAssignment"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.appRoleAssignment"
    },
    "microsoft.graph.applicationMode": {
      "title": "applicationMode",
      "enum": [
        "manual",
        "automatic",
        "recommended",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.assignedLabel": {
      "title": "assignedLabel",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The display name of the label. Read-only."
        },
        "labelId": {
          "type": [
            "string",
            "null"
          ],
          "description": "The unique identifier of the label."
        },
        "@odata.type": {
          "type": "string"
   

# --- truncated at 32 KB (1166 KB total) ---
# Full source: https://artifacts.apis.io/microsoft-defender/json-schema/microsoft-defender-microsoft-graph-subject-rights-request-schema.json

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-defender-microsoft-graph-subject-rights-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.