What type is a <profiled_consumer> here? The type field needs to indicate types. Might be cleaner to move that description out of type and into the doc block itself so you aren't dealing with indentation issues, then simply leave type as "dict".