config: assert item type matching