You forgot srpm and packagecategory. I'm hoping that was just a doc oversight and not in the code.

Also, double check it's packagegroup and not package_group (same with category). There isn't much in the way of consistency in that code so it's possible the underscore was missed, but if this is used when resolving against a type definition, the type IDs use the underscore.

Same rationale as the above paragraph, make sure it's errata and not erratum. The type ID is erratum, but I'm not sure if that's what's actually being used here.