How to bind an element in a List/Array as PropertyStreamHandle?

For example i have this class, and i want to bind element in this data array.

public class JobDataZone : MonoBehaviour
{
  public float[] data = new float[100];
}

And this code will throw an error

animator.BindStreamProperty(animator.transform, typeof(JobDataZone), "data[0]");

Hi,
The error is thrown because you cannot animate an array, or an element in an array in the animation system. Unfortunately, you’ll have to limit the number of elements you want to animate your component.

You can have a look at the WeightedTransformArray struct in the Animation Rigging package to look at ways we got around the issue:
https://docs.unity3d.com/Packages/com.unity.animation.rigging@1.0/api/UnityEngine.Animations.Rigging.WeightedTransformArray.html