This data structure stores the information regarding animation speed, mode and keyframes. It is defined as:

public class TileAnimation
{
	public AnimationMode Mode { get; set; }
	public SpriteKeyFrame[]? KeyFrames { get; set; }
	public double Rate { get; set; }
}
 
public enum AnimationMode
{
	None,
	Loop,
	PingPong,
	Once
}
 
public class SpriteKeyFrame
{
	public string? SpriteId { get; set; }
	public double Duration { get; set; }
	public double DurationMax { get; set; }
	public bool FlipX { get; set; }
	public bool FlipY { get; set; }
}

SpriteId can be Ref or Id of a sprite.