{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-campaign-manager/json-schema/google-campaign-manager-user-role-permissions-list-response-schema.json",
  "title": "UserRolePermissionsListResponse",
  "description": "User Role Permission List Response",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-campaign-manager-user-role-permissions-api-openapi.yml#/components/schemas/UserRolePermissionsListResponse",
  "type": "object",
  "properties": {
    "userRolePermissions": {
      "items": {
        "$ref": "#/$defs/UserRolePermission"
      },
      "type": "array",
      "description": "User role permission collection."
    },
    "kind": {
      "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolePermissionsListResponse\".",
      "type": "string"
    }
  },
  "$defs": {
    "UserRolePermission": {
      "description": "Contains properties of a user role permission.",
      "properties": {
        "id": {
          "format": "int64",
          "description": "ID of this user role permission.",
          "type": "string"
        },
        "kind": {
          "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolePermission\".",
          "type": "string"
        },
        "permissionGroupId": {
          "description": "ID of the permission group that this user role permission belongs to.",
          "format": "int64",
          "type": "string"
        },
        "name": {
          "description": "Name of this user role permission.",
          "type": "string"
        },
        "availability": {
          "description": "Levels of availability for a user role permission.",
          "type": "string",
          "enum": [
            "NOT_AVAILABLE_BY_DEFAULT",
            "ACCOUNT_BY_DEFAULT",
            "SUBACCOUNT_AND_ACCOUNT_BY_DEFAULT",
            "ACCOUNT_ALWAYS",
            "SUBACCOUNT_AND_ACCOUNT_ALWAYS",
            "USER_PROFILE_ONLY"
          ]
        }
      },
      "type": "object"
    }
  }
}