{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-graph/json-schema/microsoft-graph-microsoft-graph-teams-app-permission-set-schema.json",
  "title": "teamsAppPermissionSet",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-graph-chats-teamsappinstallation-api-openapi.yml#/components/schemas/microsoft.graph.teamsAppPermissionSet",
  "required": [
    "@odata.type"
  ],
  "type": "object",
  "properties": {
    "resourceSpecificPermissions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/microsoft.graph.teamsAppResourceSpecificPermission"
      },
      "description": "A collection of resource-specific permissions."
    },
    "@odata.type": {
      "type": "string"
    }
  },
  "$defs": {
    "microsoft.graph.teamsAppResourceSpecificPermission": {
      "title": "teamsAppResourceSpecificPermission",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "permissionType": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.teamsAppResourceSpecificPermissionType"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The type of resource-specific permission."
        },
        "permissionValue": {
          "type": [
            "string",
            "null"
          ],
          "description": "The name of the resource-specific permission."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.teamsAppResourceSpecificPermissionType": {
      "title": "teamsAppResourceSpecificPermissionType",
      "enum": [
        "delegated",
        "application",
        "unknownFutureValue"
      ],
      "type": "string"
    }
  }
}