{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-delegated-permission-classification-schema.json",
  "title": "microsoft.graph.delegatedPermissionClassification",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-ad-serviceprincipals-delegatedpermissionclassification-api-openapi.yml#/components/schemas/microsoft.graph.delegatedPermissionClassification",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "delegatedPermissionClassification",
      "type": "object",
      "properties": {
        "classification": {
          "$ref": "#/$defs/microsoft.graph.permissionClassificationType"
        },
        "permissionId": {
          "type": [
            "string",
            "null"
          ],
          "description": "The unique identifier (id) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal. Required on create. Doesn't support $filter."
        },
        "permissionName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The claim value (value) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal. Doesn't support $filter."
        }
      },
      "additionalProperties": {
        "type": "object"
      }
    }
  ],
  "$defs": {
    "microsoft.graph.entity": {
      "title": "entity",
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier for an entity. Read-only."
        }
      },
      "additionalProperties": {
        "type": "object"
      }
    },
    "microsoft.graph.permissionClassificationType": {
      "title": "permissionClassificationType",
      "enum": [
        "low",
        "medium",
        "high",
        "unknownFutureValue"
      ],
      "type": "string"
    }
  }
}