foo is not one of the predefined iTunes channel type
itunes:type can only be populated using one of the predefined values "episodic" or "serial", as listed in the specification.
Change the attribute value to one of the allowed values "episodic" or "serial".
Not clear? Disagree?
You might be able to find help in one of these fine resources.