Minecraft wiki entry for Creating_a_data_pack, associated text: an item tag of ID dummy:foo_proof/bar would be located at data/dummy/tags/item/foo_proof/bar.json
a function of ID foo:handler/bar_call would be located at data/foo/functions/handler/bar_call.mcfunction