enum is not a type; add enum to description
allow type to be a single string instead of always an array