{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-kubernetes-service/json-schema/microsoft-azure-kubernetes-service-trusted-access-role-list-result-schema.json",
  "title": "TrustedAccessRoleListResult",
  "description": "List of trusted access roles",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-kubernetes-service-trusted-access-role-bindings-api-openapi.yml#/components/schemas/TrustedAccessRoleListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The TrustedAccessRole items on this page",
      "items": {
        "$ref": "#/$defs/TrustedAccessRole"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "TrustedAccessRole": {
      "type": "object",
      "description": "Trusted access role definition.",
      "properties": {
        "sourceResourceType": {
          "type": "string",
          "description": "Resource type of Azure resource",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "Name of role, name is unique under a source resource type",
          "readOnly": true
        },
        "rules": {
          "type": "array",
          "description": "List of rules for the role. This maps to 'rules' property of [Kubernetes Cluster Role](https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/#ClusterRole).",
          "items": {
            "$ref": "#/$defs/TrustedAccessRoleRule"
          },
          "readOnly": true,
          "x-ms-identifiers": []
        }
      }
    },
    "TrustedAccessRoleRule": {
      "type": "object",
      "description": "Rule for trusted access role",
      "properties": {
        "verbs": {
          "type": "array",
          "description": "List of allowed verbs",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "apiGroups": {
          "type": "array",
          "description": "List of allowed apiGroups",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "resources": {
          "type": "array",
          "description": "List of allowed resources",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "resourceNames": {
          "type": "array",
          "description": "List of allowed names",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "nonResourceURLs": {
          "type": "array",
          "description": "List of allowed nonResourceURLs",
          "items": {
            "type": "string"
          },
          "readOnly": true
        }
      }
    }
  }
}