Minecraft wiki entry for schedule, associated text: Specify the function to be cleared. Should be a namespaced ID (minecraft: cannot be omitted) or a function tag(minecraft: cannot be omitted).
Must be a string. And it is a greedy phrase (taking the rest of the command as the string argument).