Minecraft wiki entry for playanimation, associated text: Must be a string. And it must be either a single word (no spaces) or a quoted string.
Should be an animation name, or an animation defined under the Json path "minecraft:client_entity"."animations" in the <a_resource_pack>/entity/<entity_name>.entity.json file.
Specifies the animation after the first animation stops playing.