Boards in 2 GitHub repositories, designed in KiCad, that use the B04B-XASK-1 by JST. See how each wires it, with its parts, size, README and files; the B04B-XASK-1’s symbol, footprint and pinout are on its own page.
dj1encore/PLC_Connector
Mochizuki12/schematic_raspi_comm_if_hat