{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "RequiredResourceAccess",
  "type": "object",
  "description": "Specifies the set of OAuth 2.0 permission scopes and app roles under a specified resource that an application requires access to",
  "properties": {
    "resourceAppId": {
      "type": "string",
      "description": "The unique identifier for the resource that the application requires access to (the appId of the target application)"
    },
    "resourceAccess": {
      "type": "array",
      "description": "The list of OAuth 2.0 permission scopes and app roles required from the specified resource"
    }
  }
}