{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/RequiredResourceAccess", "title": "RequiredResourceAccess", "type": "object", "description": "Specifies the set of OAuth 2.0 permission scopes and app roles that an application requires access to.", "properties": { "resourceAppId": { "type": "string", "format": "uuid", "description": "The unique identifier for the resource that the application requires access to (e.g., Microsoft Graph).", "example": "500123" }, "resourceAccess": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string", "format": "uuid", "description": "Identifier of the permission scope or app role." }, "type": { "type": "string", "enum": [ "Scope", "Role" ], "description": "Whether this is a delegated permission (Scope) or application permission (Role)." } } }, "example": [] } } }