pub specification